Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no direct rendering with nvidia-drivers, undefined symbol
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cfgauss
l33t
l33t


Joined: 18 May 2005
Posts: 688
Location: USA

PostPosted: Tue Jan 13, 2015 6:41 pm    Post subject: eselect-opengl bug but has workaround Reply with quote

This bug report has some workarounds. What worked for me was Comments 12 and 45.
Back to top
View user's profile Send private message
_Seth_
Guru
Guru


Joined: 15 Sep 2004
Posts: 539
Location: encore paumé dans un labo ;)

PostPosted: Thu Jan 22, 2015 8:51 am    Post subject: Reply with quote

Absolutely, I ran into the same issue and I came to the same conclusion that what is written in the bug #534128. I have now a working installation, which could hopefully resist to the next portage update :

  • rename /etc/X11/xorg.conf to something else
  • create a new file /etc/X11/xorg.conf.d/30-nvidia.conf
  • copy all the information related to your video card of your old xorg.conf into your new 30-nvidia.conf
  • restart X ... et voila !


Some example of 30-nvidia.conf from bugs.gentoo.org:
Code:
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 610"
    Option         "AddARGBGLXVisuals" "true"
EndSection

Here is mine:
Code:
Section "Device"
        Identifier "Asus EN8400GS"
        Driver      "nvidia"
        Option     "RenderAccel"         "True"
        Option     "TwinView"              "True"
        Option     "DynamicTwinView"  "True"

EndSection

_________________
no tears to cry, no feelings left
the species has amused itself to death
amused itself to death
Back to top
View user's profile Send private message
djr868
n00b
n00b


Joined: 22 Feb 2015
Posts: 1

PostPosted: Sun Feb 22, 2015 2:53 am    Post subject: Reply with quote

Manu311 wrote:
I had the same problem (I guess) but it didn't fix with removing the libglx-file. I had to overwrite it by the nvidia-driver-file instead.

Since I just updated my system (after 4 weeks) I assume it's the same thing.



I ran into this problems earlier last year after some time gave up and reset the XORG driver version and nvidia version to the earlier versions. Over time I had to finally bight the bullet and update my drivers again. The earlier solution posted of copying the nvidia GLX.so over the xorg GLS.so works but as commented you leave your self open to an eventual driver update correcting the above done hack. I found updating xorg.conf module search path appears to cleaner fix for this issue:

Section "Files"
ModulePath "/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules"
EndSection


Update things to search nvidia first which allows the NVIDIA glx.so library to be found first and then search xorg/modules so you can get the nvidia driver.
Back to top
View user's profile Send private message
Elv13
Guru
Guru


Joined: 13 Nov 2005
Posts: 388
Location: Socialist land of North America

PostPosted: Sun Mar 29, 2015 7:04 pm    Post subject: Reply with quote

[quote="djr868"]
Manu311 wrote:
I found updating xorg.conf module search path appears to cleaner fix for this issue:

Section "Files"
ModulePath "/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules"
EndSection


Update things to search nvidia first which allows the NVIDIA glx.so library to be found first and then search xorg/modules so you can get the nvidia driver.


This solution also worked for me on a clean Gentoo install
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
Goto page Previous  1, 2
Page 2 of 2

 
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