Register

If you already have an account with us, please use the login panel below to access your account.

z1g

How to install Nvidia 313.26 drivers in Fedora 18 3.8.4-202 x64 kernel

Rate this Entry
I found some instructions detailing how to disable the Nouveau driver and install the 3.10 Nvidia drivers, but can no longer find the page as I would like to give credti where it is due. I have made some changes for the latest kernel and added some prerequisites.

You can download the driver at the following link

http://www.nvidia.com/object/linux-d...26-driver.html

# = comment

# do a yum update to make sure you're on newest kernel release - assume you are already at 3.8.4 but better to be safe

Code:
sudo yum update
#Install gcc and kernel source needed for compiling the kernel module

Code:
sudo yum install gcc kernel-devel

# change default runlevel to multi-user (the old init 3)


Code:
sudo ln -fs /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
# reboot into the new kernel & runlevel

Code:
reboot
#make sure Open source nouveau driver is blacklisted from starting on next reboot.

Code:
egrep -i "blacklist\s*nouveau" /etc/modprobe.d/blacklist.conf || echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
# move the nouveau module out of the default path so that we won't have it built into the new initramfs.

Code:
mv /usr/lib/modules/$(uname -r)/kernel/drivers/gpu/drm/nouveau/nouveau.ko /usr/lib/modules/$(uname -r)/kernel/drivers/gpu/drm/nouveau/nouveau.ko.blacklist
# move the old initramfs to a backup location. Not strictly necessary, but a good idea to keep backups IMO, feel free to skip this step.

Code:
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).nouveau.img
# make the new initramfs.This may take a while so be patient

Code:
dracut /boot/initramfs-$(uname -r).img $(uname -r)
# reboot into new initramfs where nouveau won't be loaded.

Code:
reboot
# cd to where you downloaded the NVIDIA driver. In my case, it was in my Downloads directory.

Code:
cd ~username/Downloads
# make the file executable, and run it, follow onscreen instructions

Code:
chmod 755 NVIDIA-Linux-*.run 
./NVIDIA-Linux-*.run

# If you're running any proprietary games (to include steam games) make sure to install the 32 bit compatibility drivers, and update the xorg.conf file when prompted.


# when it is installed, change back to the default runlevel,


Code:
ln -fs /lib/systemd/system/graphical.target /etc/systemd/system/default.target
# and reboot

Code:
reboot
Tags: None Add / Edit Tags
Categories
Uncategorized

Comments

  1. locked_on's Avatar
    Is the Nvidia driver worth using? I know the ATI drivers don't work in Gnome. I have tried in Fedora, Ubuntu, and Mint.
  2. z1g's Avatar
    Woah, hey LO.

    The Nvidia drivers are probably only worth using if you are going to do some gaming. The default Noveau drivers work just fine for desktop use, though I really like the digital vibrance settings in the Nvidia driver for the desktop. I was giving steam for linux a try and needed the Nvidia drivers. I did try the easy to install RPM Fusion Nvidia packages but the older 3.04 drivers did not perform well. There was a huge performance increase with the 3.1x
  3. NOYB's Avatar
    Nice writeup. Yeah, I'd say the nvidia drivers are worth it. The desktop always looks better to me with the proper drivers. Could just be my imagination, but things are smoother and brighter.