Bug 25826 - dkms-nvidia390 hangs X on upgrade with Nvidia 630.
Summary: dkms-nvidia390 hangs X on upgrade with Nvidia 630.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-05 13:08 CET by Zombie Ryushu
Modified: 2021-08-06 10:56 CEST (History)
6 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Zombie Ryushu 2019-12-05 13:08:56 CET
dkms-nvidia390 hangs X on upgrade with Nvidia 610. The system is still responsive.  You can use Control + Alt +F2 and get a Console. I tried to recompile the nVidia Drivers from Mageia 6, and they wouldn't build. 

I rolled back to nvidia340, and it works now, but nvidia390 is broken.
Comment 1 Thomas Backlund 2019-12-05 13:41:07 CET
IIRC nvidia390 does not support 610 series cards, so you have to use nvidia340

Whats the output of lspcidrake -v for that card

CC: (none) => tmb

Comment 2 Zombie Ryushu 2019-12-05 13:42:40 CET
I'm sorry, its a 630. But, it used a 390 driver before.
Zombie Ryushu 2019-12-05 13:42:53 CET

Summary: dkms-nvidia390 hangs X on upgrade with Nvidia 610. => dkms-nvidia390 hangs X on upgrade with Nvidia 630.

Comment 3 Lewis Smith 2019-12-10 21:18:07 CET
> I rolled back to nvidia340, and it works now
You seem to be satisfied. Can we close this?
I admit to being baffled by which nvidia driver to use for those cards not listed in the dkms-nvidia* package description.

Source RPM: nvidia390 => (none)
CC: (none) => lewyssmith

Comment 4 Lewis Smith 2019-12-15 21:35:20 CET
This bug is similar in spirit (but not detail) to bug 24967 & bug 25878. This one is about chosen nvidia 390 not working, and needing nvidia 340 to work; the other two are about chosen nvidia 430 not working, needing nvidia 390 to work.

Can the three be wrapped up together?

Assignee: bugsquad => kernel

Comment 5 Aurelien Oudelet 2021-07-06 13:14:40 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Zombie Ryushu 2021-07-06 13:18:45 CEST

Version: 7 => 8
CC: (none) => zombie_ryushu

Comment 6 Zombie Ryushu 2021-07-06 13:19:39 CEST
This bug has changed forms, but is still valid.
Comment 7 Zombie Ryushu 2021-07-09 13:08:35 CEST
Mageia 8 installs the Nvidia Drivers in the wrong path. You must manually copy the resulted compiled modules from DKMS to the correct location
Comment 8 Mike Burgener 2021-07-09 13:14:32 CEST
From where to where have the drivers to be copied?

CC: (none) => mburgener

Comment 9 Thomas Backlund 2021-07-09 13:18:52 CEST
No copying needed.

As pointed out in another bugreport...

Zombie has a broken install

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 10 Mike Burgener 2021-07-09 13:29:09 CEST
hmm ok, i seem to have a very similar issue then, on every boot my nvidia setup driver in drakconf is being replaced by nouveau
Comment 11 Aurelien Oudelet 2021-07-09 13:40:20 CEST
@Mike,

Output of
$inxi -SGxx

CC: (none) => ouaurelien

Comment 12 Zombie Ryushu 2021-07-09 14:09:43 CEST
kernel/drivers/video/nvidia-drm.ko

Resolution: INVALID => FIXED

