I have a host machine with a AMD Ryzen 7950X + iGPU running with EndeavourOS. My AMD 6800XT gets isolated at boot as I passthrough the GPU to my VMs.
As I do a lot of work in Linux it would be nice to get the 6800XT running as main GPU in EndeavourOS. While isolating and changeing to the iGPU when starting the one of the VMs but without restarting the Host.
It is possible but in my experience (7950X + 6600XT) it is not as reliable, I use a script I took from the Arch wiki, Binding vfio-pci via device ID , of course you’ll need to change the values for the variables.
I dont know if I understand you correct. your main GPU in linux is the 6600xt as fas as you start the script. The amdgpu driver for the 6600xt gets unbind.
I once did a single GPU passthrough system which was very similar.
How do you get linux use the iGPU in this case?