The fix proposed by @Maniaxx seems to work as read in the comments.
@SoftExpert please, can you test the patch? It will be appreciated.
Thanks
Git Clone URL: | https://aur.archlinux.org/nvidia-470xx-utils.git (read-only, click to copy) |
---|---|
Package Base: | nvidia-470xx-utils |
Description: | OpenCL implemention for NVIDIA |
Upstream URL: | http://www.nvidia.com/ |
Keywords: | driver nvidia video |
Licenses: | custom |
Conflicts: | opencl-nvidia |
Provides: | opencl-driver, opencl-nvidia |
Submitter: | jonathon |
Maintainer: | Sinyria (cysp74, SoftExpert) |
Last Packager: | SoftExpert |
Votes: | 103 |
Popularity: | 1.94 |
First Submitted: | 2021-10-31 00:50 (UTC) |
Last Updated: | 2025-02-03 19:42 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 44 Next › Last »
The fix proposed by @Maniaxx seems to work as read in the comments.
@SoftExpert please, can you test the patch? It will be appreciated.
Thanks
What about this? Tentative fix for NVIDIA 470.256.02 driver for Linux 6.13-rc1
@SpikoPath: this version of the drivers has reached end of life. Kernel 6.12, which is LTS, is the last one to benefit from a patch. Stay with kernel 6.12 or change your hardware, there is nothig else to be done.
==> dkms install --no-depmod nvidia/470.256.02 -k 6.13.0-arch1-1
Error! Bad return status for module build on kernel: 6.13.0-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia/470.256.02/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/470.256.02 -k 6.13.0-arch1-1' exited 10
make.log:
LD [M] nvidia.o
ld: cannot find ./nvidia/nv-kernel.o: No such file or directory
make[4]: *** [/usr/lib/modules/6.13.0-arch1-1/build/scripts/Makefile.build:387: nvidia.o] Error 1
nvidia-drm.modeset=1 isn't the only thing you need to add to /etc/default/grub when using kernel 6.12. You need to add too nvidia-drm.fbdev=1. This guide may be helpful https://github.com/korvahannu/arch-nvidia-drivers-installation-guide
@SoftExpert @Sinyria @Joan Bruguera your efforts are very much appreciated.
@lighterowl - Thanks for the heads-up, you really brightened our days !
@all: The good news is that :
the patch kindly provided by Joan Bruguera allows to compile the kernel modules with 6.12-RC6 and 6.12-RC7; hopefully there will be no breaking changes in the final release !
the Nvidia modules 470xx work just fine when booting in 6.12-RC6 and 6.12-RC7
What you need to know and do: in the kernel boot parameters you need to make sure there is nvidia-drm.modeset=1
; this is done usually in the /etc/default/grub
file. Joan has expressly stated it is necessary to set the flag.
So, a big and warm thank you to Joan Bruguera, Philip Müller and all the others that have contributed so that we can have this version of the driver a bit longer with us !
Please test thoroughly and share with us your findings !
The patches in https://github.com/NVIDIA/open-gpu-kernel-modules/issues/708#issuecomment-2377038258 and https://gist.github.com/joanbm/a6d3f7f873a60dec0aa4a734c0f1d64e have been reported as fixing the compile error with Linux 6.12.
Haven't tried them myself but the comments are rather hopeful.
@Sithuk: I would recommend using the linux-lts 6.6 kernel until December 2026 if you need 470xx to keep working. After that, you must either continue without security updates or upgrade your hardware, sadly.
@Softexpert @Sinyria :
Thank you for your efforts on maintaining this driver. Given the comment about 6.12 not working with the driver, what is the recommended approach to stop system updates resulting in a conflict in future?
There seem to be the following options.
Use linux-lts. Currently on 6.6, but will be gradually updated so will eventually result in a conflict? Currently received security updated until 31st December 2026.
Use one of the specific long term kernels in AUR, so the version is locked in, e.g. linux-lts61. No longer receives security updates. https://wiki.archlinux.org/title/Kernel#kernel.org_kernels
Pin either the current kernel (6.11) or pin linux-lts?
What option or approach would you recommend?
Would pinning be done by putting the following in the "/etc/pacman.conf"?
To pin the currently installed non-lts kernel, e.g. 6.11:
IgnorePkg = linux IgnorePkg = linux-headers
To pin the lts kernel, if installed:
IgnorePkg = linux-lts IgnorePkg = linux-lts-headers
Thanks
Pinned Comments
SoftExpert commented on 2025-02-09 10:20 (UTC)
For the beginners in need of assistance, first take a look at this recommended guide https://github.com/korvahannu/arch-nvidia-drivers-installation-guide - maybe it helps to solve the issues your are having with this version of the driver.