Linux kernel 5.3.0-26 breaks nvidia driver

Bug #1860306 reported by Max Poorman
78
This bug affects 13 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Upon installation of kernel update 5.3.0.26.95, after a reboot,
Second screen would not come on and nvidia control panel was missing majority of options
Graphics driver settings could not be changed and upon reinstallation attempt of nvidia driver 390, installation failed and drivers became corrupted. Ended up reinstalling OS, but discovered later that booting in an older kernel fixed the issue.

VERSION.LOG:

Ubuntu 5.0.0-32.34~18.04.2-generic 5.0.21

Release:

Description: Linux Mint 19.3 Tricia
Release: 19.3

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1860306

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Serge CLAUS (serge-t) wrote :

My syslog:
Jan 20 21:20:26 pollux gpu-manager[997]: Error: can't open /lib/modules/5.3.0-26-generic/updates/dkms
Jan 20 21:20:27 pollux gpu-manager[997]: Error: can't open /lib/modules/5.3.0-26-generic/updates/dkms

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Serge CLAUS (serge-t) wrote :

I confirm: /lib/modules/5.3.0-26-generic/updates is missing

Revision history for this message
Serge CLAUS (serge-t) wrote :

Using dkms manually:
sudo dkms install -m nvidia -v 390.116 -k 5.3.0-26-generic

DKMS make.log for nvidia-390.116 for kernel 5.3.0-26-generic (x86_64)
lundi 20 janvier 2020, 22:05:02 (UTC+0100)
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.3.0-26-generic »
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \

Revision history for this message
Arammys Augusto (arammys) wrote :

Same hear, when a updated my kernel version broke my system. I was using KDE neon testing edition and i think was bacause of this, then a reinstall my OS same thing... then i realize was that... someone has the solution? or near... Sorry about my english is not my first language.

Revision history for this message
André Desgualdo Pereira (desgua) wrote :

As stated here: https://forums.linuxmint.com/viewtopic.php?t=309784 the problem is that "Nvidia 390.116 driver does not have support for the 5.3 kernel, but the newer 390.129 version does".

Revision history for this message
André Desgualdo Pereira (desgua) wrote :

Kernel 5.0 works fine and can be used to boot and reinstall Nvidia driver if needed.

Revision history for this message
Terry Rudd (terrykrudd) wrote :

could you please test with the latest 5.3.0-29 kernel?

Revision history for this message
Diego (linuxmant) wrote :

I kept having the same issue for the last 6 months of updates (aprox).
Today I found the solution that worked for me at least; I hope this can help others.

Clean up ALL and fresh install NVIDIA drivers from ppa:graphics-drivers

sudo apt purge nvidia* libnvidia* screen-resolution-extras
sudo apt autoremove

dpkg -l | grep nvidia ** to make sure no nvidia pkg was left (i found 1 more), if any -> purge it

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

sudo apt install nvidia-driver-440 nvidia-dkms-440

** saw a line stating that the linux headers were not installed **

sudo apt install linux-headers-5.3.0-26 (replace with your current kernel version)

While doing this I see several messages of the nvidia module being built.

sudo reboot

Happiness!!!

Revision history for this message
André Desgualdo Pereira (desgua) wrote :

I sure can! But I need some direction where to get it. I found this site: https://kernel.ubuntu.com/~kernel-ppa/mainline/ but I didn't find the kernel 5.3.0-29.

Revision history for this message
Adam Smith (aasmith) wrote :

Easy fix that worked for me (on Mint 19.3): in the Driver Manager, an older Nvidia driver was selected (390). I manually changed it to 435, and on reboot I had my 2nd monitor back.

Revision history for this message
Terry Rudd (terrykrudd) wrote :
Revision history for this message
Seiichi Nakashima (ubuntu-linuxer) wrote :

my PC have 4 paratitions to use mbr, and every partitions install ubuntu-18.04.3.
I checked this problem at /dev/sda1 and /dev/sda2, and same result.

Today I use proposed update in software-updater at /dev/sda2 environment.
ubuntu-18.04.3 kernel-5.3.0-28 seem to work fine, but after login few min. slow.
then /dev/sda1 ubuntu-18.04.3 do samethings /dev/sda2,
but ubuntu-18.04.3 kernel-5.3.0-28 hung up, cannot use gui, only mouse moving can do.

Revision history for this message
André Desgualdo Pereira (desgua) wrote :

I've enable proposed following guidance from https://wiki.ubuntu.com/Testing/EnableProposed and tested the kernel 5.3.0-28 (kernel 5.3.0-29 isn't available from that channel).
I confirm Nvidia driver is break by kernel 5.3.0-28 (as much as kernel 5.3.0-26).

Revision history for this message
Jizhou Yang (teamchalise) wrote :

This is fixed for nvidia 390 drivers in 390.116 (tested on kernel 5.3.0-26).

See #1851162

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.