Bug 28893

Summary: nvidia drivers and Xorg can't start on 5.10.33 kernel version, worked in 5.10.27 under Mageia 7
Product: Mageia Reporter: Michael Brown <amaranthine.technology>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: ouaurelien
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: kernel-desktop-5.10.33-1.mga7 CVE:
Status comment:

Description Michael Brown 2021-05-08 20:06:49 CEST
This is reoccurring issue that seems to get fixed in the next kernel update, then it seems to break in another update later on, so it's hard to keep track of when the issue is fixed for a long time. It seems to be related to certain Nvidia video cards because some of the systems I have are not affected sometimes. So this might be a combination of the type of video card and Xorg, not really sure how to tell the difference. Basically, as of writing this, kernel 5.10.33 is not working on my system, but if I boot into kernel 5.10.27, everything is working fine again.

Xorg version - 1.20.11

Video Card Details:
GM107 [GeForce GTX 750 Ti]

Other System where kernel-desktop-5.10.33-1.mga7 is working fine with Xorg
Video Card Details:
GT218 [GeForce 8400 GS Rev. 3]
Comment 1 Aurelien Oudelet 2021-05-10 13:43:59 CEST
Sum up:

Kernel 5.10.33-1.mga7 + Xorg version - 1.20.11 + Nvidia GM107 [GeForce GTX 750 Ti] not working? But 5.10.27 seems OK?

There was a Nvidia driver update released for Mageia 7 as Bug https://bugs.mageia.org/show_bug.cgi?id=28854

Do you use nvidia nonfree driver?
Could you share us the output of 'dkms status' command?

CC: (none) => ouaurelien

Aurelien Oudelet 2021-05-10 14:25:49 CEST

Summary: Xorg can't start on this kernel version, worked in previous version => nvidia drivers and Xorg can't start on 5.10.33 kernel version, worked in 5.10.27 under Mageia 7
Status: NEW => NEEDINFO

Comment 2 Aurelien Oudelet 2021-05-10 14:31:43 CEST
@reporter please do:

$ inxi -SGxx

$ dkms status


Here are my own output:

$ inxi -SGxx
System:    Host: mageia.local Kernel: 5.10.35-desktop-1.mga8 x86_64 bits: 64 compiler: gcc v: 10.3.0 
           Desktop: KDE Plasma 5.20.4 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM Distro: Mageia 8 mga8 
Graphics:  Device-1: NVIDIA TU116 [GeForce GTX 1660 Ti] vendor: Gigabyte driver: nvidia v: 460.73.01 
           bus ID: 01:00.0 chip ID: 10de:2182 
           Display: x11 server: Mageia X.org 1.20.11 compositor: kwin_x11 driver: nvidia,v4l resolution: 
           1: 1920x1080~60Hz 2: 1920x1080 s-dpi: 81 
           OpenGL: renderer: GeForce GTX 1660 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 460.73.01 direct render: Yes

$ dkms status
nvidia-current, 460.73.01-1.mga8.nonfree, 5.10.33-desktop-1.mga8, x86_64: installed 
nvidia-current, 460.73.01-1.mga8.nonfree, 5.10.35-desktop-1.mga8, x86_64: installed 
virtualbox, 6.1.22-1.mga8, 5.10.33-desktop-1.mga8, x86_64: installed 
virtualbox, 6.1.22-1.mga8, 5.10.35-desktop-1.mga8, x86_64: installed 
virtualbox, 6.1.22-1.mga8, 5.10.33-desktop-1.mga8, x86_64: installed-binary from 5.10.33-desktop-1.mga8
Comment 3 Michael Brown 2021-05-10 17:05:24 CEST
While booted into kernel-desktop-5.10.33-1.mga7 (64 bit)

$ inxi -SGxx
-bash: inxi: command not found

