View previous topic :: View next topic |
Author |
Message |
vinfected n00b
Joined: 18 Sep 2004 Posts: 40
|
Posted: Wed Sep 06, 2006 6:33 am Post subject: nvidia-legacy-drivers and nvidia-glx |
|
|
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 |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Wed Sep 06, 2006 6:41 am Post subject: |
|
|
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 |
|
|
vinfected n00b
Joined: 18 Sep 2004 Posts: 40
|
Posted: Wed Sep 06, 2006 7:09 am Post subject: |
|
|
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 |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Wed Sep 06, 2006 7:38 am Post subject: |
|
|
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 |
|
|
tylerwylie Guru
Joined: 19 Sep 2004 Posts: 458 Location: /US/Georgia/Atlanta
|
Posted: Wed Sep 06, 2006 9:05 am Post subject: |
|
|
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 |
|
|
vinfected n00b
Joined: 18 Sep 2004 Posts: 40
|
Posted: Wed Sep 06, 2006 12:06 pm Post subject: |
|
|
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 |
|
|
Cinquero Apprentice
Joined: 24 Jun 2004 Posts: 249
|
Posted: Fri Oct 06, 2006 2:46 pm Post subject: |
|
|
Maybe you forgot to use eselect to set up the nvidia GL libs? |
|
Back to top |
|
|
tylerwylie Guru
Joined: 19 Sep 2004 Posts: 458 Location: /US/Georgia/Atlanta
|
Posted: Sat Oct 07, 2006 11:37 pm Post subject: |
|
|
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 |
|
|
brittney n00b
Joined: 23 Aug 2006 Posts: 30
|
Posted: Fri Oct 20, 2006 2:16 pm Post subject: |
|
|
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 |
|
|
vinfected n00b
Joined: 18 Sep 2004 Posts: 40
|
Posted: Fri Oct 20, 2006 3:41 pm Post subject: |
|
|
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 |
|
|
zietbukuel l33t
Joined: 30 Dec 2005 Posts: 607
|
Posted: Fri Oct 20, 2006 3:52 pm Post subject: |
|
|
Try to removing GLcore from the modules section. |
|
Back to top |
|
|
vinfected n00b
Joined: 18 Sep 2004 Posts: 40
|
Posted: Fri Oct 20, 2006 5:35 pm Post subject: |
|
|
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 |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Sat Nov 11, 2006 9:17 am Post subject: |
|
|
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 |
|
|
nirax Guru
Joined: 06 Jul 2004 Posts: 319 Location: Germany, old Europe
|
Posted: Sat Nov 11, 2006 1:44 pm Post subject: |
|
|
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 |
|
|
VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
|
Back to top |
|
|
|