Hi,
It seems that Mediated Intel iGPU (GVT-g) stopped working after the latest 5.4.55-1-pve kernel upgrade. It used to work in the past on the same system (Nothing other than the kernel upgrade has happened on the system since).
I do see now a stack trace in the "dmesg" log where you can see what seems to be related to gvtg functions (intel_gvt_init, etc). I attached the trace snippet. Does anybody understand what is going on here?
It seems that Mediated Intel iGPU (GVT-g) stopped working after the latest 5.4.55-1-pve kernel upgrade. It used to work in the past on the same system (Nothing other than the kernel upgrade has happened on the system since).
I do see now a stack trace in the "dmesg" log where you can see what seems to be related to gvtg functions (intel_gvt_init, etc). I attached the trace snippet. Does anybody understand what is going on here?
Code:
[ 26.095745] i915 0000:00:02.0: VT-d active for gfx access
[ 26.095752] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 26.096741] ------------[ cut here ]------------
[ 26.096745] dup mmio definition offset 2248
[ 26.096867] WARNING: CPU: 0 PID: 736 at drivers/gpu/drm/i915/gvt/handlers.c:122 new_mmio_info.constprop.17+0xe1/0x1d0 [i915]
[ 26.096869] Modules linked in: i915(+) vfio_mdev mdev vfio_iommu_type1 vfio drm_kms_helper drm i2c_algo_bit fb_sys_fops syscopyarea sysfillrect sysimgblt kvm irqbypass overlay aufs sit tunnel4 ip6_tunnel tunnel6 ip_set_hash_ip ip_set nfnetlink nf_conntrack_pptp nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_gre ip_tunnel gre pppoatm atm ppp_async ppp_deflate ppp_mppe libarc4 sunrpc ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq usbhid uas usb_storage dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c hid_sensor_custom hid_sensor_hub hid_generic intel_ishtp_loader intel_ishtp_hid hid spi_pxa2xx_platform dw_dmac dw_dmac_core dwc3 ulpi udc_core sdhci_pci cqhci sdhci lpc_ich i2c_i801 xhci_pci intel_lpss_pci intel_lpss idma64 virt_dma xhci_hcd dwc3_pci r8169 ahci realtek libahci intel_ish_ipc intel_ishtp video pinctrl_broxton pinctrl_intel
[ 26.096919] CPU: 0 PID: 736 Comm: systemd-modules Not tainted 5.4.55-1-pve #1
[ 26.096920] Hardware name: AAEON UP-APL01/UP-APL01, BIOS UPA1AM50 12/17/2019
[ 26.096992] RIP: 0010:new_mmio_info.constprop.17+0xe1/0x1d0 [i915]
[ 26.096996] Code: 75 0a eb 48 48 8b 12 48 85 d2 74 40 48 83 fa 30 74 3a 8b 72 d0 41 39 f5 75 ea 48 c7 c7 68 f1 9b c0 48 89 45 d0 e8 c0 2b 35 ce <0f> 0b 48 8b 45 d0 48 89 c7 e8 41 6c 55 ce b8 ef ff ff ff 48 83 c4
[ 26.096997] RSP: 0018:ffff9ffc404cf848 EFLAGS: 00010286
[ 26.096999] RAX: 0000000000000000 RBX: ffff9434d0a48000 RCX: 0000000000000006
[ 26.097000] RDX: 0000000000000007 RSI: 0000000000000086 RDI: ffff9434f7a178c0
[ 26.097001] RBP: ffff9ffc404cf890 R08: 0000000000000397 R09: 0000000000000004
[ 26.097002] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000008
[ 26.097006] R13: 0000000000002248 R14: 00000000223b31f8 R15: 0000000000000000
[ 26.097008] FS: 00007f2b8718d940(0000) GS:ffff9434f7a00000(0000) knlGS:0000000000000000
[ 26.097009] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 26.097010] CR2: 0000563c99b8ba48 CR3: 0000000272f54000 CR4: 00000000003406f0
[ 26.097011] Call Trace:
[ 26.097074] ? fpga_dbg_mmio_write+0x40/0x40 [i915]
[ 26.097131] ? sbi_data_mmio_read+0xa0/0xa0 [i915]
[ 26.097190] intel_gvt_setup_mmio_info+0xa71b/0xab10 [i915]
[ 26.097196] ? pci_bus_write_config_word+0x27/0x30
[ 26.097254] intel_gvt_init_device+0x101/0x3d0 [i915]
[ 26.097312] intel_gvt_init+0x20/0x70 [i915]
[ 26.097366] i915_driver_probe+0x699/0x1620 [i915]
[ 26.097371] ? __kernfs_new_node+0x16a/0x1d0
[ 26.097377] ? _cond_resched+0x19/0x30
[ 26.097379] ? mutex_lock+0x12/0x30
[ 26.097433] i915_pci_probe+0x58/0x160 [i915]
[ 26.097436] local_pci_probe+0x47/0x80
[ 26.097440] pci_device_probe+0xff/0x1b0
[ 26.097444] really_probe+0x1c8/0x3e0
[ 26.097446] driver_probe_device+0xbb/0x100
[ 26.097447] device_driver_attach+0x58/0x60
[ 26.097449] __driver_attach+0x8f/0x150
[ 26.097450] ? device_driver_attach+0x60/0x60
[ 26.097453] bus_for_each_dev+0x79/0xc0
[ 26.097456] ? kmem_cache_alloc_trace+0x167/0x230
[ 26.097458] driver_attach+0x1e/0x20
[ 26.097460] bus_add_driver+0x154/0x1f0
[ 26.097462] driver_register+0x70/0xc0
[ 26.097463] __pci_register_driver+0x57/0x60
[ 26.097515] i915_init+0x62/0x6b [i915]
[ 26.097521] ? 0xffffffffc0a2c000
[ 26.097525] do_one_initcall+0x4a/0x1fa
[ 26.097527] ? _cond_resched+0x19/0x30
[ 26.097528] ? kmem_cache_alloc_trace+0x167/0x230
[ 26.097531] do_init_module+0x60/0x230
[ 26.097533] load_module+0x231b/0x2590
[ 26.097537] __do_sys_finit_module+0xbd/0x120
[ 26.097539] ? __do_sys_finit_module+0xbd/0x120
[ 26.097541] __x64_sys_finit_module+0x1a/0x20
[ 26.097543] do_syscall_64+0x57/0x190
[ 26.097546] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 26.097548] RIP: 0033:0x7f2b882edf59
[ 26.097551] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
[ 26.097552] RSP: 002b:00007ffd34ccf638 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 26.097554] RAX: ffffffffffffffda RBX: 0000555977c2c700 RCX: 00007f2b882edf59
[ 26.097555] RDX: 0000000000000000 RSI: 0000555977c2e670 RDI: 0000000000000012
[ 26.097556] RBP: 0000555977c2e670 R08: 0000000000000000 R09: 0000000000000000
[ 26.097557] R10: 0000000000000012 R11: 0000000000000246 R12: 0000000000000000
[ 26.097558] R13: 0000555977c2c1e0 R14: 0000000000020000 R15: 0000555977c2c700
[ 26.097561] ---[ end trace 9684ffc9a7c1469a ]---
[ 26.098167] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 26.098170] [drm] Driver supports precise vblank timestamp query.
[ 26.098350] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 26.102836] [drm] Disabling framebuffer compression (FBC) to prevent screen flicker with VT-d enabled
[ 26.105372] [drm] Finished loading DMC firmware i915/bxt_dmc_ver1_07.bin (v1.7)