Unload amdgpu not possible for Single GPU passthrough

Hi all,

I want to setup a single GPU passthrough on my Arch system with my Sapphire Radeon 550.

IOMMU Group 16:
	09:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] [1002:699f] (rev c7)
	09:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] [1002:aae0]

I followed a lot of tutorials and I assume I created the hooks and qemu config correctly. When I boot up the screen goes black and the monitor goes to standby. No signal.

I checked the logs and it seems that I cannot unload the amdgpu

sudo modprobe -r amdgpu
modprobe: FATAL: Module amdgpu is in use.

There are other modules using the amdgpu. But I’m not able to unload these modules as well.

Any ideas?

Have you blacklisted the AMD drivers?

Dude literally said he’s trying to do single-GPU passthrough. Blacklisting the drivers is impossible. And it shouldn’t even be necessary.

If it is a desktop, try to install a secondary gpu for the host. You can even use usb to pcie riser for this purpose, if you run out of pcie slots.