You are not logged in.

#1 2018-07-07 16:39:43

Gruntz
Member
From: Haskovo, Bulgaria
Registered: 2007-08-31
Posts: 291

GeForce GT430, QEMU VM, ERROR: GPU:0: Failed to initialize display ...

Hello all,

I have an archlinux host and archlinux VM. I have configured GPU passthrough from the host to the VM. It worked for some time. I decided to reinstall the VM, and now i cannot get it working again. The host is unchanged.

I installed nvidia package at furst, but the card seems not to be supported anymore, and the kernel was not able to initialize it at boot.

I installed nvidia-390xx package, and I have it currently. I have the utulitues, xconfig, drm, and all 390 related stuff.

I installed nauveau for a test, but it was not able to run it too.

I tried with and without /etc/X11/xorg.conf ( generated with nvidia-xconfig )

I tried to wiggle it in the slot, and push it some more, in case there was a bad connection. I tried using HDMI and VGA cables. I tried different cables that I know that they work, so it seems not to be a hardware problem.

I guess it is something small that I am missing :S

All the pastes bellow are from the guest system. Full dmesg, xorg log and modules paste at the bottom.

[kvasilev@archdesk ~]$ lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:04.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:04.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:04.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:04.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:05.0 SCSI storage controller: Red Hat, Inc. Virtio block device
00:06.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon
00:07.0 SCSI storage controller: Red Hat, Inc. Virtio block device
00:08.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)
00:09.0 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
[kvasilev@archdesk ~]$
00:08.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 430] [10de:0de1] (rev a1)
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia

dmesg before starting X:

[kvasilev@archdesk ~]$ dmesg | grep -i nvi
[    2.576014] nvidia: loading out-of-tree module taints kernel.
[    2.576026] nvidia: module license 'NVIDIA' taints kernel.
[    2.597301] nvidia-nvlink: Nvlink Core is being initialized, major device number 241
[    2.635592] nvidia 0000:00:08.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[    2.635989] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  390.67  Fri Jun  1 04:04:27 PDT 2018 (using threaded interrupts)
[    2.649626] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  390.67  Fri Jun  1 03:15:43 PDT 2018
[    2.653303] [drm] [nvidia-drm] [GPU ID 0x00000008] Loading driver
[    2.653305] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:00:08.0 on minor 0
[    3.496528] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:09.0/sound/card0/input5
[    3.496755] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:09.0/sound/card0/input6
[    3.496990] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:09.0/sound/card0/input7
[    3.497165] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:09.0/sound/card0/input8
[kvasilev@archdesk ~]$

dmesg after starting X:

[kvasilev@archdesk ~]$ dmesg | grep -i nvi
[    2.576014] nvidia: loading out-of-tree module taints kernel.
[    2.576026] nvidia: module license 'NVIDIA' taints kernel.
[    2.597301] nvidia-nvlink: Nvlink Core is being initialized, major device number 241
[    2.635592] nvidia 0000:00:08.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[    2.635989] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  390.67  Fri Jun  1 04:04:27 PDT 2018 (using threaded interrupts)
[    2.649626] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  390.67  Fri Jun  1 03:15:43 PDT 2018
[    2.653303] [drm] [nvidia-drm] [GPU ID 0x00000008] Loading driver
[    2.653305] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:00:08.0 on minor 0
[    3.496528] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:09.0/sound/card0/input5
[    3.496755] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:09.0/sound/card0/input6
[    3.496990] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:09.0/sound/card0/input7
[    3.497165] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:09.0/sound/card0/input8
[  200.137392] nvidia-modeset: Allocated GPU:0 (GPU-de668d2e-24d2-6dcd-8937-dcc9631b6be9) @ PCI:0000:00:08.0
[  200.158841] nvidia-modeset: ERROR: GPU:0: Failed to initialize display engine: 0xffff (Failure: Generic Error [NV_ERR_GENERIC])
[  200.161787] nvidia-modeset: Freed GPU:0 (GPU-de668d2e-24d2-6dcd-8937-dcc9631b6be9) @ PCI:0000:00:08.0
[  212.899187] nvidia-modeset: Allocated GPU:0 (GPU-de668d2e-24d2-6dcd-8937-dcc9631b6be9) @ PCI:0000:00:08.0
[  212.901251] nvidia-modeset: WARNING: GPU:0: Correcting number of heads for current head configuration (0x00)
[  212.901486] Modules linked in: mousedev snd_hda_codec_hdmi nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) ttm snd_hda_intel snd_hda_codec drm_kms_helper nls_iso8859_1 nls_cp437 snd_hda_core vfat fat snd_hwdep drm snd_pcm ipmi_devintf psmouse snd_timer ipmi_msghandler syscopyarea snd input_leds led_class pcspkr sysfillrect rtc_cmos sysimgblt soundcore i2c_piix4 fb_sys_fops qemu_fw_cfg intel_agp evdev intel_gtt mac_hid agpgart ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto sr_mod cdrom ata_generic pata_acpi virtio_net virtio_balloon virtio_blk uhci_hcd serio_raw atkbd libps2 ata_piix ehci_pci ehci_hcd crc32c_intel libata virtio_pci virtio_ring scsi_mod usbcore virtio usb_common floppy i8042 serio
[  212.901757] RIP: 0010:_nv004044rm+0x0/0x20 [nvidia]
[  212.901947]  ? _nv029528rm+0x65/0x430 [nvidia]
[  212.902109]  ? _nv027115rm+0x78/0xe0 [nvidia]
[  212.902293]  ? _nv032889rm+0xa2/0xf0 [nvidia]
[  212.902449]  ? _nv015343rm+0x218/0x270 [nvidia]
[  212.902633]  ? _nv008317rm+0x134/0x1a0 [nvidia]
[  212.902816]  ? _nv008296rm+0x29c/0x2b0 [nvidia]
[  212.902999]  ? _nv001072rm+0xe/0x20 [nvidia]
[  212.903197]  ? _nv007324rm+0xd8/0x100 [nvidia]
[  212.903362]  ? rm_kernel_rmapi_op+0x8d/0x150 [nvidia]
[  212.903380]  ? nvkms_call_rm+0x4b/0x80 [nvidia_modeset]
[  212.903395]  ? _nv002358kms+0x47/0x60 [nvidia_modeset]
[  212.903409]  ? _nv002350kms+0xffb/0x1cd0 [nvidia_modeset]
[  212.903424]  ? _nv002006kms+0xe7/0x160 [nvidia_modeset]
[  212.903433]  ? nvkms_alloc+0x1f/0x50 [nvidia_modeset]
[  212.903444]  ? _nv000003kms+0x2bf/0x2f0 [nvidia_modeset]
[  212.903458]  ? nvKmsIoctl+0x117/0x230 [nvidia_modeset]
[  212.903468]  ? _nv002010kms+0x3d0/0x3d0 [nvidia_modeset]
[  212.903485]  ? nvkms_ioctl_common+0x3b/0x80 [nvidia_modeset]
[  212.903495]  ? nvkms_ioctl+0x67/0xa0 [nvidia_modeset]
[  212.903610]  ? nvidia_frontend_unlocked_ioctl+0x3a/0x50 [nvidia]
[  212.903858] RIP: _nv004044rm+0x0/0x20 [nvidia] RSP: ffffac0d01697998
[kvasilev@archdesk ~]$

Whole DMESG

Whole Xorg.0.log

Whole loaded modules

Best regards.
Krasimir

Offline

Board footer

Powered by FluxBB