Troubleshooting: Intel A310 GPU/Audio passthrough to VM works; GPU crashes after VM shutdown, reboot needed

y00

New Member
Dec 12, 2025
3
0
1
I started using Proxmox some days ago and put a considerable amount of hours into trying to get my Intel A310 GPU to work properly for passthrough to a VM, or, to be more precise: to hand it back to the system after the VM is shutdown. I am a Linux novice as well but learned a lot these past days. I read many threads from here, level1techs, reddit, and some other sites but wasn't able to solve my problem. Huge props to leesteken for helping out so many people with PVE.

Problem desc:
I can passthrough my dGPU (Intel A310) and its audio (they sit on separate buses) to a Windows 11 VM and everything works as expected. As soon as I power off the VM, the GPU/VGA part of the device doesn't get handed back correctly, only the audio part does. Thus the GPU can't be used for anything anymore and I have to restart the host.

03:00.0 VGA compatible controller [0300]: Intel Corporation DG2 [Arc A310] [8086:56a6] (rev 05) (prog-if 00 [VGA controller])
Subsystem: Device [172f:4240]
Flags: bus master, fast devsel, latency 0, IRQ 105, IOMMU group 16
Memory at dd000000 (64-bit, non-prefetchable) [size=16M]
Memory at fb00000000 (64-bit, prefetchable) [size=4G]
Expansion ROM at de000000 [disabled] [size=2M]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Endpoint, IntMsgNum 0
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit+
Capabilities: [d0] Power Management version 3
Capabilities: [100] Alternative Routing-ID Interpretation (ARI)
Capabilities: [420] Physical Resizable BAR
Capabilities: [400] Latency Tolerance Reporting
Kernel driver in use: i915
Kernel modules: i915, xe
04:00.0 Audio device [0403]: Intel Corporation DG2 Audio Controller [8086:4f92]
Subsystem: Device [172f:4240]
Flags: bus master, fast devsel, latency 0, IRQ 109, IOMMU group 17
Memory at de300000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, IntMsgNum 0
Capabilities: [100] Latency Tolerance Reporting
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
#dmesg
[ 2098.601643] vfio-pci 0000:03:00.0: not ready 1023ms after FLR; waiting
[ 2099.689379] vfio-pci 0000:03:00.0: not ready 2047ms after FLR; waiting
[ 2101.801403] vfio-pci 0000:03:00.0: not ready 4095ms after FLR; waiting
[ 2106.153452] vfio-pci 0000:03:00.0: not ready 8191ms after FLR; waiting
[ 2114.857906] vfio-pci 0000:03:00.0: not ready 16383ms after FLR; waiting
[ 2131.753986] vfio-pci 0000:03:00.0: not ready 32767ms after FLR; waiting
[ 2168.106024] vfio-pci 0000:03:00.0: not ready 65535ms after FLR; giving up
[ 2168.106321] pcieport 0000:02:01.0: unlocked secondary bus reset via: pci_reset_bus_function+0x152/0x170
[ 2169.322270] vfio-pci 0000:03:00.0: not ready 1023ms after bus reset; giving up

#lspci
03:00.0 VGA compatible controller [0300]: Intel Corporation DG2 [Arc A310] [8086:56a6] (rev 05) (prog-if 00 [VGA controller])
Subsystem: Device [172f:4240]
!!! Unknown header type 7f
Memory at dd000000 (64-bit, non-prefetchable) [size=16M]
Memory at fb00000000 (64-bit, prefetchable) [size=4G]
Expansion ROM at de000000 [disabled] [size=2M]
Kernel driver in use: vfio-pci
Kernel modules: i915, xe

Interesting observations:
  • The problem only appears when I pass through both the VGA and the audio parts of the A310. If I pass through only the VGA, I can shutdown the VM without losing access to the GPU on host. The lack of sound isn't feasible though, since I want to use this VM for display output on my TV.
  • Like many noobs do, I used apt upgrade at some point and thought that might've broken something. Now I think it's more likely that I only passed through the VGA part before I did that and the problem thus didn't occur yet. I haven't done a fresh install yet.
  • When I pass through the GPU (VGA/audio) with the manually added ARGS, I can use the noVNC from the Proxmox GUI, while when I pass through from Proxmox GUI, the noVNC makes no connection and contents are only displayed through dGPU HDMI on my monitor.
What I tried to solve the problem:
Because of my above observations, I tried some things around the audio device (04:00.0):
  • Added vfio bind option to modprobe.d/vfio.conf (options vfio-pci ids=8086:4f92), and reverted because it didn't help. Also blacklisted snd-hda-intel driver via pve-blacklist.conf, and reverted as well. (incl. update-initramfs -u -k all, reboots)
  • Added snd-hda-intel.conf with options snd-hda-intel enable_msi=1 just to try it out because I thought it maybe did something (real tired already)
  • Using the following ARGS for the VM config instead of GUI PCI passthrough options: args: -device vfio-pci,host=03:00.0,addr=10.0,multifunction=on,x-vga=on,rombar=0 -device vfio-pci,host=04:00.0,addr=10.1
  • Using hookscripts to do the binding/unbinding, since it's not happening automatically with ARGS instead of hostpci0/1.
  • Using different combinations of PCI passthrough options from PVE GUI (Rombar on/off, pcie on/off, all functions on/off, mapped/raw) for "both devices"
  • Edited GRUB with iommu=pt, also tried without. Used update-grub each time, then reboot.
  • Adding vfio modules to /etc/modules
