I have spent about 24 hours now trying to figure out how to enable my NVIDIA drivers in Fedora and have failed miserably. The drivers are installed but nvidia-settings command says “ERROR: NVIDIA driver is not loaded”. I have tried all the steps from [RPMFusion Nvidia HowTo]. I have also looked into [Optimus] part of the setting to set nvidia as primary GPU on
etc/X11/xorg.conf.d/nvidia.conf, but does not work.
Fedora version: 36
Device: Lenovo Legion y730
Nvidia: GTX 1080Ti
I wanted to completely disable nouveau and enable discrete graphics only.
GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="rhgb quiet nouveau.modeset=0 i915.modeset=0 rd.driver.blacklist=nouveau rd.driver.blacklist=i915 modprobe.blacklist=nouveau modprobe.blacklist=i915 nvidia-drm.modeset=1" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true
#This file is provided by xorg-x11-drv-nvidia #Do not edit Section "OutputClass" Identifier "nvidia" MatchDriver "nvidia-drm" Driver "nvidia" Option "AllowEmptyInitialConfiguration" Option "SLI" "Auto" Option "BaseMosaic" "on" Option "PrimaryGPU" "yes" EndSection Section "ServerLayout" Identifier "layout" Option "AllowNVIDIAGPUScreens" EndSection
nvidia-settings: Nothing is loaded
Please help me resolve this. I can’t run any software that requires a discrete GPU. Thanks a lot