You are not logged in.
Pages: 1
Hi.
Lost the day trying to repair my nvidia setup with DKMS.
The problem is that GLX is no longer working:
$ glxinfo
name of display: :0
Error: couldn't find RGB GLX visual or fbconfighardware:
$ nvidia-xconfig --query-gpu-info
Number of GPUs: 1
GPU #0:
Name : Quadro 4000
UUID : GPU-b18c8790-1fe8-3838-9901-17a30505596e
PCI BusID : PCI:6:0:0
Number of Display Devices: 1
Display Device 0 (TV-3):
EDID Name : DELL U2414H
Minimum HorizSync : 30.000 kHz
Maximum HorizSync : 83.000 kHz
Minimum VertRefresh : 56 Hz
Maximum VertRefresh : 76 Hz
Maximum PixelClock : 170.000 MHz
Maximum Width : 1920 pixels
Maximum Height : 1080 pixels
Preferred Width : 1920 pixels
Preferred Height : 1080 pixels
Preferred VertRefresh : 60 Hz
Physical Width : 530 mm
Physical Height : 300 mmXorg.0.log, everything seems fine: http://sprunge.us/3lMGRY
relevant excepts:
[ 1632.440] (**) ModulePath set to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[...]
[ 1632.559] (II) "glx" will be loaded by default.
[ 1632.559] (II) LoadModule: "modesetting"
[ 1632.559] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 1632.559] (II) Module modesetting: vendor="X.Org Foundation"
[ 1632.559] compiled for 1.20.10, module version = 1.20.10
[ 1632.559] Module class: X.Org Video Driver
[ 1632.559] ABI class: X.Org Video Driver, version 24.1
[ 1632.559] (II) LoadModule: "glx"
[ 1632.559] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[ 1632.563] (II) Module glx: vendor="NVIDIA Corporation"
[ 1632.563] compiled for 4.0.2, module version = 1.0.0
[ 1632.563] Module class: X.Org Server Extension
[ 1632.563] (II) NVIDIA GLX Module 390.141 Mon Dec 28 16:17:40 UTC 2020
[ 1632.563] (II) LoadModule: "nvidia"
[ 1632.563] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[...]
[ 1633.095] (II) modeset(G0): Refusing to try glamor on llvmpipe
[ 1633.097] (EE) modeset(G0): glamor initialization failed
[...]
[ 1633.494] (II) Initializing extension GLX
[ 1633.494] (II) Initializing extension GLX
[ 1633.494] (II) Indirect GLX disabled.
[ 1633.494] (II) Initializing extension NV-GLX
[ 1633.494] (II) Initializing extension NV-CONTROL
[...]xorg.conf
Section "Files"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSection
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "06:00:0"
Option "AllowEmptyInitialConfiguration"
EndSectionNotice that I had to add the ModulePath lines, beacuse since today, the ones from "/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf" stoped doing anything. Without ModulePath defined in xorg.conf, I got: (http://sprunge.us/dAeC1C)
[ 2810.572] (==) ModulePath set to "/usr/lib/xorg/modules"
[...]
[ 2810.701] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 2810.704] (II) Module glx: vendor="X.Org Foundation"
[ 2810.704] compiled for 1.20.10, module version = 1.0.0
[ 2810.704] ABI class: X.Org Server Extension, version 10.0
[ 2810.704] (II) LoadModule: "nvidia"
[ 2810.704] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 2810.704] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 2810.704] compiled for 4.0.2, module version = 1.0.0
[ 2810.704] Module class: X.Org Video Driver
[..]
[ 2811.512] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 2811.512] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 2811.512] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 2811.512] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 2811.512] (EE) NVIDIA(0): reinstalling the NVIDIA driver.The ModulePath doesn't contain "/usr/lib/nvidia/xorg" and wrong GLX Extenssion get loaded.
So I can either get llvmpipe GLX (without the nvidia glx extenssion), or no GLX at all (when Nvidia's glx is loaded).
Any lead appreciated, I'm deseperate.
Thanks.
Edit:
Ok, thank you ducky, I found a solution two minute after posting:
Removing the `Load "modesetting"` from the config cleared the `(EE) modeset(G0): glamor initialization failed` and GLX started working again.
KMS never worked on that setup (old Dell server hardware that doesn't initialize the GPU at boot), even with Nvidia modules in the initcpio and the right kernel command line. Maybe this is related?
Still no idea why the ModulePath update with OutputClass doesn't work.
Last edited by Piezoid (2021-03-29 18:16:28)
Offline
Please ensure to have read:
https://wiki.archlinux.org/index.php/NV … de_setting
https://wiki.archlinux.org/index.php/Ke … _KMS_start
https://wiki.archlinux.org/index.php/NVIDIA_Optimus
This doesn't relate to the 390xx package, so if there're further problems w/ your optimus setup, please open a new thread on teh topic.
Offline
Please ensure to have read:
https://wiki.archlinux.org/index.php/NV … de_setting
https://wiki.archlinux.org/index.php/Ke … _KMS_start
https://wiki.archlinux.org/index.php/NVIDIA_OptimusThis doesn't relate to the 390xx package, so if there're further problems w/ your optimus setup, please open a new thread on teh topic.
I don't have an optimus setup. The quadro GPU is the only video output on that refurbished Westmere Dell server.
And yes, I've read the section related to KMS. Using nvidia-drm.modeset=1 and packing all the modules in the initcpio never worked for me. I blame the Dell BIOS which doesn't initialize the GPU during boot, only Xorg does (no fb console displayed).
I'll try to troubleshoot the ModulePath issue. I still don't understand why it is needed now while it worked before.
I mean, an update changed on my system causing Xorg to no longer start with my previously working config. Knowing why could potentially help other users facing the same issue.
Last edited by Piezoid (2021-03-29 23:22:32)
Offline
[ 2810.695] (--) PCI: (6@0:0:0) 10de:06dd:10de:0780 rev 161, Mem @ 0xdd000000/16777216, 0xc8000000/134217728, 0xc6000000/33554432, I/O @ 0x0000fc80/128, BIOS @ 0x????????/524288
[ 2810.695] (--) PCI:*(7@0:3:0) 102b:0532:1028:028d rev 10, Mem @ 0xd0000000/8388608, 0xde7fc000/16384, 0xde800000/8388608, BIOS @ 0x????????/131072
…
[ 2811.512] (II) modeset(G0): using drv /dev/dri/card0
…
[ 2812.584] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:6:0:0
…
[ 2812.592] (--) NVIDIA(GPU-0): DELL U2414H (DFP-3): connected
…
[ 2812.830] (II) modeset(G0): Manufacturer: NEC Model: 68d4 Serial#: 16843009Optimus or not, that's a more complicated setup and modesetting and nvidia both try to take control over the same GPU.
The ModulePath is extended in /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf but you don't meet the nvidia-drm match requirement (and the kernel parameter is missing in the posted X11 logs)
Please post the output of "lspci", "lsinitcpio /boot/initramfs-linux.img| grep nvidia" and a complete system journal (sudo journalctl -b)
I'll ask a mod to split this subthread off.
Offline
Mod note, splitting off of: https://bbs.archlinux.org/viewtopic.php?id=262224
Offline
Pages: 1