FS#53704 - [xorg|nvidia] Xorg loads wrong libglx when using nvidia driver
Attached to Project:
Arch Linux
Opened by Rokas Kupstys (rokups) - Tuesday, 18 April 2017, 10:18 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 08 January 2018, 16:07 GMT
Opened by Rokas Kupstys (rokups) - Tuesday, 18 April 2017, 10:18 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 08 January 2018, 16:07 GMT
|
Details
As of recently Xorg tries to load incorrect glx module and
fails. Session downgrades to using llvmpipe for OpenGL
rendering and that is dreadfully slow. I tried to downgrade
to several old backups i had, also tried several older
kernel versions including LTS kernel but none of that helped
so i do not know what exactly is causing this.
[ 508.502] (II) LoadModule: "glx" [ 508.502] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 508.503] (II) Module glx: vendor="X.Org Foundation" ... [ 508.505] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X [ 508.505] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X [ 508.505] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If [ 508.505] (EE) NVIDIA(0): you continue to encounter problems, Please try [ 508.505] (EE) NVIDIA(0): reinstalling the NVIDIA driver. /usr/lib/nvidia/xorg/ is owned by nvidia-utils 378.13-6 /usr/lib/xorg/modules/extensions/libglx.so is owned by xorg-server 1.19.3-2 /usr/lib/libGLdispatch.so is owned by libglvnd 0.2.999+g4ba53457-2 /usr/lib/libGLESv1_CM_nvidia.so is owned by nvidia-utils 378.13-6 /usr/lib/libGLESv1_CM.so is owned by libglvnd 0.2.999+g4ba53457-2 /usr/lib/libGLESv2_nvidia.so is owned by nvidia-utils 378.13-6 /usr/lib/libGLESv2.so is owned by libglvnd 0.2.999+g4ba53457-2 /usr/lib/libGLEW.so is owned by glew 2.0.0-1 /usr/lib/libGL.so is owned by libglvnd 0.2.999+g4ba53457-2 /usr/lib/libGLU.so is owned by glu 9.0.0-4 /usr/lib/libGLX_mesa.so is owned by mesa 17.0.3-1 /usr/lib/libGLX_nvidia.so is owned by nvidia-utils 378.13-6 /usr/lib/libGLX.so is owned by libglvnd 0.2.999+g4ba53457-2 nvidia-dkms-378.13-5 To fix the issue i had to point xorg to nvidia's xorg module path: ~ % cat /etc/X11/xorg.conf.d/20-nvidia.conf Section "Files" ModulePath "/usr/lib/nvidia/xorg" ModulePath "/usr/lib/xorg/modules" EndSection |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Monday, 08 January 2018, 16:07 GMT
Reason for closing: Fixed
Additional comments about closing: I think this is fixed. Reopen if it isn't.
Monday, 08 January 2018, 16:07 GMT
Reason for closing: Fixed
Additional comments about closing: I think this is fixed. Reopen if it isn't.
https://pkgs.rpmfusion.org/cgit/nonfree/xorg-x11-drv-nvidia.git/tree/99-nvidia.conf
https://pkgs.rpmfusion.org/cgit/nonfree/xorg-x11-drv-nvidia.git/tree/nvidia.conf
https://pkgs.rpmfusion.org/cgit/nonfree/xorg-x11-drv-nvidia.git/tree/xorg-x11-drv-nvidia.spec#n326
The new change makes things worse: https://bugs.archlinux.org/task/56993