Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Installed "Xlibre" and it doesn't work with Nvidia driver

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
36 posts
  • Previous
  • 1
  • 2
Author
Message
davidbryant
Apprentice
Apprentice
User avatar
Posts: 250
Joined: Thu Jun 11, 2020 3:36 pm
Location: Canyon Lake, Texas
Contact:
Contact davidbryant
Website

  • Quote

Post by davidbryant » Wed Jul 09, 2025 5:10 pm

hendrack wrote:So I've switched from proprietary Nvidia drivers to nouveau and everything seems to work without issue. I've got no xorg.conf.d directory nor xorg.conf in /etc and everything get's detected as it should (nouveau in Xorg.log). Didn't even need IgnoreABI with xlibre-server-9999.

What GUI interface is broken? Gtk, QT, ... ?
What version of XLibre are you running (release, 9999)?
Did you rebuild xf86-driver-nouveau from gentoo or xlibre repo?
Right now I've thrown Xlibre away. I may try it again. I think the version I was using said -9999.

I run the KDE desktop. That wasn't the problem. At boot time, the xlibre-server (invoked by sddm, a desktop device manager that manages logins) would load the Nvidia driver, then discard it because it didn't like the ABI used by that driver (version 570).

I didn't build nouveau from either Gentoo or Xlibre. Nouveau is part of the Linux kernel. I built the nouveau graphics driver into one of my kernels. The Nvidia driver can't be fully integrated into the kernel because it's not OSS. So I have a second version of the kernel, which uses modprobe to load the Nvidia driver after the kernel is up and running. Anyway, Xlibre works OK with the built-in nouveau driver. But nouveau doesn't play nice with wayland. So I want to be able to use the Nvidia driver, so I can run a wayland session sometimes. Does that make sense?
David Bryant
Canyon Lake, Texas
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56071
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Jul 09, 2025 6:55 pm

davidbryant,

All the Xorg DRM drivers are in two pieces. A kernel part and an Xorg part.
The kernel part on its own provides a framebuffer console at no extra change.

To use noveau in X you need both pieces.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
stefan11111
Veteran
Veteran
Posts: 1024
Joined: Sun Jan 29, 2023 6:08 pm
Location: Romania
Contact:
Contact stefan11111
Website

  • Quote

Post by stefan11111 » Wed Jul 09, 2025 8:22 pm

davidbryant wrote: Right now I've thrown Xlibre away. I may try it again. I think the version I was using said -9999.
Even on Xorg, you should probably use an xorg.conf
There are a lot of useful settings in there.
Try running nvidia-xconfig and see what's there.

Also, doesn't your screen blank after a a few minutes of inactivity? (15, 30mins, no idea what the default is)
You can change that with an xorg.conf.
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Top
davidbryant
Apprentice
Apprentice
User avatar
Posts: 250
Joined: Thu Jun 11, 2020 3:36 pm
Location: Canyon Lake, Texas
Contact:
Contact davidbryant
Website

  • Quote

Post by davidbryant » Wed Jul 09, 2025 9:36 pm

stefan11111 wrote: Even on Xorg, you should probably use an xorg.conf
There are a lot of useful settings in there.
Try running nvidia-xconfig and see what's there.

Also, doesn't your screen blank after a a few minutes of inactivity? (15, 30mins, no idea what the default is)
You can change that with an xorg.conf.

Code: Select all

localhost ~ # nvidia-config
-bash: nvidia-config: command not found
Where do I find that program?

I haven't noticed a problem with my screen blanking, mainly because I use the nouveau driver most of the time.
David Bryant
Canyon Lake, Texas
Top
stefan11111
Veteran
Veteran
Posts: 1024
Joined: Sun Jan 29, 2023 6:08 pm
Location: Romania
Contact:
Contact stefan11111
Website

  • Quote

Post by stefan11111 » Wed Jul 09, 2025 11:01 pm

davidbryant wrote:

Code: Select all

localhost ~ # nvidia-config
-bash: nvidia-config: command not found
Where do I find that program?

I haven't noticed a problem with my screen blanking, mainly because I use the nouveau driver most of the time.
That program should be installed by nvidia-drivers, even with USE=-tools

Code: Select all

$ equery b /usr/bin/nvidia-xconfig
 * Searching for /usr/bin/nvidia-xconfig ...
x11-drivers/nvidia-drivers-570.86.16-r1 (/usr/bin/nvidia-xconfig)
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Top
stefan11111
Veteran
Veteran
Posts: 1024
Joined: Sun Jan 29, 2023 6:08 pm
Location: Romania
Contact:
Contact stefan11111
Website

  • Quote

