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

From Nearline Storage
Jump to navigation Jump to search
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 displayed 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 with the NVidia drivers to enable higher console resolutions during boot:
 
# 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>

Latest revision as of 13:48, 13 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 with the NVidia drivers to enable higher console resolutions during boot:

  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

Step 3 must be repeated every time dnf upgrades the kernel.