Wednesday, February 3, 2016

Installing Nvidia Drivers / Power Use bug


A few months back I installed Ubuntu for the first time on a new laptop and started getting accustomed to it. After doing the initial setup and installing nvidia drivers for my dedicated gpu I encountered a bug that would cause the drivers to not unload properly once prime-select was switched to intel.


https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1778011


Now as I'm looking at this, and correct me if I'm wrong, the bug seems to be resolved.


Does that mean that I have to install nvidia-390 and that will contain the bugfix or do I need to install a different driver?


Nvidia-396 which seems to be the latest stable driver returns a not found when trying to install from terminal.


Using ubuntu 18.04.01 LTS


Here's the output of inxi -G


Graphics:  Card-1: Intel UHD Graphics 620
Card-2: NVIDIA Device 1d12
Display Server: x11 (X.Org 1.19.6 )
drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1920x1080@59.98hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2)
version: 4.5 Mesa 18.0.5


I figured out a fix.


While having nvidia-390 installed I couldn't install nvidia-driver-396 as the terminal would just spit out errors that I couldn't fix.


The newest drivers refused to download and install until the point where I ran


sudo apt remove nvidia-390
sudo apt-get purge nvidia*

(I also ran sudo apt-get purge bumblebee* since I wasn't sure if that had installed anything related to nvidia)


Once that was done I ran


sudo apt-get install nvidia-driver-396

And it worked perfectly. I still can't see the name of my video card in Ubuntu itself, but everything seems to be working just fine.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...