Difference between revisions of "Notes On The Nvidia Proprietary Display Drivers"

From Nearline Storage
Jump to navigation Jump to search
(Created page with "I have installed the Nvidia drivers using both the [https://rpmfusion.org/Howto/NVIDIA RPMFusion] and the [https://negativo17.org/nvidia-driver/ negativo17] respository method...")
 
m
Line 10: Line 10:
  
 
==Restore Hi-Res Boot Screens==
 
==Restore Hi-Res Boot Screens==
The NVidia drivers do not have the fbdev support needed to provide the high resolution boot screens that you see when nouveau is used.  It is possible to use the DRM kernel mode setting to enable similar boot screens:
+
The NVidia drivers do not have the fbdev support needed to provide the high resolution boot screens displayed when nouveau is used.  It is possible to use the DRM kernel mode setting to enable similar boot screens:
 
# Create <code>/etc/modprobe.d/nvidia.conf</code> containing this line:<br /><code>options nvidia_drm modeset=1</code>
 
# Create <code>/etc/modprobe.d/nvidia.conf</code> containing this line:<br /><code>options nvidia_drm modeset=1</code>
 
# Create <code>/etc/dracut.conf.d/nvidia.conf</code> containing these two lines:<br /><code>add_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "</code><br /><code>install_items+=" /etc/modprobe.d/nvidia.conf "</code>
 
# Create <code>/etc/dracut.conf.d/nvidia.conf</code> containing these two lines:<br /><code>add_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "</code><br /><code>install_items+=" /etc/modprobe.d/nvidia.conf "</code>
 
# Rebuild the initramfs with the command <code>sudo dracut -f</code>
 
# Rebuild the initramfs with the command <code>sudo dracut -f</code>
 
# Reboot
 
# Reboot

Revision as of 19:27, 12 April 2021

I have installed the Nvidia drivers using both the RPMFusion and the negativo17 respository methods. The following notes apply in both cases.

UEFI Secure Boot Must Be Turned Off

After installing the driver and rebooting this message was displayed on the boot screen: "nvidia kernel module missing, falling back to nouveau" Secure boot needs to be turned off in the system BIOS settings.

Wayland Will Be Disabled

The NVidia drivers do not support Wayland so it will be disabled when they are in use. With Fedora 33 Wayland must be turned off in order for gnome-shell-extension-topicons-plus to work. If the nouveau driver is used, then Wayland can be disabled by modifying /etc/gdm/custom.conf:

  1. Uncomment #WaylandEnable=false
  2. Add, immediately underneath DefaultSession=gnome-xorg.desktop

Restore Hi-Res Boot Screens

The NVidia drivers do not have the fbdev support needed to provide the high resolution boot screens displayed when nouveau is used. It is possible to use the DRM kernel mode setting to enable similar boot screens:

  1. Create /etc/modprobe.d/nvidia.conf containing this line:
    options nvidia_drm modeset=1
  2. Create /etc/dracut.conf.d/nvidia.conf containing these two lines:
    add_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "
    install_items+=" /etc/modprobe.d/nvidia.conf "
  3. Rebuild the initramfs with the command sudo dracut -f
  4. Reboot