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
  • 1
  • 2
  • Next
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

Installed "Xlibre" and it doesn't work

  • Quote

Post by davidbryant » Mon Jul 07, 2025 6:55 pm

I tried installing Xlibre according to https://wiki.gentoo.org/wiki/Xlibre. Now the gui interface is broken.

I haven't tried this yet, but I think I can simply revert the change.

Code: Select all

emerge -f x11-base/xorg-server
emerge -C x11-base/xlibre-server
emerge -C x11-base/xlibre-drivers
emerge x11-base/xorg-server
emerge @x11-module-rebuild
emerge @preserved-rebuild 
I'll give it a try in a minute here and let y'all know how it goes.
Last edited by davidbryant on Tue Jul 08, 2025 1:17 pm, edited 3 times in total.
David Bryant
Canyon Lake, Texas
Top
Ionen
Developer
Developer
User avatar
Posts: 3007
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Mon Jul 07, 2025 7:12 pm

If by any chances you're using nvidia, it won't work without a workaround given Xlibre changed things around that would require a rebuild of the (closed source) prebuilt nvidia xorg module (it's mentioned in Xlibre's readme but not on the wiki, even then may or may not work properly with the workaround).

Even if you aren't, no telling what else this thing broke -- tons of barely tested/reviewed commits and aggressive feature removal. I personally wouldn't use it if I want things to work, or at least not at this stage.

Edit: note that if you switch back, should run `emerge @x11-module-rebuild` again.
Last edited by Ionen on Mon Jul 07, 2025 7:50 pm, edited 2 times in total.
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 » Mon Jul 07, 2025 7:49 pm

Thanks for the advice. I have two Gentoo systems on my hard disk. I tried installing Xlibre on my experimental version of Gentoo. Now I just want to get the GUI interface working again.
David Bryant
Canyon Lake, Texas
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56075
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Jul 07, 2025 7:57 pm

Moved from Desktop Environments to Unsupported Software.

It's one of these.
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

Re: Installed "Xlibre" and it doesn't work

  • Quote

Post by stefan11111 » Mon Jul 07, 2025 8:58 pm

@davidbryant
Did you use the xlibre overlay? https://github.com/X11Libre/ports-gentoo
Even if you are on nvidia, Xlibre should work.
You have to add `Option "IgnoreABI" "1"` to your xorg.conf
This is mentioned in the xlibre readme.

If this doesn't work for you, post the log.
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
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Mon Jul 07, 2025 9:46 pm

Bwahahaha! :lol:
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
davidbryant
Apprentice
Apprentice
User avatar
Posts: 250
Joined: Thu Jun 11, 2020 3:36 pm
Location: Canyon Lake, Texas
Contact:
Contact davidbryant
Website

Re: Installed "Xlibre" and it doesn't work

  • Quote

Post by davidbryant » Mon Jul 07, 2025 10:09 pm

stefan11111 wrote:@davidbryant
Did you use the xlibre overlay? https://github.com/X11Libre/ports-gentoo
I followed the instructions in https://wiki.gentoo.org/wiki/Xlibre to the letter. One thing I forgot was to sign the Nvidia driver modules. The Wiki article doesn't mention that. Now I have signed the modules, so the kernel can load them. But it still doesn't work.
Even if you are on nvidia, Xlibre should work.
You have to add `Option "IgnoreABI" "1"` to your xorg.conf
This is mentioned in the xlibre readme.

If this doesn't work for you, post the log.
Well, I've never had to troubleshoot the X server before today. I created a directory /etc/X11/xorg.conf.d/ and created a file called 00ignore.

Code: Select all

Option "ignoreABI" "1"
It still won't work. Here's the relevant section of the log.

Code: Select all

[2025-07-07 16:49:51] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/drivers/nvidia_drv.so
[2025-07-07 16:49:51] (II) Module nvidia: vendor="NVIDIA Corporation"
[2025-07-07 16:49:51] 	compiled for 1.6.99.901, module version = 1.0.0
[2025-07-07 16:49:51] 	Module class: X.Org Video Driver
[2025-07-07 16:49:51] ================ WARNING WARNING WARNING WARNING ================
[2025-07-07 16:49:51] 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-07 16:49:51] =================================================================
[2025-07-07 16:49:51] (EE) NVIDIA: Use the -ignoreABI option to override this check.
I guess I didn't set the xorg.conf correctly? Thanks!
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: Installed "Xlibre" and it doesn't work

  • Quote

Post by stefan11111 » Mon Jul 07, 2025 10:22 pm

davidbryant
I'll help you more in the morning, but please wgetpaste your xorg config file and the log. From your snippet, it looks like you didn't set it up right.

