Hi,
I’m fairly new to the rocky ecosystem and have just tried to install the nvidia driver and blacklisted nouveau. I’ve gone through several attempts to get this working but for some reason llvmpipe still shows up as the OpenGL Renderer. I don’t immediately know how to fix this or what steps I actually need to take to fix this. I’ve tried ChatGPT and Google and each time I follow steps from either my gui either disappears or the problem is just not resolved in any meaningful way.
Let me know what information you need or if there’s any kind of output you’d like to see as I’m not sure what would be helpful to provide in this case.
Thanks
I do usually start from “clean slate” (nouveau in use, no files from NVidia):
dnf install epel-release
dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel9/x86_64/cuda-rhel9.repo
dnf module enable nvidia-driver:latest-dkms
dnf install nvidia-driver nvidia-driver-cuda nvidia-kmod-common nvidia-modprobe nvidia-settings nvidia-xconfig dnf-plugin-nvidia kernel-devel-matched dkms
systemctl reboot
The stream nvidia-driver:latest-dkms
has the proprietary version (and my card is too old for the open version).
For Blackwell cards (5000-series) one has to use the nvidia-driver:open-dkms
stream.
The above is for Rocky 9. For Rocky 8 the repo definition is in https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo
If I’ve tried installing before, how can I make my system be in a “clean slate” state?
I have installed drivers from RPM packages, and have not modified kernel cmdline manually.
Therefore, the following has worked for me as “back to default”:
systemctl set-default multi-user.target
dnf remove \*nvidia\*
dnf remove --oldinstallonly
dnf module reset nvidia-driver
systemctl reboot
The *.run
installer does have options too. Perhaps there is --uninstall
?