What I didn't try, and why:
  • Isolating the GPU from host through early binding to vfio and disabling vga. I still want to use the GPU for other tasks and the Windows VM isn't running all the time.

agent: 1
balloon: 0
bios: ovmf
boot: order=scsi0;net0
cores: 6
cpu: host
efidisk0: VMCT:vm-100-disk-0,efitype=4m,ms-cert=2023,pre-enrolled-keys=1,size=4M
hostpci0: 0000:03:00,pcie=1,x-vga=1
hostpci1: 0000:04:00,pcie=1
machine: pc-q35-10.1
memory: 8192
meta: creation-qemu=10.1.2,ctime=1765058652
name: W11
net0: virtio=BC:24:11:25:AD:7F,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: VMCT:vm-100-disk-1,cache=writeback,discard=on,iothread=1,size=120G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=3eb11987-4c1f-4cfc-856e-e91803dfda2f
sockets: 1
tpmstate0: VMCT:vm-100-disk-2,size=4M,version=v2.0
usb0: host=046d:c332
usb1: host=046d:c333
usb2: mapping=BTdongle
vmgenid: ad6a1c9a-bcbb-40ef-a72c-958792358ca8

# START 100 cfg
agent: 1
args: -device vfio-pci,host=03:00.0,addr=10.0,multifunction=on,x-vga=on,rombar=0 -device vfio-pci,host=04:00.0,addr=10.1
balloon: 0
bios: ovmf
boot: order=scsi0;net0
cores: 6
cpu: host
efidisk0: VMCT:vm-100-disk-0,efitype=4m,ms-cert=2023,pre-enrolled-keys=1,size=4M
hookscript: local:snippets/gpu-hook.sh
machine: pc-q35-10.1
memory: 8192
meta: creation-qemu=10.1.2,ctime=1765058652
name: W11
net0: virtio=BC:24:11:25:AD:7F,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: VMCT:vm-100-disk-1,cache=writeback,discard=on,iothread=1,size=120G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=3eb11987-4c1f-4cfc-856e-e91803dfda2f
sockets: 1
tpmstate0: VMCT:vm-100-disk-2,size=4M,version=v2.0
usb0: host=046d:c332
usb1: host=046d:c333
usb2: mapping=BTdongle
vmgenid: ad6a1c9a-bcbb-40ef-a72c-958792358ca8
# END 100 cfg

nano /var/lib/vz/snippets/gpu-hook.sh

#start Hookscript
#!/bin/bash

vmid="$1"
phase="$2"

if [ "$phase" == "pre-start" ]; then
echo "Hook: Unbinding GPU from host drivers..."

# 1. Unbind Audio from Host
# Use 'true' to ignore errors if it's already unbound
echo "0000:04:00.0" > /sys/bus/pci/drivers/snd_hda_intel/unbind 2>/dev/null || true
echo "vfio-pci" > /sys/bus/pci/devices/0000:04:00.0/driver_override
echo "0000:04:00.0" > /sys/bus/pci/drivers/vfio-pci/bind

# 2. Unbind GPU from Host (i915)
echo "0000:03:00.0" > /sys/bus/pci/drivers/i915/unbind 2>/dev/null || true
echo "vfio-pci" > /sys/bus/pci/devices/0000:03:00.0/driver_override
echo "0000:03:00.0" > /sys/bus/pci/drivers/vfio-pci/bind

echo "Hook: GPU ready for VM."
fi

if [ "$phase" == "post-stop" ]; then
echo "Hook: Rebinding GPU to host drivers..."

# 1. Unbind GPU from VFIO
echo "0000:03:00.0" > /sys/bus/pci/drivers/vfio-pci/unbind 2>/dev/null || true
echo "i915" > /sys/bus/pci/devices/0000:03:00.0/driver_override
echo "0000:03:00.0" > /sys/bus/pci/drivers/i915/bind

# 2. Unbind Audio from VFIO
echo "0000:04:00.0" > /sys/bus/pci/drivers/vfio-pci/unbind 2>/dev/null || true
echo "snd_hda_intel" > /sys/bus/pci/devices/0000:04:00.0/driver_override
echo "0000:04:00.0" > /sys/bus/pci/drivers/snd_hda_intel/bind

echo "Hook: GPU returned to host."
fi
# end hookscript

chmod +x /var/lib/vz/snippets/gpu-hook.sh

398.920156] i915 0000:03:00.0: [drm] i915 raw-wakerefs=1 wakelocks=1 on cleanup

[ 398.920174] WARNING: CPU: 7 PID: 6581 at drivers/gpu/drm/i915/intel_runtime_pm.c:445 intel_runtime_pm_driver_release+0x81/0xa0 [i915]

