You are not logged in.

#1 2025-02-06 12:43:37

MatKaplinski
Member
Registered: 2024-05-13
Posts: 19

[SOLVED]nvidia-535xx-dkms installs fails for new kernel 6.13.1-arch1-1

Since my last post (https://bbs.archlinux.org/viewtopic.php … 3#p2179813) I am using the nvidia-535xx-dkms package from the AUR for my mobile Nvidia RTX 3050 (Dell XPS 17 9720).

I tried to update my system yesterday and am now facing a dkms install issue:

(2/3) Install DKMS modules
==> dkms install --no-depmod nvidia/535.216.01 -k 6.13.1-arch1-1

Error! Bad return status for module build on kernel: 6.13.1-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia/535.216.01/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/535.216.01 -k 6.13.1-arch1-1' exited 10


When taking a log into the make.log:, I can see that the linker ld failed to find the nvidia kernel:
ld: cannot find ./nvidia/nv-kernel.o: Datei oder Verzeichnis nicht gefunden

(see https://pastebin.com/iYKcgYu8 for full log)

I couldn't find a similar topic for now, though there seem to be multiple dkms-issues being reported here in the forum (but with some realtek devices?).


Since the dkms step is failing, the following step to generate the initramfs/initcpio is also - well not failing- but at least spitting out some errors:
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'

Therefore I am currently missing GPU acceleration / drivers, is there something I can do or is this something that the maintainers of the nvidia dkms package have to do?

Thank you!

Last edited by MatKaplinski (2025-02-19 21:48:34)

Offline

#2 2025-02-06 12:48:22

MatKaplinski
Member
Registered: 2024-05-13
Posts: 19

Re: [SOLVED]nvidia-535xx-dkms installs fails for new kernel 6.13.1-arch1-1

I also just saw this:
https://gitlab.archlinux.org/archlinux/ … equests/22
and this:
https://github.com/NVIDIA/open-gpu-kern … issues/747

Can I apply these in any way?
It seems like NixOS has a fix, and arch aswell but requires manual patching which I haven't done before.
Also, the first link looks like its for the nvidia-utils package, which isnt what I require.

I assume I just have to wait?

Offline

#3 2025-02-06 17:45:51

mackin_cheese
Member
Registered: 2025-01-07
Posts: 475

Re: [SOLVED]nvidia-535xx-dkms installs fails for new kernel 6.13.1-arch1-1

Why are you using the nvidia-535xx-dkms package from the aur? your gpu is currently supported by 4 official packages (nvidia, nvidia-open, nvidia-dkms, nvidia-open-dkms), i would try one of those instead

Offline

#4 2025-02-07 09:10:42

MatKaplinski
Member
Registered: 2024-05-13
Posts: 19

Re: [SOLVED]nvidia-535xx-dkms installs fails for new kernel 6.13.1-arch1-1

If you take a look at the thread I linked, seth said:

seth wrote:

The crash in the OP is (for all that can be seen and most likely) a known issue w/ the nvidia 550xx drivers the 535xx driver will not have that.

Thats why I used the 535 drivers. The ones I had previously used to randomly create a kernel panic where my machine locks up.


I can ofc try the other packages, I just didn't since they might crash.

Offline

#5 2025-02-07 17:27:33

mackin_cheese
Member
Registered: 2025-01-07
Posts: 475

Re: [SOLVED]nvidia-535xx-dkms installs fails for new kernel 6.13.1-arch1-1

MatKaplinski wrote:

If you take a look at the thread I linked, seth said:

seth wrote:

The crash in the OP is (for all that can be seen and most likely) a known issue w/ the nvidia 550xx drivers the 535xx driver will not have that.

Thats why I used the 535 drivers. The ones I had previously used to randomly create a kernel panic where my machine locks up.


I can ofc try the other packages, I just didn't since they might crash.

yes but this was back in june, there's been plenty kernel updates. try the official drivers now and see how it goes.

Offline

#6 2025-02-10 22:06:46

Donzv
Member
Registered: 2021-03-24
Posts: 11

Re: [SOLVED]nvidia-535xx-dkms installs fails for new kernel 6.13.1-arch1-1

I am trying to downgrade _to_ 565.77, because 570 broke HW acceleration, and I am running into the same issue with 6.13.2-arch1-1.

Offline

#7 2025-02-10 22:16:14

loqs
Member
Registered: 2014-03-06
Posts: 18,604

Re: [SOLVED]nvidia-535xx-dkms installs fails for new kernel 6.13.1-arch1-1

Donzv wrote:

I am trying to downgrade _to_ 565.77, because 570 broke HW acceleration, and I am running into the same issue with 6.13.2-arch1-1.

What nvidia packages are currently installed?

pacman -Qs nvidia

Offline

#8 2025-02-10 22:19:24

Donzv
Member
Registered: 2021-03-24
Posts: 11

Re: [SOLVED]nvidia-535xx-dkms installs fails for new kernel 6.13.1-arch1-1

$ pacman -Qs nvidia
local/disper 0.3.1.1-1
    An on-the-fly display switch utility, intended to be used on laptops, especially with nVidia cards.
local/egl-gbm 1.1.2-1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.17-1
    EGLStream-based Wayland external platform
local/egl-x11 1.0.0-1
    NVIDIA XLib and XCB EGL Platform Library
local/lib32-libvdpau 1.5-3
    Nvidia VDPAU library
local/lib32-nvidia-cg-toolkit 3.1-10
    NVIDIA Cg libraries
local/lib32-nvidia-utils 565.77-1
    NVIDIA drivers utilities (32-bit)
local/lib32-opencl-nvidia 565.77-1
    OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/libxnvctrl-535xx 535.161.07-1
    NVIDIA NV-CONTROL X extension
local/nvidia-cg-toolkit 3.1-8
    NVIDIA Cg libraries
local/nvidia-dkms 565.77-3
    NVIDIA kernel modules - module sources
local/nvidia-settings 565.57.01-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 565.77-3
    NVIDIA drivers utilities
local/nvtop 3.1.0-1
    GPUs process monitoring for AMD, Intel and NVIDIA
local/opencl-nvidia 565.77-3
    OpenCL implemention for NVIDIA

But this is misleading. The dkms packages downgraded to 565.77, but dkms build failed. I probably shouldn't reboot right now.

Last edited by Donzv (2025-02-10 22:21:11)

Offline

#9 2025-02-10 22:22:46

loqs
Member
Registered: 2014-03-06
Posts: 18,604

Re: [SOLVED]nvidia-535xx-dkms installs fails for new kernel 6.13.1-arch1-1

You need nvidia-dkms 565.77-4 and nvidia-utils 565.77-4 for 6.13.

Offline

#10 2025-02-10 22:33:42

Donzv
Member
Registered: 2021-03-24
Posts: 11

Re: [SOLVED]nvidia-535xx-dkms installs fails for new kernel 6.13.1-arch1-1

loqs wrote:

You need nvidia-dkms 565.77-4 and nvidia-utils 565.77-4 for 6.13.

Thank you! TIL never to downgrade from /var/cache/pacman/pkg and always use the rollback machine.

Offline

#11 2025-02-19 21:46:58

MatKaplinski
Member
Registered: 2024-05-13
Posts: 19

Re: [SOLVED]nvidia-535xx-dkms installs fails for new kernel 6.13.1-arch1-1

I didnt downgrade, I just used now the regular nvidia package and it looks like it does the job.

I will mark this as solved, thanks everyone smile

Offline

Board footer

Powered by FluxBB