Failed to allocate NvKmsKapiDevice GeForce RTX™ 3080 GAMING OC 10G (rev. 2.0) rev. 1.0

I get “Failed to allocate NvKmsKapiDevice” during boot on Ubuntu 18.

I have tested the same pc hardware setup with GeForce RTX 2080 Ti and Nvidia driver 460.32.03 to make sure the PC , bios and power supply are OK.

When I install Nvidia Geforce RTX 3080 (GV-N3080Gaming OC-10GD rev.2.0) on the same PC the driver can not communicate with the Card. I have checked other nvidia drivers including 510.54 and 470.103.01 and all of them no success.

Any Ideas?

This is what I get in kernel logs:

[ 4.347083] nvidia: loading out-of-tree module taints kernel.
[ 4.347090] nvidia: module license ‘NVIDIA’ taints kernel.
[ 4.367105] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 4.376048] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[ 4.377110] nvidia 0000:06:00.0: enabling device (0000 → 0003)
[ 4.377295] nvidia 0000:06:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 4.421516] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 510.54 Tue Feb 8 04:42:21 UTC 2022
[ 4.480717] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 510.54 Tue Feb 8 04:34:06 UTC 2022
[ 4.531655] [drm] [nvidia-drm] [GPU ID 0x00000600] Loading driver
[ 5.713143] [drm:nv_drm_load [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00000600] Failed to allocate NvKmsKapiDevice
[ 5.713298] [drm:nv_drm_probe_devices [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00000600] Failed to register device
[ 5.732634] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:06:00.1/sound/card1/input12
[ 5.732715] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:06:00.1/sound/card1/input13
[ 5.732802] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:06:00.1/sound/card1/input14
[ 5.732888] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:06:00.1/sound/card1/input15
[ 5.733022] input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.1/0000:06:00.1/sound/card1/input16
[ 5.733108] input: HDA NVidia HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:01.1/0000:06:00.1/sound/card1/input17
[ 5.733201] input: HDA NVidia HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:01.1/0000:06:00.1/sound/card1/input18
[ 5.737888] nvidia-uvm: Loaded the UVM driver, major device number 235.