How do I completely purge and reinstall nvidia drivers?

Lately I’ve been having small crashes with certain games, and I would like to do a clean install of my proprietary nvidia drivers since I’ve been upgrading them for quite some months and idk? maybe they could be at fault?

I used the nvidia-installer-dkms script to install them. Thank you in advance!

You could purge them and revert back to nouveau open source drivers first and then reinstall the nvidia drivers.

sudo nvidia-installer -n

Reboot and should be on nouveau
Reinstall nvidia drivers.

sudo nvidia-installer-dkms

thank you very much! I ran

sudo nvidia-installer-dkms -n

and everything seemed to have been removed, except some shared dependency with steam I believe, about vulkan. I didn’t think much of it, but when I rebooted I couldn’t get past the “starting version…” couple of text lines, the ones just after you select which kernel to load.

I simply switched to a console by pressing ctrl-alt-F2 and ran nvidia-installer-dkms, and it then worked again on reboot. I wonder if my nouveau drivers weren’t working for some odd reasons?

Is it working now?

inxi -Ga

I think so, yeah! Still confused about nouveau drivers not working, but that’s for another topic in the future maybe. thank you for your help!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.