The no future of X.org, FreeBSD becomes headless?

What is the feasibility of bringing Xenocara to FreeBSD ports, and combining efforts on that project to maintain it and cleanup/remove cruft?
 

Search results find many scattered discussions, and this recent topic:


Elsewhere:

… Maybe Openbsd's Xenocara will become a real fork, and get more people working on it, as others have suggested. I can hope.
 
many scattered discussions

Apologies, I'm aware that Xenocara has been discussed before a few times briefly on these forums, but could not determine whether anyone has already tried creating a port and hit major issues, whether a port is in progress, or it simply hasn't been attempted yet? I can only assume that it may not be feasible or simple as someone would have already done it by now?
 
Related (in response to a misinterpretation):
I don't think anyone struggles to realize that Xwayland is still going to be around. It has to be or RHEL 10 would fail to run less than half of the enterprise software it needs to stay in business.

Xwayland is equivalent to Xephyr but you probably don't run your Window Manager of choice in a nested Xephyr session do you? Do you know anyone who does? Imagine that KDE could only run in an Xnest / Xephyr instance so couldn't actually handle any of the windows that pop up natively. Would that be a good experience? This is what a user running Mwm, Fvwm and other standard Window Managers would face.

For instance:
graphical toolkit -> libx->libxcb
libx --> libxcb --> X server
libx shim -> libxcb -> X server
reparenting ---> hooks into X server
other essential feature ---> hooks into X server
Xenocara insipired feature---> not so restrictive that it allows dev and file permissions for drivers, users and software to access it
improved driver permissions, by not being overly complicated to --> X server
drivers --> layer? -> layer? how it interacts with X server
miscellaneous --> API --> X server
These are all good things to think about. Effectively a libW11 (Xlib API but Wayland hooks underneath) will be useful to port software (and I am actually shocked that the Wayland ecosystem has *nothing* like this in place after almost two decades). However I fear this will simply allow for replacement of Xwayland over time rather than keeping Window Managers and the whole X11 flexibility alive. We need something to at the very least help port X11 Window Managers over. Perhaps a Wayland compositor that exposes an Xlib API as a way to add decorations?
 
I don't think anyone struggles to realize that Xwayland is still going to be around. It has to be or RHEL 10 would fail to run less than half of the enterprise software it needs to stay in business.
My first reaction to that was, they'll probably do that limitedly for servers, which don't need graphical acceleration, but since they want to make it mainstream, they'll need graphics capabilities as you've implied.
Xwayland is equivalent to Xephyr but you probably don't run your Window Manager of choice in a nested Xephyr session do you? Do you know anyone who does? Imagine that KDE could only run in an Xnest / Xephyr instance so couldn't actually handle any of the windows that pop up natively. Would that be a good experience? This is what a user running Mwm, Fvwm and other standard Window Managers would face.
Wayland can currently run on the X11 desktop like a Xephyr window, but on its own instead. Last year, I stumbled on a way to run a second X11 window manager (it wasn't Wayland) in a second virtual terminal on Ctrl-Alt-F10, I didn't write down the notes on how I did it, and I couldn't do it again.
These are all good things to think about. Effectively a libW11 (Xlib API but Wayland hooks underneath) will be useful to port software (and I am actually shocked that the Wayland ecosystem has *nothing* like this in place after almost two decades). However I fear this will simply allow for replacement of Xwayland over time rather than keeping Window Managers and the whole X11 flexibility alive. We need something to at the very least help port X11 Window Managers over. Perhaps a Wayland compositor that exposes an Xlib API as a way to add decorations?
In the text and arrow example, it was about forking Xorg instead to trim out legacy parts, and figure out how to make it modular, with what can be learned from Wayland. Then, making a compatibility layer for Wayland graphical toolkits to run on this version of Xorg. We may not need Wayland compositor layers, as we would be depending on X11 window managers or perhaps a new invention of X11 compositors.

A trimmed down Xorg would be easier to maintain. And keep parts modular. Also, if an Xorg fork gets going, keep standards like the old one, except drop the legacy ones. There can be a standard that it builds with the FreeBSD toolchain or with meson. In addition, there's parts we can get from NetBSD like gettext. Maybe find a steward, perhaps find a way for multiple BSD's to steward it, in addition if the old Xorg also wants to be of the fork. FreeDesktop is too Linuxy, as the X.org blog shows an X org subdomain, but instead goes to https://planet.freedesktop.org/.

libx runs on top of parts of libxcb, while rest of it lies side by side having two different ways. libxcb strips out many parts of libx that aren't needed, so the libraries are more compact, however, too many libraries are lacking, that libxcb can't fully replace libx any time soon. Keeping it modular and making it easier to strip out libx parts will allow a cleaner transition for the future.

Here's a diagram of X11, which I haven't made sense of yet model wise:
xorg.png

This chart is at https://www.x.org/wiki/guide/concepts/


The other chart diagram in my previous post, wasn't of that, it was from Wayland's page.

Now, going back to another topic of X11 on Wayland, if Wayland doesn't have a way to for a compositor to have reparenting, then that would mean Wayland would have to be forked, or convince them to have limited ways to allow reparenting, so that there can be controls put inside of Wayland. So that would be hooks reaching inside of Wayland. A libw11 sounds good, even if we aren't sure yet what it would be.
 
Since we're just throwing around reasons Wayland is weird/different/annoying/sucks

 
I've just switched over to using wayfire. :D Working great too. Even games perform super smooth in wayfire. I just played some Metal Gear Solid The Phantom Pain on Steam using Mizuma on FreeBSD 14.0 Release using Latest sources in /etc/pkg/FreeBSD.conf Excellent performance.
 
I've just switched over to using wayfire. :D Working great too. Even games perform super smooth in wayfire. I just played some Metal Gear Solid The Phantom Pain on Steam using Mizuma on FreeBSD 14.0 Release using Latest sources in /etc/pkg/FreeBSD.conf Excellent performance.
there your are :)
 
