Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-legacy-drivers and nvidia-glx
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

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


Joined: 18 Sep 2004
Posts: 40

PostPosted: Wed Sep 06, 2006 6:33 am    Post subject: nvidia-legacy-drivers and nvidia-glx Reply with quote

I have a nvidia tnt2 m64 graphics card which uses the legacy drivers. How do I get nvidia-glx to work with it?
Code:

gentoo ~ # emerge -pv nvidia-glx

These are the packages that would be merged, in order:

Calculating dependencies... done!
[blocks B     ] x11-drivers/nvidia-legacy-drivers (is blocking media-video/nvidia-kernel-1.0.6629-r6)
[ebuild  N    ] media-video/nvidia-kernel-1.0.6629-r6  0 kB
[ebuild  N    ] media-video/nvidia-glx-1.0.6629-r7  0 kB

Total size of downloads: 0 kB

gentoo ~ #  glxinfo | grep direct
Error: unable to open display (null)


Currently nvidia drivers are working in X, I get the nvidia logo when I startx.

I have gotten glx to work previously so I am pretty sure this can be done. The http://www.gentoo.org/doc/en/nvidia-guide.xml nvidia-guide doesn't describe how to install glx if you are using the legacy drivers.

any ideas?
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Wed Sep 06, 2006 6:41 am    Post subject: Reply with quote

Using GLX with the legacy drivers is the same as using it with the non-legacy drivers. After installing them, you need to `modprobe nvidia && modules-uptdate` followed by `eselect opengl set nvidia`. For the rest of it, see the guide.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
vinfected
n00b
n00b


Joined: 18 Sep 2004
Posts: 40

PostPosted: Wed Sep 06, 2006 7:09 am    Post subject: Reply with quote

mark_alec wrote:
Using GLX with the legacy drivers is the same as using it with the non-legacy drivers. After installing them, you need to `modprobe nvidia && modules-uptdate` followed by `eselect opengl set nvidia`. For the rest of it, see the guide.


The problem here is that i cannot install nvidia-glx since legacy drivers are blocking it as shown above. I have done everything on the guide except emerging nvidia-glx, I have no idea how to do it.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Wed Sep 06, 2006 7:38 am    Post subject: Reply with quote

You do not need to install nvidia-glx, nvidia-legacy-drivers is all that is needed.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
tylerwylie
Guru
Guru


Joined: 19 Sep 2004
Posts: 458
Location: /US/Georgia/Atlanta

PostPosted: Wed Sep 06, 2006 9:05 am    Post subject: Reply with quote

What happened with the nvidia-*drivers package is that they bundled in the glx software with it. If you emerge legacy drivers of nvidia-drivers there is no need for nvidia-glx
Back to top
View user's profile Send private message
vinfected
n00b
n00b


Joined: 18 Sep 2004
Posts: 40

PostPosted: Wed Sep 06, 2006 12:06 pm    Post subject: Reply with quote

tylerwylie wrote:
What happened with the nvidia-*drivers package is that they bundled in the glx software with it. If you emerge legacy drivers of nvidia-drivers there is no need for nvidia-glx


then why do i get this?
Code:

gentoo ~ #  glxinfo | grep direct
Error: unable to open display (null)


How do i know glx is working? also i get this warning when i startx

Code:

dlopen: /usr/lib/xorg/modules/extensions/libGLcore.so: undefined symbol: __glXLastContext
(EE) failed to load /usr/lib/xorg/modules/extensions/libGLcore.so
(EE) failed to load module 'GLcore' (loader failed, 7)
ProcXCloseDevice to close or not ?


I was thinking this error is caused by glx, any ideas?
Back to top
View user's profile Send private message
Cinquero
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 249

PostPosted: Fri Oct 06, 2006 2:46 pm    Post subject: Reply with quote

Maybe you forgot to use eselect to set up the nvidia GL libs?
Back to top
View user's profile Send private message
tylerwylie
Guru
Guru


Joined: 19 Sep 2004
Posts: 458
Location: /US/Georgia/Atlanta

PostPosted: Sat Oct 07, 2006 11:37 pm    Post subject: Reply with quote

Cinquero wrote:
Maybe you forgot to use eselect to set up the nvidia GL libs?
Or maybe a new version of Glitz
Back to top
View user's profile Send private message
brittney
n00b
n00b


Joined: 23 Aug 2006
Posts: 30

PostPosted: Fri Oct 20, 2006 2:16 pm    Post subject: Reply with quote

vinfected wrote:

Code:

gentoo ~ #  glxinfo | grep direct
Error: unable to open display (null)




I got that error when i runned glxinfo as root when i was logged in to x with my user. You have to run glxinfo with your logged in user in X console.

-bri
Back to top
View user's profile Send private message
vinfected
n00b
n00b


Joined: 18 Sep 2004
Posts: 40

PostPosted: Fri Oct 20, 2006 3:41 pm    Post subject: Reply with quote

brittney wrote:
vinfected wrote:

Code:

gentoo ~ #  glxinfo | grep direct
Error: unable to open display (null)




I got that error when i runned glxinfo as root when i was logged in to x with my user. You have to run glxinfo with your logged in user in X console.

-bri


I don't believe that makes a difference, i have tried running glxinfo both as root and user i still get the same error.
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Fri Oct 20, 2006 3:52 pm    Post subject: Reply with quote

Try to removing GLcore from the modules section.
Back to top
View user's profile Send private message
vinfected
n00b
n00b


Joined: 18 Sep 2004
Posts: 40

PostPosted: Fri Oct 20, 2006 5:35 pm    Post subject: Reply with quote

zietbukuel wrote:
Try to removing GLcore from the modules section.


I don't have it enabled.

Code:

Section "Module"
        Load    "nvidia"
        Load    "ddc"
        Load    "glx"
        Load    "vbe"
#       Load    "GLcore"
        Load    "dbe"
#       Load    "dri"
        Load    "extmod"
        Load    "bitmap"
        Load    "type1"
        Load    "freetype"
        Load    "record"
EndSection
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sat Nov 11, 2006 9:17 am    Post subject: Reply with quote

Just adding my 2c: you must also remove nvidia-settings to get rid of the blocking message (nvidia-drivers blocks nvidia-legacy-drivers) as nvidia-settings now depend on nvidia-legacy-drivers.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
nirax
Guru
Guru


Joined: 06 Jul 2004
Posts: 319
Location: Germany, old Europe

PostPosted: Sat Nov 11, 2006 1:44 pm    Post subject: Reply with quote

what is the difference between
nvidia-drviers and nvidia-legacy-drivers?
Code:

[blocks B     ] x11-drivers/nvidia-drivers (is blocking x11-drivers/nvidia-legacy-drivers-1.0.7184)
[ebuild  N    ] x11-drivers/nvidia-legacy-drivers-1.0.7184  USE="dlloader" 8,574 kB


legacy seems older as my nvidia-drivers are: x11-drivers/nvidia-drivers-1.0.9629
_________________
quot licet iovi non licet bovi
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5098
Location: Dark side of the mood

PostPosted: Sun Nov 12, 2006 10:22 am    Post subject: Reply with quote

nirax wrote:
what is the difference between nvidia-drviers and nvidia-legacy-drivers?

See http://www.gentoo.org/doc/en/nvidia-guide.xml or this topic.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
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