1

I am running Ubuntu 18.10 on an i7-8 with 32Gb RAM and an NVIDIA RX-2080. We installed and x failed after a while. I had installed NVIDIA drivers. It seemed like the nouveau driver started running, no idea why. A couple of weeks later the resolution suddenly went to hell one morning, and the machine is barely responding.

Now it happened again. We blacklisted the nouveau driver, still didn't work, re-installed NVIDIA. Now that the machine works again, can anyone explain why this happens, and whether blacklisting is likely to solve this problem? Is there anything else I can do?

3
  • 3
    'Couple of Weeks' won't be an issue. Ubuntu 18.10 doesn't have a couple of weeks of life yet, so I'd worry more about release-upgrading to 19.04 (lists.ubuntu.com/archives/ubuntu-announce/2019-July/000246.html) My point is the more changes you make, the less simple the release-upgrade step will be
    – guiverc
    Jul 11, 2019 at 13:32
  • how did you install the nvidia driver? if it's not updating with kernel updates, the module will break... did you install nvidia through the additional drivers tab? also look into installing nvidia drivers from PPA... this will ensure they get updated with the kernel Jul 11, 2019 at 14:40
  • 3
    18.10 hits End of Life this month and questions like this will soon be off topic. For continued support you should consider 19.04 upgrade for about 6 months of support or 18.04 downgrade for about 9 years of support. Jul 11, 2019 at 15:04

1 Answer 1

2

If your graphics driver is not getting updated with your kernel, it will stop working after a kernel upgrade and your system will revert to the nouveau or frame buffer drivers to run your video hardware.

This happened to me when I installed drivers by downloading them from the NVIDIA website. To solve the problem I added the Graphics Drivers PPA and installed the NVIDIA drivers through ubuntu-drivers command.

Start by uninstalling your old NVIDIA driver,

sudo apt-get purge nvidia-*

and then follow these steps:

1. Add the PPA

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update

2. Install Video Drivers For Your Card

Now as posted in this answer, you need to install the recommended driver for your card.

sudo ubuntu-drivers devices

This will output something similar to this:

== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==

vendor   : NVIDIA Corporation
modalias : pci:v000010DEd00000DDAsv000017AAsd000021D1bc03sc00i00
model    : GF106GLM [Quadro 2000M]
driver   : xserver-xorg-video-nouveau - distro free builtin
driver   : nvidia-304-updates - distro non-free
driver   : nvidia-304 - distro non-free
driver   : nvidia-331 - distro non-free **recommended**
driver   : nvidia-331-updates - distro non-free

Then just install the driver labeled "recommended", so in this example it would be:

sudo apt-get install nvidia-331

Once this is done reboot and you should be good to go. Next time your kernel gets updated, your video driver will get updated with it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .