Skip to main content
Topic: dkms install --no-depmod nvidia/390.157 -k 6.6.1-artix1-1' exited 10 (Read 963 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

dkms install --no-depmod nvidia/390.157 -k 6.6.1-artix1-1' exited 10

Sorry, this should have been posted to the "System" subforum, a mod please move this:

I have a legacy nvidia Geforce GTX 675M card on my system. For it I installed the nvidia-390xx-dkms and nvidia-390xx-utils

Quote
Name            : nvidia-390xx-dkms
Version         : 390.157-6.1
Description     : NVIDIA drivers - module sources
Architecture    : x86_64
URL             : https://www.nvidia.com/
Licenses        : custom
Groups          : None
Provides        : NVIDIA-MODULE
Depends On      : dkms  nvidia-390xx-utils=390.157  libglvnd
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 27.20 MiB
Packager        : Artix Build Bot <[email protected]>
Build Date      : 2023-09-24T19:50:02 CEST
Install Date    : 2023-11-13T10:32:14 CET
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

To compile it I installed the linux-headers and here I get this error:

Code: [Select]
...
(2/2) Install DKMS modules
==> dkms install --no-depmod nvidia/390.157 -k 6.6.1-artix1-1
Error! Bad return status for module build on kernel: 6.6.1-artix1-1 (x86_64)
Consult /var/lib/dkms/nvidia/390.157/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/390.157 -k 6.6.1-artix1-1' exited 10

The crucial part of the build log is:
Code: [Select]
/var/lib/dkms/nvidia/390.157/build/nvidia-drm/nvidia-drm-drv.c:708:31: error: ‘drm_gem_prime_handle_to_fd’ undeclared here (not in a function)
  708 |     .prime_handle_to_fd     = drm_gem_prime_handle_to_fd,
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~

The full log is here.

Any ideas how to proceed from here?