try `startx -- -ignoreABI` and see if it works.
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 » Mon Jul 07, 2025 10:33 pm

Here's my file, at /etc/X11/xorg.conf.d/00ignore.

Code: Select all

Section "ServerFlags"
  Option "IgnoreABI" "1"
EndSection
It still dies the same way. Here's the whole /var/log/Xorg.0.log.old file (I rebooted with the nouveau driver).

Code: Select all

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

[2025-07-07 17:18:05] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[2025-07-07 17:18:05] (II) xfree86: Adding drm device (/dev/dri/card0)
[2025-07-07 17:18:05] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[2025-07-07 17:18:05] (--) PCI: (0@0:2:0) 8086:3e98:1028:859 rev 2, Mem @ 0x2ffe000000/16777216, 0x90000000/268435456, I/O @ 0xf000/64
[2025-07-07 17:18:05] (--) 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-07 17:18:05] (II) LoadModule: "glx"
[2025-07-07 17:18:05] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/extensions/libglx.so
[2025-07-07 17:18:05] (II) Module glx: vendor="X.Org Foundation"
[2025-07-07 17:18:05] 	compiled for 1.25.0, module version = 1.0.0
[2025-07-07 17:18:05] 	ABI class: X.Org Server Extension, version 11.0
[2025-07-07 17:18:05] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[2025-07-07 17:18:05] 	loading driver: nvidia
[2025-07-07 17:18:05] (==) Matched nvidia as autoconfigured driver 0
[2025-07-07 17:18:05] (==) Matched nouveau as autoconfigured driver 1
[2025-07-07 17:18:05] (==) Matched nv as autoconfigured driver 2
[2025-07-07 17:18:05] (==) Matched modesetting as autoconfigured driver 3
[2025-07-07 17:18:05] (==) Matched fbdev as autoconfigured driver 4
[2025-07-07 17:18:05] (==) Matched vesa as autoconfigured driver 5
[2025-07-07 17:18:05] (==) Assigned the driver to the xf86ConfigLayout
[2025-07-07 17:18:05] (II) LoadModule: "nvidia"
[2025-07-07 17:18:05] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/drivers/nvidia_drv.so
[2025-07-07 17:18:05] (II) Module nvidia: vendor="NVIDIA Corporation"
[2025-07-07 17:18:05] 	compiled for 1.6.99.901, module version = 1.0.0
[2025-07-07 17:18:05] 	Module class: X.Org Video Driver
[2025-07-07 17:18:05] ================ WARNING WARNING WARNING WARNING ================
[2025-07-07 17:18:05] 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-07 17:18:05] =================================================================
[2025-07-07 17:18:05] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[2025-07-07 17:18:05] (II) UnloadModule: "nvidia"
[2025-07-07 17:18:05] (II) Unloading nvidia
[2025-07-07 17:18:05] (EE) Failed to load module "nvidia" (module requirement mismatch, 0)
[2025-07-07 17:18:05] (II) LoadModule: "nouveau"
[2025-07-07 17:18:05] (WW) Warning, couldn't open module nouveau
[2025-07-07 17:18:05] (EE) Failed to load module "nouveau" (module does not exist, 0)
[2025-07-07 17:18:05] (II) LoadModule: "nv"
[2025-07-07 17:18:05] (WW) Warning, couldn't open module nv
[2025-07-07 17:18:05] (EE) Failed to load module "nv" (module does not exist, 0)
[2025-07-07 17:18:05] (II) LoadModule: "modesetting"
[2025-07-07 17:18:05] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/drivers/modesetting_drv.so
[2025-07-07 17:18:05] (II) Module modesetting: vendor="X.Org Foundation"
[2025-07-07 17:18:05] 	compiled for 1.25.0, module version = 1.25.0
[2025-07-07 17:18:05] 	Module class: X.Org Video Driver
[2025-07-07 17:18:05] 	ABI class: X.Org Video Driver, version 28.0
[2025-07-07 17:18:05] (II) LoadModule: "fbdev"
[2025-07-07 17:18:05] (WW) Warning, couldn't open module fbdev
[2025-07-07 17:18:05] (EE) Failed to load module "fbdev" (module does not exist, 0)
[2025-07-07 17:18:05] (II) LoadModule: "vesa"
[2025-07-07 17:18:05] (WW) Warning, couldn't open module vesa
[2025-07-07 17:18:05] (EE) Failed to load module "vesa" (module does not exist, 0)
[2025-07-07 17:18:05] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[2025-07-07 17:18:05] (II) modeset(0): using drv /dev/dri/card0
[2025-07-07 17:18:05] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[2025-07-07 17:18:05] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[2025-07-07 17:18:05] (==) modeset(0): RGB weight 888
[2025-07-07 17:18:05] (==) modeset(0): Default visual is TrueColor
[2025-07-07 17:18:05] (II) Loading sub module "glamoregl"
[2025-07-07 17:18:05] (II) LoadModule: "glamoregl"
[2025-07-07 17:18:05] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/libglamoregl.so
[2025-07-07 17:18:05] (II) Module glamoregl: vendor="X.Org Foundation"
[2025-07-07 17:18:05] 	compiled for 1.25.0, module version = 1.0.1
[2025-07-07 17:18:05] 	ABI class: X.Org ANSI C Emulation, version 1.4
[2025-07-07 17:18:07] (II) modeset(0): glamor: Using OpenGL 3.1 context.
[2025-07-07 17:18:07] (II) modeset(0): glamor X acceleration enabled on NVIDIA GeForce RTX 2060/PCIe/SSE2
[2025-07-07 17:18:07] (II) modeset(0): glamor initialized
[2025-07-07 17:18:07] (==) modeset(0): VariableRefresh: disabled
[2025-07-07 17:18:07] (==) modeset(0): AsyncFlipSecondaries: disabled
[2025-07-07 17:18:07] (II) modeset(0): Atomic modesetting disabled
[2025-07-07 17:18:07] (II) modeset(0): TearFree: enabled
[2025-07-07 17:18:07] (II) modeset(0): Output DVI-D-1 has no monitor section
[2025-07-07 17:18:07] (II) modeset(0): Output HDMI-1 has no monitor section
[2025-07-07 17:18:07] (II) modeset(0): Output DP-1 has no monitor section
[2025-07-07 17:18:07] (II) modeset(0): EDID for output DVI-D-1
[2025-07-07 17:18:07] (II) modeset(0): Manufacturer: HWP  Model: 304a  Serial#: 16843009
[2025-07-07 17:18:07] (II) modeset(0): Year: 2014  Week: 42
[2025-07-07 17:18:07] (II) modeset(0): EDID Version: 1.3
[2025-07-07 17:18:07] (II) modeset(0): Digital Display Input
[2025-07-07 17:18:07] (II) modeset(0): Max Image Size [cm]: horiz.: 51  vert.: 29
[2025-07-07 17:18:07] (II) modeset(0): Gamma: 2.20
[2025-07-07 17:18:07] (II) modeset(0): DPMS capabilities: Off
[2025-07-07 17:18:07] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[2025-07-07 17:18:07] (II) modeset(0): First detailed timing is preferred mode
[2025-07-07 17:18:07] (II) modeset(0): redX: 0.64 redY: 0.33   greenX: 0.31 greenY: 0.62
[2025-07-07 17:18:07] (II) modeset(0): blueX: 0.15 blueY: 0.07   whiteX: 0.31 whiteY: 0.33
[2025-07-07 17:18:07] (II) modeset(0): Supported established timings:
[2025-07-07 17:18:07] (II) modeset(0): 720x400@70Hz
[2025-07-07 17:18:07] (II) modeset(0): 640x480@60Hz
[2025-07-07 17:18:07] (II) modeset(0): 800x600@60Hz
[2025-07-07 17:18:07] (II) modeset(0): 1024x768@60Hz
[2025-07-07 17:18:07] (II) modeset(0): Manufacturer's mask: 0
[2025-07-07 17:18:07] (II) modeset(0): Supported standard timings:
[2025-07-07 17:18:07] (II) modeset(0): #0: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
[2025-07-07 17:18:07] (II) modeset(0): #1: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[2025-07-07 17:18:07] (II) modeset(0): #2: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[2025-07-07 17:18:07] (II) modeset(0): #3: hsize: 1440  vsize 900  refresh: 60  vid: 149
[2025-07-07 17:18:07] (II) modeset(0): #4: hsize: 1600  vsize 900  refresh: 60  vid: 49321
[2025-07-07 17:18:07] (II) modeset(0): #5: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[2025-07-07 17:18:07] (II) modeset(0): Supported detailed timing:
[2025-07-07 17:18:07] (II) modeset(0): clock: 148.50 MHz   Image Size:  509 x 286 mm
[2025-07-07 17:18:07] (II) modeset(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[2025-07-07 17:18:07] (II) modeset(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[2025-07-07 17:18:07] (II) modeset(0): Ranges: V min: 50 V max: 76 Hz, H min: 24 H max: 94 kHz, PixClock max 175 MHz
[2025-07-07 17:18:07] (II) modeset(0): Monitor name: HP 23bw
[2025-07-07 17:18:07] (II) modeset(0): Serial No: 3CM4420CVP
[2025-07-07 17:18:07] (II) modeset(0): EDID (in hex):
[2025-07-07 17:18:07] (II) modeset(0): 	00ffffffffffff0022f04a3001010101
[2025-07-07 17:18:07] (II) modeset(0): 	2a18010380331d782ae295a2554f9f26
[2025-07-07 17:18:07] (II) modeset(0): 	115054a10800d1c081c081809500a9c0
[2025-07-07 17:18:07] (II) modeset(0): 	b30001010101023a801871382d40582c
[2025-07-07 17:18:07] (II) modeset(0): 	4500fd1e1100001e000000fd00324c18
[2025-07-07 17:18:07] (II) modeset(0): 	5e11000a202020202020000000fc0048
[2025-07-07 17:18:07] (II) modeset(0): 	5020323362770a2020202020000000ff
[2025-07-07 17:18:07] (II) modeset(0): 	0033434d343432304356500a20200032
[2025-07-07 17:18:07] (II) modeset(0): Printing probed modes for output DVI-D-1
[2025-07-07 17:18:07] (II) modeset(0): Modeline "1920x1080"x60.00  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.50 kHz P)
[2025-07-07 17:18:07] (II) modeset(0): Modeline "1680x1050"x59.95  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.29 kHz)
[2025-07-07 17:18:07] (II) modeset(0): Modeline "1600x900"x60.00  108.00  1600 1624 1704 1800  900 901 904 1000 +hsync +vsync (60.00 kHz)
[2025-07-07 17:18:07] (II) modeset(0): Modeline "1280x1024"x60.02  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (63.98 kHz)
[2025-07-07 17:18:07] (II) modeset(0): Modeline "1440x900"x59.89  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.93 kHz)
[2025-07-07 17:18:07] (II) modeset(0): Modeline "1280x720"x60.00  74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.00 kHz)
[2025-07-07 17:18:07] (II) modeset(0): Modeline "1024x768"x60.00  65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.36 kHz)
[2025-07-07 17:18:07] (II) modeset(0): Modeline "800x600"x60.32  40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.88 kHz)
[2025-07-07 17:18:07] (II) modeset(0): Modeline "640x480"x59.94  25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.47 kHz)
[2025-07-07 17:18:07] (II) modeset(0): EDID for output HDMI-1
[2025-07-07 17:18:07] (II) modeset(0): EDID for output DP-1
[2025-07-07 17:18:07] (II) modeset(0): Output DVI-D-1 connected
[2025-07-07 17:18:07] (II) modeset(0): Output HDMI-1 disconnected
[2025-07-07 17:18:07] (II) modeset(0): Output DP-1 disconnected
[2025-07-07 17:18:07] (II) modeset(0): Using exact sizes for initial modes
[2025-07-07 17:18:07] (II) modeset(0): Output DVI-D-1 using initial mode 1920x1080 +0+0
[2025-07-07 17:18:07] (==) modeset(0): Using gamma correction (1.00, 1.00, 1.00)
[2025-07-07 17:18:07] (==) modeset(0): DPI set to (96, 96)
[2025-07-07 17:18:07] (II) Loading sub module "fb"
[2025-07-07 17:18:07] (II) LoadModule: "fb"
[2025-07-07 17:18:07] (II) Module "fb" already built-in
[2025-07-07 17:18:08] (==) modeset(0): Backing store enabled
[2025-07-07 17:18:08] (==) modeset(0): Silken mouse enabled
[2025-07-07 17:18:08] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[2025-07-07 17:18:08] (==) modeset(0): DPMS enabled
[2025-07-07 17:18:08] (II) modeset(0): [DRI2] Setup complete
[2025-07-07 17:18:08] (II) modeset(0): [DRI2]   DRI driver: nouveau
[2025-07-07 17:18:08] (II) modeset(0): [DRI2]   VDPAU driver: nouveau
[2025-07-07 17:18:08] (II) Output(s) initialized
[2025-07-07 17:18:08] (II) Initializing extension Generic Event Extension
[2025-07-07 17:18:08] (II) Initializing extension SHAPE
[2025-07-07 17:18:08] (II) Initializing extension MIT-SHM
[2025-07-07 17:18:08] (II) Initializing extension XInputExtension
[2025-07-07 17:18:08] (II) Initializing extension XTEST
[2025-07-07 17:18:08] (II) Initializing extension BIG-REQUESTS
[2025-07-07 17:18:08] (II) Initializing extension SYNC
[2025-07-07 17:18:08] (II) Initializing extension XKEYBOARD
[2025-07-07 17:18:08] (II) Initializing extension XC-MISC
[2025-07-07 17:18:08] (II) Initializing extension XFIXES
[2025-07-07 17:18:08] (II) Initializing extension RENDER
[2025-07-07 17:18:08] (II) Initializing extension RANDR
[2025-07-07 17:18:08] (II) Initializing extension COMPOSITE
[2025-07-07 17:18:08] (II) Initializing extension DAMAGE
[2025-07-07 17:18:08] (II) Initializing extension MIT-SCREEN-SAVER
[2025-07-07 17:18:08] (II) Initializing extension DOUBLE-BUFFER
[2025-07-07 17:18:08] (II) Initializing extension RECORD
[2025-07-07 17:18:08] (II) Initializing extension DPMS
[2025-07-07 17:18:08] (II) Initializing extension Present
[2025-07-07 17:18:08] (II) Initializing extension DRI3
[2025-07-07 17:18:08] (II) Initializing extension X-Resource
[2025-07-07 17:18:08] (II) Initializing extension XVideo
[2025-07-07 17:18:08] (II) Initializing extension XVideo-MotionCompensation
[2025-07-07 17:18:08] (II) Initializing extension GLX
[2025-07-07 17:18:08] (II) GLX: Initialized glamor GL provider for screen 0
[2025-07-07 17:18:08] (II) GLX: Another vendor is already registered for screen 0
[2025-07-07 17:18:08] (II) Initializing extension XFree86-VidModeExtension
[2025-07-07 17:18:08] (II) Initializing extension XFree86-DGA
[2025-07-07 17:18:08] (II) Initializing extension XFree86-DRI
[2025-07-07 17:18:08] (II) Initializing extension DRI2
[2025-07-07 17:18:08] (II) Extensions initialized
[2025-07-07 17:18:08] (EE) modeset(0): Failed to create pixmap
[2025-07-07 17:18:08] 
Fatal server error:
[2025-07-07 17:18:08] failed to create screen resources
[2025-07-07 17:18:08] 
Please consult the XLibre support 
	 at https://github.com/X11Libre/xserver
 for help. 
