Hello everyone,
I just got a new AMD RX9060XT which I want to passthrough to a bazzite VM.
So far I was using the iGPU of my Ryzen 8600G, which worked fine after following this guide.
Essentially, I had to extract the vbios and AMDGopDriver.rom from my mainboards UEFI BIOS, enable IOMMU, add vfio kernel modules, add the correct deviceids to vfio.conf, add softdep for amdgpu and snd_hda_intel to load after vfio-pci and specify both the vbios.rom and AMDGopDriver.rom when passing through - then all worked fine.
I did the exact same process for the AMD RX9060XT, and if I only pass through the GPU, everything works fine, except I have no audio over HDMI.
Now I'm stuck on how to passthrough the HDMI audio. Where do I get the matching AMDGopDriver.rom from? If I passthrough the audio device `03:00.1` without specifying the rom driver, the VM boots, but I get no video output at all. Same happens if use the AMDGopDriver.rom I extracted from the UEFI BIOS from my mainboard - so clearly they aren't compatible.
This configuration boots and works fine:
This does boot, but no video output:
Same for this one:
Any idea how to get HMDI audio working? Where do I get the AMDGopDriver.rom for my GPU (Sapphire Pulse RX9060XT 16GB) from?
I tried to use UBU to extract from the full VBIOS I found, but that doesn't seem to work.
Some supplementary information:
lspci -nnk
I just got a new AMD RX9060XT which I want to passthrough to a bazzite VM.
So far I was using the iGPU of my Ryzen 8600G, which worked fine after following this guide.
Essentially, I had to extract the vbios and AMDGopDriver.rom from my mainboards UEFI BIOS, enable IOMMU, add vfio kernel modules, add the correct deviceids to vfio.conf, add softdep for amdgpu and snd_hda_intel to load after vfio-pci and specify both the vbios.rom and AMDGopDriver.rom when passing through - then all worked fine.
I did the exact same process for the AMD RX9060XT, and if I only pass through the GPU, everything works fine, except I have no audio over HDMI.
Now I'm stuck on how to passthrough the HDMI audio. Where do I get the matching AMDGopDriver.rom from? If I passthrough the audio device `03:00.1` without specifying the rom driver, the VM boots, but I get no video output at all. Same happens if use the AMDGopDriver.rom I extracted from the UEFI BIOS from my mainboard - so clearly they aren't compatible.
This configuration boots and works fine:
Code:
hostpci0: 0000:03:00.0,pcie=1,romfile=vbios_RX9060XT_7590.bin,x-vga=1
This does boot, but no video output:
Code:
hostpci0: 0000:03:00.0,pcie=1,romfile=vbios_RX9060XT_7590.bin,x-vga=1
hostpci1: 0000:03:00.1,pcie=1
Same for this one:
Code:
hostpci0: 0000:03:00.0,pcie=1,romfile=vbios_RX9060XT_7590.bin,x-vga=1
hostpci1: 0000:03:00.1,pcie=1,romfile=AMDGopDriver.rom
Any idea how to get HMDI audio working? Where do I get the AMDGopDriver.rom for my GPU (Sapphire Pulse RX9060XT 16GB) from?
I tried to use UBU to extract from the full VBIOS I found, but that doesn't seem to work.
Some supplementary information:
lspci -nnk
Code:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:7590] (rev c0)
Subsystem: Sapphire Technology Limited Device [1da2:a493]
Kernel driver in use: vfio-pci
Kernel modules: amdgpu
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:ab40]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:ab40]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
Last edited: