Hello, this is my first post so if I’m violating any guidelines or anything please feel free to remove the post. So I have decided that I want to try and dedicate my systems to Linux as I am beginning to get really sick of all the issues Windows has as well with their information harvesting and extremely bloated and resource hogging garbage. So I am aware that you can use virtualization and PCI-e pass through to get near bare-metal performance in a KVM. My question is if I wanted to play native Linux games then later start up my KVM for Windows games but only had 1 gaming GPU would I be able to switch that GPU from the host to the KVM on the fly? (For instance I was playing something like CS:GO on Linux using my R9 280 then wanted to start up my KVM for Rainbow Six Siege using the same R9 280) or does the host machine have to strictly have its own graphics (in my case would be an IGPU)
I have a few machines I’d like to do this on so I’ll give some specs
-Core i5 4690k @ 4.5Ghz-
-16 GB RAM-
-R9 280 3GB-
You are not going to be able to do passthrough on the 2600k system since the 2600k does not support vt-d.
It is unlikely that you will be able to get graphics passthrough working on the laptop since most Nvidia mobile chips go through the intel gpu(ie are muxless) and therefore do not have everything needed to work when passed through.
The 4690k system is likely to work. The remaining piece is whether the motherboard in that system supports vt-d.
Damn that’s a bummer well I guess I’ll at least experiment with the 4690k using KVMs in Linux I guess I’m just going to have to run a dual boot or something with the other machines. Thank you so much for your help. Do you know the solution regarding the quick switching between the host and KVM on the same GPU?
You should be able to use PRIME and unbinding/rebinding of vfio to/from amdgpu drivers for switching between guest and host with the 280 without a reboot.
So you would use the igpu for video out but prime allows you to use the 280 for acceleration even though it is not the gpu with a cable connected.
Oh okay that’s interesting I’ll be sure to check that out when the time comes as that will probably be the perfect solution. I know you said it was unlikely to work but with PRIME wouldn’t I be able to do something similar with the laptop? I read a little bit on how PRIME is intended to attempt to manage Nvidia optimus?
I seem to have come across a strange problem. The first time I had the KVM set up things seem to run fine and drivers installed properly. But I deleted that KVM and made a new one and it strangely for some reason doesn’t want to install the latest AMD drivers. I will run through the installer and get about 33% of the way through and then when it goes to apply the driver the system screen will go black, hang, then crash and reboot. I tried to uninstall the drivers with DDU and reinstall them again and this continues I really have no idea whats happening and would like some help!
I believed I resolved the issue, I just hid the fact that it was a virtual machine from the driver and now it installed which is strange because I thought that only had to be done with Nvidia cards. Thanks for all the previous help guys and sorry for bugging you again haha.