RX 9060XT (16GB) GPU Passthrough Success

I got a 9060XT intended for a eGPU build, but gave it a run with passing through to a Windows 11 VM.

It seems to work exactly the same as my 9070XT.

Tested so far :

  • VM reboots (tested 3 reboots in a row and WIN 11 starts every time)
  • VM shutdown (rebinds to amdgpu after shutting down successfully)

Notes : you need to stop your Linux window manager and unbind amdgpu to get thinks to work when you shut the VM down (but this seems to be an amdgpu bug rather than the cards)

Some videos

VM shutdown and rebound to amdgpu

VM reboots

1 Like

hows the Linux guest support?

I haven’t tested a Linux guest in a while, if I have some time in the next day or so I’ll give it a try.

1 Like

Ever since Venus appeared, Linux guest is kinda redundant for passthrough.

For those uninitiated: Venus basically allows you to set up Vulkan guests on the VM itself. Thus, you no longer need to pass through the entire GPU for 99.99% of all use cases, and it comes with better supervision than passthrough.

https://docs.mesa3d.org/drivers/venus.html

4 Likes

@BuzzBumbleBee Can you share your configuration? I am trying to passthrough the asus prime 9060xt 16gb to a windows vm using proxmox but running into issues, the gpu is not even appearing in the vm.

1 Like

I’ve been meaning to try this out, though it’ll be a few weeks before I have the time and energy.

This gist: QEMU with VirtIO GPU Vulkan Support · GitHub appears to be the most up to date guide on how to use it that I can find. If anyone has other recommended resources I’d appreciate them.

2 Likes

This is the first I’ve seen this. Sounds like it should make most vGPU needs for Linux on Linux VMs obsolete.

Here’s the (perhaps dumb) question I have, could you use DXVK on Windows and a similar driver there to let it act as a Vulkan guest?

Would there even be any benefit? Like would you gain (or lose) compatibility with games that don’t work on Linux even with DXVK?

Either way this gets me a lot closer to wanting to try out switching to a fully VM daily driver.

1 Like

Hey refractsensuous, have you managed to passthrough your Asus RX9060XT in the end?

I have the same card. Tried everything I could find but nothing specifically on this card, from this vendor. I managed to passthrough it once with a modified mod but could not replicate it after. Cheers.

Hi, sorry for late answer. I was meaning to get back to you on this and apparently never did, my bad.

As far as I understand it, Venus is for Linux guests only. It requires specific driver work, of the kind that cannot be replicated without access to the NT Kernel source code - and I think it will be a cold day in hell before Microsoft allows this, they have no reason to do it.

That said, Linux guest on Windows? Not a problem at all. You’d probably need the latest version of QEmu or similar to create the Vulkan buffer translations, but after that, it should use the same paths as every other Vulkan based program to render stuff.

With this approach Venus can enable a small distro (think Tiny Core Linux at 23MB) with a game payload to run flawlessly in a VM. That FF7: Rebirth? Ship the entire VM and you add 50 MB of libraries on top of a 100 GB game, guaranteed binary compatibility! :slight_smile:

Saving this post for later. Looking for something to replace my Vega card.

can you please share you xml and the guide you followed? i have the same gpu but can’t get the vm to detect it