Basically the title. I’ve only ever seen huge 20 page guides on how to make it work. Is there an easy way?
Specifically on Debian or Arch with a laptop with two gpus (zephyrus g14)
Easy way to get yourself banned in online games just an FYI. Most online games will detect and ban virtual machines now since they’ve become commonplace in cheat/hack communities.
Depends on the game. Apex, Riot, ubisoft, and EA all ban vm players. A list of other companies do as well.
@Ptsf Haven’t played any of those. Anyway, there is a way to edit your xml to fake the machine id.
machine id isn’t necessarily the important part. anticheat and vm detection check a lot of different heuristics incl hard to defend against things like timing attacks on particular cpu instructions. there’s a handful of open source versions if you’re curious
@brian To be honest, until and unless it becomes a problem for me, not really. KVM has the host CPU executing the VM instructions so timing on CPU instructions should product identical results. I have the VM setup as CPU and GPU pass through.
even with cpu passthrough some things are still emulated. you can run a vm detector and see for yourself what tests fail.
it may not affect your games but others should still be careful since it is a real issue, and people do get banned for it.
@brian Ok, just for kicks tell me where I can get this.
I used the Arch instructions on Ubuntu 22.04 wiki.archlinux.org/title/PCI_p… and it worked, but broke on 24.04 owing to broken UEFI bios on 24.04.
Indeed. That’s the opposite of what I’m looking for though. That’s complicated and apparently breaks ?
I’m currently dual booting. Which works fine. I was wondering if there was an easier way though.
With Proxmox on AMD gpus, it can be as simple as picking a pci device from a dropdown.
– but then again, you’ll need to learn how to properly use proxmox, esp. with respect to storage configuration. Also, the performance can still suffer, depending on various factors.
If it’s not too big of an inconvenience, dual boot is the way to go, IMHO.
@walthervonstolzing @shapis I personally use kvm/qemu but whatever works for you.
@shapis It’s complicated to setup but once done works wonderfully, you can share one GPU between OS’s in real time, even have one windows window up along with Linux at the same time. So I’m temporarily fuxored but I already have a plan for a fix and that is simply to steal the UEFI vm bios from Manjaro which does work and use it on Ubuntu.
VMWare Workstation Pro is now free and I believe that it had GPU passthrough. Don’t take my word on that though. I haven’t used it in a few versions.
Single GPU isn’t substantially harder than 2GPU pass through, that is what I have done, but it does require support by the UEFI bios and the GPU and not all support it.
It’s not… easy but it’s also not 20 pages difficult, unless you wanna do sinlge GPU passtrough, then that’s black magic.
Here is the guide I used when setting it up
This along with the arch wiki’s page on GPU passtrough should be enough to get you setup
E: Pro tip - pay close attention to section 2.3 Gotchas in the arch wiki, this sh!t had me stuck for a while on my system