gridhead/nvidia-auto-installer-for-fedora-linux

Fedora 34 - Nvidia driver not loading

Closed this issue · 1 comments

Hello,

Today I attempted to install the nvidia drivers using this tool, I used the following options:

--rpmadd --driver --nvrepo --plcuda

However it can be noted that after a reboot it does not load the Nvidia drivers. As shown by nvidia-smi not working and the about page under settings showing NV166.

$ sudo nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

image

I am running an 2060 Super.

I didn't want to manually force the driver over to Nvidia as I believe this tool should do as such. if this is not the intention of the package then let me know and I am more than happy to close my issue.

After reading over the pre-reqs for nvautoinstall I remembered that there is high potential for Secure Boot to be enabled as my previous install was Windows.

I checked BIOS and low and behold it was! So I disabled it.

I then removed all Nvidia packages with sudo dnf erase '*nvidia*' and rebooted. After which I ran the nvautoinstall again, one final reboot later it seems to be working!

I will leave this issue open for the moment but I believe this is resolved.

EDIT: I can confirm the driver loads properly now after disabling secure boot. Was able to run nvidia-smi and it provided the expected ouput.