3 ms·
>Sending rendering commands over a network is just much worse for the vast majority of applications than rendering on the source system and sending a (compresse
by PhilipRoman 2y ago
>Sending rendering commands over a network is just much worse for the vast majority of applications than rendering on the source system and sending a (compressed) video stream.
The RDP protocol also sends graphics commands (mostly). It works really well on Linux with Xrdp/rdesktop. The idea of sending a video stream over network sounds good but somehow the implementations always manage to screw it up (especially on high bandwidth networks). I just did a quick test by directly streaming video over WLAN and it performed way better that VNC. I was able to stream a videogame smoothly on 30FPS, which is pretty impressive considering this was done in a very unoptimized way (netcat, TCP instead of UDP, etc.)
- arp242 2y agoI always found rdp on Linux far easier to use than all that X11 network stuff. I think it was a neat idea to have it built-in, but also never quite worked all that smoothly in my experience and really does complicate things quite a lot. Sometimes the practicalities of neat ideas don't really work out unfortunately.
- Gud 2y agoWhat do you mean, doesn’t work out? X forwarding works amazingly well, far above rdp…
- arp242 2y agoTo be honest it's been quite a while, so you'll have to forgive me if I don't recall the specifics, but rdp was essentially "I start daemon, I run rdp [dst]", and it works", whereas Xorg involved a lot more mucking about with commands and reading manpages and whatnot. I will admit that in part this was just my ignorance; I just used it to access my desktop on occasion from my laptop on the sofa and didn't really want to spend a lot of time on it. rdp was "it works out of the box effort-free and I can move on with my life" and X11 wasn't. Maybe I just didn't RTFM hard enough, but I didn't have to RTF anything for rdp, so... I use samba/SMB for similar reasons by the way; recently I wanted to setup a network drive (for the first time in about 10 years) and samba provided a much smoother "just works" type of experience than NFS. Sometimes I find the old-type Unix stuff a bit painful, especially for the "just want to get shit done" type of workflow (I did use NFS extensively with FreeBSD and NetBSD back in the day, but it seems I've forgotten almost everything).
- AshamedCaptain 2y agoI don't think rdp supports sending graphics commands at all. In fact it used to be that xrdp would connect to a VNC server...
- akvadrako 2y agoThis has not been true since Windows 8. https://techcommunity.microsoft.com/t5/security-compliance-and-identity/remotefx-adaptive-graphics-in-windows-server-2012-and-windows-8/ba-p/247454 https://techcommunity.microsoft.com/t5/security-compliance-a...
- PhilipRoman 2y agoHuh, interesting. I made that conclusion based on how I see objects loading, with sharp outlines appearing before other elements. Also, some programs which draw their UI in a specific way become very slow, presumably due to some kind of graphics sync, something that I wouldn't expect from a video based protocol.