XLibre at 4 months: anyone using it?

I’ve been testing XLibre for a while now, mostly with Cinnamon, and found that in its current state it’s remarkably stable. I decided today to switch my main system (Xfce) to XLibre so I can really give it a good look.

12 hours in, I am impressed with how seamless the transition from Xorg was. I play (way too many) games via Steam, never experienced any problems, even noticed a fairly significant reduction in RAM usage. All video playback is flawless, windows render as expected.

I really hope that this project continues to grow. I am not a fan of any of the Wayland-based DEs, although KDE and COSMIC are on my radar. I believe that the Linux/UNIX communities are better served if they have options with something as critical as the display back-end.

6 Likes

How did you convert to XLibre? Did you use the AUR packages?

I am thinking about switching to XLibre as my Odroid N2 with KDE plasma won’t run on Wayland.

I checked the AUR and for the Architecture is listed as
arch=('aarch64' 'x86_64')
so it should work for ARM.

Pudge

1 Like

Yes, using the AUR (not the binary package).

1 Like

I’ve tried a bunch of times but switching to it has never worked out for me, it’s probably just askill issue, but i mean it’s supposed to be a drop in replacement so i would have expected just installing it and not installing X would make it work, but it wasn’t that simple the last 2 times I tried.

I’m mighty curious about it though.

Edit: Others wondering about how to install it, here’s how: https://x11libre.net/repo/arch_based/x86_64/README.html

In short

sudo pacman-key --recv-keys 73580DE2EDDFA6D6
sudo pacman-key --finger 73580DE2EDDFA6D6
sudo pacman-key --lsign-key 73580DE2EDDFA6D6

Followed by adding to /etc/pacman.conf

[xlibre]
Server = https://x11libre.net/repo/arch_based/x86_64

Then pacman -Syy

Finally you replace all xorg packages that have xlibre counterparts with their xlibre counterparts.

I noticed there are 57 XLibre packages listed. How many did you use besides
xlibre-xserver-bootstrap and xlibre-xserver

Pudge

When building from source, you only need (3) packages. Here is how I build it on my Xfce system:

First, remove xorg.

yay -Rdd xorg-server{,-common}

Next, install xlibre. The bootstrap package is a build dependency.

yay -S xlibre-xserver-bootstrap xlibre-input-libinput

Now, the final install. (NOTE: -devel is not required)

yay -S xlibre-xserver{,-devel}

If using Nvidia, you will need to create a bypass file for differences in the Xorg ABIs (xlibre is at least a couple of versions ahead of xorg). This is critical as the Nvidia drivers will not load without it.

printf '
Section "ServerFlags"
	Option         "IgnoreABI" "1"
EndSection\n' | sudo tee /usr/share/X11/xorg.conf.d/10-nvidia-allow-nonedid-modes.conf
4 Likes

It’s much easier to setup than when it first came out. The biggest hurdle I used to face was having to create new PKGBUILDs for every package that was dependent on xorg, switch it to xlibre, then rebuild the packages. This wasn’t as hard as it first seems; for example, on Cinnamon I only needed to rebuild 4-5 packages. It was just a PITA whenever the packages needed to be updated. Now, xlibre-xserver provides xorg-server, so this is not an issue anymore.

1 Like

Looks like I have a project for this evening. Time to see how it works on ARM (aarch64).

Pudge

2 Likes

Feels like my bspwm will face some serious experiments this weekend.
I hope this is really worth it.

1 Like

I guess it depends on what you’re looking for. For me, I just want it to work as normal, which (so far) it is. This was one of the steps I’ve taken recently to make Xorg more secure; I also got rid of lightdm so I could manually start an Xfce session without requiring root.

1 Like

Total bust on an Odroid N2 (aarch64) and xfce4.

I guess XLibre is not ready for ARM devices at this time?

Pudge

1 Like

I was hopeful as it’s already been ported to FreeBSD. I didn’t see much traffic about ARM devices on their Github site.

1 Like

@Pudge

hello sir

This might interest you + you might like try.

There is an arm64 build for RpiOS

https://xlibre-deb.github.io/debian/

here screenshot for ref: “ https://github.com/orgs/X11Libre/discussions/211#discussioncomment-14260065

1 Like

The two times I tried it, I had some artefacts on the screen and the mouse cursor was flattened. I’m just waiting for Xfce Wayland to support multiple workspaces and not just one.

1 Like

My first couple of attempts also didn’t go well. Could not for the life of me get lightdm-settings to work when built against xlibre. There were a few others minor glitches, but nothing as severe as what you experienced.

Now it’s running so smooth I can’t tell the difference.

1 Like

you do this from a live iso? or current session?

sounds wild.

I get all my Linux news from y’all/forum…but RHEL did announce an X11 death date–I think they did. Did Endeavour? or Cinnamon? [I use Cinnamon BTW].

I share your feelings about Wayland. Thanks for all the field work you did on this.

Current session, although it’s not recommended

You’re most welcome. EOS takes its direction from Arch, who has no plans to dump X11 any time soon. I know that Linux Mint is slowly building Wayland support, but that is also a long way off. As a former IBMer, I was confused by IBM’s announcement on X11, especially since their AIX machines can’t run Wayland. Curious what will happen to all of those systems.

current session, you’ll be asked if you want to replace the xorg package with the xlibre one. If things go wrong, you can still reinstall the xorg packages from the TTY.

1 Like

If you use yay -Rdd, then you won’t be prompted.

1 Like

Second try to install XLibre. This time with a RPi 5 and Mate, something that is totally x11.

@ajgringo619 's instructions worked perfectly.

Now that I have a baseline install that works, I will try creating an image that never loads any x11 packages and only uses XLibre packages. I have a feeling this will not work as I think XLibre still needs a package or two from x11.

Pudge

1 Like