[2025-07-07 17:18:08] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[2025-07-07 17:18:08] 
[2025-07-07 17:18:08] (EE) Server terminated with error (1). Closing log file.
I'll try the startx trick next, and report back tomorrow. Thanks for the help.
David Bryant
Canyon Lake, Texas
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56075
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Jul 08, 2025 10:07 am

davidbryant,

Code: Select all

[2025-07-07 17:18:05] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/drivers/nvidia_drv.so
[2025-07-07 17:18:05] (II) Module nvidia: vendor="NVIDIA Corporation"
[2025-07-07 17:18:05]    compiled for 1.6.99.901, module version = 1.0.0
[2025-07-07 17:18:05]    Module class: X.Org Video Driver
[2025-07-07 17:18:05] ================ WARNING WARNING WARNING WARNING ================
[2025-07-07 17:18:05] 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-07 17:18:05] =================================================================
[2025-07-07 17:18:05] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[2025-07-07 17:18:05] (II) UnloadModule: "nvidia" 
That makes me think its an option to the Section Devices, where you call up the nvidia driver, not a server flag.

Is /etc/X11/xorg.conf.d the correct location or has that been renamed ?

I'll wait a while before I test Xlibre here.
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 » Tue Jul 08, 2025 11:43 am

@davidbryant

