Bug 6455

Summary: akmod-nvidia-390xx build failed for kernel 6.0.5
Product: Fedora Reporter: NVieville <nicolas.vieville>
Component: nvidia-390xx-kmodAssignee: leigh scott <leigh123linux>
Status: RESOLVED FIXED    
Severity: normal CC: ben, bugs, bugzilla, leigh123linux, piotr
Priority: P1    
Version: f36   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description NVieville 2022-10-30 14:11:32 CET
Hello,

Build akmod-nvidia-390xx fails with last 6.x kernel.

Until NVidia provides an updated version working with 6.x kernels (support announced until the end of this year for some GPU that need this version of the driver), maybe it would be worth to give a try to the patches provided by other distribution, even if in some cases they have been reported not to work. These patches provided by URLs below seem to be the same one:

https://aur.archlinux.org/cgit/aur.git/tree/kernel-6.0.patch?h=nvidia-390xx-utils
https://gitlab.com/herecura/packages/nvidia-390xx-dkms/-/blob/herecura/kernel-6.0.patch
https://nvidia.if-not-true-then-false.com/patcher/NVIDIA-390xx/

Hope this will help.

Cordially,


-- 
NVieville
Comment 1 Steve 2022-10-30 18:42:52 CET
It also fails for 470xx.
Comment 2 leigh scott 2022-10-30 19:36:46 CET
Those patches from archlinux are very low quality IMO.
Comment 3 NVieville 2022-11-03 08:23:12 CET
Hello,

As non-specialist of nvidia modules, but as a system admin of machines that provides great services to users, I would be really pleased if nvidia-390xx-kmod modules were functional on Fedora 36+. Here is an URL to the Debian package source patches of this module, where there seems that acpi patches from higher versions of this module were back-ported to the 390xx one:

https://salsa.debian.org/nvidia-team/nvidia-graphics-drivers/-/tree/390xx/master/debian/module/debian/patches

If I'm not wrong (not tested and not reviewed these patches), I hope they will really help to maintain usage of not so old machines with NVidia GPUs, without downgrading to Nouveau that doesn't offer all the functionalities of NVidia drivers.

Cordially,


-- 
NVieville
Comment 4 leigh scott 2022-11-03 14:06:49 CET
I have fixed the build against kernel-6.0 so the f37 rpmfusion GA repo has the fix.
Please test the latest builds.

https://koji.rpmfusion.org/koji/packageinfo?packageID=570
Comment 5 NVieville 2022-11-04 11:30:49 CET
Hello,

Thank you very much Leigh. 

The new akmod-nvidia-390xx for F36 did install and build correctly. No errors while the build time and the module loads fine at boot time. As I did this from a remote place, I can't say for the moment, if the module works fine as I can't see the machines monitors.
I'll post a supplement to this message next week, when I can see the result on monitors.

Regards,


-- 
NVieville
Comment 6 Steve 2022-11-05 17:42:29 CET
(In reply to Steve from comment #1)
> It also fails for 470xx.

Fixed in akmod-nvidia-470xx-470.141.03-3.fc36.x86_64.

Thank You!
Comment 7 NVieville 2022-11-07 15:33:48 CET
Hello,

Testing in place with machines, display works fine, the module does its job.
Issue resolved.

Thank you very much Leigh for your work.

I close the bug report.
Feel free to re-open it if needed.

Cordially,


-- 
NVieville