NVidia Driver and Beryl on Fedora 7

Submitted by sonic2000gr on Sat, 2007-06-02 05:03. :: Fedora Story

This is a quick how-to for installing NVIDIA's 9755 driver in Fedora 7 and activating Beryl

Download the NVIDIA driver

As of this writting, the latest driver is 9755. Download from NVIDIA website.
The driver is a file like NVIDIA-Linux-x86-something.run, eg

NVIDIA-Linux-x86-1.0-9755-pkg1.run

Copy it to a directory, e.g. /tmp

Make the file executable by root, by entering the following:

 cd /tmp
 chmod 755 NVIDIA-Linux-x86-1.0-9755-pkg1.run

(Replace with the proper filename, if different!)

Install the driver

From the terminal as root, type:

/sbin/telinit 3

You will now drop to a text mode console. Login again as root.
cd to the directory where the file was stored, e.g.

cd /tmp

and

sh NVIDIA-Linux-x86-1.0-9755-pkg1.run --x-module-path=`X -showDefaultModulePath 2>&1 | \
cut -d, -f1` --x-library-path=`X -showDefaultLibPath 2>&1`

(Careful: This can be written as ONE line if you ommit the "\" or as two lines - press enter after typing the "\". Also make a note of the "`" symbol, it is the key near the "1" on the keyboard, do not confuse with single quotes.)
The reason for this change in the command line: Apparently due to a new version numbering scheme in xorg-server, nvidia's installer fails to detect the correct xorg version and installs files in wrong locations.

When asked whether to FTP for a module, say no. Let it compile a module. Also allow it to change the xorg.conf file for you.

Load the module

Execute

modprobe nvidia

The nvidia module should load without difficulty.

Instead of editing the file /etc/X11/xorg.conf, you can make necessary changes for 3D operation by using the nvidia-xconfig command as root:

 nvidia-xconfig --add-argb-glx-visuals

and:

 nvidia-xconfig --composite

Verify the following appears in the "Module" section of /etc/X11/xorg.conf (or add it yourself):

Load "extmod"
Load "glx"

Return to graphics mode and test

Enter the following command to return to X:

/sbin/telinit 5

You should see an NVIDIA logo while the X Server is starting.

If you wish to run compiz, login as a normal (non-root) user, open a terminal and run:

desktop-effects

Click on enable.

If you wish to run beryl, open a terminal, become root (or use sudo) and:

yum install beryl-manager beryl-gnome

Then as a normal user:

beryl-manager

Remember you will have to reinstall the NVIDIA driver every time you change kernel, so it would be wise to store the downloaded file in a safe place.