Ubuntu 19.10 kernel5.3.0-29-generic NVIDIA driver 435.21 - GeForce GTX 1050 Ti - RmInitAdapter failed (0x26:0x65:1226)

Hi
I’m getting the ‘RmInitAdapter failed (0x26:0x65:1226)’ from dmeg each time.
X-window can’t display.
What’s RmInitAdapter failed (0x26:0x65:1226) mean?

Windows 7 and 10 are work normal.

Thank you for your help.

nvidia-smi:
No devices were found

dmesg fail log

[ 14.081181] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 435.21 Sun Aug 25 08:17:57 CDT 2019
[ 14.221845] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 435.21 Sun Aug 25 08:07:52 CDT 2019
[ 14.257313] [drm] [nvidia-drm] [GPU ID 0x00000600] Loading driver
[ 14.257321] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:06:00.0 on minor 0
[ 14.321347] nvidia-uvm: Loaded the UVM driver, major device number 236.
[ 14.509873] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:04.0/0000:06:00.1/sound/card0/input4
[ 14.510228] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:04.0/0000:06:00.1/sound/card0/input5
[ 14.510639] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:04.0/0000:06:00.1/sound/card0/input6
[ 14.980304] resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window]
[ 14.980584] caller os_map_kernel_space.part.0+0x73/0x80 [nvidia] mapping multiple BARs
[ 31.191602] NVRM: GPU 0000:06:00.0: RmInitAdapter failed! (0x26:0x65:1226)
[ 31.191819] NVRM: GPU 0000:06:00.0: rm_init_adapter failed, device minor number 0

Graphic card:
GP107 (GeForce GTX 1050 Ti)

Graphic driver version:
435.21

Kernel options:
Cat /proc/cmdline : BOOT_IMAGE=/boot/vmlinuz-5.3.0-29-generic root=UUID=c4e91d60-fa2e-4b90-896a-7940cee8276e ro quiet splash vt.handoff=7 mem_encrypt=off
nvidia-bug-report.log.gz (121 KB)

I am having the same problems on a Quadro P2000 on

  • Ubuntu 19.10
  • Linux 5.3.0-29-generic (amd64)
  • on a Dell Precision 5530
  • with driver version 440.48.02
  • cmdline: BOOT_IMAGE=/ubuntu-os/@rootfs/boot/vmlinuz-5.3.0-29-generic root=UUID=36195aba-d441-4b0e-9546-df0d3719cb23 ro rootflags=subvol=ubuntu-os/@rootfs mem_sleep_default=deep nouveau.modeset=0 rcutree.rcu_idle_gp_delay=1 pcie_aspm=off vt.handoff=7

I’ve previously written an Email to Nvidia Support with a bug report, but I’ve not received any reply.

I’ve added rcutree.rcu_idle_gp_delay=1 pcie_aspm=off to my Kernel cmdline after reading suggestions about it online, but to no avail.

Related dmesg output:

[    8.524640] nvidia-nvlink: Nvlink Core is being initialized, major device number 237

...

[    8.749725] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[    8.850212] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  440.48.02  Tue Jan 14 06:22:51 UTC 2020
[    8.873107] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  440.48.02  Tue Jan 14 06:13:28 UTC 2020
[    8.876473] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver

...

[   13.134205] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0x65:1227)
[   13.134335] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[   13.135043] [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
[   13.135117] [drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register device
[   13.153301] nvidia-uvm: Loaded the UVM driver, major device number 234.
[   17.237155] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0x65:1227)
[   17.237198] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0

...

[   42.274788] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0x65:1227)
[   42.274851] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[   46.472159] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0x65:1227)
[   46.472178] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[   50.648225] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0x65:1227)
[   50.648250] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[   54.813664] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0x65:1227)
[   54.813753] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[   58.979883] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0x65:1227)
[   58.979907] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0

Having the same issue as well

I also have this issue. I have tried installing using the .run file and the RPMFusion rpms. It used to work fine, but stopped working a few months back.

The gpu is most likely broken. Try reseating the card in its slot, check if it works in another system. If to no avail, RMA/replace.