Post by stefan11111 » Wed Jul 09, 2025 11:03 pm

If anyone is interested, here's a patch that adds support for using the modesetting driver with nvidia, with glamor acceleration:
https://github.com/X11Libre/xserver/pull/373
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Top
Chiitoo
Administrator
Administrator
User avatar
Posts: 3018
Joined: Sun Feb 28, 2010 5:36 pm
Location: Sore wa sore, kore wa kore... nanoda.

  • Quote

Post by Chiitoo » Thu Jul 10, 2025 8:30 am

davidbryant wrote:

Code: Select all

localhost ~ # nvidia-config
-bash: nvidia-config: command not found
Where do I find that program?

I haven't noticed a problem with my screen blanking, mainly because I use the nouveau driver most of the time.
It's 'nvidia-xconfig', with the 'x'. :]

Also xorg has some built-in blank things (see 'xset q' for example).

Historically (from my view, starting in 2010), the 'nvidia-xconfig' hasn't been very useful from what I've seen, though it can certainly give some ideas. In most cases the things it specifies are automagic anyblue, and/or could become a hindrance maybe.

For the proprietary driver though, a very minimal config has been required that defines the device driver: nvidia

I haven't used nvidia since some handful of years though, so not sure if that is still the case.

I also remember using the 'CoolBits' for manual fan control.
Kindest of regardses.
Top
davidbryant
Apprentice
Apprentice
User avatar
Posts: 250
Joined: Thu Jun 11, 2020 3:36 pm
Location: Canyon Lake, Texas
Contact:
Contact davidbryant
Website

I got it to work!

  • Quote

Post by davidbryant » Thu Jul 10, 2025 6:16 pm

So today I reinstalled the xlibre-server, and got it working. Here's what I did differently from the first time.

1. After following the instructions in the "Xlibre" article in the wiki and signing four nvidia modules, I executed nvidia-xconfig.

2. Using a text editor, I added three lines at the end of /etc/X11/xorg.conf:

Code: Select all

Section "ServerFlags"
    Option "IgnoreABI" "1"
EndSection
3. I rebooted with my Nvidia-enabled kernel, and everything worked OK. Here's part of the Xorg.0.log file.

Code: Select all

[2025-07-10 12:50:10] (--) Log file renamed from "/var/log/Xorg.pid-4152.log" to "/var/log/Xorg.0.log"
[2025-07-10 12:50:10] 
XLibre X Server 1.25.0
X Protocol Version 11, Revision 0
[2025-07-10 12:50:10] Current Operating System: Linux localhost 6.12.31-gentoo-x86_64 #2 SMP PREEMPT_DYNAMIC Sun Jul  6 16:31:18 CDT 2025 x86_64
[2025-07-10 12:50:10] Kernel command line: BOOT_IMAGE=/boot/vmlinuz root=/dev/sda13
[2025-07-10 12:50:10]  
[2025-07-10 12:50:10] Current version of pixman: 0.46.0
[2025-07-10 12:50:10] 	Before reporting problems, check https://github.com/X11Libre/xserver
	to make sure that you have the latest version.
[2025-07-10 12:50:10] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[2025-07-10 12:50:10] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul 10 12:50:10 2025
[2025-07-10 12:50:10] (==) Using config file: "/etc/X11/xorg.conf"
[2025-07-10 12:50:10] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[2025-07-10 12:50:10] (==) ServerLayout "Layout0"
[2025-07-10 12:50:10] (**) |-->Screen "Screen0" (0)
[2025-07-10 12:50:10] (**) |   |-->Monitor "Monitor0"
[2025-07-10 12:50:10] (**) |   |-->Device "Device0"
[2025-07-10 12:50:10] (**) |-->Input Device "Keyboard0"
[2025-07-10 12:50:10] (**) |-->Input Device "Mouse0"
[2025-07-10 12:50:10] (**) Option "IgnoreABI" "1"
[2025-07-10 12:50:10] (**) Ignoring ABI Version
[2025-07-10 12:50:10] (==) Automatically adding devices
[2025-07-10 12:50:10] (==) Automatically enabling devices
[2025-07-10 12:50:10] (==) Automatically adding GPU devices
[2025-07-10 12:50:10] (==) Automatically binding GPU devices
[2025-07-10 12:50:10] (==) Max clients allowed: 256, resource mask: 0x1fffff
[2025-07-10 12:50:10] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[2025-07-10 12:50:10] 	Entry deleted from font path.
[2025-07-10 12:50:10] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[2025-07-10 12:50:10] 	Entry deleted from font path.
[2025-07-10 12:50:10] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[2025-07-10 12:50:10] 	Entry deleted from font path.
[2025-07-10 12:50:10] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[2025-07-10 12:50:10] 	Entry deleted from font path.
[2025-07-10 12:50:10] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[2025-07-10 12:50:10] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[2025-07-10 12:50:10] 	Entry deleted from font path.
[2025-07-10 12:50:10] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[2025-07-10 12:50:10] (==) FontPath set to:
	/usr/share/fonts/misc
