You are not logged in.

#1 Today 04:51:53

CETMEAmeli
Member
Registered: Today
Posts: 2

DKMS fails to build Nvidia Drivers 610.43.03 on kernel 7.1.4-arch1-1

As per the title, I recently did a full system update (had not updated my system in about two to three weeks), upon reboot of my system, I had lost video on my second monitor, and my primary runs at a low 60Hz refresh rate (but at full resolution).

Upon running "nvidia-smi" I would get

 nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

I would get similar results running "nvidia-settings" with

 nvidia-settings
ERROR: NVIDIA driver is not loaded
(nvidia-settings:16342): GLib-GObject-CRITICAL **: 05:33:24.625: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (nvidia-settings:16342): CRITICAL **: 05:33:24.626: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failed

ERROR: nvidia-settings could not find the registry key file or the X server is not accessible. This file should have been installed along with this driver at
       /usr/share/nvidia/nvidia-application-profiles-key-documentation. The application profiles will continue to work, but values cannot be prepopulated or
       validated, and will not be listed in the help text. Please see the README for possible values and descriptions. 

I then ran

 lsmod | grep nvidia 

which returned nothing.

Checking what packages I have:

pacman -Q linux
linux 7.1.4.arch1-1

pacman -Qs nvidia
local/egl-gbm 1.1.3-1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.21-1
    EGLStream-based Wayland external platform
local/egl-wayland2 1.0.1-1
    EGLStream-based Wayland external platform (2)
local/egl-x11 1.0.5-1
    NVIDIA XLib and XCB EGL Platform Library
local/lib32-nvidia-utils 610.43.03-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-4
    Nvidia VDPAU library
local/libxnvctrl 610.43.03-1
    NVIDIA NV-CONTROL X extension
local/linux-firmware-nvidia 20260622-1
    Firmware files for Linux - Firmware for NVIDIA GPUs and SoCs
local/nvidia-open-dkms 610.43.03-3
    NVIDIA open kernel modules - module sources
local/nvidia-settings 610.43.03-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 610.43.03-3
    NVIDIA drivers utilities
local/opencl-nvidia 610.43.03-3
    OpenCL implemention for NVIDIA 

I then checked DKMS status and was returned:

dkms status
looking-glass/B7, 7.1.4-arch1-1, x86_64: installed
nvidia/610.43.03: added
sc0710-2026.04.16/1, 7.1.4-arch1-1, x86_64: installed
sc0710/2026.04.16.1.r130.56c3cc0: added
v4l2loopback/0.15.4, 7.1.4-arch1-1, x86_64: installed
vboxhost/7.2.8_non_OSE: added

I assumed that the "added" meant it had downloaded, but was not installed, which I attempted to do via

 sudo dkms install -m nvidia -v 610.43.03 -k 7.1.4-arch1-1 

, which returned:

 Sign command: /usr/lib/modules/7.1.4-arch1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module(s)........(bad exit status: 2)
Failed command:
'make' -j16 IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=7.1.4-arch1-1 modules

Error! Bad return status for module build on kernel: 7.1.4-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia/610.43.03/build/make.log for more information. 

I did notice some other modules had not installed aswell, so I went and checked if my linux-headers were up to date, which are currently

 linux-headers 7.1.4.arch1-1 

At this point I am currently at a loss on what I can do to fix this issue, any help/suggestions possible would be greatly appreciated.

Online

#2 Today 06:23:31

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

Re: DKMS fails to build Nvidia Drivers 610.43.03 on kernel 7.1.4-arch1-1

Consult /var/lib/dkms/nvidia/610.43.03/build/make.log for more information. 

What does that log file show?

Offline

#3 Today 06:56:53

CETMEAmeli
Member
Registered: Today
Posts: 2

Re: DKMS fails to build Nvidia Drivers 610.43.03 on kernel 7.1.4-arch1-1

Ah yes, should have also attached that. The log is pretty big, so I will put a pastebin link at the bottom, otherwise it looks to begin building fine, with the odd warning over "aggregate_mask" being set but not used, but around the end of the file, it says:

date: version.mk: No such file or directory
 [ nvidia            ]  CC           _out/Linux_x86_64/g_nvid_string.c
 [ nvidia            ]  LD           _out/Linux_x86_64/nv-kernel.o
 [ nvidia            ]  OBJCOPY      _out/Linux_x86_64/nv-kernel.o
make[1]: Leaving directory '/var/lib/dkms/nvidia/610.43.03/build/src/nvidia'
cd kernel-open/nvidia/ && ln -sf ../../src/nvidia/_out/Linux_x86_64/nv-kernel.o nv-kernel.o_binary
make -C kernel-open modules
make[1]: Entering directory '/var/lib/dkms/nvidia/610.43.03/build/kernel-open'
make[2]: Entering directory '/usr/lib/modules/7.1.4-arch1-1/build'
/usr/lib/modules/7.1.4-arch1-1/build/Makefile:5: *** Too many open files.  Stop.
make[2]: Leaving directory '/usr/lib/modules/7.1.4-arch1-1/build'
make[1]: *** [Makefile:115: modules] Error 2
make[1]: Leaving directory '/var/lib/dkms/nvidia/610.43.03/build/kernel-open'
make: *** [Makefile:59: modules] Error 2

# exit code: 2
# elapsed time: 00:00:18

https://pastebin.com/D08Wvgwf

Online

Board footer

Powered by FluxBB