Summary: | x11-drivers/nvidia-drivers OpenGL: Xlib: extension "GLX" missing on display ":0.0". | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Heiko Baums <heiko.baums> |
Component: | [OLD] Library | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Xorg.0.log-1
Xorg.0.log-2 xorg.conf.nvidia-xconfig xorg.conf.minimal 20opengl.conf |
Description
Heiko Baums
2015-01-10 23:38:32 UTC
Created attachment 393658 [details]
Xorg.0.log-1
Created attachment 393660 [details]
Xorg.0.log-2
Created attachment 393662 [details]
xorg.conf.nvidia-xconfig
Created attachment 393664 [details]
xorg.conf.minimal
Created attachment 393666 [details]
20opengl.conf
If found the reasons for this bug. The reason was in the files /etc/X11/xorg.conf and in /etc/X11/xorg.conf.d/20opengl.conf, which was installed by a package during the last world update. `equery belongs /etc/X11/xorg.conf.d/20opengl.conf` doesn't tell me which one. First I had this original 20opengl.conf and the xorg.conf, which was created by `nvidia-xconfig`, installed. The latter worked for years. This resulted in the attached Xorg.0.log-1. Then I replaced the xorg.conf by a minimal xorg.conf, which I found in the wiki. The bug was still there, but now resulting in Xorg.0.log-2. After commenting the first line 'ModulePath "/usr/lib32/xorg/modules"' in 20opengl.conf out the issue was gone and the 3D applications run again. So I think nvidia-xconfig should be ideally removed from nvidia-drivers. At least it's not mentioned in the wiki anymore. And the file 20opengl.conf should be fixed somehow. There should only be the paths to the libs for the particular architecture in it. I'm not sure if this file is necessary at all. /etc/X11/xorg.conf.d/20opengl.conf is created by eselect opengl. The problem in /usr/share/eselect/modules/opengl.eselect (app-admin/eselect-opengl-1.3.1-r1) are these lines: xorgmodpath+=( "${PREFIX#${ROOT}}/${libdir}/opengl/${gl_implem}" xorgmodpath+=( "${PREFIX#${ROOT}}/${libdir}/xorg/modules" ${libdir} causes the trouble on multilib systems. Better use lib instead of ${libdir}, because ${libdir} returns /lib32 and /lib64 while /lib is a symlink to the ${libdir} which corresponds to the architecture. Problem will be that 20opengl.conf will always be reset by `eselect opengl set`. So every time `eselect opengl set` is run this file needs to be edited manually. *** This bug has been marked as a duplicate of bug 534128 *** |