[ 398.920232] Modules linked in: tcp_diag inet_diag snd_seq snd_seq_device cfg80211 veth ebtable_filter ebtables ip_set ip6table_raw iptable_raw ip6table_filter ip6_tables iptable_filter nf_tables sunrpc binfmt_misc mei_hdcp mei_pxp bonding tls nfnetlink_log mei_gsc mei_me mei xe intel_vsec drm_gpuvm drm_gpusvm_helper snd_hda_codec_intelhdmi amdgpu ipmi_ssif snd_hda_codec_atihdmi amd_atl intel_rapl_msr snd_hda_codec_hdmi i915 intel_rapl_common amdxcp drm_panel_backlight_quirks amd64_edac snd_hda_intel edac_mce_amd gpu_sched snd_hda_codec drm_ttm_helper kvm_amd snd_hda_core drm_buddy drm_exec snd_intel_dspcfg ttm btusb kvm drm_suballoc_helper snd_intel_sdw_acpi drm_display_helper btrtl snd_hwdep polyval_clmulni ghash_clmulni_intel btintel snd_pcm cec aesni_intel acpi_ipmi btbcm ipmi_si snd_timer sch_fq_codel ftdi_sio rapl rc_core pcspkr ast btmtk ipmi_devintf joydev snd input_leds eeepc_wmi bluetooth wmi_bmof k10temp spd5118 i2c_algo_bit soundcore usbserial ccp ipmi_msghandler mac_hid zfs(PO) spl(O) msr vhost_net vhost

[ 398.920271] vhost_iotlb tap vfio_pci vfio_pci_core irqbypass vfio_iommu_type1 vfio iommufd efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 btrfs blake2b_generic xor raid6_pq hid_generic usbkbd usbmouse dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio cdc_ether usbnet usbhid mii hid mfd_aaeon asus_wmi nvme sparse_keymap nvme_core xhci_pci i2c_piix4 platform_profile ahci nvme_keyring video i2c_smbus xhci_hcd igc libahci nvme_auth wmi gpio_amdpt

[ 398.920295] CPU: 7 UID: 0 PID: 6581 Comm: bash Tainted: P O 6.17.4-1-pve #1 PREEMPT(voluntary)

[ 398.920298] Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE

[ 398.920299] Hardware name: ASUS System Product Name/Pro WS B850M-ACE SE, BIOS 1804 11/12/2025

[ 398.920300] RIP: 0010:intel_runtime_pm_driver_release+0x81/0xa0 [i915]

[ 398.920341] Code: ff 48 8b 5f 50 48 85 db 75 03 48 8b 1f e8 47 14 29 fb 45 89 e8 44 89 e1 48 89 da 48 89 c6 48 c7 c7 10 d3 c7 c1 e8 bf 24 7d fa <0f> 0b 5b 41 5c 41 5d 5d 31 c0 31 d2 31 c9 31 f6 31 ff 45 31 c0 c3

[ 398.920343] RSP: 0018:ffffce87e05dfa10 EFLAGS: 00010246

[ 398.920344] RAX: 0000000000000000 RBX: ffff8b92818b6490 RCX: 0000000000000000

[ 398.920345] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000

[ 398.920346] RBP: ffffce87e05dfa28 R08: 0000000000000000 R09: 0000000000000000

[ 398.920347] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001

[ 398.920347] R13: 0000000000000001 R14: ffff8b92821de0c8 R15: ffff8b92821de390

[ 398.920348] FS: 000078b8872bc740(0000) GS:ffff8b99ffd06000(0000) knlGS:0000000000000000

[ 398.920349] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033

[ 398.920350] CR2: 000000c00022c008 CR3: 00000001a3527000 CR4: 0000000000f50ef0

[ 398.920351] PKRU: 55555554

[ 398.920352] Call Trace:

[ 398.920353] <TASK>

[ 398.920355] i915_driver_release+0x76/0x90 [i915]

[ 398.920393] devm_drm_dev_init_release+0x5e/0x90

[ 398.920397] devm_action_release+0x12/0x30

[ 398.920398] release_nodes+0x3a/0xd0

[ 398.920400] devres_release_all+0x94/0x100

[ 398.920403] device_unbind_cleanup+0x12/0x90

[ 398.920405] device_release_driver_internal+0x22b/0x270

[ 398.920406] device_driver_detach+0x14/0x20

[ 398.920407] unbind_store+0xac/0xc0

[ 398.920409] drv_attr_store+0x21/0x50

[ 398.920410] sysfs_kf_write+0x6f/0x90

[ 398.920413] kernfs_fop_write_iter+0x15e/0x210

[ 398.920415] vfs_write+0x271/0x490

[ 398.920417] ksys_write+0x6f/0xf0

[ 398.920419] __x64_sys_write+0x19/0x30

[ 398.920420] x64_sys_call+0x79/0x2330

[ 398.920422] do_syscall_64+0x80/0xa30

[ 398.920424] ? __handle_mm_fault+0xb55/0xfd0

[ 398.920427] ? count_memcg_events+0xd7/0x1a0

[ 398.920429] ? handle_mm_fault+0x254/0x370

[ 398.920431] ? do_user_addr_fault+0x2f8/0x830

[ 398.920433] ? irqentry_exit_to_user_mode+0x2e/0x290

[ 398.920436] ? irqentry_exit+0x43/0x50

[ 398.920437] ? exc_page_fault+0x90/0x1b0

[ 398.920439] entry_SYSCALL_64_after_hwframe+0x76/0x7e

