Hi there - I’m on a fresh install of rocky 9.5 and cannot for the life of me get nvidia drivers working with my 5080. I’ve tried using both the official Nvidia repos as well as rpmfusion.
Following this guide works up until the scriptlets are running, my gui freezes up and I have to manually pull the plug from my PC, which breaks the drivers since they’re only partially installed.
Is there something I’m missing? Since the 5080 is still relatively new I’m wondering if I need to use the Nvidia .run installer (which I understand isn’t advisable) until the package managers get sorted out. Any help is appreciated.
What is the 5080? GTX? RTX? I’m trying to use this: Download The Latest Official GeForce Drivers to try to find out if the 570 actually supports your card or whether you have to use an older one. But without knowing the series, difficult to help.
@iwalker It’s an RTX 5080 - since the card is so recent I believe it might require the 570 drivers
According to the nvidia website, 575 or 570 version should work for it. But you can perhaps try older ones to see, like 470.
That is not the gist of it.
NVidia’s CUDA repository has two sets of drivers: proprietary and open.
See dnf module list nvidia-driver
The nvidia-driver:*-dkms
are the proprietary.
The nvidia-driver:*-open
are the open.
The proprietary driver does not support Blackwell chips, which the 5080 is. Only the open does.
Hmm, I’ve tried the open driver, and I’ve tried the open driver with kernel-ml installed as well from elrepo, no luck.
If anyone else is still experiencing a similar issue, I was able to solve by doing the following:
There were actually two problems, the first was that Rocky was attempting to use my CPU integrated graphics instead of my GPU - deactivating it in the BIOS prior to installing Rocky fixed a ton of issues with the Rocky installer and pre-nvidia driver GUI environment.
Secondly, it seems that the nvidia post-install scriptlets actually terminate the nouveau drivers immediately, which was why my GUI would break mid-driver install. Installing the drivers in a terminal-only environment did the trick:
Reboot into the terminal without loading the GUI by changing the systemctl default mode:
sudo systemctl set-default multi-user.target
sudo systemctl reboot
Then follow the nvidia driver install steps when you boot into the terminal. Install the “open-dkms” version of the driver.
After the drivers install, switch the systemctl default back to the GUI and reboot:
sudo systemctl set-default graphical.target
sudo systemctl reboot