Were you using nvidia on Xorg with no xorg.conf before?
Did Xorg pick the right driver?
Did you not get screen tearing?

I tried it on my system, and it tried other drivers, and settled of fbdev. Nvidia was not on that list.

Here's a xorg.conf I wrote now, try and see it it works for you:

Code: Select all

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
EndSection

Section "ServerFlags"
    # for nvidia on xlibre
    Option         "IgnoreABI" "1"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"

#The line below is for screen tearing
#Change the resolution to whatever you use, or remove it if you do want screen trearing
    Option         "metamodes" "1920x1080 +0+0 {ForceCompositionPipeline=On}"
EndSection
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
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2110
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

  • Quote

Post by GDH-gentoo » Tue Jul 08, 2025 12:58 pm

stefan11111 wrote:Did Xorg pick the right driver?
It did, and then unloaded it because of the ABI mismatch.
davidbryant wrote:

Code: Select all

[2025-07-07 17:18:05] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[2025-07-07 17:18:05] 	loading driver: nvidia
[2025-07-07 17:18:05] (==) Matched nvidia as autoconfigured driver 0
[2025-07-07 17:18:05] (==) Matched nouveau as autoconfigured driver 1
[2025-07-07 17:18:05] (==) Matched nv as autoconfigured driver 2
[2025-07-07 17:18:05] (==) Matched modesetting as autoconfigured driver 3
...
[2025-07-07 17:18:05] (II) LoadModule: "nvidia"
[2025-07-07 17:18:05] (II) Loading /usr/lib64/xorg/modules/xlibre-25.0/drivers/nvidia_drv.so
[2025-07-07 17:18:05] (II) Module nvidia: vendor="NVIDIA Corporation"
[2025-07-07 17:18:05] 	compiled for 1.6.99.901, module version = 1.0.0
[2025-07-07 17:18:05] 	Module class: X.Org Video Driver
[2025-07-07 17:18:05] ================ WARNING WARNING WARNING WARNING ================
[2025-07-07 17:18:05] 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-07 17:18:05] =================================================================
[2025-07-07 17:18:05] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[2025-07-07 17:18:05] (II) UnloadModule: "nvidia"
[2025-07-07 17:18:05] (II) Unloading nvidia
[2025-07-07 17:18:05] (EE) Failed to load module "nvidia" (module requirement mismatch, 0)
Also, it also looks like there are two video cards:
davidbryant wrote:

