NVIDIA 570+ Driver fails initialization due to "Failed to allocate NvKmsKapiDevice..."

Ever since upgrading to driver version 570.x, this fatal driver error has been appearing in my boot logs, causing my system to be unusable with the discrete GPU. This has been happening since I upgraded to 570.86.16, kernel version 6.13.2 and beyond. Rebooting several times use to work, but no longer reliably works.

Immediately after downgrading to kernel 6.12.10 driver version 565.77, I have not had the issue since, which makes me wonder if it is an issue with the driver.

Some basic information about my system (before downgrading to remediate):
Kernel: 6.14.1
NVIDIA driver version: 570.133.07
Distribution: Arch Linux
Display Server / Window Manager: X11, i3
Graphics: Laptop system with discrete and integrated graphics (NVIDIA GeForce RTX 4050 Max-Q / Raptor Lake-S UHD Graphics)
Other Notes:

  • X is configured to have the NVIDIA GPU as the PrimaryGPU, i.e. as per the guidance here
  • Boot parameters: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=669c0db2-a593-4a0c-82d5-589c2a0a2240 rw loglevel=3 quiet nvidia-drm.modeset=1 nvidia-drm.fbdev=1 rcutree.gp_init_delay=1 nvidia-modeset.hdmi_deepcolor=1

This is the relevant error message that shows up in the boot logs, have also attached nvidia-bug-report.log.gz below

Apr 09 08:34:26 labtop kernel: NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x62:0xffff:2520)
Apr 09 08:34:26 labtop kernel: NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
Apr 09 08:34:26 labtop kernel: [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
Apr 09 08:34:26 labtop kernel: [drm:nv_drm_register_drm_device [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register device

nvidia-bug-report.log.gz (387.7 KB)

Wondering if this is related, which seems to suggest the issue is some version mismatch with the kernel version? Maybe I will try the dkms driver to see if that works