tce-load -i compiletc meson Xorg-7.7-3d-dev pixman-dev libepoxy-dev libxcvt-dev font-util wget https://www.x.org/pub/individual/xserver/xorg-server-21.1.16.tar.xz wget https://www.linuxfromscratch.org/patches/blfs/svn/xorg-server-21.1.16-tearfree_backport-1.patch cd xorg-server-21.1.16 patch -Np1 -i ../xorg-server-21.1.16-tearfree_backport-1.patch patch -Rp1 -i ../xorg-server_fbdev.patch [https://gitlab.freedesktop.org/xorg/xserver/-/commit/728b54528d37ffa27b07c9b181c5ed8d2d359379] mkdir build cd build CC="gcc -flto -mtune=generic -Os -pipe -fcommon" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti -fcommon" meson --prefix=/usr/local --sysconfdir=/etc --libexecdir=/usr/local/lib/xorg --buildtype=plain -Dsuid_wrapper=true -Dxkb_output_dir=/var/lib/xkb -Ddefault_font_path=/usr/local/lib/X11/fonts/misc,/usr/local/lib/X11/fonts/TTF,/usr/local/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1,/usr/local/lib/X11/fonts/100pdi,/usr/local/lib/X11/fonts/75dpi -Dsha1=libcrypto -Dsecure-rpc=false -Dlog_dir=/var/log -Dsystemd_logind=false -Dglamor=true ../ ninja [3m 2.17s] sudo ninja install (II) Loading /usr/local/lib/xorg/modules/libfbdevhw.so ... (EE) Unable to find a valid framebuffer device Fatal server error: (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices commit e38c23e5b81693a1b23ed91e4ecdead08615ab25 Author: Tj Date: Fri Jul 19 19:50:56 2024 +0200 xfree86: fbdevhw: fix pci detection on recent Linux Linux kernel v6.9 has changed the symlink to point to the parent device. This breaks fbdev_open() detection logic. Change it to use the subsystem symlink instead which will remain stable. Kernel v6.8: [ 14.067] (II) fbdev_open() sysfs_path=/sys/class/graphics/fb0 [ 14.067] (II) fbdev_open() buf=../../devices/platform/vesa-framebuffer.0/graphics/fb0 Kernel v6.9: [ 15.609] (II) fbdev_open() sysfs_path=/sys/class/graphics/fb0 [ 15.609] (II) fbdev_open() buf=../../devices/pci0000:00/0000:00:01.0/vesa-framebuffer.0/graphics/fb0 mkdir -pv /etc/X11/xorg.conf.d && cat >> /etc/sysconfig/createfiles << "EOF" /tmp/.ICE-unix dir 1777 root root /tmp/.X11-unix dir 1777 root root EOF xserver 21.1.16 User defined options buildtype : plain default_font_path: /usr/local/lib/X11/fonts/misc,/usr/local/lib/X11/fonts/TTF,/usr/local/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1,/usr/local/lib/X11/fonts/100pdi,/usr/local/lib/X11/fonts/75dpi glamor : true libexecdir : /usr/local/lib/xorg log_dir : /var/log prefix : /usr/local secure-rpc : false sha1 : libcrypto suid_wrapper : true sysconfdir : /etc systemd_logind : false xkb_output_dir : /var/lib/xkb