How to Install Proprietary Nvidia Drivers on Fedora 37/38

2 min read 4 months ago
Published on May 25, 2024 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Tutorial: Installing Proprietary Nvidia Drivers on Fedora 37/38

Step 1: Update the System

  1. Open the terminal on your Fedora 37/38 system.
  2. Enter the following command: sudo dnf update -y
  3. This command will update the system packages. Let it complete the update process.
  4. If prompted to reboot the computer after the update, do so and then return to the terminal.

Step 2: Install Akmod Nvidia

  1. In the terminal, type: sudo dnf install akmod-nvidia
  2. Confirm the installation by typing 'y' when prompted.
  3. The Akmod Nvidia package is necessary for Fedora 37/38.
  4. Allow the installation process to complete.

Step 3: Support Wayland on Fedora 36

  1. To support Wayland on Fedora 36, enter the command: sudo dnf install xorg-x11-drv-nvidia-cuda
  2. Press Enter to execute the command.
  3. This step ensures that even the proprietary Nvidia graphics will function properly on Wayland.

Step 4: Reboot the System

  1. Once the installation is complete, restart your computer.
  2. After the reboot, the proprietary Nvidia drivers should be active and functioning.
  3. It's recommended to use X.Org, even though Wayland supports Nvidia graphics.

Step 5: Verify Installation

  1. To verify the installation, open the Nvidia X Server Settings on your computer.
  2. Check for information regarding the graphics card and driver version.
  3. This confirms that the proprietary Nvidia drivers have been successfully installed.

Step 6: Check Nvidia Info

  1. In the terminal, type: nvidia-smi
  2. This command will display the current version of the proprietary graphics driver and CUDA version.
  3. Ensure that the information displayed confirms the successful installation of the Nvidia drivers.

Step 7: Reboot the System Again

  1. Reboot your computer one more time to ensure all changes take effect.
  2. After the final reboot, check the Nvidia X Server Settings and run nvidia-smi again to confirm the drivers are working correctly.

Conclusion

By following these steps, you have successfully installed the proprietary Nvidia drivers on your Fedora 37/38 system. Enjoy improved graphics performance and compatibility with your Nvidia graphics card.