I've just switched over to using wayfire. :D Working great too. Even games perform super smooth in wayfire. I just played some Metal Gear Solid The Phantom Pain on Steam using Mizuma on FreeBSD 14.0 Release using Latest sources in /etc/pkg/FreeBSD.conf Excellent performance.
The problem is that Wayland *is* great for this. It is perfect for people who simply use their hobby machine to play Steam DRM platform games, browse the web, etc. It works really well and unfortunately this seems to be the culture of much of the Linux desktop community these days. They *don't* need all the benefits of Xorg, so they have no reason to complain or fix things. I do understand that.

However for those of us (i.e the sort of people discussing an operating system on a forum) who use their machines for something a little outside that, we do want a little bit... more. Red Hat and the other Linux community (mis)leaders unfortunately don't give a toss about that. Why would they? More control to them.

I was using your quote more of an example rather than specifically commenting on your situation (I am actually glad that Wayland is a go on FreeBSD too). I also play the occasional game and honestly couldn't care less what display system (or platform) I am using to run it either.
 
One crazy thing is ... X lets you run the app on a different machine but still display the pixels on you local machine - this without something like RDP or a browser and webserver. I don't think wayland can do this and I'm not clear whether an X11 adapter on top of wayland would also allow that.
 
One crazy thing is ... X lets you run the app on a different machine but still display the pixels on you local machine - this without something like RDP or a browser and webserver. I don't think wayland can do this and I'm not clear whether an X11 adapter on top of wayland would also allow that.
Indeed. Many Wayland users obviously don't need that to play their games though so are quite happy to see it broken for those who do. The rest seem quite happy with VNC-style Waypipe approach of sending across a full raster of pixels and then simply complaining about their internet connection speed. If you encrypt the stream, it is even slower.

X11, provided you don't use a sucky widget toolkit like Gtk (which is basically a load of images) is actually one of the fastest approaches. It is an intelligent protocol rather than a raster and only tends to be beaten by RDP (which is a bit sad...) because their widget toolkit (the Win32 API) allows it to be a very decent hybrid of raster and intelligent protocol, aided by the underlying widget toolkit. It is also compressed.

X11 with CDE (i.e Motif) is to date the fastest remote desktop environment you can use. Especially if you use raw (unencrypted) XDMCP rather than SSH/X11.
 
Y'know.. after reading this article I retract a lot of the cheerleading I did for Wayland. It really puts things more into perspective about the whole matter for me. I hadn't known how intertwined Mesa3d and Xorg was. There's just too much missing.
One way to read this is that the blog entry is written by someone who actually dove into programmatic side of things and knows a thing or two.

My take on this is that if issues with Wayland gain visibility in this manner, that's a good thing for the development of Wayland. Yeah, Wayland has a lot of fans that promote the pluses while ignoring the downsides. The fact that big names like KDE and GNOME are involved, and even Fedora making an effort to push things along - that's a good sign.

Yeah, a major component of Open Source computing is a difficult thing to re-do from ground up. But then again, Wright Bros had their detractors, too, and with good reason, too. And look at what we have today.
 
Indeed. Many Wayland users obviously don't need that to play their games though so are quite happy to see it broken for those who do. The rest seem quite happy with VNC-style Waypipe approach of sending across a full raster of pixels and then simply complaining about their internet connection speed. If you encrypt the stream, it is even slower.

