Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)(Allows full resolution and quiets down the NVidia fans in Linux)
================================================== ===========================================
Info:
Fedora 22 version installed: Fedora-Live-Workstation-x86_64-22-3.iso
NVidia Linux x86_64 driver installed: Current (2015-0619) driver used: NVIDIA-Linux-x86_64-352.21.run
Download the NVidia "Linux x86_64/AMD64/EM64T" driver listed above here: http://www.nvidia.com/object/unix.html
Install the pre-requisites:
---------------------------
dnf install dkms gcc kernel-devel kernel-headers
Blacklist and remove the default nouveau graphics driver:
---------------------------------------------------------
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
add "rd.driver.blacklist=nouveau" to middle of "GRUB_CMDLINE_LINUX=" line in /etc/sysconfig/grub
Example:
GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rd.driver.blacklist=nouveau rhgb quiet"
Activate blacklist change:
--------------------------
grub2-mkconfig -o /boot/grub2/grub.cfg
Remove default nouveau driver:
------------------------------
dnf remove xorg-x11-drv-nouveau
Set computer to boot to run level 3 (non-graphical boot) and reboot:
--------------------------------------------------------------------
systemctl set-default multi-user.target
reboot
Install the NVidia driver:
----------------------------
chmod +x NVIDIA-Linux-x86_64-352.21.run
sh ./NVIDIA-Linux-x86_64-352.21.run
accept license
allow dkms module updates with new kernel updates
install 32bit compatibility
allow it to update your xorg.cfg file
If successful, then:
--------------------
Set computer to boot to run level 5 (graphical boot) and reboot:
----------------------------------------------------------------
systemctl set-default graphical.target
reboot
The information at the below web link by "Duke Nukem" was helpful in getting the above to work for Fedora 21 + 22:
================================================== =========================
"Step by step instructions: Fedora 20, NVIDIA GPU"
http://setiathome.berkeley.edu/forum...d.php?id=74094
KERNEL UPDATES:
===============
NOTE: When updating kernels, the dkms package should technically re-enable the NVidia driver automatically.
If not, you can update the driver manually as listed below.
KERNEL UPDATES & manual NVidia driver update:
---------------------------------------------
If you update your kernel, then the new kernel will not by default have the NVIDIA driver enabled (Note: only if you do not have dkms installed).
You can reinstall the NVIDIA driver after updating your kernel and rebooting by doing the following:
Ctrl + Alt + F2 (this will get you a login)
Login as root
sh ./NVIDIA-Linux-x86_64-352.21.run
Accept license
Continue Installation
Yes to Install NVIDIA's 32-bit compatibility
Yes to update your x configuration file (may not be needed if upgrading)
reboot
Note: If a recent kernel update removes the blacklist file, you may have to do this again and then reboot and then do the above update section after a kernel update:
Blacklist and remove the default nouveau graphics driver:
---------------------------------------------------------
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
add "rd.driver.blacklist=nouveau" to middle of "GRUB_CMDLINE_LINUX=" line in /etc/sysconfig/grub
Example:
GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rd.driver.blacklist=nouveau rhgb quiet"
Activate blacklist change:
--------------------------
grub2-mkconfig -o /boot/grub2/grub.cfg
Remove default nouveau driver:
------------------------------
dnf remove xorg-x11-drv-nouveau
2015-0619 Update:
-----------------
Current kernel and old NVidia driver would fail to get into X-window session. Upgrading the NVidia driver fixed this for me. This is how I fixed this:
At failed window, press Ctrl + Alt + F2 and login as root
Transfer the latest driver to your PC from another PC (I used NVIDIA-Linux-x86_64-352.21.run)
Note, if you need to enable SSH so you can transfer the new driver over (via scp or sftp) to your PC, run this to enable SSH and scp/sftp transfers:
systemctl enable sshd.service
systemctl start sshd.service
Then use some scp or sftp transfer program to copy the NVidia driver over to your non-working Fedora server. (I use FileZilla client with sftp transfer).
Set computer to boot to run level 3 (non-graphical boot) and reboot:
--------------------------------------------------------------------
systemctl set-default multi-user.target
reboot
Install the NVidia driver:
--------------------------
chmod +x NVIDIA-Linux-x86_64-352.21.run
sh ./NVIDIA-Linux-x86_64-352.21.run
accept license
allow dkms module updates with new kernel updates
install 32bit compatibility
allow it to update your xorg.cfg file
If successful, then:
--------------------
Set computer to boot to run level 5 (graphical boot) and reboot:
----------------------------------------------------------------
systemctl set-default graphical.target
reboot
Things should work again.
No hay comentarios.:
Publicar un comentario