I have a similar issue. My setup:
- GTX 1080Ti that I want to passthrough to a Windows VM, in the top (first slot), viewed as 0B:00... and marked as "bound to vfio at boot"
- GTX 1650 that I want to use as an Unraid display and in Docker containers, in the bottom slot, viewed as 05:00
Both have displays attached
At boot, both primary displays (from both cards) display the startup menu. They are mirrored until "Loading /bzroot ...ok" shows up.
At that point, the display connected to the 1650 freezes and the boot sequence continues on the primary display of the 1080Ti, until the vfio driver is loaded. Then, the display on the 1080Ti also freezes, which kinda makes sense.
However, when I start the Windows VM, it starts up and the screen goes black. And the VM's logs is filled with "2021-04-03T14:48:00.897611Z qemu-system-x86_64: vfio_region_write(0000:0b:00.0:region1+0x13550a, 0x0,1) failed: Device or resource busy"
And very soon after, I get a warning about Unraid logs being full.
Note: If I flip the GPUs, it works fine, but the 1080Ti gets poor airflow and blows directly on my NVMe drive and heats it up to 67°C, which makes me very uncomfortable...