Code: Select all

[2025-07-07 17:18:05] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[2025-07-07 17:18:05] (--) PCI: (0@0:2:0) 8086:3e98:1028:859 rev 2, Mem @ 0x2ffe000000/16777216, 0x90000000/268435456, I/O @ 0xf000/64
[2025-07-07 17:18:05] (--) 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
NeddySeagoon wrote:I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
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 » Tue Jul 08, 2025 1:16 pm

NeddySeagoon wrote:davidbryant,

....
Is /etc/X11/xorg.conf.d the correct location or has that been renamed ?

I'll wait a while before I test Xlibre here.
I noticed in the Xorg.0.log that Xlibre is reading the config files from /usr/share/X11/xorg.conf.d/, so I've put my changes in there. And yeah, I'm sure the IgnoreABI flag is supposed to go in Section ServerFlags. I looked that up. Thanks!
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

  • Quote

Post by davidbryant » Tue Jul 08, 2025 1:46 pm

stefan11111 wrote:@davidbryant

Were you using nvidia on Xorg with no xorg.conf before?
Did Xorg pick the right driver?
Did you not get screen tearing?
I have an xorg.conf.d with three files in it. It looks to me as if xorg is picking the right driver. The problem is, when I try to use the nvidia driver, Xlibre rejects the driver because of the "ABI" mismatch. I have two kernels, one of them for nouveau, and one for nvidia. When I boot the kernel with the nouveau driver, everything works correctly (except that Wayland is squirrely, so I have to use an X11 session). It's just the nvidia driver that xlibre doesn't like.

