Install the NVIDIA drivers on Fedora 37 [Hybrid]

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

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 :)