z1g
How to install Nvidia 313.26 drivers in Fedora 18 3.8.4-202 x64 kernel
by
, 03-30-2013 at 12:26 PM (43891 Views)
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
#Install gcc and kernel source needed for compiling the kernel moduleCode:sudo yum update
Code:sudo yum install gcc kernel-devel
# change default runlevel to multi-user (the old init 3)
# reboot into the new kernel & runlevelCode:sudo ln -fs /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
#make sure Open source nouveau driver is blacklisted from starting on next reboot.Code:reboot
# move the nouveau module out of the default path so that we won't have it built into the new initramfs.Code:egrep -i "blacklist\s*nouveau" /etc/modprobe.d/blacklist.conf || echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
# 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 /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
# make the new initramfs.This may take a while so be patientCode:mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).nouveau.img
# reboot into new initramfs where nouveau won't be loaded.Code:dracut /boot/initramfs-$(uname -r).img $(uname -r)
# cd to where you downloaded the NVIDIA driver. In my case, it was in my Downloads directory.Code:reboot
# make the file executable, and run it, follow onscreen instructionsCode:cd ~username/Downloads
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,
# and rebootCode:ln -fs /lib/systemd/system/graphical.target /etc/systemd/system/default.target
Code:reboot