LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-31-2004, 08:09 PM   #1
Canadian_2k2
Member
 
Registered: Oct 2002
Location: BC,Canada
Distribution: Debian
Posts: 92

Rep: Reputation: 15
Nvidia and glx problems


Hi

I am having trouble with my nvidia card. I'm running a gentoo 2.4.20 gaming kernel. The card is an Nvidia geforce2 MX400 64 MB PCI card. I have downloaded and installed the drivers from the nvidia web site. I can get 2D graphics to work, but no GL / 3D support.
From my XF86Config file:


Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load "type1"
Load "speedo"
# Load "freetype"
# Load "xtt"

# This loads the GLX module
Load "glx"
# This loads the DRI module
Load "dri"

EndSection


Section "Device"
Identifier "NV PCI"
VendorName "nvidia"
Driver "nvidia"
# update this with the PCI id of your card. Consult the output
# of the 'lspci' command. The BusID is usually optional when
# only using one graphics card.
BusID "PCI:1:06:0"
EndSection

Section "DRI"
Mode 0666
EndSection


Here is some other relevent info that may be of some use:
#lspci
.
..
01:06.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)

linbox root # lsmod
Module Size Used by Tainted: P
sd_mod 11436 0 (autoclean) (unused)
scsi_mod 59156 1 (autoclean) [sd_mod]
nvidia 1963616 0 (unused)
linbox root # glxinfo
glxinfo: relocation error: /usr/lib/libGLU.so.1: undefined symbol: __gxx_personality_v0
linbox root # glxgears
Xlib: extension "GLX" missing on display "localhost:0.0".
Error: couldn't get an RGB, Double-buffered visual
linbox root #




Thanks for your help
 
Old 05-31-2004, 08:20 PM   #2
veritas
Member
 
Registered: Aug 2003
Location: Dallas,TX
Distribution: Ubuntu Server, Slackware, Red Hat 6.1
Posts: 241

Rep: Reputation: 30
Load "dri" should be commented out. Thats what the nvidia readme says anyways.

Last edited by veritas; 05-31-2004 at 08:22 PM.
 
Old 05-31-2004, 08:22 PM   #3
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
You need to comment out the DRI line. This:

Code:
# This loads the DRI module
Load "dri"
should be this:

Code:
# This loads the DRI module
# Load "dri"
That may help.

Later

 
Old 05-31-2004, 08:34 PM   #4
Canadian_2k2
Member
 
Registered: Oct 2002
Location: BC,Canada
Distribution: Debian
Posts: 92

Original Poster
Rep: Reputation: 15
No difference, I commented that out, then rebooted. ( do I need to reboot, or just init 3, init 5) still get the same in glxgears & glxinfo
 
Old 06-01-2004, 01:42 AM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
May be something different about Debian. I have never used Debian before so I'm not sure what else to try.

You may get a mod to move you to Debian forum or just post there where all the Debian experts hang out. Link:

http://www.linuxquestions.org/questi...php?forumid=26

Sort of out of ideas here.

 
Old 06-01-2004, 05:01 AM   #6
Galik
Member
 
Registered: Mar 2003
Location: UK
Distribution: gentoo
Posts: 67

Rep: Reputation: 15
Did you install the nvidia glx part as well? The driver comes in two parts the kernel part and the glx part. You need both. Also as you are using gentoo you might want to try this instead
Code:
emerge nvidia-kernel nvidia-glx
 
Old 06-01-2004, 05:09 AM   #7
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
galik, emerge is not available in debian!!

canadian_2k2, did u try reinstalling the driver ?
 
Old 06-01-2004, 05:21 AM   #8
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Because you need to reinstall the module every time you tinker with your kernel I find it best to use nvidia's installer rather than the package-manager du jour provided by your distro.

Go to:
http://www.nvidia.com/object/linux_d..._1.0-5336.html

and download the driver. Read the README...at least the first bit about installing, then exit X. This is very important. The module will not install if you are running X. Type:
Code:
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
Your XF86Config looks fine as long as you have commented out the 'dri' line. Then do a 'startx' and behold the beauty of the nvidia splash screen. BTW the module is no longer two separate 'kernel' and 'glx' files. Both are installed from the single 'NVIDIA-Linux-x86-1.0-5336-pkg1.run' file.

Good luck.
 
Old 06-01-2004, 06:21 AM   #9
evensen
Member
 
Registered: Apr 2004
Location: Norway/Hamar
Distribution: Debian Sarge :)
Posts: 116

Rep: Reputation: 15
have you tried : modprobe nvidia as root ?
 
Old 06-01-2004, 01:50 PM   #10
rocket
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
Quote:
Originally posted by bulliver
Because you need to reinstall the module every time you tinker with your kernel I find it best to use nvidia's installer rather than the package-manager du jour provided by your distro.

Go to:
http://www.nvidia.com/object/linux_d..._1.0-5336.html

and download the driver. Read the README...at least the first bit about installing, then exit X. This is very important. The module will not install if you are running X. Type:
Code:
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
Your XF86Config looks fine as long as you have commented out the 'dri' line. Then do a 'startx' and behold the beauty of the nvidia splash screen. BTW the module is no longer two separate 'kernel' and 'glx' files. Both are installed from the single 'NVIDIA-Linux-x86-1.0-5336-pkg1.run' file.

Good luck.
theres my problem

i cant get the kernel interface to compile! says something about ?/module/header/ not being configed :S

i installed the kernel sources and then ran sh NVIDIA-Linux-x86-1.0-5328-pkg1.run and gives me that error! help plz!
 
Old 06-01-2004, 02:51 PM   #11
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Ok, you're using gentoo right? You may need to :
Code:
emerge kernel-headers
If still no go, I don't know what to tell you. Perhaps try the Nvidia linux forums, where the only topic is getting these modules to work. There is a link to them from the page I linked above.
 
Old 06-02-2004, 05:17 AM   #12
rocket
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
Quote:
Originally posted by bulliver
Ok, you're using gentoo right? You may need to :
Code:
emerge kernel-headers
If still no go, I don't know what to tell you. Perhaps try the Nvidia linux forums, where the only topic is getting these modules to work. There is a link to them from the page I linked above.
sorry forgot to mention im running mandrake 10
 
Old 06-02-2004, 05:47 AM   #13
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Ok, so then do
Code:
rpm -q kernel-headers
If it isn't installed, find an rpm, install it, and try installing the nvidia module again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia legacy driver and nvidia-glx questions darkleaf Linux - Software 6 06-27-2005 02:42 PM
a need for nvidia-glx? koyi Debian 1 04-10-2005 02:02 AM
nvidia glx Amir21 Linux - Newbie 2 12-01-2004 12:03 PM
RH9 Nvidia driver upgrade from 5336 to 6106, GLX problems ZeeMan Red Hat 2 08-25-2004 11:13 AM
NVIDIA-GLX and General NVIDIA Problems g452 Slackware 7 05-30-2004 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration