I followed a recipe provided elsewhere on this forum (tip of the hat to @Ritov) that worked just fine for me:
- In
/etc/default/grub
, add the following phrase to the value ofGRUB_CMDLINE_LINUX
:module_blacklist=nouveau
- Create
/etc/modprobe.d/nouveau.conf
and add the following line:blacklist nouveau
- Rebuild modules
depmod -a
- Rebuild your grub config:
grub2-mkconfig --output=/boot/efi/EFI/rocky/grub.cfg
I did all the above from a shell with root privileges.
I had no further issues or complaints from nouveau or my nVidia card after doing this.