I got into this whole mess because Wayland is squirrely on Gentoo Linux, for me. Wayland seemed to work ok on other distros, Arch Linux in particular (I have seven or eight different flavors of Linux on my hard disk). I looked to see what was different, and noticed the other distro was loading a proprietary driver. So I installed a proprietary nvidia driver in Gentoo, and that works OK. It even makes Wayland a lot better. But when I switched to Xlibre, it broke.

Thanks for the xorg.conf file. I'll give that a whirl. Oh -- I tried saying "startx --ignoreABI" a couple of times, as root, and as a regular user. Both attempts died right away. I tried to capture the screen output with "startx --ignoreABI >> /home/david/startx", but that didn't work. Does the xorg server use some other device than stdout / stderror?
David Bryant
Canyon Lake, Texas
Top
Chiitoo
Administrator
Administrator
User avatar
Posts: 3026
Joined: Sun Feb 28, 2010 5:36 pm
Location: Sore wa sore, kore wa kore... nanoda.

  • Quote

Post by Chiitoo » Tue Jul 08, 2025 1:59 pm

davidbryant wrote:I noticed in the Xorg.0.log that Xlibre is reading the config files from /usr/share/X11/xorg.conf.d/, so I've put my changes in there.
It should be looked for from under a /bunch/ of locations (see 'man xorg.conf' DESCRIPTION section). Of course they could have changed that. :]
davidbryant wrote:Oh -- I tried saying "startx --ignoreABI" a couple of times, as root, and as a regular user. Both attempts died right away. I tried to capture the screen output with "startx --ignoreABI >> /home/david/startx", but that didn't work. Does the xorg server use some other device than stdout / stderror?
I believe that should be:

Code: Select all

startx -- -ignoreABI
As for the output redirecting, something like this should do more better:

Code: Select all

startx -- -ignoreABI &>> nameOfTheOneAndOnlyLogFile
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

  • Quote

