On 7/11/25 01:50, Mark Hindley wrote:
> On Thu, Jul 10, 2025 at 11:06:36PM +0200, aitor wrote:
>> On 2/7/25 2:40, Ralph Ronnquist via Dng wrote:
>>
>> Those sources need patching to use libseat so as to avoid the
>> logind+dbus lock-in.
>>
>> There is a quilt patch for that in devuan's xorg-server.
>
> I have already ported the patch. It is awaiting testing before possible
> submission upstream. Testers would be welcome.
>
> https://git.devuan.org/LeePen/xlibre
>
> Thanks
>
> Mark
> _______________________________________________
I cloned the patched version into a ceres chroot and followed Joel's
directions. I'm not sure what it's supposed to produce, but I did find a
few executables. Output from builddir/test/tests is copied below.
I copied that ceres filesystem to a usb stick and gave it a bootloader so
I could test it on hardware. The usb boots but running Xorg fails.
Xorg.O.log also copied below.
There were some permission errors, so I tried again after installing
elogind. That xorg log is also copied below. I don't know what to try next.
fsmithred
_______________________________________________
output of tests:
BUG: 'if (dev == ((void *)0))'
BUG: ../dix/devices.c:1375 in InitValuatorClassDeviceStruct()
Backtrace:
0: ./tests (0x5612146fc000+0x11ef4f) [0x56121481af4f]
1: ./tests (0x5612146fc000+0x47904) [0x561214743904]
2: ./tests (0x5612146fc000+0x31dfa) [0x56121472ddfa]
3: ./tests (0x5612146fc000+0x36269) [0x561214732269]
4: ./tests (0x5612146fc000+0x2d3a0) [0x5612147293a0]
5: /lib/x86_64-linux-gnu/libc.so.6 (0x7f3987cc9000+0x29ca8) [0x7f3987cf2ca8]
6: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x85) [0x7f3987cf2d65]
7: ./tests (0x5612146fc000+0x2d531) [0x561214729531]
BUG: 'if (axnum >= dev->valuator->numAxes)'
BUG: ../Xi/exevents.c:2404 in SetScrollValuator()
Backtrace:
0: ./tests (0x5612146fc000+0x11ef4f) [0x56121481af4f]
1: ./tests (0x5612146fc000+0xda72c) [0x5612147d672c]
2: ./tests (0x5612146fc000+0x31f2d) [0x56121472df2d]
3: ./tests (0x5612146fc000+0x36269) [0x561214732269]
4: ./tests (0x5612146fc000+0x2d3a0) [0x5612147293a0]
5: /lib/x86_64-linux-gnu/libc.so.6 (0x7f3987cc9000+0x29ca8) [0x7f3987cf2ca8]
6: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x85) [0x7f3987cf2d65]
7: ./tests (0x5612146fc000+0x2d531) [0x561214729531]
[dix] EventToCore: Not implemented yet
[dix] EventToCore: Not implemented yet
[dix] EventToCore: Not implemented yet
BUG: 'if (dev == ((void *)0))'
BUG: ../dix/devices.c:1375 in InitValuatorClassDeviceStruct()
Backtrace:
0: ./tests (0x5612146fc000+0x11ef4f) [0x56121481af4f]
1: ./tests (0x5612146fc000+0x47904) [0x561214743904]
2: ./tests (0x5612146fc000+0x30437) [0x56121472c437]
3: ./tests (0x5612146fc000+0x36269) [0x561214732269]
4: ./tests (0x5612146fc000+0x2d3a0) [0x5612147293a0]
5: /lib/x86_64-linux-gnu/libc.so.6 (0x7f3987cc9000+0x29ca8) [0x7f3987cf2ca8]
6: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x85) [0x7f3987cf2d65]
7: ./tests (0x5612146fc000+0x2d531) [0x561214729531]
[mi] mieq: warning: overriding existing handler 0x0 with 0x56121472f300
for event 24
tests: ../test/signal-logging.c:213: logging_format: Assertion
`strcmp(&logmsg[strlen(logmsg) - 3], "en\n") == 0' failed.
____________________________________________________
Xorg.0.log (seatd only)
[2025-07-13 22:12:48]
XLibre X Server 1.25.0
X Protocol Version 11, Revision 0
[2025-07-13 22:12:48] Current Operating System: Linux xlibre1
6.12.37+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.37-1 (2025-07-11)
x86_64
[2025-07-13 22:12:48] Kernel command line: BOOT_IMAGE=/vmlinuz ro
root=/dev/sdb1
[2025-07-13 22:12:48]
[2025-07-13 22:12:48] Current version of pixman: 0.44.0
[2025-07-13 22:12:48] Before reporting problems, check
https://github.com/X11Libre/xserver
to make sure that you have the latest version.
[2025-07-13 22:12:48] Markers: (--) probed, (**) from config file, (==)
default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[2025-07-13 22:12:48] (==) Log file:
"/home/user/.local/share/xorg/Xorg.0.log", Time: Sun Jul 13 22:12:48 2025
[2025-07-13 22:12:48] (==) Using system config directory
"/usr/local/share/X11/xorg.conf.d"
[2025-07-13 22:12:48] (==) No Layout section. Using the first Screen section.
[2025-07-13 22:12:48] (==) No screen section available. Using defaults.
[2025-07-13 22:12:48] (**) |-->Screen "Default Screen Section" (0)
[2025-07-13 22:12:48] (**) | |-->Monitor "<default monitor>"
[2025-07-13 22:12:48] (==) No monitor specified for screen "Default Screen
Section".
Using a default monitor configuration.
[2025-07-13 22:12:48] (==) Automatically adding devices
[2025-07-13 22:12:48] (==) Automatically enabling devices
[2025-07-13 22:12:48] (==) Automatically adding GPU devices
[2025-07-13 22:12:48] (==) Automatically binding GPU devices
[2025-07-13 22:12:48] (==) Max clients allowed: 256, resource mask: 0x1fffff
[2025-07-13 22:12:48] (WW) The directory "/usr/share/fonts/X11/misc" does
not exist.
[2025-07-13 22:12:48] Entry deleted from font path.
[2025-07-13 22:12:48] (WW) The directory "/usr/share/fonts/X11/TTF" does
not exist.
[2025-07-13 22:12:48] Entry deleted from font path.
[2025-07-13 22:12:48] (WW) The directory "/usr/share/fonts/X11/OTF" does
not exist.
[2025-07-13 22:12:48] Entry deleted from font path.
[2025-07-13 22:12:48] (WW) The directory "/usr/share/fonts/X11/100dpi"
does not exist.
[2025-07-13 22:12:48] Entry deleted from font path.
[2025-07-13 22:12:48] (WW) The directory "/usr/share/fonts/X11/75dpi" does
not exist.
[2025-07-13 22:12:48] Entry deleted from font path.
[2025-07-13 22:12:48] (==) FontPath set to:
/usr/share/fonts/X11/Type1
[2025-07-13 22:12:48] (==) ModulePath set to
"/usr/local/lib/x86_64-linux-gnu/xorg/modules"
[2025-07-13 22:12:48] (II) The server relies on udev to provide the list
of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[2025-07-13 22:12:48] (II) Module ABI versions:
[2025-07-13 22:12:48] X.Org ANSI C Emulation: 1.4
[2025-07-13 22:12:48] X.Org Video Driver: 28.0
[2025-07-13 22:12:48] X.Org XInput driver : 26.0
[2025-07-13 22:12:48] X.Org Server Extension : 11.0
[2025-07-13 22:12:48] (II) seatd_libseat init
[2025-07-13 22:12:48] (EE) [libseat/backend/seatd.c:66] Could not connect
to socket /run/seatd.sock: Permission denied
[2025-07-13 22:12:48] (II) [libseat/libseat.c:76] Backend 'seatd' failed
to open seat, skipping
[2025-07-13 22:12:48] (EE) [libseat/backend/logind.c:621] Could not get
primary session for user: No data available
[2025-07-13 22:12:48] (II) [libseat/libseat.c:76] Backend 'logind' failed
to open seat, skipping
[2025-07-13 22:12:48] (II) [seatd/seat.c:48] Created VT-bound seat seat0
[2025-07-13 22:12:48] (II) [seatd/server.c:145] New client connected (pid:
1623, uid: 1000, gid: 1000)
[2025-07-13 22:12:48] (II) [libseat/backend/seatd.c:673] Started embedded
seatd
[2025-07-13 22:12:48] (EE) [common/terminal.c:162] Could not open target
tty: Permission denied
[2025-07-13 22:12:48] (EE) [seatd/seat.c:70] Could not open tty0 to update
VT: Permission denied
[2025-07-13 22:12:48] (II) [seatd/seat.c:239] Added client 0 to seat0
[2025-07-13 22:12:48] (EE) [common/terminal.c:162] Could not open target
tty: Permission denied
[2025-07-13 22:12:48] (EE) [seatd/seat.c:80] Could not open terminal for
VT 0: Permission denied
[2025-07-13 22:12:48] (EE) [seatd/seat.c:544] Could not open VT for client
[2025-07-13 22:12:48] (EE) [common/terminal.c:162] Could not open target
tty: Permission denied
[2025-07-13 22:12:48] (EE) [seatd/seat.c:94] Could not open terminal to
clean up VT 0: Permission denied
[2025-07-13 22:12:48] (II) [libseat/libseat.c:73] Seat opened with backend
'builtin'
[2025-07-13 22:12:48] (II) seatd_libseat client activated
[2025-07-13 22:12:48] (II) xfree86: Adding drm device (/dev/dri/card0)
[2025-07-13 22:12:48] (II) Platform probe for
/sys/devices/pci0000:00/0000:00:02.0/drm/card0
[2025-07-13 22:12:48] (DB) seatd_libseat not active
[2025-07-13 22:12:48] (EE) cannot open /dev/dri/card0
[2025-07-13 22:12:48] (--) PCI:*(0@0:2:0) 8086:126:17aa:21ce rev 9, Mem @
0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x5000/64, BIOS @
0x????????/131072
[2025-07-13 22:12:48] (WW) Open ACPI failed (/var/run/acpid.socket) (No
such file or directory)
[2025-07-13 22:12:48] (II) LoadModule: "glx"
[2025-07-13 22:12:48] (II) Loading
/usr/local/lib/x86_64-linux-gnu/xorg/modules/xlibre-25.0/extensions/libglx.so
[2025-07-13 22:12:48] (II) Module glx: vendor="X.Org Foundation"
[2025-07-13 22:12:48] compiled for 1.25.0, module version = 1.0.0
[2025-07-13 22:12:48] ABI class: X.Org Server Extension, version 11.0
[2025-07-13 22:12:48] (==) Matched intel as autoconfigured driver 0
[2025-07-13 22:12:48] (==) Matched modesetting as autoconfigured driver 1
[2025-07-13 22:12:48] (==) Matched fbdev as autoconfigured driver 2
[2025-07-13 22:12:48] (==) Matched vesa as autoconfigured driver 3
[2025-07-13 22:12:48] (==) Assigned the driver to the xf86ConfigLayout
[2025-07-13 22:12:48] (II) LoadModule: "intel"
[2025-07-13 22:12:48] (WW) Warning, couldn't open module intel
[2025-07-13 22:12:48] (EE) Failed to load module "intel" (module does not
exist, 0)
[2025-07-13 22:12:48] (II) LoadModule: "modesetting"
[2025-07-13 22:12:48] (II) Loading
/usr/local/lib/x86_64-linux-gnu/xorg/modules/xlibre-25.0/drivers/modesetting_drv.so
[2025-07-13 22:12:48] (II) Module modesetting: vendor="X.Org Foundation"
[2025-07-13 22:12:48] compiled for 1.25.0, module version = 1.25.0
[2025-07-13 22:12:48] Module class: X.Org Video Driver
[2025-07-13 22:12:48] ABI class: X.Org Video Driver, version 28.0
[2025-07-13 22:12:48] (II) LoadModule: "fbdev"
[2025-07-13 22:12:48] (WW) Warning, couldn't open module fbdev
[2025-07-13 22:12:48] (EE) Failed to load module "fbdev" (module does not
exist, 0)
[2025-07-13 22:12:48] (II) LoadModule: "vesa"
[2025-07-13 22:12:48] (WW) Warning, couldn't open module vesa
[2025-07-13 22:12:48] (EE) Failed to load module "vesa" (module does not
exist, 0)
[2025-07-13 22:12:48] (II) modesetting: Driver for Modesetting Kernel
Drivers: kms
[2025-07-13 22:12:48] (DB) seatd_libseat not active
[2025-07-13 22:12:48]
Fatal server error:
[2025-07-13 22:12:48] parse_vt_settings: Cannot open /dev/tty0 (Permission
denied)
[2025-07-13 22:12:48]
[2025-07-13 22:12:48]
Please consult the XLibre support
at https://github.com/X11Libre/xserver
for help.
[2025-07-13 22:12:48] Please also check the log file at
"/home/user/.local/share/xorg/Xorg.0.log" for additional information.
[2025-07-13 22:12:48]
[2025-07-13 22:12:48] (DB) seatd_libseat not active
[2025-07-13 22:12:48] (WW) xf86CloseConsole: KDSETMODE failed: Bad file
descriptor
[2025-07-13 22:12:48] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file
descriptor
[2025-07-13 22:12:48] (II) seatd_libseat finish
[2025-07-13 22:12:48] (DB) [seatd/seat.c:282] Closing inactive VT
[2025-07-13 22:12:48] (EE) [common/terminal.c:162] Could not open target
tty: Permission denied
[2025-07-13 22:12:48] (EE) [seatd/seat.c:94] Could not open terminal to
clean up VT 0: Permission denied
[2025-07-13 22:12:48] (II) [seatd/seat.c:290] Removed client 0 from seat0
[2025-07-13 22:12:48] (EE) Server terminated with error (1). Closing log file.
[2025-07-13 22:12:48] (II) [seatd/client.c:496] Client disconnected
[2025-07-13 22:12:48] (II) [libseat/backend/seatd.c:685] Stopped embedded
seatd
___________________________________________
Xorg.0.log (with elogind)
[2025-07-13 22:22:01]
XLibre X Server 1.25.0
X Protocol Version 11, Revision 0
[2025-07-13 22:22:01] Current Operating System: Linux xlibre1
6.12.37+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.37-1 (2025-07-11)
x86_64
[2025-07-13 22:22:01] Kernel command line: BOOT_IMAGE=/vmlinuz ro
root=/dev/sdb1
[2025-07-13 22:22:01]
[2025-07-13 22:22:01] Current version of pixman: 0.44.0
[2025-07-13 22:22:01] Before reporting problems, check
https://github.com/X11Libre/xserver
to make sure that you have the latest version.
[2025-07-13 22:22:01] Markers: (--) probed, (**) from config file, (==)
default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[2025-07-13 22:22:01] (==) Log file:
"/home/user/.local/share/xorg/Xorg.0.log", Time: Sun Jul 13 22:22:01 2025
[2025-07-13 22:22:01] (==) Using system config directory
"/usr/local/share/X11/xorg.conf.d"
[2025-07-13 22:22:01] (==) No Layout section. Using the first Screen section.
[2025-07-13 22:22:01] (==) No screen section available. Using defaults.
[2025-07-13 22:22:01] (**) |-->Screen "Default Screen Section" (0)
[2025-07-13 22:22:01] (**) | |-->Monitor "<default monitor>"
[2025-07-13 22:22:01] (==) No monitor specified for screen "Default Screen
Section".
Using a default monitor configuration.
[2025-07-13 22:22:01] (==) Automatically adding devices
[2025-07-13 22:22:01] (==) Automatically enabling devices
[2025-07-13 22:22:01] (==) Automatically adding GPU devices
[2025-07-13 22:22:01] (==) Automatically binding GPU devices
[2025-07-13 22:22:01] (==) Max clients allowed: 256, resource mask: 0x1fffff
[2025-07-13 22:22:01] (WW) The directory "/usr/share/fonts/X11/misc" does
not exist.
[2025-07-13 22:22:01] Entry deleted from font path.
[2025-07-13 22:22:01] (WW) The directory "/usr/share/fonts/X11/TTF" does
not exist.
[2025-07-13 22:22:01] Entry deleted from font path.
[2025-07-13 22:22:01] (WW) The directory "/usr/share/fonts/X11/OTF" does
not exist.
[2025-07-13 22:22:01] Entry deleted from font path.
[2025-07-13 22:22:01] (WW) The directory "/usr/share/fonts/X11/100dpi"
does not exist.
[2025-07-13 22:22:01] Entry deleted from font path.
[2025-07-13 22:22:01] (WW) The directory "/usr/share/fonts/X11/75dpi" does
not exist.
[2025-07-13 22:22:01] Entry deleted from font path.
[2025-07-13 22:22:01] (==) FontPath set to:
/usr/share/fonts/X11/Type1
[2025-07-13 22:22:01] (==) ModulePath set to
"/usr/local/lib/x86_64-linux-gnu/xorg/modules"
[2025-07-13 22:22:01] (II) The server relies on udev to provide the list
of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[2025-07-13 22:22:01] (II) Module ABI versions:
[2025-07-13 22:22:01] X.Org ANSI C Emulation: 1.4
[2025-07-13 22:22:01] X.Org Video Driver: 28.0
[2025-07-13 22:22:01] X.Org XInput driver : 26.0
[2025-07-13 22:22:01] X.Org Server Extension : 11.0
[2025-07-13 22:22:01] (II) seatd_libseat init
[2025-07-13 22:22:01] (EE) [libseat/backend/seatd.c:66] Could not connect
to socket /run/seatd.sock: Permission denied
[2025-07-13 22:22:01] (II) [libseat/libseat.c:76] Backend 'seatd' failed
to open seat, skipping
[2025-07-13 22:22:01] (II) [libseat/libseat.c:73] Seat opened with backend
'logind'
[2025-07-13 22:22:01] (II) seatd_libseat enable
[2025-07-13 22:22:01] (WW) Open ACPI failed (/var/run/acpid.socket) (No
such file or directory)
[2025-07-13 22:22:01] (II) seatd_libseat handled 2 events
[2025-07-13 22:22:01] (II) seatd_libseat client activated
[2025-07-13 22:22:01] (II) xfree86: Adding drm device (/dev/dri/card0)
[2025-07-13 22:22:01] (II) Platform probe for
/sys/devices/pci0000:00/0000:00:02.0/drm/card0
[2025-07-13 22:22:01] (II) seatd_libseat try open graphics /dev/dri/card0
[2025-07-13 22:22:01] (EE) [libseat/backend/logind.c:124] Could not take
device: No such device
[2025-07-13 22:22:01] (EE) seatd_libseat open graphics /dev/dri/card0 (-1)
failed: -11
[2025-07-13 22:22:01] (EE) cannot open /dev/dri/card0
[2025-07-13 22:22:01] (--) PCI:*(0@0:2:0) 8086:126:17aa:21ce rev 9, Mem @
0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x5000/64, BIOS @
0x????????/131072
[2025-07-13 22:22:01] (II) LoadModule: "glx"
[2025-07-13 22:22:01] (II) Loading
/usr/local/lib/x86_64-linux-gnu/xorg/modules/xlibre-25.0/extensions/libglx.so
[2025-07-13 22:22:01] (II) Module glx: vendor="X.Org Foundation"
[2025-07-13 22:22:01] compiled for 1.25.0, module version = 1.0.0
[2025-07-13 22:22:01] ABI class: X.Org Server Extension, version 11.0
[2025-07-13 22:22:01] (==) Matched intel as autoconfigured driver 0
[2025-07-13 22:22:01] (==) Matched modesetting as autoconfigured driver 1
[2025-07-13 22:22:01] (==) Matched fbdev as autoconfigured driver 2
[2025-07-13 22:22:01] (==) Matched vesa as autoconfigured driver 3
[2025-07-13 22:22:01] (==) Assigned the driver to the xf86ConfigLayout
[2025-07-13 22:22:01] (II) LoadModule: "intel"
[2025-07-13 22:22:01] (WW) Warning, couldn't open module intel
[2025-07-13 22:22:01] (EE) Failed to load module "intel" (module does not
exist, 0)
[2025-07-13 22:22:01] (II) LoadModule: "modesetting"
[2025-07-13 22:22:01] (II) Loading
/usr/local/lib/x86_64-linux-gnu/xorg/modules/xlibre-25.0/drivers/modesetting_drv.so
[2025-07-13 22:22:01] (II) Module modesetting: vendor="X.Org Foundation"
[2025-07-13 22:22:01] compiled for 1.25.0, module version = 1.25.0
[2025-07-13 22:22:01] Module class: X.Org Video Driver
[2025-07-13 22:22:01] ABI class: X.Org Video Driver, version 28.0
[2025-07-13 22:22:01] (II) LoadModule: "fbdev"
[2025-07-13 22:22:01] (WW) Warning, couldn't open module fbdev
[2025-07-13 22:22:01] (EE) Failed to load module "fbdev" (module does not
exist, 0)
[2025-07-13 22:22:01] (II) LoadModule: "vesa"
[2025-07-13 22:22:01] (WW) Warning, couldn't open module vesa
[2025-07-13 22:22:01] (EE) Failed to load module "vesa" (module does not
exist, 0)
[2025-07-13 22:22:01] (II) modesetting: Driver for Modesetting Kernel
Drivers: kms
[2025-07-13 22:22:01] (EE) open /dev/dri/card0: Permission denied
[2025-07-13 22:22:01] (WW) Falling back to old probe method for modesetting
[2025-07-13 22:22:01] (EE) open /dev/dri/card0: Permission denied
[2025-07-13 22:22:01] (WW) VGA arbiter: cannot open kernel arbiter, no
multi-card support
[2025-07-13 22:22:01] (EE) Screen 0 deleted because of no matching config
section.
[2025-07-13 22:22:01] (II) UnloadModule: "modesetting"
[2025-07-13 22:22:01] (EE) Device(s) detected, but none match those in the
config file.
[2025-07-13 22:22:01]
Fatal server error:
[2025-07-13 22:22:01] no screens found
[2025-07-13 22:22:01]
Please consult the XLibre support
at https://github.com/X11Libre/xserver
for help.
[2025-07-13 22:22:01] Please also check the log file at
"/home/user/.local/share/xorg/Xorg.0.log" for additional information.
[2025-07-13 22:22:01]
[2025-07-13 22:22:01] (II) seatd_libseat finish
[2025-07-13 22:22:01] (EE) Server terminated with error (1). Closing log file.