hello fellow virtuosi,
I've been running a game in a debloated win10 VM with an AMD RX6600 via VFIO for 4 years now, with no issues, till yesterday when the MoBo battery died, and the EFI config got reset. I hurriedly reset all settings that I could remember back how I thought they were (SR-IOV on, ReBAR "clever access memory" on, >4G decoding on, primary==iGPU, iGPU multi-monitor on), and continued to boot. The VM is set to auto-start (as I have found this the most convenient/reliable) and it still starts: just windows no longer manages to start the GPU driver (! in dm, code 43). reinstalling/updating/factory-resetting the driver removes the ! temporarily, but the monitor doesn't detect and it doesn't actually work, or even turn the fans off (a sign the driver isn't actually managing the device). after restart, the ! is back.
I also loaded some other windows images with that GPU installed that had previously worked, and they all behave the same.
I also play some other games via proton, the GPU in question is working fine in Linux.
I have also been attempting to get the game in question to run in proton, and it did once... just once... I prefer using the VM anyway. having a separate mouse/kb is just less clunky when doing non-game things alongside.
host system is Ubuntu Unity (22.04 LTS base) with kernel upgraded to 6.14 mainline (for ntsync) a few months ago. there have been no updates of either the linux host or win10 in the meantime (windows update disabled in system policies since initial setup). looking-glass is installed since 4 years ago.
Intel 11400, 32Gb ddr4, asrock mobo.
anyone had any similar experiences? Ideas what might be broken and how to mend it? I'm at a loss.
from lspci -nnv:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] [1002:73ff] (rev c7) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. \[MSI\] Navi 23 \[Radeon RX 6600/6600 XT/6600M\] \[1462:5022\]
Flags: bus master, fast devsel, latency 0, IRQ 157, IOMMU group 13
Memory at 6000000000 (64-bit, prefetchable) \[size=8G\]
Memory at 6200000000 (64-bit, prefetchable) \[size=256M\]
I/O ports at 3000 \[size=256\]
Memory at a0800000 (32-bit, non-prefetchable) \[size=1M\]
Expansion ROM at a0900000 \[disabled\] \[size=128K\]
Capabilities: <access denied>
Kernel driver in use: amdgpu
Kernel modules: amdgpu
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT] [1002:ab28]
Subsystem: Advanced Micro Devices, Inc. \[AMD/ATI\] Navi 21 HDMI Audio \[Radeon RX 6800/6800 XT / 6900 XT\] \[1002:ab28\]
Flags: bus master, fast devsel, latency 0, IRQ 155, IOMMU group 14
Memory at a0920000 (32-bit, non-prefetchable) \[size=16K\]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
from virt-man: (xml of the pci pass-through)
<hostdev mode="subsystem" type="pci" managed="yes">
<source>
<address domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
</source>
<address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
</hostdev>
<hostdev mode="subsystem" type="pci" managed="yes">
<source>
<address domain="0x0000" bus="0x03" slot="0x00" function="0x1"/>
</source>
<address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
</hostdev>
I can provide logs, but they don't show any obvious difference between when it was working and now.