Nvidia 390 Needs Patched for Kernel 6.5+

Bug #2051436 reported by Daniel Letzeisen
This bug report is a duplicate of:  Bug #2028165: nvidia-dkms-* FTBS with linux 6.5. Edit Remove
56
This bug affects 10 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Supposedly, this was solved in Ubuntu 23.10, but the package never made it out of the mantic-proposed repository: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/2028165/comments/16
Nor was it backported to Ubuntu 22.04

As a temporary measure, I uploaded a patched version to a PPA for Ubuntu 22.04 (and added a patch for 6.6/6.7): https://launchpad.net/~dtl131/+archive/ubuntu/nvidiaexp

Tags: jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel Letzeisen (dtl131) wrote (last edit ):

Okay, I see bug 2035189 officially ended nvidia 390. I would suggest that it continue to be maintained in the unofficial graphics driver PPA (as long as it continues to build with community patches) if Ubuntu does not want it in their repository.

tags: added: jammy
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for the bug report. I've opened a jammy task in bug 2028165 to track this.

Revision history for this message
bgd (culitabogdan-6) wrote :

I get the same issue :( on

Linux diana-desktop 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy

Revision history for this message
Daniel Letzeisen (dtl131) wrote (last edit ):

@bgd. Either use the PPA I linked to ( https://launchpad.net/~dtl131/+archive/ubuntu/nvidiaexp )
or follow along with the master bug ( https://bugs.launchpad.net/bugs/2028165 ) to see if Ubuntu fixes it.

Revision history for this message
Jonathan Higdon (jphigdon9999) wrote :

I have the same issue. When i start the computer normally it stalls after the showing the ubuntu logo.
So I can only use ubuntu with version 6.2.

Revision history for this message
Daniel Letzeisen (dtl131) wrote (last edit ):

Jonathan, either use the PPA in the bug description or use the "GA" kernel (5.15.x). They're not going to fix this and the 6.2 kernel series is EOL, so it's not wise to keep running that.

https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/2035189/comments/1

Revision history for this message
Ginés Utrera Pavón (myzras) wrote :

Daniel, the Experimental version of Nvidia 390.xx driver for kernels up to 6.8, would it work on Ubuntu 24.04?

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

@Ginés: Theoretically, it should. I made a package for Noble/24.04 in the PPA and it seemed to build/install correctly in my Xubuntu 24.04 VM
Keep in mind that the only Nvidia card I own is sitting in my closet, so I personally can't test whether the driver functions correctly once installed. If you have issues with it, the only thing I can suggest is making sure you're using Xserver and not Wayland.

Revision history for this message
Ginés Utrera Pavón (myzras) wrote :

Thank you @Daniel. I just installed it on Xubuntu 24.04 (with X11 obviously), and when it restarted I had a black screen, so I have to purge the package from recovery mode to get back to normal. ;(

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

@Ginés: Thanks for the feedback. Are you using a laptop or desktop? I've gotten a few reports of black screens this week on 24.04
I guess I'll have to pull out the old GTX950 and try to troubleshoot it :(

If anyone else reading this has gotten the 390 driver working on 24.04, please let me know.

Revision history for this message
Ginés Utrera Pavón (myzras) wrote (last edit ):

@Daniel: It happened to me with a laptop. I look forward to an update that fixes the problem. :)

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Okay, I can confirm that the 390 driver is causing boot issues on 24.04, both laptop and desktop.
I've removed the Noble package from the PPA for now because I don't want to break anyone else's shiny new Noble install. I apologize for any inconvenience this caused.

Looking at the log, I see the nvidia kernel module(s) loaded okay, but there's some some sort of crash involving nvidia-smi (invalid stack frame pointer).

I don't know if I'll be able to resolve this. If anyone wants me to reupload the Noble package to a different PPA so that they can play with it, let me know.

Revision history for this message
Ginés Utrera Pavón (myzras) wrote :

Thank you very much @Daniel, I hope you can solve it, many of us would be very grateful.

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.