On the Road to Fedora Workstation 31
blogs.gnome.org
blogs.gnome.org
>The reality is that X.org is basically maintained by us and thus once we stop paying attention to it there is unlikely to be any major new releases coming out and there might even be some bitrot setting in over time.
Well, at least it makes it clear how the wind blows these days.
CONTEXT: heavy, expensive, licensed EDA tools imposes this usage model and there’s really no way around it.
I used to work on a proprietary remote display protocol and the remote X11 protocol is seen as an anti-pattern in that space. X11 requires draw operations to be applied in-order, so every dropped packet means stalling the client draw pipeline.
This is one major reason why other remote protocols use varied strategies that look very different.
Wayland, in many ways, accepts that reality and moves the network-portability away from the core protocol.
Besides, hardly anyone does draw operations on X11 without the Xshm extension now days, so in practice, many apps are not that network portable. The toolkits go through great effort to make it sort of work. Kinda. If you don't look too closely.
That said, you could create a system that supports transparency similar to the old design, but I'm not sure any active contributors are interested in doing so.
One major reason for that is that most applications on Linux take advantage of communication buses while also completely disregarding the idea of supporting multiple sessions by the same user at the same time. So to have an application work over the terminal, get a session (d-bus, seat, etc), and then collide with other apps in a second session by the user doesn't make a lot of sense if at the end of the day the user loses state, or worse, gets corrupted files.
https://github.com/PipeWire/pipewire/wiki/FAQ#is-pipewire-ju...
>PipeWire is a project that aims to greatly improve handling of audio and video under Linux. It aims to support the usecases currently handled by both PulseAudio and Jack and at the same time provide same level of powerful handling of Video input and output. It also introduces a security model that makes interacting with audio and video devices from containerized applications easy, with supporting Flatpak applications being the primary goal. Alongside Wayland and Flatpak we expect PipeWire to provide a core building block for the future of Linux application development.
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/20...
But as it were, profiling my system (Fedora 30) with Sysprof to look at where time is spent:
- Roughly about 2% CPU amortized across all cores at idle, but playing an MP3 in rythmbox (so includes shell, rhythmbox, a webbrowser, etc)
- Of that 2%, 7% (so .14%) of that time was spent in the pulse daemon
- .04% (2% of 2%) was spent in libspeexdsp.so and all other samples were negligible
If you're still having problems today on your system, I highly suggest running sysprof (or perf even) to get a quick high-level overview of where time is spent.