You are not logged in.
Pages: 1
When i'm trying to install nvidia-dkms this error occurs:
==> dkms install --no-depmod nvidia/545.29.06 -k 6.7.3-arch1-1
Error! Bad return status for module build on kernel: 6.7.3-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia/545.29.06/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/545.29.06 -k 6.7.3-arch1-1' exited 10
Content of /var/lib/dkms/nvidia/545.29.06/build/make.log:
➜ ~ cat /var/lib/dkms/nvidia/545.29.06/build/make.log | tail
/var/lib/dkms/nvidia/545.29.06/build/nvidia.o: warning: objtool: _nv012082rm+0x5d: 'naked' return found in RETHUNK build
/var/lib/dkms/nvidia/545.29.06/build/nvidia.o: warning: objtool: _nv039740rm+0x12f: 'naked' return found in RETHUNK build
MODPOST /var/lib/dkms/nvidia/545.29.06/build/Module.symvers
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
make[3]: *** [scripts/Makefile.modpost:145: /var/lib/dkms/nvidia/545.29.06/build/Module.symvers] Error 1
make[2]: *** [/usr/lib/modules/6.7.3-arch1-1/build/Makefile:1863: modpost] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.7.3-arch1-1/build'
make: *** [Makefile:82: modules] Error 2
I'm using default linux kernel
Offline
Seems like it was some kind of a kernel bug, i've installed linux 6.6 and everything works fine
Offline
Offline
Same issue here, mkinitcpio fails during update to 6.7.3. I have downgraded both linux and linux-headers to 6.7.2 and it builds the image correctly. Using 535 drivers
Last edited by Ehllay (2024-02-02 15:42:12)
Offline
Using 535 drivers
This issue was already fixed. The problem here is your partial updates.
Offline
Ehllay wrote:Using 535 drivers
This issue was already fixed. The problem here is your partial updates.
I'm forced to use 535.113.01, I can't use latest 545.29.06 driver because it does this: https://www.youtube.com/watch?v=YPd0uqozQvk
I just booted up without graphics and noticed these errors in DKMS log as well
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
Is there a way I can keep using 535?
Last edited by cyberplebeian (2024-02-02 18:38:41)
Offline
You'll need to patch it the same way that 545 was patched
Offline
FWIW assuming this is in a wayland session you might want to test nvidia-beta do go forward rather than backwards, if I'm reading the changelog right it contains a bunch of fixes for xwayland (alternatively/additionally you could test https://aur.archlinux.org/packages/xorg … t-sync-git which is an experimental patchset by nvidia to go towards explicit sync, which apparently is on the roadmap for most implementations anyway)
Online
FWIW assuming this is in a wayland session you might want to test nvidia-beta do go forward rather than backwards, if I'm reading the changelog right it contains a bunch of fixes for xwayland (alternatively/additionally you could test https://aur.archlinux.org/packages/xorg … t-sync-git which is an experimental patchset by nvidia to go towards explicit sync, which apparently is on the roadmap for most implementations anyway)
With nvidia-beta this issue persists.
Tried installing explicit sync patch from AUR and it still flickers, but differently: https://www.youtube.com/watch?v=-fZBd3oN4Wk
Last edited by cyberplebeian (2024-02-02 21:33:32)
Offline
==> ERROR: Missing 6.6.15-1-lts kernel modules tree for module nvidia/545.29.06.
Last edited by wxt1221 (2024-02-03 07:53:36)
Offline
==> ERROR: Missing 6.6.15-1-lts kernel modules tree for module nvidia/545.29.06.
linux-lts-headers is installed on the system but not linux-lts? This does not appear to be the same issue. Please use code tags.
Offline
Scimmia wrote:Ehllay wrote:Using 535 drivers
This issue was already fixed. The problem here is your partial updates.
I'm forced to use 535.113.01, I can't use latest 545.29.06 driver because it does this: https://www.youtube.com/watch?v=YPd0uqozQvk
I just booted up without graphics and noticed these errors in DKMS log as well
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock' ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
Is there a way I can keep using 535?
Yeah, I'm on the same boat here. Post 535 drivers are unusable for me, even with explicit sync patches installed. Latest working kernel is 6.7.1, so I guess I'll stick with that one until nvidia fix their drivers or something breaks.
Offline
Again, you have to patch your drivers the same way the nvidia-dkms package was patched. https://gitlab.archlinux.org/archlinux/ … 6f7767ad54
It looks like nvidia-535xx-dkms was already patched, too, which you should be using instead of just holding back an old package.
Offline
linux-zen 6.7.4 works fine
Offline
The nvidia-dkms package was relevantly patched, assuming the kernel developers don't break things again in a stable release you can generally assume this "fixed" and if something similar happens again it will likely be of a different nature.
If this is [SOLVED] please mark it as such by editing the title in your first post.
Online
Pages: 1