[2025-07-10 12:50:10] (==) ModulePath set to "/usr/lib64/xorg/modules"
[2025-07-10 12:50:10] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[2025-07-10 12:50:10] (WW) Disabling Keyboard0
[2025-07-10 12:50:10] (WW) Disabling Mouse0
[2025-07-10 12:50:10] (II) Module ABI versions:
[2025-07-10 12:50:10] 	X.Org ANSI C Emulation: 1.4
[2025-07-10 12:50:10] 	X.Org Video Driver: 28.0
[2025-07-10 12:50:10] 	X.Org XInput driver : 26.0
[2025-07-10 12:50:10] 	X.Org Server Extension : 11.0
[2025-07-10 12:50:10] (++) using VT number 7

[2025-07-10 12:50:10] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[2025-07-10 12:50:10] (II) xfree86: Adding drm device (/dev/dri/card0)
[2025-07-10 12:50:10] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[2025-07-10 12:50:10] (--) PCI: (0@0:2:0) 8086:3e98:1028:859 rev 2, Mem @ 0x2ffe000000/16777216, 0x90000000/268435456, I/O @ 0xf000/64
[2025-07-10 12:50:10] (--) PCI:*(1@0:0:0) 10de:1f08:1028:3759 rev 161, Mem @ 0xeb000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0xe000/128, BIOS @ 0x????????/131072
[2025-07-10 12:50:10] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[2025-07-10 12:50:10] (II) LoadModule: "dbe"
[2025-07-10 12:50:10] (II) Module "dbe" already built-in
[2025-07-10 12:50:10] (II) LoadModule: "extmod"
[2025-07-10 12:50:10] (II) Module "extmod" already built-in
[2025-07-10 12:50:10] (II) LoadModule: "glx"
[2025-07-10 12:50:10] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/extensions/libglx.so
[2025-07-10 12:50:10] (II) Module glx: vendor="X.Org Foundation"
[2025-07-10 12:50:10] 	compiled for 1.25.0, module version = 1.0.0
[2025-07-10 12:50:10] 	ABI class: X.Org Server Extension, version 11.0
[2025-07-10 12:50:10] (II) LoadModule: "nvidia"
[2025-07-10 12:50:10] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/drivers/nvidia_drv.so
[2025-07-10 12:50:10] (II) Module nvidia: vendor="NVIDIA Corporation"
[2025-07-10 12:50:10] 	compiled for 1.6.99.901, module version = 1.0.0
[2025-07-10 12:50:10] 	Module class: X.Org Video Driver
[2025-07-10 12:50:10] ================ WARNING WARNING WARNING WARNING ================
[2025-07-10 12:50:10] This server has a video driver ABI version of 28.0 that is not
supported by this NVIDIA driver.  Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
[2025-07-10 12:50:10] =================================================================
[2025-07-10 12:50:10] (WW) NVIDIA: The driver will continue to load, but may behave strangely.
[2025-07-10 12:50:10] (WW) NVIDIA: This driver was compiled against the X.Org server SDK from commit 7b1758936bd644020a560f2739ad7a50fbb87b17 and may not be compatible with the final version of this SDK.
[2025-07-10 12:50:10] (WW) NVIDIA: This server has an unsupported input driver ABI version (have 26.0, need < 25.0).  The driver will continue to load, but may behave strangely.
[2025-07-10 12:50:10] (WW) [DRIVER BUG] calling internal function: xf86Msg()
[2025-07-10 12:50:10] (WW) [DRIVER BUG] this function is not supposed to be by drivers ever
[2025-07-10 12:50:10] (WW) [DRIVER BUG] file a bug report to driver vendor or use a free Xlibre driver.
[2025-07-10 12:50:10] (WW) [DRIVER BUG] Proprietary drivers are inherently unstable, they just can't be done right.
[2025-07-10 12:50:10] (WW) [DRIVER BUG] For NVidia report here: https://forums.developer.nvidia.com/c/gpu-graphics/linux/148
[2025-07-10 12:50:10] (WW) [DRIVER BUG] And better don't buy NVidia HW until they've fixed their mess.
[2025-07-10 12:50:10] (II) NVIDIA dlloader X Driver  570.169  Thu Jun 12 19:30:19 UTC 2025
[2025-07-10 12:50:10] (WW) [DRIVER BUG] calling internal function: xf86Msg()
[2025-07-10 12:50:10] (WW) [DRIVER BUG] this function is not supposed to be by drivers ever
[2025-07-10 12:50:10] (WW) [DRIVER BUG] file a bug report to driver vendor or use a free Xlibre driver.
[2025-07-10 12:50:10] (WW) [DRIVER BUG] Proprietary drivers are inherently unstable, they just can't be done right.
[2025-07-10 12:50:10] (WW) [DRIVER BUG] For NVidia report here: https://forums.developer.nvidia.com/c/gpu-graphics/linux/148
[2025-07-10 12:50:10] (WW) [DRIVER BUG] And better don't buy NVidia HW until they've fixed their mess.
[2025-07-10 12:50:10] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[2025-07-10 12:50:10] (WW) [DRIVER BUG] calling internal function: xf86MsgVerb()
[2025-07-10 12:50:10] (WW) [DRIVER BUG] this function is not supposed to be by drivers ever
[2025-07-10 12:50:10] (WW) [DRIVER BUG] file a bug report to driver vendor or use a free Xlibre driver.
[2025-07-10 12:50:10] (WW) [DRIVER BUG] Proprietary drivers are inherently unstable, they just can't be done right.
[2025-07-10 12:50:10] (WW) [DRIVER BUG] For NVidia report here: https://forums.developer.nvidia.com/c/gpu-graphics/linux/148
[2025-07-10 12:50:10] (WW) [DRIVER BUG] And better don't buy NVidia HW until they've fixed their mess.
[2025-07-10 12:50:10] (II) Loading sub module "fb"
[2025-07-10 12:50:10] (II) LoadModule: "fb"
[2025-07-10 12:50:10] (II) Module "fb" already built-in
[2025-07-10 12:50:10] (II) Loading sub module "wfb"
[2025-07-10 12:50:10] (II) LoadModule: "wfb"
So Xlibre loaded the proprietary nvidia driver, but it's clearly unhappy about it.

