| Summary: | dkms fails to build the nvidia340, nvidia390, and nvidia-current modules for the kernel 5.7 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | PC LX <mageia> |
| Component: | RPM Packages | Assignee: | Kernel and Drivers maintainers <kernel> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | fri, ghibomgx |
| Version: | 7 | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | nvidia340-340.108-6.mga7.nonfree.src.rpm, nvidia390-390.132-6.mga7.nonfree.src.rpm, nvidia-current-430.64-8.mga7.nonfree.src.rpm | CVE: | |
| Status comment: | |||
| Bug Depends on: | 27082, 27083, 27104 | ||
| Bug Blocks: | 27006 | ||
| Attachments: | dkms-nvidia340 build log (/var/lib/dkms/nvidia340/340.108-6.mga7.nonfree/build/make.log) | ||
|
Description
PC LX
2020-08-07 20:54:17 CEST
Created attachment 11790 [details]
dkms-nvidia340 build log (/var/lib/dkms/nvidia340/340.108-6.mga7.nonfree/build/make.log)
Do you know if this works in Cauldron? It's basically the same kernel, so it shouldn't... Assignee:
bugsquad =>
kernel nvidia390 will need: http://svnweb.mageia.org/packages?view=revision&revision=1600100 nvidia-current cant be synced with caulron as its glvnd only Thank you Thomas for keeping educating us :) CC:
(none) =>
fri Basically you can use current cauldron nvidia-current, nvidia390 and nvidia340 to backport ot mga7. cauldron's nvidia-current will work on mga7 even if it's glvnd-only (it has it's own GL tree enabled with updates-alternatives). Next nvidia-current builds will be native glvnd so wouldn't work anymore. BTW, if you plan to upgrade also mesa on mga7, current cauldron mesa works also on mga7. The only condition is to disable glvnd, changing in mesa.spec %global with_glvnd 1 to #global with_glvnd 1 I would suggest to upgrade also meson to 0.52.1 in mga7 (it will be mandatory for mesa 20.2). CC:
(none) =>
ghibomgx
David Walser
2020-08-08 00:15:00 CEST
Source RPM:
nvidia340-340.108-6.mga7.nonfree.src.rpm =>
nvidia340-340.108-6.mga7.nonfree.src.rpm, nvidia390-390.132-6.mga7.nonfree.src.rpm nvidia-current I guess will need the patch added here: http://svnweb.mageia.org/packages?view=revision&revision=1598388 and renamed here: http://svnweb.mageia.org/packages?view=revision&revision=1600081 Source RPM:
nvidia340-340.108-6.mga7.nonfree.src.rpm, nvidia390-390.132-6.mga7.nonfree.src.rpm =>
nvidia340-340.108-6.mga7.nonfree.src.rpm, nvidia390-390.132-6.mga7.nonfree.src.rpm, nvidia-current-430.64-8.mga7.nonfree.src.rpm
David Walser
2020-08-08 02:28:28 CEST
Summary:
dkms fails to build the nvidia340 and nvidia390 modules for the kernel 5.7 =>
dkms fails to build the nvidia340, nvidia390, and nvidia-current modules for the kernel 5.7 (In reply to David Walser from comment #7) > nvidia-current I guess will need the patch added here: > http://svnweb.mageia.org/packages?view=revision&revision=1598388 > > and renamed here: > http://svnweb.mageia.org/packages?view=revision&revision=1600081 If you go to 450.57, I would take the current nvidia-current spec file from cauldron as whole; a few fixes from the rev 1600081 applies are for reverting other changes (e.g. attempts for moving to glvnd) which aren't in mga7 nvidia-current. If you instead plan to remain on 430.x (but dunno if have security bugs upstream), a tested version compiling on 5.7 for 430.x is here: http://svnweb.mageia.org/packages/cauldron/nvidia430/current/SPECS/nvidia430.spec?view=log (i.e. Patch7, Patch8 and Patch9) should be enough (you have just to set %bcond_without use_pkgname_as_nvidia_current if you want to use the new naming patches, otherwise ignore it, and just take the patches). (In reply to Giuseppe Ghibò from comment #6) > Basically you can use current cauldron nvidia-current, nvidia390 and > nvidia340 to backport ot mga7. cauldron's nvidia-current will work on mga7 > even if it's glvnd-only (it has it's own GL tree enabled with > updates-alternatives). Next nvidia-current builds will be native glvnd so > wouldn't work anymore. > Have you really tested it on mga7 ? To minimize possible breakages and allowing wider testing of the 45x.x branch, I'd suggest to stay with 430.x in updates for now, and stick the 450.x in backports... If many people then confirm the backport is good, it can be built for updates later on... > BTW, if you plan to upgrade also mesa on mga7, current cauldron mesa works > also on mga7. The only condition is to disable glvnd, changing in mesa.spec mga7 could do with mesa 20.1 > > %global with_glvnd 1 > > to > > #global with_glvnd 1 or %global with_glvnd 0 > > I would suggest to upgrade also meson to 0.52.1 in mga7 (it will be > mandatory for mesa 20.2). This might cause issues, as iirc we have had meson problems before...
Martin Whitaker
2020-08-11 12:15:19 CEST
Depends on:
(none) =>
27082
Martin Whitaker
2020-08-11 12:21:53 CEST
Depends on:
(none) =>
27083
David Walser
2020-08-11 14:48:11 CEST
Blocks:
(none) =>
27006 Yes, let's please minimize the changes to the nvidia-current package for now to get it built with kernel 5.7 so we can get this kernel out. Giuseppe, please file bugs similar to Martin's 27082 and 27083 for the two nvidia-current updates you built, and assign them to qa-bugs@ml.mageia.org Package lists will be... RPM packages bug: x11-driver-video-nvidia-current-430.64-11.mga7.nonfree.x86_64.rpm dkms-nvidia-current-430.64-11.mga7.nonfree.x86_64.rpm nvidia-current-devel-430.64-11.mga7.nonfree.x86_64.rpm nvidia-current-cuda-opencl-430.64-11.mga7.nonfree.x86_64.rpm nvidia-current-doc-html-430.64-11.mga7.nonfree.x86_64.rpm nvidia-current-utils-430.64-11.mga7.nonfree.x86_64.rpm from nvidia-current-430.64-11.mga7.src.rpm Backports bug: x11-driver-video-nvidia-current-450.57-3.mga7.nonfree.x86_64.rpm dkms-nvidia-current-450.57-3.mga7.nonfree.x86_64.rpm nvidia-current-devel-450.57-3.mga7.nonfree.x86_64.rpm nvidia-current-cuda-opencl-450.57-3.mga7.nonfree.x86_64.rpm nvidia-current-doc-html-450.57-3.mga7.nonfree.x86_64.rpm nvidia-current-utils-450.57-3.mga7.nonfree.x86_64.rpm from nvidia-current-450.57-3.mga7.src.rpm
David Walser
2020-08-13 16:47:47 CEST
Depends on:
(none) =>
27104 Nvidia updates validated. Status:
NEW =>
RESOLVED |