LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   HELP with Nvidia Video Card installation!!! (https://www.linuxquestions.org/questions/linux-hardware-18/help-with-nvidia-video-card-installation-609415/)

shorttech 12-27-2007 10:34 AM

HELP with Nvidia Video Card installation!!!
 
Here is the video card I'm trying Nvidia GE Force 8800 GTS 512 MB

I need some help trying to install the driver for this video card. So far I already have downloaded the driver file from the NVIDIA web site and I tried to install the driver by entering this command sudo sh (file name)

But when the installation begins I get an error Precompiled kernel interface error . What should I do? Does anyone know how to fix this problem? I already spent hours searching the web to find a solution but I haven't found anything useful.

Im new to Linux and this problem is kicking my ass!!! (Im using Ubuntu)

Please help.
Thank you.

PTrenholme 12-27-2007 10:45 AM

1) To use the nVidia script, you need to have the C language compiler (gcc) installed, and to have the Ubuntu kernel headers (or, if you wish, the kernel source code, but that's generally not required) installed in your library path.

2) The Ubuntu repositories contain pre-compiled nVidia drivers. Just click on "Install/Remove Software" and search for "NVIDIA."

<edit>
It is, generally speaking, not a good idea to to use the nVidia script to get the nVidia driver installed since that script used to (and may still) replace the Xorg libraries. Thus an Xorg update would kill your nVidia driver if it, in turn, replaced the nVidia-specific libraries. The pre-compiled drivers usually keep the nVidia-specific stuff in a separate location from the "standard" Xorg location and avoid the conflict. They're also much easier to install. :)
</edit>

shorttech 12-27-2007 12:05 PM

Question...
 
Unfortunately Im stuck at work.... But I cant wait till I get home so that I can try it out...

Also, Im not sure what the kernel header and how do I install the gcc and the library path for the kernel

Thank you

David1357 12-27-2007 12:14 PM

Quote:

Originally Posted by shorttech (Post 3003055)
Also, Im not sure what the kernel header and how do I install the gcc and the library path for the kernel

Run aptitude as root (sudo or whatever) and search for "linux-headers" using the [/] key. Select the headers that correspond to the output of "uname -a" and press the [+] key to add it to the installation list. Press [/] again and search for "build-essential" to get gcc and a lot of other handy tools for building things from source. Press the [+] key again to add it to the installation list. Press [g] and then [g] again to install everything. Make sure you have your Ubuntu CD handy, as it may ask for it. Also, make sure you are connected to the internet, as it will probably need to download some files.

shorttech 12-28-2007 02:37 AM

New Error
 
So I finally made some progress (I think)
I ran aptitude and installed a few "linux hearders" that had the same number as my kernel. I also installed "build essential"

After that, I tried to install the Nvidia driver one more time.
sudo sh (file name)

The installation for the driver seemed to go ok. But I had one error at the end.
"Unable to perform the run time configuration check for library 'libGL.so.1' (/usr/lib32/libGl.so.169.07) assuming successful installation"

After getting this error I restarted the PC and tried to run KDE but I received a message saying that my video driver was running in a low resolution. Also, I tried to access the Nvidia X server settings in the KDE but I received a different error (You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server)

So... Can anyone help? Im pretty sure my video card still not working.

-My kernel version is 2.6.22-14 Generic

David1357 12-28-2007 02:15 PM

Quote:

Originally Posted by shorttech (Post 3003641)
"Unable to perform the run time configuration check for library 'libGL.so.1' (/usr/lib32/libGl.so.169.07) assuming successful installation"

You probably also need to use aptitude to install the libgl-dev package.


All times are GMT -5. The time now is 05:02 PM.