[ 398.920440] RIP: 0033:0x78b88734e687

[ 398.920442] Code: 48 89 fa 4c 89 df e8 58 b3 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff

[ 398.920443] RSP: 002b:00007fff439d4bc0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001

[ 398.920444] RAX: ffffffffffffffda RBX: 000078b8872bc740 RCX: 000078b88734e687

[ 398.920445] RDX: 000000000000000c RSI: 000055c8180b1a80 RDI: 0000000000000001

[ 398.920445] RBP: 000055c8180b1a80 R08: 0000000000000000 R09: 0000000000000000

[ 398.920446] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000c

[ 398.920447] R13: 000078b8874a75c0 R14: 000078b8874a4e80 R15: 0000000000000002

[ 398.920448] </TASK>

Any and all help/ideas are appreciated. I might go with a fresh install next but I don't know if it's even worth it. I set up my server follwing the Perfect Media Server tutorial with MergerFS/Snapraid on host and documented all steps and code. Reinstalling should be fine but I would still like to avoid it.

System info: latest PVE/Kernel @ AMD Ryzen 9600X on Asus Pro WS B850M-Ace SE w/ Intel A310 dGPU in Pciex16_1 and ASM1166 in Pciex16(X4)_2.
 
Last edited:
Hey y00

Looking at dmesg, it seems like you don't have a hookscript line to prevent doing a reset to your GPU.
[ 2168.106321] pcieport 0000:02:01.0: unlocked secondary bus reset via: pci_reset_bus_function+0x152/0x170
[ 2169.322270] vfio-pci 0000:03:00.0: not ready 1023ms after bus reset; giving up

Apparently ARC don't have the reset function and so we have to tell the VM to not do that at shutdown.
Add something like below to your existing hookscript pre-start section.
echo "Disabling Arc GPU reset"
echo > /sys/bus/pci/devices/0000:03:00.0/reset_method
 
Last edited:
Hi Karol, thanks for your reply. I added the section you mentioned to my hookscript. Sadly, it didn't do anything in regards to the GPU crashing after VM shutdown. The dmesg output states the reset was done but the lspci -vnn -s 03:00.0 suggests the GPU has crashed again.

[60971.727511] Console: switching to colour dummy device 80x25
[60972.061492] vfio-pci 0000:03:00.0: vgaarb: deactivate vga console
[60972.061502] vfio-pci 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=none,decodes=io+mem:owns=io
[60972.061658] vfio-pci 0000:03:00.0: All device reset methods disabled by user
[60972.461561] audit: type=1400 audit(1766517912.582:132): apparmor="DENIED" operation="capable" class="cap" profile="swtpm" pid=217722 comm="swtpm" capability=21 capname="sys_admin"
[60972.785771] tap100i0: entered promiscuous mode
[60972.805509] vmbr0: port 4(fwpr100p0) entered blocking state
[60972.805513] vmbr0: port 4(fwpr100p0) entered disabled state
[60972.805519] fwpr100p0: entered allmulticast mode
[60972.805543] fwpr100p0: entered promiscuous mode
[60972.805556] vmbr0: port 4(fwpr100p0) entered blocking state
[60972.805557] vmbr0: port 4(fwpr100p0) entered forwarding state
[60972.808480] fwbr100i0: port 1(fwln100i0) entered blocking state
[60972.808483] fwbr100i0: port 1(fwln100i0) entered disabled state
[60972.808491] fwln100i0: entered allmulticast mode
[60972.808509] fwln100i0: entered promiscuous mode
[60972.808534] fwbr100i0: port 1(fwln100i0) entered blocking state
[60972.808536] fwbr100i0: port 1(fwln100i0) entered forwarding state
[60972.811389] fwbr100i0: port 2(tap100i0) entered blocking state
[60972.811392] fwbr100i0: port 2(tap100i0) entered disabled state
[60972.811397] tap100i0: entered allmulticast mode
[60972.811420] fwbr100i0: port 2(tap100i0) entered blocking state
[60972.811421] fwbr100i0: port 2(tap100i0) entered forwarding state
[60973.285787] vfio-pci 0000:04:00.0: resetting
[60973.387457] vfio-pci 0000:04:00.0: reset done
[60973.394721] vfio-pci 0000:04:00.0: resetting
[60973.499806] vfio-pci 0000:04:00.0: reset done
[60973.499876] vfio-pci 0000:03:00.0: resetting
[60974.139941] vfio-pci 0000:03:00.0: reset done
[60984.425093] usb 1-6: reset full-speed USB device number 3 using xhci_hcd
[60984.879669] usb 5-2: reset full-speed USB device number 2 using xhci_hcd
[61082.441792] tap100i0: left allmulticast mode
[61082.441811] fwbr100i0: port 2(tap100i0) entered disabled state
[61082.443396] fwbr100i0: port 1(fwln100i0) entered disabled state
[61082.443431] vmbr0: port 4(fwpr100p0) entered disabled state
[61082.443492] fwln100i0 (unregistering): left allmulticast mode
[61082.443495] fwln100i0 (unregistering): left promiscuous mode
[61082.443496] fwbr100i0: port 1(fwln100i0) entered disabled state
[61082.443608] fwpr100p0 (unregistering): left allmulticast mode
[61082.443609] fwpr100p0 (unregistering): left promiscuous mode
[61082.443609] vmbr0: port 4(fwpr100p0) entered disabled state
[61082.649640] usb 5-2: reset full-speed USB device number 2 using xhci_hcd
[61082.800576] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=dfc6 lmp_ver=0a lmp_subver=d922
[61082.963409] usb 1-6: reset full-speed USB device number 3 using xhci_hcd
[61083.009599] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[61083.012587] Bluetooth: hci0: RTL: rom_version status=0 version=1
[61083.012590] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[61083.012657] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[61083.012671] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[61083.231615] input: Logitech Gaming Mouse G502 as /devices/pci0000:00/0000:00:02.1/0000:06:00.0/0000:07:0c.0/0000:0d:00.0/usb1/1-6/1-6:1.0/0003:046D:C332.0005/input/input17
[61083.231735] hid-generic 0003:046D:C332.0005: input,hidraw0: USB HID v1.11 Mouse [Logitech Gaming Mouse G502] on usb-0000:0d:00.0-6/input0
[61083.241512] input: Logitech Gaming Mouse G502 Keyboard as /devices/pci0000:00/0000:00:02.1/0000:06:00.0/0000:07:0c.0/0000:0d:00.0/usb1/1-6/1-6:1.1/0003:046D:C332.0006/input/input18
[61083.292053] hid-generic 0003:046D:C332.0006: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [Logitech Gaming Mouse G502] on usb-0000:0d:00.0-6/input1
[61083.401618] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[61083.414371] vfio-pci 0000:03:00.0: resetting
[61084.605355] vfio-pci 0000:03:00.0: not ready 1023ms after bus reset; giving up
[61105.490391] vfio-pci 0000:03:00.0: reset done
[61124.980946] vfio-pci 0000:03:00.0: Unable to change power state from D0 to D3hot, device inaccessible

