Posts AMD to Nvidia - Linux Mint and Cinnamon Crashes
Post
Cancel

AMD to Nvidia - Linux Mint and Cinnamon Crashes

I upgraded from an AMD RX-480 to an Nvidia RTX 2070 Super. What an ugprade. The windows side of thing was pretty painless except for the fact that I had to completely reinstall my OS. Fortunately, for that, I had this installer script I lifted (with some small tweaks) from jessfraz and it proved super helpful. For my Linux workstations, I have an ansible playbook I run that helps if I’m starting from scratch, but not so much if I just need to make a hardware change.

When I’d login, I’d get an error that Cinnamon had crashes and it would ask if I wanted to reload it, which didn’t help. Turns out my AMD drivers were still installed and conflicting, even though I’d already gone into Driver Manager and told it to use the latest Nvidia proprietary drivers.

Finding out how to fix this from forum posts was a pain since so many old fixes don’t apply any more and you have to get multiple pages deep before you find anything. This hopefully helps someone in the same boat.

Where you might be

If you’re like me, you’ve previosuly installed the AMD proprietary drivers and once you’ve done the hardware swap, when you boot into linux you find cinnamon crashing every time you login.

Get Ready

Make sure you system is fully upgraded, all these steps were done on Linux Mint 19.3 Tricia.

1
2
3
4
sudo apt update
sudo apt ugprade -y
sudo apt autoremove -y
sudo apt autoclean -y 

Tweak the Uninstaller

You’ll need to remove those proprietary drivers first. The script explicitly checks that you’re running Ubuntu by looking in the /etc/os-release file and checking for the ID. You’ll need to edit the /usr/bin/amdgpu-pro-uninstall script, replace “ubuntu” with “linuxmint” and run the uninstallation script again.

Once the drivers are removed, reboot, and you should be back with properly working drivers. Reboot your machine

That’s it.

Not much fanfare here, just wanted to write this down in case it helps someone else.

This post is licensed under CC BY 4.0 by the author.

Contents

Trending Tags