
Nvidia in Fedora
Table of Contents
Let’s get drivers for Nvidia.
Good place to start: https://rpmfusion.org/Howto/NVIDIA
Determing the card:
/sbin/lspci | grep -e VGA
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c6)
Get the drivers:
sudo dnf update -y # and reboot if you are not on the latest kernel
sudo dnf install akmod-nvidia # rhel/centos users can use kmod-nvidia instead
sudo dnf install xorg-x11-drv-nvidia-cuda #optional for cuda/nvdec/nvenc support
Once the module is built, "
modinfo -F version nvidia
should outputs the version of the driver such as 440.64 and not modinfo: ERROR: Module nvidia not found.
Well mine showed error. I am restarting and then I’ll check.
Yup after reboot it is showing 565.77
.
Install the GPU Swticher
Get the extension manager from here.
This one you need to get, as I have talk about it my previous blog too.
The repo: https://github.com/bayasdev/envycontrol
Get the envycontrol
Read the installation guide here.
Install the extension:
Select Nvidia from drop down.
Combined post:
To use GPU in Nobara(Fedora)
Install extension manager
GPU profile selector
For this to work you need envycontrol
https://github.com/geminis3/envycontrol
Profiler
- Switch to Nvidia
sudo envycontrol -s nvidia --force-comp --coolbits 24
Check what coolbits is then use.