I tried to fiddle around with D3Cold setting in BIOS but it also didn't change anything.

03:00.0 VGA compatible controller [0300]: Intel Corporation DG2 [Arc A310] [8086:56a6] (rev 05) (prog-if 00 [VGA controller])
Subsystem: Device [172f:4240]
!!! Unknown header type 7f
Memory at dd000000 (64-bit, non-prefetchable) [size=16M]
Memory at fb00000000 (64-bit, prefetchable) [size=4G]
Expansion ROM at de000000 [disabled] [size=2M]
Kernel driver in use: vfio-pci
Kernel modules: i915, xe

I also added some more stuff I already tried to my first post (1. extracted vbios and saved file and passed it to VM through hostpci0 options, 2.

Here is a longer dmesg out of dmesg | grep -e "i915" -e "snd_intel" -e "03:00.0" -e "04:00.0"

[ 0.230599] pci 0000:03:00.0: [8086:56a6] type 00 class 0x030000 PCIe Endpoint
[ 0.230634] pci 0000:03:00.0: BAR 0 [mem 0xdd000000-0xddffffff 64bit]
[ 0.230637] pci 0000:03:00.0: BAR 2 [mem 0xfb00000000-0xfbffffffff 64bit pref]
[ 0.230640] pci 0000:03:00.0: ROM [mem 0xde000000-0xde1fffff pref]
[ 0.230646] pci 0000:03:00.0: enabling Extended Tags
[ 0.230659] pci 0000:03:00.0: ASPM: overriding L1 acceptable latency from 0x0 to 0x7
[ 0.230704] pci 0000:03:00.0: PME# supported from D0 D3hot
[ 0.230872] pci 0000:04:00.0: [8086:4f92] type 00 class 0x040300 PCIe Endpoint
[ 0.230927] pci 0000:04:00.0: BAR 0 [mem 0xde300000-0xde303fff 64bit]
[ 0.231005] pci 0000:04:00.0: PME# supported from D3hot D3cold
[ 0.245368] pci 0000:03:00.0: vgaarb: setting as boot VGA device
[ 0.245370] pci 0000:03:00.0: vgaarb: bridge control possible
[ 0.245370] pci 0000:03:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[ 0.263356] pci 0000:03:00.0: Adding to iommu group 16
[ 0.263665] pci 0000:04:00.0: Adding to iommu group 17
[ 13.648492] snd_hda_intel 0000:04:00.0: enabling device (0000 -> 0002)
[ 13.760636] i915 0000:03:00.0: [drm] Found dg2/g11 (device ID 56a6) discrete display version 13.00 stepping C0
[ 13.762000] i915 0000:03:00.0: [drm] VT-d active for gfx access
[ 13.777521] i915 0000:03:00.0: vgaarb: deactivate vga console
[ 13.793502] i915 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 13.796892] i915 0000:03:00.0: [drm] DMC 1 mmio[0]/0x5f074 incorrect (expected 0x96fc0, current 0x0)
[ 13.796901] WARNING: CPU: 1 PID: 625 at drivers/gpu/drm/i915/display/intel_dmc.c:645 assert_dmc_loaded+0x1ea/0x240 [i915]
[ 13.797024] Modules linked in: amdgpu(+) snd_hda_codec_atihdmi ipmi_ssif amd_atl snd_hda_codec_hdmi intel_rapl_msr intel_rapl_common i915(+) amd64_edac amdxcp snd_hda_intel edac_mce_amd drm_panel_backlight_quirks gpu_sched kvm_amd snd_hda_codec drm_ttm_helper drm_buddy drm_exec snd_hda_core ttm btusb kvm drm_suballoc_helper snd_intel_dspcfg snd_intel_sdw_acpi drm_display_helper btrtl snd_hwdep polyval_clmulni cec snd_pcm ghash_clmulni_intel btintel acpi_ipmi aesni_intel snd_timer ipmi_si btbcm sch_fq_codel ast rc_core snd ftdi_sio joydev rapl ipmi_devintf btmtk input_leds bluetooth eeepc_wmi pcspkr usbserial i2c_algo_bit soundcore wmi_bmof spd5118 k10temp ccp ipmi_msghandler mac_hid zfs(PO) spl(O) msr vhost_net vhost vhost_iotlb tap vfio_pci vfio_pci_core irqbypass vfio_iommu_type1 vfio iommufd efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 btrfs blake2b_generic xor raid6_pq hid_generic usbkbd usbmouse dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio cdc_ether usbhid usbnet mfd_aaeon mii hid asus_wmi
[ 13.797062] RIP: 0010:assert_dmc_loaded+0x1ea/0x240 [i915]
[ 13.797122] intel_dmc_enable_pipe+0xd2/0x2d0 [i915]
[ 13.797154] intel_modeset_setup_hw_state+0x9b2/0x14a0 [i915]
[ 13.797209] intel_display_driver_probe_nogem+0x1b3/0x270 [i915]
[ 13.797257] ? intel_display_driver_probe_nogem+0x1b3/0x270 [i915]
[ 13.797302] i915_driver_probe+0x421/0xb40 [i915]
[ 13.797356] i915_pci_probe+0xc1/0xf0 [i915]
[ 13.797411] i915_pci_register_driver+0x23/0x30 [i915]
[ 13.797450] i915_init+0x24/0x90 [i915]
[ 13.797494] ? __pfx_i915_init+0x10/0x10 [i915]
[ 13.799957] i915 0000:03:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.8)
[ 13.824020] i915 0000:03:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.49.4
[ 13.824022] i915 0000:03:00.0: [drm] GT0: HuC firmware i915/dg2_huc_gsc.bin version 7.10.16
[ 13.834145] i915 0000:03:00.0: [drm] GT0: GUC: submission enabled
[ 13.834145] i915 0000:03:00.0: [drm] GT0: GUC: SLPC enabled
[ 13.834378] i915 0000:03:00.0: [drm] GT0: GUC: RC enabled
[ 13.850469] i915 0000:03:00.0: [drm] Registered 4 planes with drm panic
[ 13.850471] [drm] Initialized i915 1.6.0 for 0000:03:00.0 on minor 2
[ 13.897457] fbcon: i915drmfb (fb0) is primary device
[ 13.939864] i915 0000:03:00.0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
[ 14.010159] i915 0000:03:00.0: [drm] fb0: i915drmfb frame buffer device
[ 14.056731] snd_hda_intel 0000:04:00.0: bound 0000:03:00.0 (ops intel_audio_component_bind_ops [i915])
[ 14.061282] snd_hda_intel 0000:04:00.0: Unknown capability 0
[ 14.584246] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:04.0/0000:04:00.0/sound/card1/input13
[ 14.584326] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:04.0/0000:04:00.0/sound/card1/input14
[ 14.584368] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:04.0/0000:04:00.0/sound/card1/input15
[ 14.584389] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:04.0/0000:04:00.0/sound/card1/input16
[ 15.023445] i915 0000:03:00.0: [drm] GT0: HuC: authenticated for all workloads
[ 15.023450] mei_pxp i915.mei-gsc.768-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:03:00.0 (ops i915_pxp_tee_component_ops [i915])
[60972.061492] vfio-pci 0000:03:00.0: vgaarb: deactivate vga console
[60972.061502] vfio-pci 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=none,decodes=io+mem:owns=io
[60972.061658] vfio-pci 0000:03:00.0: All device reset methods disabled by user
[60973.285787] vfio-pci 0000:04:00.0: resetting
[60973.387457] vfio-pci 0000:04:00.0: reset done
[60973.394721] vfio-pci 0000:04:00.0: resetting
[60973.499806] vfio-pci 0000:04:00.0: reset done
[60973.499876] vfio-pci 0000:03:00.0: resetting
[60974.139941] vfio-pci 0000:03:00.0: reset done
[61083.414371] vfio-pci 0000:03:00.0: resetting
[61084.605355] vfio-pci 0000:03:00.0: not ready 1023ms after bus reset; giving up
[61105.490391] vfio-pci 0000:03:00.0: reset done
[61124.980946] vfio-pci 0000:03:00.0: Unable to change power state from D0 to D3hot, device inaccessible
[61761.013637] vfio-pci 0000:03:00.0: Unable to change power state from D3cold to D0, device inaccessible
[61780.704799] vfio-pci 0000:03:00.0: Unable to change power state from D3cold to D0, device inaccessible
 