$ dkms status
nvidia-current, 460.73.01-1.mga7.nonfree, 5.10.33-desktop-1.mga7, x86_64: installed 
nvidia-current, 460.73.01-1.mga7.nonfree, 5.10.27-desktop-1.mga7, x86_64: installed 
virtualbox, 6.1.22-1.mga7, 5.10.33-desktop-1.mga7, x86_64: installed-binary from 5.10.33-desktop-1.mga7
virtualbox, 6.1.18-1.mga7, 5.10.25-desktop-1.mga7, x86_64: installed-binary from 5.10.25-desktop-1.mga7
virtualbox, 6.1.18-1.mga7, 5.10.27-desktop-1.mga7, x86_64: installed-binary from 5.10.27-desktop-1.mga7
Comment 4 Michael Brown 2021-05-10 17:06:47 CEST
Yes, using the nvidia nonfree driver. (64 bit)
Comment 5 Thomas Backlund 2021-05-10 17:18:47 CEST
Check if there is a log message about mis-matched nvidia driver, or simply when booted into kernel-desktop-5.10.33-1.mga7 , do as root:

dracut -f

and reboot

does it work then ?
Comment 6 Michael Brown 2021-05-10 17:29:18 CEST
I looked through the Xorg log file and saw this:

    41.522] (--) NVIDIA(GPU-0): CRT-0: disconnected
[    41.522] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[    41.522] (--) NVIDIA(GPU-0): 
[    41.525] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    41.525] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    41.525] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[    41.525] (--) NVIDIA(GPU-0): 
[    41.526] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    41.526] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    41.526] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    41.526] (--) NVIDIA(GPU-0): 
[    41.538] (--) NVIDIA(GPU-0): HPN HP 27f (DFP-2): connected
[    41.538] (--) NVIDIA(GPU-0): HPN HP 27f (DFP-2): Internal TMDS
[    41.539] (--) NVIDIA(GPU-0): HPN HP 27f (DFP-2): 340.0 MHz maximum pixel clock
[    41.539] (--) NVIDIA(GPU-0): 
[    41.539] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    41.539] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[    41.539] (--) NVIDIA(GPU-0): DFP-3: 960.0 MHz maximum pixel clock
[    41.539] (--) NVIDIA(GPU-0): 
[    42.072] (--) NVIDIA(GPU-0): CRT-0: disconnected
[    42.072] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[    42.072] (--) NVIDIA(GPU-0): 
[    42.076] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    42.076] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    42.076] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[    42.076] (--) NVIDIA(GPU-0): 
[    42.076] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    42.076] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    42.076] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    42.076] (--) NVIDIA(GPU-0): 
[    42.089] (--) NVIDIA(GPU-0): HPN HP 27f (DFP-2): connected
[    42.089] (--) NVIDIA(GPU-0): HPN HP 27f (DFP-2): Internal TMDS
[    42.089] (--) NVIDIA(GPU-0): HPN HP 27f (DFP-2): 340.0 MHz maximum pixel clock
[    42.089] (--) NVIDIA(GPU-0): 
[    42.089] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    42.089] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[    42.089] (--) NVIDIA(GPU-0): DFP-3: 960.0 MHz maximum pixel clock
[    42.089] (--) NVIDIA(GPU-0):
Comment 7 Michael Brown 2021-05-10 17:30:11 CEST
Also, the "dracut -f" worked, I'm not booted into without any issues.
5.10.33-desktop-1.mga7 #1 SMP Thu Apr 29 14:25:20 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Comment 8 Michael Brown 2021-05-10 17:31:17 CEST
Should read (typo)
Also, the "dracut -f" worked, I'm NOW booted into without any issues.
5.10.33-desktop-1.mga7 #1 SMP Thu Apr 29 14:25:20 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Comment 9 Aurelien Oudelet 2021-05-10 17:39:58 CEST
(In reply to Michael Brown from comment #8)
> Should read (typo)
> Also, the "dracut -f" worked, I'm NOW booted into without any issues.
> 5.10.33-desktop-1.mga7 #1 SMP Thu Apr 29 14:25:20 UTC 2021 x86_64 x86_64
> x86_64 GNU/Linux

Thanks, so nos this is fixed?

Seems you get hit by Nvidia drivers + kernel update in same RPM transaction and initrd was not properly updated...

Note: on Mageia 8 and Cauldron, updating nvidia-current and kernel in same transaction is working OK.


Note 2: for inxi, this is a useful tool for bugsquad team to know about reporter system. You can install it with "urpmi inxi" even on Mageia 7.

Status: NEEDINFO => RESOLVED
Resolution: (none) => FIXED