Post by davidbryant » Tue Jul 08, 2025 2:13 pm

GDH-gentoo wrote: ...
Also, it also looks like there are two video cards:
davidbryant wrote:

Code: Select all

[2025-07-07 17:18:05] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[2025-07-07 17:18:05] (--) PCI: (0@0:2:0) 8086:3e98:1028:859 rev 2, Mem @ 0x2ffe000000/16777216, 0x90000000/268435456, I/O @ 0xf000/64
[2025-07-07 17:18:05] (--) 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
There are two video cards. One of them is an Intel GPU on the motherboard. I don't use it. It's low res. The other one is an nvidia graphics card, 1920 x 1080. That's the one I use, as a general rule. When I boot up with my nouveau kernel (nouveau driver built-in)) I get high-res graphics right away. When I boot with the nvidia kernel (nvidia driver a module) I get low-res graphics until the X server starts. So I guess the Intel GPU gets used as some sort of default in that case.
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 » Tue Jul 08, 2025 2:38 pm

davidbryant wrote: There are two video cards. One of them is an Intel GPU on the motherboard. I don't use it. It's low res. The other one is an nvidia graphics card, 1920 x 1080. That's the one I use, as a general rule. When I boot up with my nouveau kernel (nouveau driver built-in)) I get high-res graphics right away. When I boot with the nvidia kernel (nvidia driver a module) I get low-res graphics until the X server starts. So I guess the Intel GPU gets used as some sort of default in that case.
I suspect the low resolution with nvidia proprietary is because you are using one of the built-in framebuffer drivers, which is set to a low resolution.
My guess is you are using efifb.
Do

Code: Select all

$ dmesg | grep fb
to check for sure.

I set

Code: Select all

GRUB_GFXMODE=1920x1080x32
in /etc/default/grub to get a full resolution framebuffer.
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 » Tue Jul 08, 2025 3:17 pm

davidbryant wrote:
NeddySeagoon wrote:davidbryant,

....
Is /etc/X11/xorg.conf.d the correct location or has that been renamed ?

I'll wait a while before I test Xlibre here.
I noticed in the Xorg.0.log that Xlibre is reading the config files from /usr/share/X11/xorg.conf.d/, so I've put my changes in there. And yeah, I'm sure the IgnoreABI flag is supposed to go in Section ServerFlags. I looked that up. Thanks!
I'm glad it worked for you, but you shouldn't need any workarounds to get Xlibre to work.
You should just be able to add IgnoreABI to ServerFlags, and that should be it.

Btw, there is some discussion upstream to add an exception to the abi check for nvidia, so that this is no longer 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
stefan11111
Veteran
Veteran
Posts: 1024
Joined: Sun Jan 29, 2023 6:08 pm
Location: Romania
Contact:
Contact stefan11111
Website

  • Quote

Post by stefan11111 » Tue Jul 08, 2025 3:19 pm

davidbryant wrote: I have an xorg.conf.d with three files in it.
Can you post all of them?
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 » Tue Jul 08, 2025 3:33 pm

Well, I'm getting tired of the brain damage. For the time being, I'm going back to the old tried and true xorg-server. At least that one works. Maybe I'll try the xlibre-server again next week. Thanks for all the help. I learned a few things.
David Bryant
Canyon Lake, Texas
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56075
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Jul 08, 2025 3:42 pm

davidbryant,

/usr/share/X11/xorg.conf.d/ is owned and controlled by portage. Edits you make will be lost.
The content of /etc//X11/xorg.conf.d/ take priority. Put your stuff there.

The nvidia binary blob does not provide a console driver (unlike nouveau) but it should support EFI framebuffer and vesa if you use BIOS.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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 » Tue Jul 08, 2025 3:46 pm

stefan11111 wrote:
davidbryant wrote: I have an xorg.conf.d with three files in it.
Can you post all of them?
Here you go. All of these were created by the "emerge" command at some point. When I installed the nvidia-drivers package, I suppose.
File 10-quirks.conf

Code: Select all

# Collection of quirks and blacklist/whitelists for specific devices.


# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
# http://bugs.freedesktop.org/show_bug.cgi?id=22442 
Section "InputClass"
        Identifier "ThinkPad HDAPS accelerometer blacklist"
        MatchProduct "ThinkPad HDAPS accelerometer data"
        Option "Ignore" "on"
EndSection

# https://bugzilla.redhat.com/show_bug.cgi?id=523914
# Mouse does not move in PV Xen guest
# Explicitly tell evdev to not ignore the absolute axes.
Section "InputClass"
        Identifier "Xen Virtual Pointer axis blacklist"
        MatchProduct "Xen Virtual Pointer"
        Option "IgnoreAbsoluteAxes" "off"
        Option "IgnoreRelativeAxes" "off"
