Bug 6090

Summary: Building and installing nvidia-390xx-kmod failed
Product: Fedora Reporter: Matthieu Saulnier <casper>
Component: nvidia-390xx-kmodAssignee: Henrik Nordström <henrik>
Status: RESOLVED FIXED    
Severity: normal CC: bugs, ulatekh
Priority: P1    
Version: f33   
Hardware: All   
OS: GNU/Linux   
namespace:
Attachments: /var/cache/akmods/nvidia-390xx/390.144-2-for-5.14.6-300.fc35.x86_64.failed.log
Patch #1 to fix problem
Patch #2 to fix problem

Description Matthieu Saulnier 2021-09-21 16:14:02 CEST
Created attachment 2333 [details]
/var/cache/akmods/nvidia-390xx/390.144-2-for-5.14.6-300.fc35.x86_64.failed.log

On Fedora 35 Beta up to date, there is a compilation error.

# cat /etc/fedora-release 
Fedora release 35 (Thirty Five)

Package affected: akmod-nvidia-390xx

# rpm -q akmod-nvidia-390xx
akmod-nvidia-390xx-390.144-2.fc35.x86_64

Output when launched manually:

# /usr/sbin/akmods --force
Checking kmods exist for 5.14.6-300.fc35.x86_64            [  OK  ]
Building and installing nvidia-390xx-kmod                  [ÉCHOUÉ]
Building rpms failed; see /var/cache/akmods/nvidia-390xx/390.144-2-for-5.14.6-300.fc35.x86_64.failed.log for details

Hint: Some kmods were ignored or failed to build or install.
You can try to rebuild and install them by by calling
'/usr/sbin/akmods --force' as root.


Logfile is in attachment of this ticket.
Comment 1 Henrik Nordström 2021-09-22 22:38:14 CEST
Have imported a patch for Kernel 5.14 support from openSUSE.

A new build with this patch is available at

  https://koji.rpmfusion.org/koji/taskinfo?taskID=503614

please give it a test.
Comment 2 Matthieu Saulnier 2021-09-24 12:24:41 CEST
Thanks for your answer.

I installed the rpm from koji. Everything went well.

Issue is fixed.
Comment 3 Steve 2021-10-03 17:54:27 CEST
Same problem in FC33.

I fixed it with patches from Debian, found at
https://salsa.debian.org/nvidia-team/nvidia-graphics-drivers/-/commit/2aebd53d0b4066fc7ea8bda6309d50009b2db75f
Comment 4 Steve 2021-10-03 17:55:18 CEST
Created attachment 2338 [details]
Patch #1 to fix problem
Comment 5 Steve 2021-10-03 17:55:44 CEST
Created attachment 2339 [details]
Patch #2 to fix problem
Comment 6 Henrik Nordström 2021-10-04 07:10:48 CEST
A F33 build is already available.

https://koji.rpmfusion.org/koji/buildinfo?buildID=20337

Should be available in updates-testing shortly.

F34 build is available in updates-testing since some time, and should be available in updates shortly.
Comment 7 Henrik Nordström 2021-10-04 10:32:20 CEST
The debian patches are identical to the combined kernel-5.14.patch we already have.

https://pkgs.rpmfusion.org/cgit/nonfree/nvidia-390xx-kmod.git/tree/kernel-5.14.patch
Comment 8 Henrik Nordström 2021-10-05 15:20:42 CEST
*** Bug 6103 has been marked as a duplicate of this bug. ***