Comment 13 Mike Burgener 2021-07-09 14:57:42 CEST
(In reply to Aurelien Oudelet from comment #11)
> @Mike,
> 
> Output of
> $inxi -SGxx

System:    Host: mycomputername Kernel: 5.10.19-desktop-1.mga7 x86_64 bits: 64 compiler: gcc v: 8.4.0 Console: tty 0 
           wm: kwin_x11 DM: SDDM Distro: Mageia 8 mga8 
Graphics:  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Gigabyte driver: nouveau v: kernel bus ID: 26:00.0 
           chip ID: 10de:1b81 
           Display: server: Mageia X.org 1.20.11 compositor: kwin_x11 driver: nouveau,v4l 
           resolution: 1920x1080~60Hz s-dpi: 96 
           OpenGL: renderer: NV134 v: 4.3 Mesa 21.1.3 direct render: Yes
Comment 14 Aurelien Oudelet 2021-07-09 15:13:37 CEST
(In reply to Mike Burgener from comment #13)
> (In reply to Aurelien Oudelet from comment #11)
> > @Mike,
> > 
> > Output of
> > $inxi -SGxx
> 
> System:    Host: mycomputername Kernel: 5.10.19-desktop-1.mga7 x86_64 bits:
> 64 compiler: gcc v: 8.4.0 Console: tty 0 
>            wm: kwin_x11 DM: SDDM Distro: Mageia 8 mga8 
> Graphics:  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Gigabyte
> driver: nouveau v: kernel bus ID: 26:00.0 
>            chip ID: 10de:1b81 
>            Display: server: Mageia X.org 1.20.11 compositor: kwin_x11
> driver: nouveau,v4l 
>            resolution: 1920x1080~60Hz s-dpi: 96 
>            OpenGL: renderer: NV134 v: 4.3 Mesa 21.1.3 direct render: Yes

Oh. Your system is still using Mageia 7 with old kernel. Consider migrating to 8.
It has well suited NVIDIA nonfree driver for your graphic card.
Comment 15 Mike Burgener 2021-07-09 15:36:28 CEST
ah sorry this is a kernel i tested booting in to because of this issue, let me reboot :D
Comment 16 Mike Burgener 2021-07-09 15:38:07 CEST
hey, you pointed me to an issue, i have no mga8 kernels installed but i upgraded to 8 long time ago, let me fix this first and report if the rest was part of the issue
Comment 17 Mike Burgener 2021-07-09 15:46:48 CEST
System:    Host: mycomputername Kernel: 5.10.46-desktop-1.mga8 x86_64 bits: 64 compiler: gcc v: 10.3.0 
           Console: tty 0 wm: kwin_x11 DM: SDDM Distro: Mageia 8 mga8 
Graphics:  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Gigabyte driver: nouveau v: kernel bus ID: 26:00.0 
           chip ID: 10de:1b81 
           Display: server: Mageia X.org 1.20.11 compositor: kwin_x11 driver: nouveau,v4l 
           resolution: 1920x1080~60Hz s-dpi: 96 
           OpenGL: renderer: NV134 v: 4.3 Mesa 21.1.3 direct render: Yes 

still the same issue with above kernel mga8
Comment 18 Giuseppe Ghibò 2021-07-09 16:19:13 CEST
I'm confused with this reports.

Mike, what is the output of lspcidrake -v |grep VGA?

Furthermore you seem using nouveau instead of proprietary nvidia, while this bug was for nvidia390. Did you have an /etc/X11/xorg.conf or you are in an xorg.conf less configuration? Furthermore from inxi output you seems having an nvidia GTX 1070 card, which is supported by nvidia390, but ALSO by nvidia-current which is at a newer series. You might try nvidia-current.

CC: (none) => ghibomgx

Comment 19 Mike Burgener 2021-07-16 13:22:28 CEST
(In reply to Giuseppe Ghibò from comment #18)
> I'm confused with this reports.
> 
> Mike, what is the output of lspcidrake -v |grep VGA?
 lspcidrake -v | grep -i vga
Card:NVIDIA GeForce 635 series and later: NVIDIA Corporation|GP104 [GeForce GTX 1070] [DISPLAY_VGA] (vendor:10de device:1b81 subv:1458 subd:3703) (rev: a1)

> 
> Furthermore you seem using nouveau instead of proprietary nvidia, while this
> bug was for nvidia390. Did you have an /etc/X11/xorg.conf or you are in an
> xorg.conf less configuration? Furthermore from inxi output you seems having
> an nvidia GTX 1070 card, which is supported by nvidia390, but ALSO by
> nvidia-current which is at a newer series. You might try nvidia-current.

Well i said i seem to have a similar issue, no matter how many times i install nvidia driver always on boot it is reverted somehow to nouveau, for that reason you see nouveau again. about the Xorg/Xorg less config, how to check? I upgraded to mga8 some time ago would it be better to open a new bug? the author of this one pointed me to this one in irc
Comment 20 Mike Burgener 2021-07-16 14:27:37 CEST
what about recreating the whole X Config? what would be the best way to do? just purge /etx/X11 ?

regards

Mike
Comment 21 Thomas Backlund 2021-07-16 15:16:17 CEST
is there a "nokmsboot" in kernel command line  ?
Comment 22 Mike Burgener 2021-07-16 17:04:25 CEST
yes there is
Comment 23 Mike Burgener 2021-08-06 10:56:35 CEST
Ok, i reinstalled keeping my /home
thx a lot for the help!

Note You need to log in before you can comment on or make changes to this bug.