Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] nvidia glx module not loading
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kon14
n00b
n00b


Joined: 27 Nov 2014
Posts: 34

PostPosted: Tue Mar 31, 2015 5:37 pm    Post subject: [Solved] nvidia glx module not loading Reply with quote

So I basically just switched to nvidia from radeonsi.
I've set my nvidia use flag, rebuilt everything, followed the gentoo wiki and configured my kernel appropriately (drm is disabled) before rebuilding.

While the nvidia driver is working I just can't seem to get glx working.

My xorg.conf file: http://pastebin.com/6ibcANeR
My whole Xorg.0.log: http://pastebin.com/UPvAJP6T
Important part of Xorg.0.log: http://pastebin.com/4zfWJpLv

It seems like xorg's glx gets loaded (/usr/lib64/xorg/modules/extensions/libglx.so) before nvidia fails to load glx.

eselect opengl is set to nvidia, nvidia driver version is 346.47.

Any ideas as to why I'm getting this?


Last edited by kon14 on Tue Mar 31, 2015 9:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
kon14
n00b
n00b


Joined: 27 Nov 2014
Posts: 34

PostPosted: Tue Mar 31, 2015 6:52 pm    Post subject: Reply with quote

Additional info:
-nvida-drivers was reinstalled after recompiling xorg-server just to make sure there were no overwrites. No profit from that.
-glxinfo just spits some hundred lines of "Xlib: extension "GLX" missing on display ":0.0"."

/usr/lib64/xorg/modules/extensions/libglx.so is not a symlink
Why does xorg's glx even get loaded on its own?
Back to top
View user's profile Send private message
kon14
n00b
n00b


Joined: 27 Nov 2014
Posts: 34

PostPosted: Tue Mar 31, 2015 8:04 pm    Post subject: Reply with quote

Another hint, this was my 20-opengl.conf after trying to remove xorg's glx and add 32bit glx from nvidia (the 32bit nvidia path was missing altogether :S)

Quote:

Section "Files"
#ModulePath "/usr/lib32/xorg/modules"
ModulePath "/usr/lib32/opengl/nvidia/extensions/" #the nvidia folder didn't seem to work so I descended to extensions. If that was the case xorg's glx wouldn't work either since it also has an extensions subdirectory :/
ModulePath "/usr/lib64/opengl/nvidia/extensions/"
#ModulePath "/usr/lib64/xorg/modules"
EndSection


Xorg was still trying to load its glx so I tried a quick workaround in order to define my issue better.
I moved /usr/lib64/xorg/modules/extensions/libglx.so and symlinked to nvidia.
This resulted in nvidia's glx finally getting loaded (obviously just the 64bit glx).

Why doesn't xorg obey its settings files? Why does it try to load its own glx so hard? Wasn't eselect opengl supposed to handle gl versions fine? I know it did for mesa/fglrx :/
Back to top
View user's profile Send private message
kon14
n00b
n00b


Joined: 27 Nov 2014
Posts: 34

PostPosted: Tue Mar 31, 2015 9:15 pm    Post subject: Reply with quote

Solved, it was an empty Files section in the xorg.conf file that was read instead of 20-opengl.conf causing all this fuss.
Thank you iamben from #gentoo for pointing this out :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum