LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   installing nvidia 8400 GS graphics card (https://www.linuxquestions.org/questions/linux-hardware-18/installing-nvidia-8400-gs-graphics-card-822138/)

brainxs 07-25-2010 11:17 PM

installing nvidia 8400 GS graphics card
 
I have Nvidia 8400 GS graphics card. I am using Fedora 13 on AMD phenom processor. I want to install drivers for my graphics card on fedora 13, i have tried some method which i found by googleing but they didnt seem to work please help me !

Laurens73 07-26-2010 06:25 AM

It depends what you want to do with this computer. If you're just doing some simple internet the open source drivers coming with your package manager will suffice.

When gaming / video editing is important, the proprietrary drivers are needed. At the NVIDIA site the most recent drivers can be downloaded by clicking Download drivers >> Beta and archived drivers and after choosing the 8 series, 8400 model a list of drivers will appear. Choose the highest version (about 256.35) and click [download], and then right-click on the [Agree and download] button (most browsers will open it as a text file when using the left button) and choose [Save as...] in the list.

Now the file is on your disk, make sure you got the standard NVIDIA drivers installed with GLX in your package manager (The proprietrary driver overwrites some binary files of the originally installed drivers to make it work). Also make sure packages like linux-headers (your kernel version), dkms, automake, autoconf, module-assistant, g++, mesa-utils are installed on your machine.

Now we need to switch to runlevel 3 (I think Fedora Core uses runlevel 3). Just log off your profile until you're at the login screen. Now switch to a text console, by pressing [Ctrl]-[Alt]-[F1] (F keys 1-6 are all text consoles)

As sudoer the easiest way to become root is:
Code:

sudo su -
Type the following in the console:

Code:

init 3
Now the machine will close the graphical interface and it will ask for the root password (or if you're a sudoer your own password) and after entering it you're logged in again in a text console.

Go to the directory where you downloaded the NVIDIA driver and run the file:

Code:

sh NVIDIA-Linux-x86-256.35.run
Or the other filename if you've got a 64bit version of your kernel.

Now the script will ask you a few questions. If it's moaning about an X still running, try to repeat the part above with the init, lowering the number with 1 each time. Even if the script will ask you to abort with a slight difference in GCC version or warns you about some alterings, just tell it to go on and let it compile the new module. Since it's the first time to compile this NVIDIA module, accept the offer to let it configure your X settings. If it offers this configuring, there's a good chance the new drivers will work correctly.

Now the driver is installed, you may start on the fly by entering:

Code:

init 5
Or restart the entire system to see how it boots:

Code:

shutdown -r now
When the graphical interface returns, log in and open an xterm (or your favourite X console) window, and type the following command:

Code:

glxgears
If everything works fine, 3 gears are rotating and in the console window the number of frames per second will be measured. This value should be 4000 or above with the video card you have.

I must warn you: installing the proprietrary drivers sometimes fails and can't be undone, only restoring a backup or re-installing is an option then. So make a backup first if you're working with a live system.

Succes.

RockDoctor 07-26-2010 12:20 PM

You might want to try installing the nouveau driver (xorg-x11-drv-nouveau) and the mesa-dri-drivers-experimental rpms. My primary system has onboard Nvidia 9100 graphics, and this works well enough for me (I'm not a gamer).

brainxs 07-27-2010 05:17 AM

@ Laurence, well i have followed your instructions but its giving error after I agree button it saying that kernerl root tree can not be found please make user you installed it (something like that ) please help

Laurens73 07-27-2010 06:55 AM

In most cases a part of the linux-headers is missing. For example: if you use the linux-image of the 2.6.32-5-686-bigmem kernel, you will need the Header files for Linux 2.6.32-5-686-bigmem: linux-headers-2.6.32-5-686-bigmem. Unfortunatly I'm using no recent version of Fedora Core anymore to look up wich files they exactly are, but in most cases the basics between the distro's are about the same.

Some kernel versions (I think 2.6.30 and below) need the Linux kernel source tree as an addition to the linux-headers package. These can be found by searching for [linux-tree] in your favourite package manager. The package manager will show a file like linux-tree-2.6.30. If this file is there, but not installed, just install it and try again. You will have a bigger chance to succes then.

Also search in your package manager for [nvidia]. Sometimes your kernel as an additional option for installing special libraries and/or modules to get the new kernel modules compiled. Names wich appear and could be useful are like: libnvidia-compiler, nvidia-kernel-common, nvidia-kernel-source, nvidia-glx.

BTW for fine-tuning options the following packages are also useful: nvidia-settings, nvidia-xconfig, nvclock, nvclock-gtk


All times are GMT -5. The time now is 03:49 PM.