Yserver - A modern X11 server written from scratch in Rust

yserver - A modern X11 server written from scratch in Rust.” - I used the OBS to build it for Tumbleweed.

https://build.opensuse.org/package/show/home:mchnz/yserver

I’ve no experience with Rust, and only a little experience with OBS. The RPM spec may be inappropriate, but it builds, installs and runs. This build is a personal/unofficial effort. Rather that trusting anything I’ve built, my spec could be used as a basis for your own build.

I’ve not real intentions to use it for serious work, but was just interested in seeing what it was like. I installed it on a spare TW system and had a play.

If anyone is interested in a future with X11, they might want to have a play. Jos Dehaes, the developer, is requesting more test reports.

Note, the server has to be started from a tty - I don’t think sddm can be altered to uses a different X11 server ( I stopped sddm). I first ran xfce, and later Plasma-6.7. For Plasma, I had to disable compositing to get it to work (to step around nvidia related issues):

#!/bin/bash
RUST_LOG="{{log}}" RUST_BACKTRACE=1 yserver 7 > yserver-hw-kde.log 2>&1 & 
yserver_pid=$!;
sleep 2;

export KWIN_COMPOSE=N
DISPLAY=:7 startplasma-x11

kill -TERM $yserver_pid 2>/dev/null
wait $yserver_pid 2>/dev/null

I stayed in one Plasma session for several hours using using chrome, playing videos, pyqt app, libreoffice, digikam, screen locking, system suspend, all good. I don’t think I ever seen Plasma more snappy and no with tearing (but the compositor is off). More details on my experiences here:

Screenshot: