How to properly revert from nvidia to nouveau in fedora 37

If you installed the nvidia drivers from rpmfusion then they can be cleanly removed by dnf
sudo dnf remove '*nvidia*' --exclude nvidia-gpu-firmware
You then would also need to make one additional edit for the final cleanup.
sudo nano /etc/default/grub and remove

rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init

from the line beginning with GRUB_CMDLINE_LINUX=

Then run sudo grub2-mkconfig -o /boot/grub2/grub.cfg to make the changes effective in grub before rebooting.

If you did not install the drivers from rpmfusion the removal would be different.

2 Likes