Fedora 18 Proprietary NVIDIA driver install. Usefull for Steam Beta
I had to go through some pain to get the proprietary nvidia driver to install on Fedora 18, and had to repeat the process when the new kernel was installed today. I'm including my "script" to get this done so that hopefully someone else won't have as hard a time. Everything here is from a default install. I did not install rpmfusion, or change any system settings. If you have done so, these instructions may not work, and I can't take responsibility for any problems that may come up. Straying from these directions may lead to a system that doesn't boot. Please don't experiment unless you know what you're doing, or are willing to take that risk. ALWAYS make a backup of important files. PS, Raid is not a backup.
Feel free to critique my process, I don't learn anything if no one points out my flaws.
This process was created on an x86_64 default install (Gnome) on an Nvidia Geforce 250 GTS.
First, go to the NVIDIA website and download the most recent driver for your card, I have tested this on the NVIDIA-Linux-x86_64-310.19.run driver for my Geforce GTS 250.
Drivers | GeForce
All instructions below are to be run as root. You can use `sudo -i ` to get a root shell, or preface the commands with sudo if you prefer.
Code:
# do a yum update to make sure you're on newest kernel release, better to not have to do this twice
yum update
# change default runlevel to multi-user (the old init 3)
sudo ln -fs /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
# reboot into the new kernel & runlevel
shutdown -r now
#make sure Open source nouveau driver is blacklisted from starting on next reboot.
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.
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.
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).nouveau.img
# make the new initramfs.
dracut /boot/initramfs-$(uname -r).img $(uname -r)
# reboot into new initramfs where nouveau won't be loaded.
shutdown -r now
# cd to where you downloaded the NVIDIA driver. In my case, it was in my Downloads directory.
cd ~username/Downloads
# make the file executable, and run it, follow onscreen instructions
chmod 700 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,
ln -fs /lib/systemd/system/graphical.target /etc/systemd/system/default.target
# and reboot
shutdown -r now
When your system comes back up, you should be at the graphical login screen. Log in, open a teminal, and run
and setup your stuff how you want. If there are errors at any step, please let me know so that I can modify my instructions.
####################################### RPM Fusion Method ########################
Here is a good link for installing via RPMFusion. They are a great deal easier, but don't have as much flexibility (harder to choose a different video driver than what they have there.)
http://www.if-not-true-then-false.co...-nvidia-guide/
Thanks to Gruven for reminding me to link to this method.