4. I've tried the driver with KDE (Wayland and X11) and also LXqt (X11 only -- Wayland didn't work). All three desktops appear to be working well.

Thanks, y'all!
David Bryant
Canyon Lake, Texas
Top
davidbryant
Apprentice
Apprentice
User avatar
Posts: 250
Joined: Thu Jun 11, 2020 3:36 pm
Location: Canyon Lake, Texas
Contact:
Contact davidbryant
Website

Xlibre still buggy

  • Quote

Post by davidbryant » Thu Jul 10, 2025 6:51 pm

So this is weird. I tried rebooting with Xlibre and my old kernel (with the nouveau driver built in). That didn't work. Here's the log file.

Code: Select all

localhost ~ # cat /var/log/Xorg.0.log.old
[2025-07-10 13:19:20] (--) Log file renamed from "/var/log/Xorg.pid-2117.log" to "/var/log/Xorg.0.log"
[2025-07-10 13:19:20] 
XLibre X Server 1.25.0
X Protocol Version 11, Revision 0
[2025-07-10 13:19:20] Current Operating System: Linux localhost 6.12.31-gentoo-x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul  3 18:05:22 CDT 2025 x86_64
[2025-07-10 13:19:20] Kernel command line: BOOT_IMAGE=/boot/vmlinuz.old root=/dev/sda13
[2025-07-10 13:19:20]  
[2025-07-10 13:19:20] Current version of pixman: 0.46.0
[2025-07-10 13:19:20]   Before reporting problems, check https://github.com/X11Libre/xserver
        to make sure that you have the latest version.
