In this article you will learn how to install NVIDIA Drivers on Fedora 29 Linux. We will start by disabling the default nouveau opensource NVIDIA Drivers and then provide step by step instructions on how to successfully install the official NVIDIA Driver on Fedora 29.
To install Nvidia driver on other Linux distributions, follow our Nvidia Linux Driver guide.
In this NVIDIA Drivers installation guide you will learn:
- How to identify your NVIDIA graphic card model on your operating system.
- Where to download the NVIDIA driver package for Fedora 29.
- How to install prerequisites for a successful Nvidia Driver compilation and installation on Fedora 29.
- How to disable the
- How to successfully install NVIDIA Drivers on your Fedora 29 Linux operating system.
Software Requirements and Conventions Used
|Operating System||Fedora 29 Linux or higher|
|Software||Existing Desktop installation such as GNOME, KDE etc.|
|Other||Privileged access to your Linux system as root or via the |
|Conventions|| # - requires given linux commands to be executed with root privileges either directly as a root user or by use of |
How to install the official NVIDIA drivers on Fedora 29 Linux step by step instructions
- Open up terminal and identify your Nvidia graphic card model by executing:
$ lspci -vnn | grep VGA 01:00.0 VGA compatible controller : NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] [10de:1c03] (rev a1) (prog-if 00 [VGA controller])
- Download the Nvidia driver package from nvidia.com using search criteria based on your Nvidia card model and Linux operating system.
Alternatively, if you know what you are doing you can download the driver directly from the Nvidia Linux driver list. Once ready you should end up with a file similar to the one shown below:
$ ls NVIDIA-Linux-x86_64-* NVIDIA-Linux-x86_64-410.73.run
- Install all prerequisites for a successful Nvidia driver compilation and installation.
$ sudo dnf groupinstall "Development Tools" $ sudo dnf install dkms "kernel-devel-uname-r == $(uname -r)"The
dkmspackage is optional. However, this package will ensure continuous Nvidia kernel module compilation and installation in the event of new kernel update.
nouveaudriver by changing the configuration
/etc/default/grubfile. Add the
nouveau.modeset=0into line starting with
GRUB_CMDLINE_LINUX. Below you can find an example of the grub configuration file reflecting the previously suggested change:
The above line 6 ensures that the
GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="resume=UUID=df614470-884d-4992-a13c-1665fb0a230e rhgb quiet nouveau.modeset=0" GRUB_DISABLE_RECOVERY="true"
nouveaudriver is disabled the next time you boot your Fedora 29 Linux system. Once ready execute the following command to apply the new GRUB configuration change.
Based on your boot method select one of the following:
BIOS: $ sudo grub2-mkconfig -o /boot/grub2/grub.cfg EFI: $ sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
- Reboot your Fedora 29 Linux System.
$ sudo reboot
- The Nvidia drivers must be installed while Xorg server is stopped. Switch to text mode by:
$ sudo systemctl isolate multi-user.target
- Install the Nvidia driver by executing the following command:
$ sudo bash NVIDIA-Linux-x86_64-*When prompted answer
YESto installation of NVIDIA's 32-bit compatibility libraries, overwrite existing
libglvndfiles and automatic update of your X configuration file.
- Reboot your system one more time.
$ sudo reboot
When using GDM display manager after login you may be greeted with a black screen. Please note that at the time of writing this issue sits with
GDMand you are recommended to temporarily switch to some other display manager like for example
$ sudo dnf install sddm $ sudo systemctl disable gdm $ sudo systemctl enable sddm $ sudo reboot