Also, here is a more complete output from dmesg that might help. I am still relatively new to Linux.
[ 13.648492] snd_hda_intel 0000:04:00.0: enabling device (0000 -> 0002)
[ 13.648835] snd_hda_intel 0000:10:00.1: enabling device (0000 -> 0002)
[ 13.648882] snd_hda_intel 0000:10:00.1: Handle vga_switcheroo audio client
[ 13.650595] EDAC MC0: Giving out device to module amd64_edac controller F1Ah_M40h: DEV 0000:00:18.3 (INTERRUPT)
[ 13.650597] EDAC amd64: F1Ah_M40h detected (node 0).
[ 13.650598] EDAC MC: UMC0 chip selects:
[ 13.650598] EDAC amd64: MC: 0: 0MB 1: 0MB
[ 13.650599] EDAC amd64: MC: 2: 16384MB 3: 0MB
[ 13.650600] EDAC MC: UMC1 chip selects:
[ 13.650600] EDAC amd64: MC: 0: 0MB 1: 0MB
[ 13.650601] EDAC amd64: MC: 2: 16384MB 3: 0MB
[ 13.662618] ipmi_si IPI0001:00: IPMI message handler: Found new BMC (man_id: 0x000a3f, prod_id: 0x1293, dev_id: 0x20)
[ 13.712982] ipmi_si IPI0001:00: IPMI kcs interface initialized
[ 13.752795] intel_rapl_common: Found RAPL domain package
[ 13.752800] intel_rapl_common: Found RAPL domain core
[ 13.758787] ipmi_ssif: IPMI SSIF Interface driver
[ 13.758787] amd_atl: AMD Address Translation Library initialized
[ 13.760636] i915 0000:03:00.0: [drm] Found dg2/g11 (device ID 56a6) discrete display version 13.00 stepping C0
[ 13.762000] i915 0000:03:00.0: [drm] VT-d active for gfx access
[ 13.762700] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:10:00.1/sound/card0/input11
[ 13.762724] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:10:00.1/sound/card0/input12
[ 13.777341] Console: switching to colour dummy device 80x25
[ 13.777521] i915 0000:03:00.0: vgaarb: deactivate vga console
[ 13.793502] i915 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 13.796891] ------------[ cut here ]------------
[ 13.796892] i915 0000:03:00.0: [drm] DMC 1 mmio[0]/0x5f074 incorrect (expected 0x96fc0, current 0x0)
[ 13.796901] WARNING: CPU: 1 PID: 625 at drivers/gpu/drm/i915/display/intel_dmc.c:645 assert_dmc_loaded+0x1ea/0x240 [i915]
[ 13.797024] Modules linked in: amdgpu(+) snd_hda_codec_atihdmi ipmi_ssif amd_atl snd_hda_codec_hdmi intel_rapl_msr intel_rapl_common i915(+) amd64_edac amdxcp snd_hda_intel edac_mce_amd drm_panel_backlight_quirks gpu_sched kvm_amd snd_hda_codec drm_ttm_helper drm_buddy drm_exec snd_hda_core ttm btusb kvm drm_suballoc_helper snd_intel_dspcfg snd_intel_sdw_acpi drm_display_helper btrtl snd_hwdep polyval_clmulni cec snd_pcm ghash_clmulni_intel btintel acpi_ipmi aesni_intel snd_timer ipmi_si btbcm sch_fq_codel ast rc_core snd ftdi_sio joydev rapl ipmi_devintf btmtk input_leds bluetooth eeepc_wmi pcspkr usbserial i2c_algo_bit soundcore wmi_bmof spd5118 k10temp ccp ipmi_msghandler mac_hid zfs(PO) spl(O) msr vhost_net vhost vhost_iotlb tap vfio_pci vfio_pci_core irqbypass vfio_iommu_type1 vfio iommufd efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 btrfs blake2b_generic xor raid6_pq hid_generic usbkbd usbmouse dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio cdc_ether usbhid usbnet mfd_aaeon mii hid asus_wmi
[ 13.797052] nvme sparse_keymap nvme_core xhci_pci i2c_piix4 platform_profile ahci nvme_keyring video i2c_smbus xhci_hcd igc libahci nvme_auth wmi gpio_amdpt
[ 13.797058] CPU: 1 UID: 0 PID: 625 Comm: (udev-worker) Tainted: P O 6.17.4-1-pve #1 PREEMPT(voluntary)
[ 13.797060] Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE
[ 13.797061] Hardware name: ASUS System Product Name/Pro WS B850M-ACE SE, BIOS 1804 11/12/2025
[ 13.797062] RIP: 0010:assert_dmc_loaded+0x1ea/0x240 [i915]
[ 13.797113] Code: c8 e8 ea 30 38 cf 44 8b 4d c8 45 89 f8 48 c7 c7 80 7c c9 c1 48 89 c6 41 51 45 89 e1 41 56 8b 4d d4 48 8b 55 c0 e8 56 41 8c ce <0f> 0b 58 5a e9 79 ff ff ff 48 8b 17 eb c1 48 8b 3b 48 85 ff 74 04
[ 13.797114] RSP: 0018:ffffd39dc1e53338 EFLAGS: 00010246
[ 13.797115] RAX: 0000000000000000 RBX: ffff8ae221b56000 RCX: 0000000000000000
[ 13.797116] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 13.797116] RBP: ffffd39dc1e53398 R08: 0000000000000000 R09: 0000000000000000
[ 13.797116] R10: 0000000000000000 R11: 0000000000000000 R12: 000000000005f074
[ 13.797117] R13: ffff8ae21afd7400 R14: 0000000000096fc0 R15: 0000000000000000
[ 13.797117] FS: 00007b23ce84e980(0000) GS:ffff8ae9ab806000(0000) knlGS:0000000000000000
[ 13.797118] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 13.797118] CR2: 0000641dbf833e98 CR3: 00000001037dd000 CR4: 0000000000f50ef0
[ 13.797119] PKRU: 55555554
[ 13.797120] Call Trace:
[ 13.797121] <TASK>
[ 13.797122] intel_dmc_enable_pipe+0xd2/0x2d0 [i915]
[ 13.797154] intel_modeset_setup_hw_state+0x9b2/0x14a0 [i915]
[ 13.797206] ? drm_modeset_lock+0x5f/0xf0
[ 13.797209] intel_display_driver_probe_nogem+0x1b3/0x270 [i915]
[ 13.797257] ? intel_display_driver_probe_nogem+0x1b3/0x270 [i915]
[ 13.797302] i915_driver_probe+0x421/0xb40 [i915]
[ 13.797352] ? drm_privacy_screen_get+0x198/0x1b0
[ 13.797354] ? acpi_dev_found+0x64/0x80
[ 13.797356] i915_pci_probe+0xc1/0xf0 [i915]
[ 13.797398] local_pci_probe+0x44/0xa0
[ 13.797400] pci_device_probe+0xe9/0x280
[ 13.797401] really_probe+0xf6/0x370
[ 13.797402] ? pm_runtime_barrier+0x55/0xa0
[ 13.797403] __driver_probe_device+0x8c/0x140
[ 13.797404] driver_probe_device+0x24/0xd0
[ 13.797405] __driver_attach+0xe4/0x210
[ 13.797406] ? __pfx___driver_attach+0x10/0x10
[ 13.797406] bus_for_each_dev+0x8b/0xf0
[ 13.797408] driver_attach+0x1e/0x30
[ 13.797408] bus_add_driver+0x14e/0x240
[ 13.797410] driver_register+0x73/0xf0
[ 13.797410] __pci_register_driver+0x5e/0x70
[ 13.797411] i915_pci_register_driver+0x23/0x30 [i915]
[ 13.797450] i915_init+0x24/0x90 [i915]
[ 13.797494] ? __pfx_i915_init+0x10/0x10 [i915]
[ 13.797532] do_one_initcall+0x5a/0x330
[ 13.797534] do_init_module+0x97/0x290
[ 13.797536] load_module+0x1eff/0x2180
[ 13.797538] init_module_from_file+0x95/0x100
[ 13.797539] ? init_module_from_file+0x95/0x100
[ 13.797541] idempotent_init_module+0x110/0x300
[ 13.797542] __x64_sys_finit_module+0x6f/0xe0
[ 13.797544] x64_sys_call+0x1c88/0x2330
[ 13.797545] do_syscall_64+0x80/0xa30
[ 13.797546] ? generic_file_read_iter+0xbb/0x110
[ 13.797549] ? vfs_read+0x180/0x390
[ 13.797550] ? vfs_read+0x180/0x390
[ 13.797551] ? __rseq_handle_notify_resume+0xa9/0x470
[ 13.797552] ? exit_to_user_mode_loop+0xe6/0x170
[ 13.797553] ? do_syscall_64+0x25b/0xa30
[ 13.797554] ? putname+0x65/0x90
[ 13.797556] ? do_sys_openat2+0xa5/0xf0
[ 13.797557] ? __x64_sys_openat+0x52/0xa0
[ 13.797559] ? x64_sys_call+0x1bf2/0x2330
[ 13.797559] ? do_syscall_64+0xb8/0xa30
[ 13.797560] ? do_syscall_64+0x25b/0xa30
[ 13.797561] ? do_syscall_64+0xb8/0xa30
[ 13.797562] ? do_syscall_64+0x25b/0xa30
[ 13.797563] ? irqentry_exit+0x43/0x50
[ 13.797565] entry_SYSCALL_64_after_hwframe+0x76/0x7e
[ 13.797565] RIP: 0033:0x7b23ce318779
[ 13.797566] Code: ff 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 4f 86 0d 00 f7 d8 64 89 01 48
[ 13.797567] RSP: 002b:00007ffc37889758 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 13.797568] RAX: ffffffffffffffda RBX: 000057214d9eead0 RCX: 00007b23ce318779
[ 13.797568] RDX: 0000000000000000 RSI: 00007b23ce05944d RDI: 000000000000001d
[ 13.797569] RBP: 0000000000000000 R08: 0000000000000000 R09: 000057214d9a2d10
[ 13.797569] R10: 0000000000000000 R11: 0000000000000246 R12: 00007b23ce05944d
[ 13.797569] R13: 0000000000020000 R14: 000057214d9eba80 R15: 0000000000000000
[ 13.797570] </TASK>
[ 13.797571] ---[ end trace 0000000000000000 ]---