LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Installing nVidia graphics card (https://www.linuxquestions.org/questions/debian-26/installing-nvidia-graphics-card-642587/)

mikieboy 05-16-2008 04:40 AM

Installing nVidia graphics card
 
I've just purchased a nVidia GeForce 6200 AGP8X graphics card to replace the on-board SIS graphics chip on my ageing Linux box. As this is the first time I will have attempted a graphics upgrade, I've been Googling for a How-to for Debian but have only been able to find quite old docs for XFree86 versions of Debian (even on LQ).
Can anyone point me in the right direction for this upgrade or tell me how to proceed?

Dutch Master 05-16-2008 05:24 AM

Install the card, then install the nVidia driver. It will automagically pick up your videocard and start using it. Mind you, the installation of the nVidia driver requires the kernelsources installed and you'd have to do this from the cli.

mikieboy 05-16-2008 07:43 AM

That's OK! Should I get the nVidia driver from the Debian repositories or from the nVidia website? To install the kernelsources do I need to recompile the kernel?

rickh 05-16-2008 08:02 AM

If you are using Lenny, the drivers you need may not be in the Debian repositories. Since I always recommend doing it the Debian way, that means you'll have to pull them from Sid. Look at this.

mikieboy 05-17-2008 02:33 PM

Thanks guys.
I've installed the card and the nvidia driver using the instructions from rickh's link and the display is working.
I got a few bugs reported in apt-listbugs but proceeded anyway.
According to the new xorg.conf file, the nvidia driver is being used but the device identifier has not changed from SIS as shown below:

Quote:

Section "Device"
Identifier "SiS Video Card"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "SiS Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
Is this likely to affect performance and if so should I edit it and what to? The card is a nVidia GeForce 6200.

thveillon 05-18-2008 04:26 PM

It won't affect performances, if the nvidia driver is working then the video card could be named "red pepperoni" without causing any problem. Just forget about it, or alternatively try something else after backing up the working xorg.conf.

To know if the nvidia drivers is working properly use in console :

Code:

glxinfo
Among the first lines of the output you should see something like :

Quote:

direct rendering: Yes
server glx vendor string: NVIDIA Corporation

mikieboy 05-19-2008 01:23 PM

I've just tried running the glxinfo command but get the following output:

Quote:

$ glxinfo
bash: glxinfo: command not found
I've tried running it as root with the same result!

rickh 05-19-2008 02:51 PM

# aptitude install mesa-utils

mikieboy 05-19-2008 03:49 PM

Well that all seems to be OK! Thanks again. :)


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