4 ms·
That's pretty typical. "I don't need it, so therefore nobody should need it, so therefore I will remove it". Unix is different things to different people and t
by jacquesm 7y ago
That's pretty typical. "I don't need it, so therefore nobody should need it, so therefore I will remove it".
Unix is different things to different people and to remove the network capability from X is a step back, not a step forward. There are a whole pile of neat things that you can do with networked graphics, so much, in fact that Plan 9, in many ways a successor of Unix used that theme as the core of many of the system services. All of them work locally as well as remote.
- AnIdiotOnTheNet 7y agoThe thing is, you don't need explicit support in the display server for remote. RDP works just fine on Windows, yes even single-window forwarding, without it.
- jacquesm 7y agoRDP is a very weak implementation of what X is capable of functionality wise.
- AnIdiotOnTheNet 7y agoIn what way? Please elaborate.
- marktangotango 7y agoI’m also interested in hearing GPs thoughts on rdp and x.
- jacquesm 7y agoIn a nutshell: RDP is a good way to access remote systems that are running a window manager of sorts, X is a good way to have remote clients connect to a local X server (the display). RDP is more closely related to VNC and something like 'screen' than X, which is more like a networked resource that you can access through remote clients. RDP is an application sharing protocol, X is a screen sharing protocol, the two are radically different from each other which gives each advantages and disadvantages that the other lacks and a bunch of overlap. Most notably, with X security was bolted on as an afterthought. RDP, originally reading the screen contents and sending those over (compressed) does not allow for much interaction with what gets sent over, it is rather low level whereas X sends over display primitives. Again, X's initial - rather naive - implementation made a ton of assumptions because the original implementors had nice fat workstations and fast networks to work with and so the real-world utility of these features was rather limited. Anyway, you could write books about this and not get all the details, besides the various implementations of both but all that there is to this is that due to their history and intended application the two are very different beasts and X offers a versatility that not a whole lot of people need but when you need that versatility you need it badly.
- pjmlp 7y agoReally? Where is the GPGPU support of X? Last time I checked it was a X extension, if at all.
- jacquesm 7y ago> Really? Where is the GPGPU support of X? What does an optimization have to with anything? So what if X does not have a native GPGPU driver, that's really more a function of hardware manufacturers support than anything else. And if you are not too picky about all your stuff being 'open' then NVidia's X driver and CUDA on linux co-exist just fine with accelerated graphics and GPGPU support.
- pjmlp 7y agoIt has to do with the protocol, drivers alone aren't enough. https://en.wikipedia.org/wiki/RemoteFX https://en.wikipedia.org/wiki/RemoteFX
- martinald 7y agoI thought with the later versions of RDP it somewhat works like remote X, where can pass through a lot of the context and the rendering is done on the clients GPU instead of being rasterized and sent over the network? I've found RDP very snappy in later versions, with very crisp rendering even over relatively low bandwidth connections (order of magnitudes better than VNC). There's also remoteapp which allows you to just run one program remotely, but haven't got much experience with this.
- jacquesm 7y agoRDP got a lot faster due to tapping in at different levels in the rendering engine, but those are mostly optimizations and not how the whole thing is meant to be viewed, it is a 'remote display protocol' that transports what is already visible on some remote screen or memory buffer to another computer for viewing. Shortcuts and optimizations don't really change that, whereas 'X' is at heart a client-server solution.
- pjmlp 7y agoDoing graphics at the level of AAA games wasn't surely a Plan 9 distributed network feature.
- saltcured 7y agoI am suggesting that people need to distinguish remote rendering and remote display. I do not advocate removing the network capability. In fact, I personally have avoided using Wayland for this very reason. But, I am also not volunteering to maintain Xorg myself, so I try to understand where things are going. Hardly any of the use cases I have heard for networked graphics actually require or even care where the rendering occurs. They are just concerned with application software installed and running in one place causing pixels to appear for a user elsewhere. These could work just fine with remote display streams, with all rendering happening on the same host where the application executes. I ponder what it is that I really dislike about VNC or RDP, and I find it is the nested desktop and lack of integrated window management. I think I'd be fine with some kind of "rootless" variant to let me SSH-forward a set of windows to a Wayland compositor. I would prefer it to have more flavor of tmux/screen to let me connect and disconnect, and easily define named sessions or groups of windows that I would want to grab together.
- chrisseaton 7y ago> to remove the network capability from X They haven’t removed it from X have they? You can keep running X if you want to (you may need to start maintaining it yourself.) They don’t use it so they don’t want to implement or maintain it. Seems super reasonable to me?
- azernik 7y agoIn practice this is a very niche use case, and the maintenance cost and architectural constraints it imposed are just not worth it. The Unix philosophy: do one thing, and do it well. If you want a remote renderer, write a piece of software that does just that, specifically.
- dredmorbius 7y agoX11 did that. It has clients, doing their client thing, and a server, managing the display details. Yes, this means that unlike many C-S architectures, the server is the part nearest the user and the client (may be) further away. But each did its respective job and stuck to its knitting. Keep in mind that when X11 was first created, and for much of its early life, through the 1990s, it was used for remotely accessing another (or multiple other) systems. The networking capability was baked-in. Nevermind that security was bolted on later, here, have a MAGIC_COOKIE....
- TheDong 7y ago> The Unix philosophy: do one thing, and do it well You're trying to argue that there should be two distinct pieces of software, a local and a remote renderer, for simplicity. Rendering does not fit in that space well. The physical resource of a display and graphics card really only allows one renderer to run, so it's not really useful to say "just write two renderers, one local and one remote". The unix philosophy is not a good argument. It's a principal by which you can make decisions, but it doesn't always lead to good decisions and it's quite open to interpretation as well.
- a3n 7y agoYeah, I sure liked being able to run RPi apps rendered on my laptop with X. Per a discussion the other day, my RPis are in a drawer. Have we swapped out screwdrivers for RPis in the modern junk drawer?
- pjmlp 7y agoI can do the same with WebGL, RDP, VNC.
- delinka 7y ago> Have we swapped out screwdrivers for RPis ... No, they've been added to the screwdrivers. I've found it challenging to use RPi to drive screws.
- saalweachter 7y agoSurely they can at least manage a flathead.