[2025-07-10 13:19:20] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[2025-07-10 13:19:20] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul 10 13:19:20 2025
[2025-07-10 13:19:20] (==) Using config file: "/etc/X11/xorg.conf"
[2025-07-10 13:19:20] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[2025-07-10 13:19:20] (==) ServerLayout "Layout0"
[2025-07-10 13:19:20] (**) |-->Screen "Screen0" (0)
[2025-07-10 13:19:20] (**) |   |-->Monitor "Monitor0"
[2025-07-10 13:19:20] (**) |   |-->Device "Device0"
[2025-07-10 13:19:20] (**) |-->Input Device "Keyboard0"
[2025-07-10 13:19:20] (**) |-->Input Device "Mouse0"
[2025-07-10 13:19:20] (**) Option "IgnoreABI" "1"
[2025-07-10 13:19:20] (**) Ignoring ABI Version
[2025-07-10 13:19:20] (==) Automatically adding devices
[2025-07-10 13:19:20] (==) Automatically enabling devices
[2025-07-10 13:19:20] (==) Automatically adding GPU devices
[2025-07-10 13:19:20] (==) Automatically binding GPU devices
[2025-07-10 13:19:20] (==) Max clients allowed: 256, resource mask: 0x1fffff
[2025-07-10 13:19:20] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[2025-07-10 13:19:20]   Entry deleted from font path.
[2025-07-10 13:19:20] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[2025-07-10 13:19:20]   Entry deleted from font path.
[2025-07-10 13:19:20] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[2025-07-10 13:19:20]   Entry deleted from font path.
[2025-07-10 13:19:20] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[2025-07-10 13:19:20]   Entry deleted from font path.
[2025-07-10 13:19:20]   (Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[2025-07-10 13:19:20] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[2025-07-10 13:19:20]   Entry deleted from font path.
[2025-07-10 13:19:20]   (Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[2025-07-10 13:19:20] (==) FontPath set to:
        /usr/share/fonts/misc
[2025-07-10 13:19:20] (==) ModulePath set to "/usr/lib64/xorg/modules"
[2025-07-10 13:19:20] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[2025-07-10 13:19:20] (WW) Disabling Keyboard0
[2025-07-10 13:19:20] (WW) Disabling Mouse0
[2025-07-10 13:19:20] (II) Module ABI versions:
[2025-07-10 13:19:20]   X.Org ANSI C Emulation: 1.4
[2025-07-10 13:19:20]   X.Org Video Driver: 28.0
[2025-07-10 13:19:20]   X.Org XInput driver : 26.0
[2025-07-10 13:19:20]   X.Org Server Extension : 11.0
[2025-07-10 13:19:20] (++) using VT number 7

[2025-07-10 13:19:20] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[2025-07-10 13:19:20] (II) xfree86: Adding drm device (/dev/dri/card0)
[2025-07-10 13:19:20] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[2025-07-10 13:19:20] (--) PCI: (0@0:2:0) 8086:3e98:1028:859 rev 2, Mem @ 0x2ffe000000/16777216, 0x90000000/268435456, I/O @ 0xf000/64
[2025-07-10 13:19:20] (--) PCI:*(1@0:0:0) 10de:1f08:1028:3759 rev 161, Mem @ 0xeb000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0xe000/128, BIOS @ 0x????????/131072
[2025-07-10 13:19:20] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[2025-07-10 13:19:20] (II) LoadModule: "dbe"
[2025-07-10 13:19:20] (II) Module "dbe" already built-in
[2025-07-10 13:19:20] (II) LoadModule: "extmod"
[2025-07-10 13:19:20] (II) Module "extmod" already built-in
[2025-07-10 13:19:20] (II) LoadModule: "glx"
[2025-07-10 13:19:20] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/extensions/libglx.so
[2025-07-10 13:19:20] (II) Module glx: vendor="X.Org Foundation"
[2025-07-10 13:19:20]   compiled for 1.25.0, module version = 1.0.0
[2025-07-10 13:19:20]   ABI class: X.Org Server Extension, version 11.0
[2025-07-10 13:19:20] (II) LoadModule: "nvidia"
[2025-07-10 13:19:20] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/drivers/nvidia_drv.so
[2025-07-10 13:19:20] (II) Module nvidia: vendor="NVIDIA Corporation"
[2025-07-10 13:19:20]   compiled for 1.6.99.901, module version = 1.0.0
[2025-07-10 13:19:20]   Module class: X.Org Video Driver
[2025-07-10 13:19:20] ================ WARNING WARNING WARNING WARNING ================
[2025-07-10 13:19:20] This server has a video driver ABI version of 28.0 that is not
supported by this NVIDIA driver.  Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
[2025-07-10 13:19:20] =================================================================
[2025-07-10 13:19:20] (WW) NVIDIA: The driver will continue to load, but may behave strangely.
[2025-07-10 13:19:20] (WW) NVIDIA: This driver was compiled against the X.Org server SDK from commit 7b1758936bd644020a560f2739ad7a50fbb87b17 and may not be compatible with the final version of this SDK.
[2025-07-10 13:19:20] (WW) NVIDIA: This server has an unsupported input driver ABI version (have 26.0, need < 25.0).  The driver will continue to load, but may behave strangely.
[2025-07-10 13:19:20] (WW) [DRIVER BUG] calling internal function: xf86Msg()
[2025-07-10 13:19:20] (WW) [DRIVER BUG] this function is not supposed to be by drivers ever
[2025-07-10 13:19:20] (WW) [DRIVER BUG] file a bug report to driver vendor or use a free Xlibre driver.
[2025-07-10 13:19:20] (WW) [DRIVER BUG] Proprietary drivers are inherently unstable, they just can't be done right.
[2025-07-10 13:19:20] (WW) [DRIVER BUG] For NVidia report here: https://forums.developer.nvidia.com/c/gpu-graphics/linux/148
[2025-07-10 13:19:20] (WW) [DRIVER BUG] And better don't buy NVidia HW until they've fixed their mess.
[2025-07-10 13:19:20] (II) NVIDIA dlloader X Driver  570.169  Thu Jun 12 19:30:19 UTC 2025
[2025-07-10 13:19:20] (WW) [DRIVER BUG] calling internal function: xf86Msg()
[2025-07-10 13:19:20] (WW) [DRIVER BUG] this function is not supposed to be by drivers ever
[2025-07-10 13:19:20] (WW) [DRIVER BUG] file a bug report to driver vendor or use a free Xlibre driver.
[2025-07-10 13:19:20] (WW) [DRIVER BUG] Proprietary drivers are inherently unstable, they just can't be done right.
[2025-07-10 13:19:20] (WW) [DRIVER BUG] For NVidia report here: https://forums.developer.nvidia.com/c/gpu-graphics/linux/148
[2025-07-10 13:19:20] (WW) [DRIVER BUG] And better don't buy NVidia HW until they've fixed their mess.
[2025-07-10 13:19:20] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[2025-07-10 13:19:20] (WW) [DRIVER BUG] calling internal function: xf86MsgVerb()
[2025-07-10 13:19:20] (WW) [DRIVER BUG] this function is not supposed to be by drivers ever
[2025-07-10 13:19:20] (WW) [DRIVER BUG] file a bug report to driver vendor or use a free Xlibre driver.
[2025-07-10 13:19:20] (WW) [DRIVER BUG] Proprietary drivers are inherently unstable, they just can't be done right.
[2025-07-10 13:19:20] (WW) [DRIVER BUG] For NVidia report here: https://forums.developer.nvidia.com/c/gpu-graphics/linux/148
[2025-07-10 13:19:20] (WW) [DRIVER BUG] And better don't buy NVidia HW until they've fixed their mess.
[2025-07-10 13:19:20] (II) Loading sub module "fb"
[2025-07-10 13:19:20] (II) LoadModule: "fb"
[2025-07-10 13:19:20] (II) Module "fb" already built-in
[2025-07-10 13:19:20] (II) Loading sub module "wfb"
[2025-07-10 13:19:20] (II) LoadModule: "wfb"
[2025-07-10 13:19:20] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/libwfb.so
[2025-07-10 13:19:20] (II) Module wfb: vendor="X.Org Foundation"
[2025-07-10 13:19:20]   compiled for 1.25.0, module version = 1.0.0
[2025-07-10 13:19:20]   ABI class: X.Org ANSI C Emulation, version 1.4
[2025-07-10 13:19:20] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[2025-07-10 13:19:20] (EE) NVIDIA:     system's kernel log for additional error messages and
[2025-07-10 13:19:20] (EE) NVIDIA:     consult the NVIDIA README for details.
[2025-07-10 13:19:20] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[2025-07-10 13:19:20] (EE) NVIDIA:     system's kernel log for additional error messages and
[2025-07-10 13:19:20] (EE) NVIDIA:     consult the NVIDIA README for details.
[2025-07-10 13:19:20] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[2025-07-10 13:19:20] (EE) NVIDIA:     system's kernel log for additional error messages and
[2025-07-10 13:19:20] (EE) NVIDIA:     consult the NVIDIA README for details.
[2025-07-10 13:19:20] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[2025-07-10 13:19:20] (EE) NVIDIA:     system's kernel log for additional error messages and
[2025-07-10 13:19:20] (EE) NVIDIA:     consult the NVIDIA README for details.
[2025-07-10 13:19:20] (EE) No devices detected.
[2025-07-10 13:19:20] 
Fatal server error:
[2025-07-10 13:19:20] no screens found
[2025-07-10 13:19:20] 
Please consult the XLibre support 
         at https://github.com/X11Libre/xserver
 for help. 
[2025-07-10 13:19:20] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[2025-07-10 13:19:20] 
[2025-07-10 13:19:20] (EE) Server terminated with error (1). Closing log file
Apparently Xlibre tried to load the NVIDIA driver, even though my old kernel has module loading disabled. On a hunch I removed the /etc/X11/xorg.conf file (actually, changed its name to xorg.save so I can restore it easily) and tried the old kernel again. Voila! Problem solved.

Code: Select all

localhost ~ # cat /var/log/Xorg.0.log
[2025-07-10 13:28:17] (--) Log file renamed from "/var/log/Xorg.pid-2075.log" to "/var/log/Xorg.0.log"
[2025-07-10 13:28:17] 
XLibre X Server 1.25.0
X Protocol Version 11, Revision 0
[2025-07-10 13:28:17] Current Operating System: Linux localhost 6.12.31-gentoo-x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul  3 18:05:22 CDT 2025 x86_64
[2025-07-10 13:28:17] Kernel command line: BOOT_IMAGE=/boot/vmlinuz.old root=/dev/sda13
[2025-07-10 13:28:17]  
[2025-07-10 13:28:17] Current version of pixman: 0.46.0
[2025-07-10 13:28:17]   Before reporting problems, check https://github.com/X11Libre/xserver
        to make sure that you have the latest version.
[2025-07-10 13:28:17] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[2025-07-10 13:28:17] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul 10 13:28:17 2025
[2025-07-10 13:28:17] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[2025-07-10 13:28:17] (==) No Layout section.  Using the first Screen section.
[2025-07-10 13:28:17] (==) No screen section available. Using defaults.
[2025-07-10 13:28:17] (**) |-->Screen "Default Screen Section" (0)
[2025-07-10 13:28:17] (**) |   |-->Monitor "<default monitor>"
[2025-07-10 13:28:17] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[2025-07-10 13:28:17] (==) Automatically adding devices
[2025-07-10 13:28:17] (==) Automatically enabling devices
[2025-07-10 13:28:17] (==) Automatically adding GPU devices
[2025-07-10 13:28:17] (==) Automatically binding GPU devices
[2025-07-10 13:28:17] (==) Max clients allowed: 256, resource mask: 0x1fffff
[2025-07-10 13:28:17] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[2025-07-10 13:28:17]   Entry deleted from font path.
[2025-07-10 13:28:17] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[2025-07-10 13:28:17]   Entry deleted from font path.
[2025-07-10 13:28:17] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[2025-07-10 13:28:17]   Entry deleted from font path.
[2025-07-10 13:28:17] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[2025-07-10 13:28:17]   Entry deleted from font path.
[2025-07-10 13:28:17]   (Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[2025-07-10 13:28:17] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[2025-07-10 13:28:17]   Entry deleted from font path.
[2025-07-10 13:28:17]   (Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[2025-07-10 13:28:17] (==) FontPath set to:
        /usr/share/fonts/misc
[2025-07-10 13:28:17] (==) ModulePath set to "/usr/lib64/xorg/modules"
[2025-07-10 13:28:17] (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-10 13:28:17] (II) Module ABI versions:
[2025-07-10 13:28:17]   X.Org ANSI C Emulation: 1.4
[2025-07-10 13:28:17]   X.Org Video Driver: 28.0
[2025-07-10 13:28:17]   X.Org XInput driver : 26.0
[2025-07-10 13:28:17]   X.Org Server Extension : 11.0
[2025-07-10 13:28:17] (++) using VT number 7

[2025-07-10 13:28:17] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[2025-07-10 13:28:17] (II) xfree86: Adding drm device (/dev/dri/card0)
[2025-07-10 13:28:17] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[2025-07-10 13:28:17] (--) PCI: (0@0:2:0) 8086:3e98:1028:859 rev 2, Mem @ 0x2ffe000000/16777216, 0x90000000/268435456, I/O @ 0xf000/64
[2025-07-10 13:28:17] (--) PCI:*(1@0:0:0) 10de:1f08:1028:3759 rev 161, Mem @ 0xeb000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0xe000/128, BIOS @ 0x????????/131072
[2025-07-10 13:28:17] (II) LoadModule: "glx"
[2025-07-10 13:28:17] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/extensions/libglx.so
[2025-07-10 13:28:17] (II) Module glx: vendor="X.Org Foundation"
[2025-07-10 13:28:17]   compiled for 1.25.0, module version = 1.0.0
[2025-07-10 13:28:17]   ABI class: X.Org Server Extension, version 11.0
[2025-07-10 13:28:17] (==) Matched nouveau as autoconfigured driver 0
[2025-07-10 13:28:17] (==) Matched nv as autoconfigured driver 1
[2025-07-10 13:28:17] (==) Matched modesetting as autoconfigured driver 2
[2025-07-10 13:28:17] (==) Matched fbdev as autoconfigured driver 3
[2025-07-10 13:28:17] (==) Matched vesa as autoconfigured driver 4
[2025-07-10 13:28:17] (==) Assigned the driver to the xf86ConfigLayout
[2025-07-10 13:28:17] (II) LoadModule: "nouveau"
[2025-07-10 13:28:17] (WW) Warning, couldn't open module nouveau
[2025-07-10 13:28:17] (EE) Failed to load module "nouveau" (module does not exist, 0)
[2025-07-10 13:28:17] (II) LoadModule: "nv"
[2025-07-10 13:28:17] (WW) Warning, couldn't open module nv
[2025-07-10 13:28:17] (EE) Failed to load module "nv" (module does not exist, 0)
[2025-07-10 13:28:17] (II) LoadModule: "modesetting"
[2025-07-10 13:28:17] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/drivers/modesetting_drv.so
[2025-07-10 13:28:17] (II) Module modesetting: vendor="X.Org Foundation"
[2025-07-10 13:28:17]   compiled for 1.25.0, module version = 1.25.0
[2025-07-10 13:28:17]   Module class: X.Org Video Driver
[2025-07-10 13:28:17]   ABI class: X.Org Video Driver, version 28.0
[2025-07-10 13:28:17] (II) LoadModule: "fbdev"
[2025-07-10 13:28:17] (WW) Warning, couldn't open module fbdev
[2025-07-10 13:28:17] (EE) Failed to load module "fbdev" (module does not exist, 0)
[2025-07-10 13:28:17] (II) LoadModule: "vesa"
[2025-07-10 13:28:17] (WW) Warning, couldn't open module vesa
[2025-07-10 13:28:17] (EE) Failed to load module "vesa" (module does not exist, 0)
[2025-07-10 13:28:17] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[2025-07-10 13:28:17] (II) modeset(0): using drv /dev/dri/card0
[2025-07-10 13:28:17] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[2025-07-10 13:28:17] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[2025-07-10 13:28:17] (==) modeset(0): RGB weight 888
[2025-07-10 13:28:17] (==) modeset(0): Default visual is TrueColor
[2025-07-10 13:28:17] (II) Loading sub module "glamoregl"
[2025-07-10 13:28:17] (II) LoadModule: "glamoregl"
[2025-07-10 13:28:17] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/libglamoregl.so
[2025-07-10 13:28:17] (II) Module glamoregl: vendor="X.Org Foundation"
[2025-07-10 13:28:17]   compiled for 1.25.0, module version = 1.0.1
[2025-07-10 13:28:17]   ABI class: X.Org ANSI C Emulation, version 1.4
[2025-07-10 13:28:21] (II) modeset(0): glamor: Using OpenGL 4.5 context.
[2025-07-10 13:28:21] (II) modeset(0): Refusing to try glamor on llvmpipe
[2025-07-10 13:28:21] (II) modeset(0): glamor initialization failed
...
So I can hobble along, by adding / removing the xorg.conf file (depending on which kernel I want to use). But that's a little cumbersome.
David Bryant
Canyon Lake, Texas
Top
stefan11111
Veteran
Veteran
Posts: 1024
Joined: Sun Jan 29, 2023 6:08 pm
Location: Romania
Contact:
Contact stefan11111
Website

Re: Xlibre still buggy

  • Quote

Post by stefan11111 » Thu Jul 31, 2025 11:23 pm

davidbryant wrote: So I can hobble along, by adding / removing the xorg.conf file (depending on which kernel I want to use). But that's a little cumbersome.
Abi check should be fixed in master for nvidia.
Explicitly passing IgnoreAbi should no longer be needed.
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Top
davidbryant
Apprentice
Apprentice
User avatar
Posts: 250
Joined: Thu Jun 11, 2020 3:36 pm
Location: Canyon Lake, Texas
Contact:
Contact davidbryant
Website

  • Quote

Post by davidbryant » Fri Aug 01, 2025 3:24 am

Thanks for the information, Stefan.
David Bryant
Canyon Lake, Texas
Top
Post Reply

36 posts
  • Previous
  • 1
  • 2

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy