2

I can't find any related info about this, maybe because of how new 19.04 is?

I don't see the proprietary drivers in the additional software window... I only see the open source drivers which don't perform very well...

I've tried all kinds of things to improve performance here, install the .run file from the nvidia site, use bumblebee (never got it to work either because the nvidia module is not loaded or something like this).

Also if I install the .run file from the website, glxgears shows me thousands of fps, but the games don't work and Ubuntu in general is really laggy...

Any idea what else could I try? Oh, I also disabled the secure boot.

As requested, the output of ubuntu-drivers devices

➜  ~ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001D10sv00001043sd0000163Ebc03sc02i00
vendor   : NVIDIA Corporation
model    : GP108M [GeForce MX150]
driver   : nvidia-driver-410 - third-party free
driver   : nvidia-driver-430 - third-party free recommended
driver   : nvidia-driver-390 - third-party free
driver   : nvidia-driver-415 - third-party free
driver   : xserver-xorg-video-nouveau - distro free builtin

1 Answers1

1

Please, make sure that proprietary drivers and restricted software repositories are enabled. You need to have these enabled in order for proprietary drivers to show up under additional drivers tab. To do this, please run in the terminal:

sudo software-properties-gtk

Then, make sure to enable the repositories by selecting the check marks like in the image below and clicking on Close when done:

enter image description here

Then, please click on Reload like in the image below:

enter image description here

After that, please wait for the repositories to reload before you proceed to installing your GPU's drivers as usual.

Based on the output you posted of ubuntu-drivers devices:

The recommended proprietary NVIDIA driver for your system is nvidia-driver-430. You can install it like so:

sudo apt install nvidia-driver-430

You will need to reboot after that for the changes to take effect.

You can as well experiment with the other available proprietary NVIDIA drivers nvidia-driver-410, nvidia-driver-390, and nvidia-driver-415. like so:

sudo apt install nvidia-driver-VERSION_NUMBER

Replace VERSION_NUMBER with the version number you wand like 410, 390, or 415

Please be careful if you decide to install other versions that are not recommended for your system. Your desktop GUI might not work properly.


After installation and reboot you might need to select NVIDIA GPU and disable INTEL GPU if you have dual GPU. You can do this by running the following in the terminal:

sudo nvidia-settings

Then select the NVIDIA GPU like in the image below ( you might get a slightly different screen with more options ) but what you need to change is prime:

enter image description here

After that, please reboot your system.


Regarding the error message you get:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

It appears that you have attempted to install, purge and reinstall different NVIDIA drivers too many times but not all of the attempts were successful, so your system ended up with mixed bits and pieces of every driver.

To fix this, you will need to purge every bit of NVIDIA software on your system, by running the following command in the terminal:

sudo apt purge nvidia-*

After that, please run the following command to install a clean copy of the NVIDIA drivers by running the following command in the terminal:

sudo ubuntu-drivers autoinstall 

Then, please reboot your system after that for the new driver to be loaded.

Raffa
  • 34,963