| Summary: | Can´t build when using 390.157-5-for-6.6.2-201 | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | isantolin <ignacio.santolin> |
| Component: | nvidia-390xx-kmod | Assignee: | Henrik Nordström <henrik> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | bugs, ignacio.santolin, leigh123linux, nicolas.vieville, piotr, qwnsknight, ulatekh |
| Priority: | P1 | ||
| Version: | f39 | ||
| Hardware: | x86_64 | ||
| OS: | GNU/Linux | ||
| namespace: | |||
| Attachments: |
Log file from error
Patch to fix kernel 6.6 build |
||
Created attachment 2532 [details] Patch to fix kernel 6.6 build Enclosed is a patch that fixes the build for kernel 6.6. Someone that knows more about making driver builds compatible across kernel versions can probably come up with a better patch. But this gets it working for me. Inspired by https://github.com/DisplayLink/evdi/pull/436 . *** Bug 6805 has been marked as a duplicate of this bug. *** Hello, Here is 2 URLs to patches that address the compile fail for kernel 6.6, with 2 different approaches (don't know which is the best fix): https://sources.debian.org/src/nvidia-graphics-drivers-legacy-390xx/390.157-6/debian/module/debian/patches/0032-backport-drm_gem_prime_handle_to_fd-changes-from-470.patch/ https://aur.archlinux.org/cgit/aur.git/tree/kernel-6.6.patch?h=nvidia-390xx-utils Maybe this will be helpful. Cordially, -- NVieville The maintainer has been MIA for nearly a year. https://pkgs.rpmfusion.org/cgit/nonfree/nvidia-390xx-kmod.git/ Someone will need to take over ownership otherwise the package will be removed from the repo. @NVieville Feel free to take-over if you have the needed hardware or care enough to still maintain the 390xx branch. Hello Nicolas, hello Leigh Scott, Leigh Scott had already given me commit rights for the nvidia-390xx-kmod package on April 11, 2023, on bug 6611 regarding the kmod not building on kernel 6.2. For this bug report, I think I've got a fix for the kernel 6.6. It would be great if I could take over on this package. My organization stills use some old workstations with the needed hardware on Fedora 39, that's why I report sometimes this sort of issue. But my availability is not so great that I can invest time to understand and maintain all the packages involved in the nvidia-390xx module. It's also worth knowing that I can only test new packages at work. No Nvidia on Fedora at home. If I have a fix for this issue today, I can only test it on Monday. This could be done quickly (today), if some of the watchers of this bug report can test the new package once it get build by koji, but for my part it would only be a shot in the dark. As I can commit on this package already, I can push some fixes when needed, but I think it's best to leave the current maintainer ownership of this package, as I can't guarantee that I will have sufficient availability to do this job properly. Feel free to make any comment about these subjects. Cordially, -- NVieville Hello, The new package with nvidia-390xx kernel module patched for kernel 6.6 has been build and is available for testing here: https://koji.rpmfusion.org/koji/buildinfo?buildID=27418 Tests and feedback are welcome. Cordially, -- NVieville @NVieville: I looked over your akmods RPM; it seems fine to me. installed it and let it build the 6.6 driver; it's working fine. Thanks for doing this! (In reply to NVieville from comment #7) > Hello, > > The new package with nvidia-390xx kernel module patched for kernel 6.6 has > been build and is available for testing here: > > https://koji.rpmfusion.org/koji/buildinfo?buildID=27418 > > Tests and feedback are welcome. > > Cordially, > > > -- > NVieville @NVieville: Kernel module working fine thanks for confirming *** Bug 6812 has been marked as a duplicate of this bug. *** This solved my issue on fc38. Thank you !! Thank you for the fix and new version. |
Created attachment 2531 [details] Log file from error I Trying to build using: - xorg-x11-drv-nvidia-390xx: 390.157-3.fc39 - akmod-nvidia-390xx: 390.157-5.fc39 - Kernel: 6.6.2-201.fc39.x86_64 But an Building and installing nvidia-390xx-kmod [FAILED] error appears. Logs attached