How to Install Proprietary Nvidia Drivers on Fedora 37/38
2 min read
7 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
- Open the terminal on your Fedora 37/38 system.
- Enter the following command:
sudo dnf update -y
- This command will update the system packages. Let it complete the update process.
- If prompted to reboot the computer after the update, do so and then return to the terminal.
Step 2: Install Akmod Nvidia
- In the terminal, type:
sudo dnf install akmod-nvidia
- Confirm the installation by typing 'y' when prompted.
- The Akmod Nvidia package is necessary for Fedora 37/38.
- Allow the installation process to complete.
Step 3: Support Wayland on Fedora 36
- To support Wayland on Fedora 36, enter the command:
sudo dnf install xorg-x11-drv-nvidia-cuda
- Press Enter to execute the command.
- This step ensures that even the proprietary Nvidia graphics will function properly on Wayland.
Step 4: Reboot the System
- Once the installation is complete, restart your computer.
- After the reboot, the proprietary Nvidia drivers should be active and functioning.
- It's recommended to use X.Org, even though Wayland supports Nvidia graphics.
Step 5: Verify Installation
- To verify the installation, open the Nvidia X Server Settings on your computer.
- Check for information regarding the graphics card and driver version.
- This confirms that the proprietary Nvidia drivers have been successfully installed.
Step 6: Check Nvidia Info
- In the terminal, type:
nvidia-smi
- This command will display the current version of the proprietary graphics driver and CUDA version.
- Ensure that the information displayed confirms the successful installation of the Nvidia drivers.
Step 7: Reboot the System Again
- Reboot your computer one more time to ensure all changes take effect.
- 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.