This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Nvidia driver not starting after update

Tags: None
(comma "," separated)
User avatar
thunder422
Registered Member
Posts
81
Karma
1
OS
I updated from 5.16.3 to 5.16.4 and not the nvidia driver is not starting (on one of two computers I upgraded, the other was fine after the update, but desktops but have different hardware). Both have kernel 4.15. I'm not sure where to start to diagnose the problem.

I knew something was amiss after the update (after a reboot) when there was a black border (3/4" on top/bottom, 1" on sides) around the desktop. System systems seem to indicate that it is running at 1920x1080 (what the monitor is). I can't tell if is scaling it down or if there are actually less dots being displayed (everything is much smaller though).


Currently running KDE Neon 5.22.5 and 5.19.4 (with Windows 10 in a VM); migrated from Linux Mint 17.3
User avatar
thunder422
Registered Member
Posts
81
Karma
1
OS
Okay, so this problem was caused by the weirdest thing. Before the upgrade, I had the gcc compiler set to version 4.8.5 (work thing). This apparently prevented the nvidia driver from updating properly - I wasn't updating the nvidia driver, but I suspect there was a new kernel version with the updates and that triggered the nvidia drivers to build something for the new kernel, which requires the gcc compiler, and apparently version 4.8.5 is not new enough. Once I set it back to the default gcc (7.4.0), did the commands below and rebooted, all was working.
Code: Select all
sudo apt remove --purge nvidia-*
sudo ubuntu-drivers autoinstall
The other computer where there was no problem with the update had gcc set to version 6.5.0 (again a work thing), which must have been sufficient. I've seen this problem before where gcc had to be set to the default version for an update to work properly (in this case it was with VmWare Player).


Currently running KDE Neon 5.22.5 and 5.19.4 (with Windows 10 in a VM); migrated from Linux Mint 17.3


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]