This repository provides XLibre x86_64 binary third-party packages for Arch Linux-based distributions. The primary location is https://x11libre.net/repo/arch_based/x86_64. It is known to work with Arch Linux, ArchCraft, CachyOS, EndeavourOS, Garuda Linux, Manjaro Linux, RebornOS, and SteamOS for PC up to version 3.8.
There is a shell script install-xlibre.sh that guides you through the installation process and switching to XLibre. You can download and run it at the command line with either curl:
sh -c "$(curl -fsSL https://x11libre.net/repo/arch_based/x86_64/install-xlibre.sh)"or wget:
sh -c "$(wget https://x11libre.net/repo/arch_based/x86_64/install-xlibre.sh -O -)"Add the public package signing key of the OpenPGP key used to sign the packages of this repository to the pacman keyring:
sudo pacman-key --recv-keys 73580DE2EDDFA6D6
sudo pacman-key --finger 73580DE2EDDFA6D6
sudo pacman-key --lsign-key 73580DE2EDDFA6D6In case the above pacman-key commands fail, you can manually add the public key with either curl:
sudo sh -c 'curl -sS https://x11libre.net/repo/arch_based/x86_64/0x73580DE2EDDFA6D6.gpg | gpg --import -'or wget:
sudo sh -c 'wget https://x11libre.net/repo/arch_based/x86_64/0x73580DE2EDDFA6D6.gpg -O - | gpg --import -'Once you retrieved the public key, add an entry for the XLibre repository by adding this section to the file /etc/pacman.conf:
[xlibre]
Server = https://x11libre.net/repo/arch_based/x86_64There are two ways to install XLibre depending on whether the X.Org Server and its drivers are already installed on your system or not. In both cases you first need to install the xlibre-server and xlibre-input-libinput packages:
pacman -S xlibre-server xlibre-input-libinputThese packages will replace their X.Org counterparts. After doing so, use one of the two methods as follows.
For migrating from X.Org to XLibre, you need to search for any installed X.Org driver packages and replace them with their XLibre counterparts:
pacman -Q | grep '^xorg-server-\|^xf86' | cut -d' ' -f1 | \
sed 's/^xorg-server-/xlibre-xserver-/' | \
sed 's/^xf86-/xlibre-/' | xargs -ro pacman -SyyThe above command queries pacman for any installed packages having xf86- in their name, replaces the xf86- prefix with xlibre-, and installs the XLibre counterparts. For example, an installed package xf86-video-amdgpu would be replaced by xlibre-video-amdgpu. By installing the xlibre- packages, the old xf86- packages will be removed automatically.
To install XLibre on a non-X.Org system, first install xlibre-server and xlibre-input-libinput as shown above. Then list the PCI VGA controllers on your machine via lspci and look for the appropriate drivers in the list of available XLibre video drivers:
lspci -v -nn -d ::03xx
pacman -Ss xlibre-videoPlease see the Driver Installation - Xorg - ArchWiki for more details. Additionally, some packages from the xorg-apps group are necessary for certain configuration tasks. They are pointed out in the relevant sections of Configuration - Xorg - ArchWiki.
XLibre has the 'TearFree' option enabled by default since commit 0dacee6, while Xorg does not.
Closed-source drivers might not yet have an updated ABI version to match that of the updated XLibre Xserver.
This can be overcome by creating a file named, e.g., /etc/X11/xorg.conf.d/xlibre.conf containing:
Section "ServerFlags"
Option "IgnoreABI" "true"
EndSection
For more information, please see the Nvidia proprietary driver section of Compatibility of XLibre · X11Libre/xserver Wiki.
Please report any issues with this repository at Issues · X11Libre/binpkg-arch-based. In case you need help, want to report success or talk about other aspects of the build, just go to X11Libre/packaging: XLibre On Arch Linux · Discussions · GitHub.
artist for Xlibre (artist4xlibre at proton dot me)