now it even did some weirder stuff… This happened when I tried to start a macOS VM after shutting down the Q35 Windows 10 VM normally. It always crashes the card, but this time it just printed something different to the logs and I had to force shutdown the whole pc! Here we go, hope this helps:
[48504.498914] iommu ivhd0: AMD-Vi: Event logged [IOTLB_INV_TIMEOUT device=0b:00.0 address=0x7fb573b20]
[48504.665666] AMD-Vi: Completion-Wait loop timed out
[48504.832874] AMD-Vi: Completion-Wait loop timed out
[48505.032100] AMD-Vi: Command buffer timeout
[48505.231066] AMD-Vi: Command buffer timeout
[48505.231096] ------------[ cut here ]------------
[48505.231115] WARNING: CPU: 10 PID: 26679 at drivers/iommu/amd_iommu.c:1272 __domain_flush_pages.cold.44+0xc/0x13
[48505.231116] Modules linked in: hid_generic(E) usbhid(E) hid(E) xt_nat(E) xt_tcpudp(E) veth(E) xt_conntrack(E) xt_MASQUERADE(E) nf_conntrack_netlink(E) xfrm_user(E) xfrm_algo(E) nft_counter(E) xt_addrtype(E) nft_compat(E) nft_chain_nat(E) nf_nat(E) nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) br_netfilter(E) bridge(E) stp(E) llc(E) vhost_net(E) tun(E) vhost(E) macvtap(E) macvlan(E) tap(E) softdog(E) nf_tables(E) nfnetlink(E) overlay(E) cpufreq_conservative(E) cpufreq_userspace(E) cpufreq_powersave(E) btusb(E) edac_mce_amd(E) btrtl(E) btbcm(E) kvm_amd(E) btintel(E) iwlmvm(E) kvm(E) mac80211(E) bluetooth(E) libarc4(E) crct10dif_pclmul(E) nls_ascii(E) drbg(E) crc32_pclmul(E) nls_cp437(E) iwlwifi(E) ansi_cprng(E) ghash_clmulni_intel(E) vfat(E) efi_pstore(E) fat(E) snd_pcm(E) ecdh_generic(E) aesni_intel(E) snd_timer(E) cfg80211(E) sp5100_tco(E) ecc(E) snd(E) aes_x86_64(E) crypto_simd(E) soundcore(E) cryptd(E) glue_helper(E) efivars(E) evdev(E) wmi_bmof(E) pcspkr(E) k10temp(E) watchdog(E)
[48505.231156] rfkill(E) sg(E) ccp(E) rng_core(E) button(E) acpi_cpufreq(E) sunrpc(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc16(E) mbcache(E) jbd2(E) btrfs(E) zstd_decompress(E) zstd_compress(E) raid10(E) raid456(E) async_raid6_recov(E) async_memcpy(E) async_pq(E) async_xor(E) async_tx(E) xor(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) raid0(E) multipath(E) linear(E) vfio_pci(E) irqbypass(E) vfio_virqfd(E) vfio_iommu_type1(E) vfio(E) raid1(E) md_mod(E) sd_mod(E) crc32c_intel(E) ahci(E) xhci_pci(E) libahci(E) r8169(E) i2c_piix4(E) xhci_hcd(E) realtek(E) libata(E) libphy(E) usbcore(E) scsi_mod(E) wmi(E) gpio_amdpt(E) gpio_generic(E)
[48505.231183] CPU: 10 PID: 26679 Comm: qemu-system-x86 Tainted: G W E 5.3.7-navi #1
[48505.231184] Hardware name: Gigabyte Technology Co., Ltd. AB350N-Gaming WIFI/AB350N-Gaming WIFI-CF, BIOS F25 01/16/2019
[48505.231187] RIP: 0010:__domain_flush_pages.cold.44+0xc/0x13
[48505.231190] Code: ff b8 fb ff ff ff e9 7e ab ff ff 48 c7 c7 d8 39 26 b2 e8 f8 9b ba ff 0f 0b e9 8f b4 ff ff 48 c7 c7 d8 39 26 b2 e8 e5 9b ba ff <0f> 0b e9 ab c8 ff ff 48 89 1c 24 48 89 d3 48 c7 c7 30 c5 2e b2 e8
[48505.231191] RSP: 0018:ffffb5f840a1fc70 EFLAGS: 00010246
[48505.231193] RAX: 0000000000000024 RBX: ffff9c1c3e79fa10 RCX: 0000000000000000
[48505.231194] RDX: 0000000000000000 RSI: ffff9c1f7ec97688 RDI: ffff9c1f7ec97688
[48505.231195] RBP: ffffb5f840a1fcd8 R08: 0000000000002647 R09: 0000000000000004
[48505.231196] R10: 0000000000000000 R11: 0000000000000001 R12: ffff9c1f7b412000
[48505.231197] R13: 00000000fffffffb R14: ffff9c1c3e79fa10 R15: 7fffffffffffffff
[48505.231199] FS: 00007f30ecf2d3c0(0000) GS:ffff9c1f7ec80000(0000) knlGS:0000000000000000
[48505.231201] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[48505.231202] CR2: 000056520fe7b3c0 CR3: 000000000a1da000 CR4: 00000000003406e0
[48505.231203] Call Trace:
[48505.231208] amd_iommu_flush_iotlb_all+0x23/0x30
[48505.231212] vfio_sync_unpin.isra.18+0x2f/0xd0 [vfio_iommu_type1]
[48505.231216] vfio_unmap_unpin+0x315/0x350 [vfio_iommu_type1]
[48505.231220] vfio_remove_dma+0x19/0x60 [vfio_iommu_type1]
[48505.231223] vfio_iommu_type1_ioctl+0x624/0x7bb [vfio_iommu_type1]
[48505.231227] do_vfs_ioctl+0xa4/0x630
[48505.231231] ksys_ioctl+0x60/0x90
[48505.231233] __x64_sys_ioctl+0x16/0x20
[48505.231236] do_syscall_64+0x55/0x110
[48505.231240] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[48505.231242] RIP: 0033:0x7f30eef6c427
[48505.231244] Code: 00 00 90 48 8b 05 69 aa 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 39 aa 0c 00 f7 d8 64 89 01 48
[48505.231245] RSP: 002b:00007fffa9f6b848 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[48505.231247] RAX: ffffffffffffffda RBX: 00007fffa9f6b930 RCX: 00007f30eef6c427
[48505.231248] RDX: 00007fffa9f6b850 RSI: 0000000000003b72 RDI: 0000000000000017
[48505.231249] RBP: 0000000000000000 R08: 0000000080000000 R09: 000000007fffffff
[48505.231250] R10: 0000000000000000 R11: 0000000000000246 R12: 00005581576d2ab0
[48505.231251] R13: 0000000080000000 R14: 0000000080000000 R15: 0000000000000000
[48505.231254] ---[ end trace 3532ad8f65694501 ]---
[48505.434060] AMD-Vi: Command buffer timeout
[48505.434112] ------------[ cut here ]------------
[48505.434136] WARNING: CPU: 0 PID: 0 at drivers/iommu/amd_iommu.c:1272 __domain_flush_pages.cold.44+0xc/0x13
[48505.434141] Modules linked in: hid_generic(E) usbhid(E) hid(E) xt_nat(E) xt_tcpudp(E) veth(E) xt_conntrack(E) xt_MASQUERADE(E) nf_conntrack_netlink(E) xfrm_user(E) xfrm_algo(E) nft_counter(E) xt_addrtype(E) nft_compat(E) nft_chain_nat(E) nf_nat(E) nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) br_netfilter(E) bridge(E) stp(E) llc(E) vhost_net(E) tun(E) vhost(E) macvtap(E) macvlan(E) tap(E) softdog(E) nf_tables(E) nfnetlink(E) overlay(E) cpufreq_conservative(E) cpufreq_userspace(E) cpufreq_powersave(E) btusb(E) edac_mce_amd(E) btrtl(E) btbcm(E) kvm_amd(E) btintel(E) iwlmvm(E) kvm(E) mac80211(E) bluetooth(E) libarc4(E) crct10dif_pclmul(E) nls_ascii(E) drbg(E) crc32_pclmul(E) nls_cp437(E) iwlwifi(E) ansi_cprng(E) ghash_clmulni_intel(E) vfat(E) efi_pstore(E) fat(E) snd_pcm(E) ecdh_generic(E) aesni_intel(E) snd_timer(E) cfg80211(E) sp5100_tco(E) ecc(E) snd(E) aes_x86_64(E) crypto_simd(E) soundcore(E) cryptd(E) glue_helper(E) efivars(E) evdev(E) wmi_bmof(E) pcspkr(E) k10temp(E) watchdog(E)
[48505.434193] rfkill(E) sg(E) ccp(E) rng_core(E) button(E) acpi_cpufreq(E) sunrpc(E) efivarfs(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc16(E) mbcache(E) jbd2(E) btrfs(E) zstd_decompress(E) zstd_compress(E) raid10(E) raid456(E) async_raid6_recov(E) async_memcpy(E) async_pq(E) async_xor(E) async_tx(E) xor(E) raid6_pq(E) libcrc32c(E) crc32c_generic(E) raid0(E) multipath(E) linear(E) vfio_pci(E) irqbypass(E) vfio_virqfd(E) vfio_iommu_type1(E) vfio(E) raid1(E) md_mod(E) sd_mod(E) crc32c_intel(E) ahci(E) xhci_pci(E) libahci(E) r8169(E) i2c_piix4(E) xhci_hcd(E) realtek(E) libata(E) libphy(E) usbcore(E) scsi_mod(E) wmi(E) gpio_amdpt(E) gpio_generic(E)
[48505.434232] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W E 5.3.7-navi #1
[48505.434233] Hardware name: Gigabyte Technology Co., Ltd. AB350N-Gaming WIFI/AB350N-Gaming WIFI-CF, BIOS F25 01/16/2019
[48505.434237] RIP: 0010:__domain_flush_pages.cold.44+0xc/0x13
[48505.434240] Code: ff b8 fb ff ff ff e9 7e ab ff ff 48 c7 c7 d8 39 26 b2 e8 f8 9b ba ff 0f 0b e9 8f b4 ff ff 48 c7 c7 d8 39 26 b2 e8 e5 9b ba ff <0f> 0b e9 ab c8 ff ff 48 89 1c 24 48 89 d3 48 c7 c7 30 c5 2e b2 e8
[48505.434242] RSP: 0018:ffffb5f840003df0 EFLAGS: 00010246
[48505.434245] RAX: 0000000000000024 RBX: ffff9c1f70525010 RCX: 0000000000000000
[48505.434246] RDX: 0000000000000000 RSI: ffff9c1f7ea17688 RDI: ffff9c1f7ea17688
[48505.434247] RBP: ffffb5f840003e58 R08: 000000000000266d R09: 0000000000000004
[48505.434248] R10: 0000000000000000 R11: 0000000000000001 R12: ffff9c1f70525860
[48505.434250] R13: 00000000fffffffb R14: ffff9c1f70525010 R15: 7fffffffffffffff
[48505.434252] FS: 0000000000000000(0000) GS:ffff9c1f7ea00000(0000) knlGS:0000000000000000
[48505.434253] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[48505.434255] CR2: 00007f7a4fffdff8 CR3: 000000043fb6a000 CR4: 00000000003406f0
[48505.434256] Call Trace:
[48505.434259] <IRQ>
[48505.434266] ? cpumask_next_and+0x19/0x20
[48505.434270] ? load_balance+0x144/0xb20
[48505.434273] ? fq_ring_free+0xd0/0xd0
[48505.434276] iova_domain_flush_tlb+0x23/0x30
[48505.434280] iova_domain_flush+0x1a/0x30
[48505.434283] fq_flush_timeout+0x2d/0x90
[48505.434287] ? fq_ring_free+0xd0/0xd0
[48505.434293] call_timer_fn+0x2d/0x130
[48505.434296] run_timer_softirq+0x19e/0x410
[48505.434298] ? __hrtimer_run_queues+0x130/0x280
[48505.434301] ? ktime_get+0x3a/0xa0
[48505.434305] __do_softirq+0xdf/0x2e5
[48505.434310] irq_exit+0xa3/0xb0
[48505.434313] smp_apic_timer_interrupt+0x74/0x130
[48505.434315] apic_timer_interrupt+0xf/0x20
[48505.434317] </IRQ>
[48505.434321] RIP: 0010:cpuidle_enter_state+0xbc/0x450
[48505.434324] Code: e8 79 6f ae ff 80 7c 24 13 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 67 03 00 00 31 ff e8 2b 92 b4 ff fb 66 0f 1f 44 00 00 <45> 85 e4 0f 89 d1 01 00 00 c7 45 10 00 00 00 00 48 83 c4 18 44 89
[48505.434325] RSP: 0018:ffffffffb2403e60 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
[48505.434328] RAX: ffff9c1f7ea2a580 RBX: ffffffffb24bc680 RCX: 000000000000001f
[48505.434329] RDX: 00002c1d7c356ba1 RSI: 0000000028133e14 RDI: 0000000000000000
[48505.434330] RBP: ffff9c1f6fcc4000 R08: 0000000000000002 R09: 0000000000029e00
[48505.434331] R10: 00008cfcfa1870a0 R11: ffff9c1f7ea294e4 R12: 0000000000000002
[48505.434332] R13: ffffffffb24bc758 R14: 0000000000000002 R15: 00000000d6d2f8aa
[48505.434338] cpuidle_enter+0x29/0x40
[48505.434342] do_idle+0x228/0x270
[48505.434345] cpu_startup_entry+0x19/0x20
[48505.434350] start_kernel+0x558/0x576
[48505.434355] secondary_startup_64+0xa4/0xb0
[48505.434359] ---[ end trace 3532ad8f65694502 ]---
EDIT: Great now I can’t even boot debian anymore, hope I can fix it in a chroot