EndSection

# https://bugs.freedesktop.org/show_bug.cgi?id=55867
# Bug 55867 - Doesn't know how to tag XI_TRACKBALL
Section "InputClass"
        Identifier "Tag trackballs as XI_TRACKBALL"
        MatchProduct "trackball"
        MatchDriver "evdev"
        Option "TypeName" "TRACKBALL"
EndSection

# https://bugs.freedesktop.org/show_bug.cgi?id=62831
# Bug 62831 - Mionix Naos 5000 mouse detected incorrectly
Section "InputClass"
        Identifier "Tag Mionix Naos 5000 mouse XI_MOUSE"
        MatchProduct "La-VIEW Technology Naos 5000 Mouse"
        MatchDriver "evdev"
        Option "TypeName" "MOUSE"
EndSection

# https://bugzilla.redhat.com/show_bug.cgi?id=2152414
# Xorg server does not correctly select the DCP for the display without
# a quirk on Apple Silicon
Section "OutputClass"
        Identifier "appledrm"
        MatchDriver "apple"
        Driver "modesetting"
        Option "PrimaryGPU" "true"
EndSection
File 40-libinput.conf

Code: Select all

# Match on all types of devices but joysticks
#
# If you want to configure your devices, do not copy this file.
# Instead, use a config snippet that contains something like this:
#
# Section "InputClass"
#   Identifier "something or other"
#   MatchDriver "libinput"
#
#   MatchIsTouchpad "on"
#   ... other Match directives ...
#   Option "someoption" "value"
# EndSection
#
# This applies the option any libinput device also matched by the other
# directives. See the xorg.conf(5) man page for more info on
# matching devices.

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection
File nvidia-drm-output-class.conf

Code: Select all

# This xorg.conf.d configuration snippet configures the X server to
# automatically load the nvidia X driver when it detects a device driven by the
# nvidia-drm.ko kernel module.  Please note that this only works on Linux kernels
# version 3.9 or higher with CONFIG_DRM enabled, and only if the nvidia-drm.ko
# kernel module is loaded before the X server is started.

Section "OutputClass"
    Identifier     "nvidia"
    MatchDriver    "nvidia-drm"
    Driver         "nvidia"
EndSection
David Bryant
Canyon Lake, Texas
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56075
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Jul 08, 2025 4:49 pm

davidbryant,

Ask portage what package owns a file ...
e.g.

Code: Select all

equery b 10-quirks.conf
 * Searching for 10-quirks.conf ... 
x11-base/xorg-server-21.1.18 (/usr/share/X11/xorg.conf.d/10-quirks.conf)
or even

Code: Select all

equery b equery
 * Searching for equery ... 
app-portage/gentoolkit-0.6.8 (/usr/lib/python-exec/python3.13/equery)
app-portage/gentoolkit-0.6.8 (/usr/lib/python-exec/python3.12/equery)
app-portage/gentoolkit-0.6.8 (/usr/lib/python3.13/site-packages/gentoolkit/test/equery)
app-portage/gentoolkit-0.6.8 (/usr/lib/python3.13/site-packages/gentoolkit/equery)
app-portage/gentoolkit-0.6.8 (/usr/lib/python3.12/site-packages/gentoolkit/test/equery)
app-portage/gentoolkit-0.6.8 (/usr/lib/python3.12/site-packages/gentoolkit/equery)
app-portage/gentoolkit-0.6.8 (/usr/bin/equery -> ../lib/python-exec/python-exec2)
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
hendrack
n00b
n00b
Posts: 12
Joined: Tue Jan 31, 2023 7:23 am

  • Quote

Post by hendrack » Wed Jul 09, 2025 7:05 am

I have the same files in /usr/share/X11//usr/share/X11/xorg.conf.d and this shouldn't be the issue, it is probably your xorg.conf, try using nvidia-xconfig, it should generate something like this:

Code: Select all

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 570.153.02

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "ServerFlags"
        Option "IgnoreABI" "true"
EndSection
Note the IngnoreABI section at the end. What driver version are you using? 570.169 and 575.x do work, 470 needs some patches which are not yet merged in master.

Edit: nvm I just saw nouveau in your log. I'll try to replicate on my test PC.
Top
hendrack
n00b
n00b
Posts: 12
Joined: Tue Jan 31, 2023 7:23 am

  • Quote

Post by hendrack » Wed Jul 09, 2025 3:09 pm

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?
Top
Post Reply

36 posts
  • 1
  • 2
  • Next

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