X11, provided you don't use a sucky widget toolkit like Gtk (which is basically a load of images) is actually one of the fastest approaches. It is an intelligent protocol rather than a raster and only tends to be beaten by RDP (which is a bit sad...) because their widget toolkit (the Win32 API) allows it to be a very decent hybrid of raster and intelligent protocol, aided by the underlying widget toolkit. It is also compressed.

X11 with CDE (i.e Motif) is to date the fastest remote desktop environment you can use. Especially if you use raw (unencrypted) XDMCP rather than SSH/X11.

For remote X11 you usually don't use X11's own TCP method anymore, but ssh's X11 forwarding.

Neither has an equivalent in Wayland. It is local klickibunti, aka a toy.
 
For remote X11 you usually don't use X11's own TCP method anymore, but ssh's X11 forwarding.
Indeed. I mentioned that briefly at the bottom. However SSH does add overhead. You can instruct SSH to use a simpler encryption (or a NULL/dummy encryption) but the classic TCP approach from Xorg is still faster (once re-enabled of course). The SSH approach has an additional UNIX domain socket between the communication.

In some ways it would be very interesting to add modern compression to X11/TCP in Xorg alongside a suitable native encryption. A bit disappointing that people never did this stuff and instead chose to waste time with Wayland. Perhaps the wrong people at the top of freedesktop.org were making the decisions and it is in dire need of a fork. The freedesktop guys seem to be purposely sitting on Xorg as a way to sabotage it.

(I also tend to put VNC streams through SSH. Mostly because VNC encryption is very basic (probably for performance)).
 
i had a nomachine (X protocol compression over ssh) desktop for 2 years or so about 10 years ago
ran great, a lot better than classic X or vnc. same or better as/than msft rdp
 
i had a nomachine (X protocol compression over ssh) desktop for 2 years or so about 10 years ago
ran great, a lot better than classic X or vnc. same or better as/than msft rdp
Actually thats a good point. I don't quite know how they do it because it is using X11 technology behind the scenes. Because it is proprietary I tend to overlook it but this is exactly the sort of thing that *should* have worked its way into vanilla X11 communication by now. The successor to X11 should certainly be considering this technology (I understand the older version of nx-server was open-source).

There is so much to do and Wayland has literally wasted everyone's time for almost two decades.
 
I would not put much hope into having something in wayland that makes running X11 easier. Any attempt at that will be seen as diverting efford from the holy goal of making wayland the best and shiniest there is. I would not be surprised if any such efford would be met with more or less open resistance from the wayland core team. They want you to port your stuff to wayland, provide more attention. Having such a shim would foul that. Just ask the OS/2 team how that worked out.
 
I would not put much hope into having something in wayland that makes running X11 easier.
I do agree. Xwayland is definitely a temporary stopgap to mislead people into believing that i.e Gnome/Wayland isn't as defective as it really is or to expose the true lack of native Wayland software. Once they have critical mass, they will very much enjoy turning it off.

What we maybe need is a library version of Xwayland that we can link in to a program (drop in replacement for Xlib) and it spins up seamlessly as needed. But that doesn't quite solve the issue of Wayland compositors being few and far between and... trash.
 
But that doesn't quite solve the issue of Wayland compositors being few and far between and... trash.
It is not only the compositors. It is all the widget sets, the code already written and no real maintainer behind it. Who will port that? Noone. Outside of QT and GTK, what will work? Athena? Xaw? They need a way to keep the code running, and they need it to stop running. Not a good position.
 
As for the hooks, the screensaver and display protocol forwarding layers are also needed, in addition to a reparenting layer. It's good that a few users brought those up. This may require making a fork of Wayland. Here's a sketch diagram, which is lacking many actual components and parts of Wayland, of how those hooks into the Wayland fork would be. This is a brainstorm:
bsdland.png



Alternatively, the other brainstorm is a separate blueprint about forking X11, trimming it, so that maintenance becomes simpler. Perhaps have co-stewarding between BSD operating systems, and the original Xorg if they still want:
x11-fork.png


A diagram like these are what I had in mind, so others can improve upon the ideas, if I missed something, or if more detail is needed, and as this doesn't show the underlying proposed or existing workings of Wayland and X11.


For clarity, these are two different brainstorm routes of 2 different proposed ideas. The X11 fork would be nifty, and is something that has been long desired.

Also, maintaining Posix standards, and that they build with BSD toolchains or Meson.
 
I think these diagrams don't add much. I suppose I can see the broad intent, but at this point, the specifics are the more important thing.

If anything, it's more like "Xwayland" on "xorg" -- but I'll refrain from posting here until I actually have something of substance, rather than rhetoric.
 
Back
Top