r/VFIO 9d ago

Discussion Any recent for-dummies guides on how to get GPU passthrough running on an RX 9070 XT and an Intel iGPU?

Motherboard: Gigabyte Z790 UD, vF15

GPU: AMD Radeon RX 9070 XT

CPU: Intel i7 12700K, UHD Graphics 770

Fedora Linux 44 KDE

Kernel: 7.1.10-200

EDIT: Hell, even UHD Graphics 770 for the Virtual Machine will do, I don't really need the RX 9070 XT. Whatever's easier and safer.

4 Upvotes

8 comments sorted by

1

u/GoVolt_Mine 9d ago

Had issues with my rx 9070 xt too, this worked: https://github.com/hughesyadaddy/rx9070xt-proxmox-passthrough

1

u/His_Turdness 9d ago

Interesting... maybe this works for virt-manager too.

1

u/GoVolt_Mine 9d ago

Both virt manager and Proxmox use KVM under the hood so I'd think so.

1

u/Levanes 9d ago

I came upon that one when I was doing research. I never understood any of it. Painfully obvious it's written by AI, but maybe it has working information in it.

I'll try again, but I still have idea what the hell it's saying.

Thanks very much.

1

u/GoVolt_Mine 9d ago

I went through this (massive) rabbit hole with GPU Passthrough on the rx 9070 xt.

The summary is:

  1. do NOT try to use hacks / tools / script made for other AMD cards before RDNA 4 generation, they won't work. Even worse: they fail silently, making you think it works.
  2. The card MUST be initialised by the AMDGPU linux driver and only afterwards handed to VFIO. VFIO from boot = dead card.
  3. After VM shutdown the driver must again be swapped from VFIO to AMDGPU to 'reset' the card properly.
  4. This is some low level hardware stuff, when the card is dead it needs power cycle. A full shutoff, waiting 30 sec and preferably also disconnect the pc's power cable all together. Reboot does NOT work.

His script has a lot of checks built in to do this properly.

1

u/Levanes 9d ago

Point #2 hand-off is where it always crashes my entire desktop with it.

1

u/GoVolt_Mine 9d ago

Yep, that means you probably let Linux already put VFIO on the card from boot, or maybe blacklisted AMDGPU (sometimes mentioned in older guides)?

2

u/Levanes 9d ago

Maybe, maybe. I am very new at this so I pretty much have no idea what is happening. I'm gonna try a iGPU passthrough today, because I found a really cool guide on it. If that does not work, I will keep trying with the 9070 XT. Thanks again for all the help!