How to Re-install Nvidia Video Driver on Linux Mint

After I updated the Nvidea video card driver to a new version on my gaming computer, it started causing issues for me when I ran Ryujinx with almost all the games I have. For instance, playing Diablo 3, I saw the frame rate dropping from 60 fps to 43 fps. The game became stuttering. I also tried Dragon Quest Builder 1, and the rendering had a terrible flickering issue.

At first, I was pretty disappointed with this problem. Then I started looking into this problem. I suspected the Nvidia software update for Linux was the culprit. I restarted the computer two times, then tried Ryujinx. The issue persisted. I decided it might be best to install the old version back. What I have to do:

  • Find out what my current version of the video driver, and use that to find the previous version.
  • Uninstall the current version of the video driver.
  • Install the old version.
  • Reboot computer and test the installation.

I didn't know how to do any of these on Linux, so I had to look them up. Turned out that all the commands I needed is the apt command with the right parameters. To find all versions of the Nvidia drivers, I can use this command:

sudo apt list nvidia*

This command not only list all the available NVidia drivers, but also the one that is installed. The one that is installed will have "installed,automatic" on the right side of this driver version. Based on this command's output I see that I have "nvidia-utils-550" installed. I want to uninstall it, then install the same driver of one version prior. If this version also fails to work, I have to search the same driver with one version before and so on until there is one that works perfectly with Ryujinx.

Based on the current version, I believe one version prior should be "nvidia-utils-535". The next step is to uninstall the current version. This is done with the following two commands:

sudo nvidia-installer --uninstall

This first command will uninstall the official NVidia driver. Regardless what the output, I will use the next command to do a purge of Nvidia related components:

sudo apt purge nvidia*

After this is done, I need to reboot the computer. You might wonder, after rebooting, is it possible that I won't have the desktop available. It is certainly possible. However, with my gaming computer, I have an Intel HD graphics card too. So it is not possible that I won't see the desktop. Once I boot the PC, I use the next command to install the older version of the NVidia video driver:

sudo apt install nvidia-utils-535

After the installation, I need another reboot so that the video driver can be booted for use. After the desktop display correctly, I ran Ryujinx with Diablo 3 and see if there is still issues with it. And it ran smoothly as expected. I tried Ryujinx with some other games, all works without any stuttering issues. Disaster avoided. Yay!

Your Comment


Required
Required
Required

All Related Comments

Loading, please wait...
{{cmntForm.errorMsg}}
{{cmnt.guestName}} commented on {{cmnt.createDate}}.

There is no comments to this post/article.