0

After various issues with Nvidia drivers (GT1030), trying various ones in the Ubuntu software manager with different levels of success, I went to the Nvidia site and searched for Linux drivers, for which very recent ones for my card seem to exist.

But the download was a .run file, something I'd not seen before. Is this right for Ubuntu? It would only let me run it in recovery mode (as said an Nvidia driver was already loaded) and once installed, instead of auto logging on, I got the login window with my account, but was unable to log in. I restored from Time Shift.

Can someone please enlighten me as to what I did wrong?

Many thanks.

Roger06
  • 133

1 Answers1

1

Nvidia has been packaging its drivers in that format for decades so I wouldn't worry so much but you will have several problems with these drivers:

  • First they will be not updated with the Ubuntu package manager (apt)
  • Second they could create conflicts with the Ubuntu packages.

Perhaps if you give more information about the problems that you have with the controllers shipped with Ubuntu, I can try to help you better. Is this a laptop?

If you still interested on installing them you should go to a terminal with ctr+alt+f4 and login. Then type the following:

sudo apt apt-get -y install build-essential linux-headers-`uname -r` gcc-multilib
sudo systemctl stop gdm # maybe you need to press ctr+alt+f4 again
sudo sh HERE_YOUR_NVIDIA_RUN_FILE.run
sudo reboot

After the last cmd answer yes to any question that nvidia installer asks... unless you can foreseen any problem doing this.

To uninstall this drivers you can do

sudo sh HERE_YOUR_NVIDIA_RUN_FILE.run --uninstall

If you want to uninstall the Ubuntu's:

sudo apt-get remove --purge '^nvidia-.*'