Mohammed Tayeh
Tayeh's blog

Tayeh's blog

Install the NVIDIA drivers on Fedora 37 [Hybrid]

Photo by Christin Hume on Unsplash

Install the NVIDIA drivers on Fedora 37 [Hybrid]

how to install NVIDIA proprietary drivers on Fedora 37 with Hybrid Switchable Graphics [Intel + Nvidia GeForce]

Mohammed Tayeh's photo
Mohammed Tayeh
·Nov 15, 2022·

2 min read

Subscribe to my newsletter and never miss my upcoming articles

Table of contents

  • identify your Nvidia graphic
  • Enable RPM fusion
  • update your system
  • install Nvidia driver
  • check the installation
  • install cuda [optional]

how to install NVIDIA proprietary drivers on Fedora 37 with Hybrid Switchable Graphics [Intel + Nvidia GeForce]

Backup important files before you start the installation. And this is of course at your own risk, because graphic cards, components and monitors are different and some combinations might cause totally unexpected results.

identify your Nvidia graphic

lspci -vnn | grep VGA

the output of the above command will be like this:

00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-H GT2 [UHD Graphics] [8086:9bc4] (rev 05) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile] [10de:2191] (rev a1) (prog-if 00 [VGA controller])

Enable RPM fusion

sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

update your system

sudo dnf update -y

It is recommended to reboot your system after the update if needed

install Nvidia driver

sudo dnf install -y gcc kernel-headers kernel-devel akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs

after completing the installation run this command ps aux | grep akmod you will see some process related to building the akmod, wait until all is complete and then reboot your system.

check the installation

image.png

image.png

install cuda [optional]

sudo dnf install xorg-x11-drv-nvidia-cuda

after installing Cuda you can use the command nvidia-smi

share your fedora Setting -> About in comments :)

 
Share this