5 ms·
In those cases I prefer using Xpra, configured to use the regular Xorg server operating on the GPU. It would be nice if there was a X11 "media" extension to tr
by datenwolf 6y ago
In those cases I prefer using Xpra, configured to use the regular Xorg server operating on the GPU.
It would be nice if there was a X11 "media" extension to transport encoded image streams (aka video) with server side decoding into Pixmaps, Xv or SHM buffers.
- notyourday 6y agoReally stupid question if I may: 4k @32 bit color is ~3.5Gbit/sec at 60 fps or 1.6Gbit/sec for 30fps. Modern video cards and CPUs are fast. With no optimizations I can screen grab a fully rendered X11 4k x 5 screen in ~100ms on i7-4790 CPU from a GTX 1060 ( did it yesterday when I discovered that Looking Glass does not support Linux guest). Some people that I know who are in the graphics business claim that using MIT shared memory extension they can do nearly 1000 fps for a single 4k screen. Iperf (TCP) with no network optimization and no shared memory a-la Looking Glass between host and guest gets 2.5Gbit/sec. Why not just do a PCI pass through to a virtualized ( or dedicated ) graphics card to guest, run an X server on it and stream raw frames from guest to host? It surely can do at least 30fps on a modern workstation or over a 10G network with no frame loss.
- datenwolf 6y ago> Why not just do a PCI pass through (…)? Because we're talking about remote desktop over low bandwidth connections. If push comes to shove you can use Xpra over dial-up. Of course the more elegant solution then is to use some virtio based graphics pass-through driver doing all that, without running MIT-SHM screen grabber X11 clients shoving around frames. I want less kludges, not more.
- notyourday 6y ago> Because we're talking about remote desktop over low bandwidth connections. I'm presuming this implies there's already a non-theoretical solution for remote desktop over high bandwidth connections ( say over 10Gbit/sec ) that would allow me to run a spinning cube at 30 frames per second at 4k without frame drops? What is it? I have been looking for one for years! > Of course the more elegant solution then is to use some virtio based graphics pass-through driver doing all that, without running MIT-SHM screen grabber X11 clients shoving around frames. I want less kludges, not more. That would be Looking Glass, but its author's position is (paraphrasing) "Stuff like this already exists for Linux so there's no support for a Linux guest". Alas, no one can point to it.