56
submitted 1 year ago by umami_wasbi@lemmy.ml to c/linux@lemmy.ml

I'm considering to switch to Proxmox for my main PC, run a Windows VM on top and passthrough the GPU to play games. However, I heard anti-cheates aren't that friendly to VMs. Had anyone tried this? Thanks.

top 30 comments
sorted by: hot top controversial new old
[-] ipacialsection@startrek.website 16 points 1 year ago* (last edited 1 year ago)

Isn't Proxmox intended for servers whose only use is to run VMs? Why not go for a traditional desktop distro like Mint and run KVM, QEMU, or VirtualBox on it?

Anyway, I have heard something like this, but it probably depends on the anti-cheat. Some might run in kernel mode to deliberately detect VMs. Others won't care if you use a VM.

[-] wildbus8979@sh.itjust.works 30 points 1 year ago

Proxmox runs KVM/Qemu in the backend, so it's essentially the same thing. OP might want to have a machine in their rack they use for remote gaming for example.

Also don't use VirtualBox.

[-] ipacialsection@startrek.website 7 points 1 year ago

It sounded like OP wanted to install Proxmox on their main PC, which would imply using it as a daily driver desktop OS, which it isn't.

[-] umami_wasbi@lemmy.ml 7 points 1 year ago

It is not but more like a building block for my daily driver.

I plan to use Proxmox VE to build a virtual infrastructure in one machine. It will have many VMs running and one of it would be my daily driver.

[-] ipacialsection@startrek.website 2 points 1 year ago

Ah okay, that makes more sense.

[-] HumanPerson@sh.itjust.works 2 points 1 year ago

What is wrong with using virtualbox?

[-] wildbus8979@sh.itjust.works 8 points 1 year ago* (last edited 1 year ago)

It's subpar, closed source, kernel module installing, type 2 virtualization that makes users believe VMs are slow, when in fact Type 1 hypervisors usually achieve near 98% efficiency. And too boot it means that open-source projects like virt-manager don't get the usership they deserve and need to continue being maintained.

There is legit not a single reason to use it on Linux, and there hasn't been in well over a decade.

[-] HumanPerson@sh.itjust.works 1 points 1 year ago

Wow I didn’t even know it was closed source. Thanks for pointing this out, I will definitely be getting virt-manager.

[-] wildbus8979@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

It's not entirely closed source, but the extension packs are. The other reason are the main one that should make you switch. Why use subpar software when there's a better, trusted by the entire industry, alternative builtin already?

[-] HumanPerson@sh.itjust.works 2 points 1 year ago

I am already spinning up a Debian vm. I had a minor issue with file permissions but it it is working great now and is definitely faster than I remember virtualbox being. I am so glad I saw your comment and I would switch to this even if Richard Stallman himself wrote Virtualbox and all the extensions.

[-] wildbus8979@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

It's also a whole lot more flexible. And will easily do full PCIe passthrough with some more advance configuration. virt-manager even works remotely over SSH if you have another machine you want to run your VMs on!

[-] HumanPerson@sh.itjust.works 1 points 1 year ago

GPU passthrough was the next thing I tried! Do you know any good tutorials? The one I found tells me to do mkinitcpio but I don’t seem to have that. I think I mentioned this is Debian but in case I forgot its Debian.

[-] wildbus8979@sh.itjust.works 2 points 1 year ago

I don't have a specific guide for you, but a good place to start is: https://wiki.debian.org/VGAPassthrough

I think that's what they're saying, in that, use proxmox to host a gaming vm. But choosing a hypervisor that can run games well bare-metal does sidestep some potential headaches.

[-] Sethayy@sh.itjust.works 11 points 1 year ago

All depends on the games you play, personally is mostly emulators and indie so there's no problem. Generally the more online/micro transactions, the more hostile the game will be to vms

If you want a list just google what games can be played in a qemu vm

[-] banjoman05@beehaw.org 8 points 1 year ago

Can't speak to anti-cheat, but I've run a Windows 11 VM with GPU passthrough on Proxmox. I got basically identical performance from the hardware, considering the reduced ram/cpu count in the VM. USB port passthrough was glitchy though. I didn't spend too much time messing with it but it definitely was functional. Battlenet (World of Warcraft, Overwatch, etc...) worked fine. I don't recall any game that didn't run but, again, I didn't do too much.

[-] codus@leby.dev 6 points 1 year ago

I use Steam + Proton in an LXC so I can share the graphics card among several other containers. It works quite well with streaming once I got it set up.

[-] vojel@feddit.de 6 points 1 year ago* (last edited 1 year ago)

Surprised that nobody yelled Proton yet? Lots of Windows games running pretty good, some close to native, some even better on Linux through Proton. But here is the thing you mentioned which could be a problem: anti cheat. It works on Linux but depends on the developer to enable it. Some major games simply does not support it. You can check them here: https://areweanticheatyet.com/ , for general compability check https://protondb.com , even non Steam games can run through Lutris with little to no hassle. Proxmox with GPU passthrough seems like a big clunky overhead in terms of gaming but maybe you got that game that will never run on Linux.

[-] umami_wasbi@lemmy.ml 5 points 1 year ago* (last edited 1 year ago)

Thanks for the information.

However, I'm not concern about Linux, Windows, or Proton. I'm fine on any platfrom that I can game on.

I'm concern about anti-cheat within virtualized environmnet due to my unpopular setup: a Homelab running services like PiHole and a PC for daily and gamming need all roll into one machine. The concept behind is configuration and data isolation (and fun).

[-] dannydotcafe@lemmy.zip 5 points 1 year ago

I'm in the planning stages of a build that will be essentially this, a proxmox build that'll include my NAS with several hard drives (running in one VM), all my docker containers (another VM) and Linux and Windows vms with passthrough that I can spin up temporarily for games.

I think I can get the Windows VM in a place where I can also restart the whole machine and boot in natively, as a fallback for games with aggressive anti cheats that won't allow VMs, which I don't think I'll be playing much of anyway.

To answer your question, it really would be best to check game by game if the anti cheat allows VMs.

[-] curvy_crabgrass598@lemmy.world 2 points 1 year ago

How can you boot natively to a proxmox VM? I'm guessing you'd have to keep a whole separate physical drive and pass through the whole drive to the windows VM or boot to that drive natively?

[-] Case@unilem.org 1 points 1 year ago

Maybe they mean they will dual boot between windows and a hypervisor? I've never considered if that's a possibility.

[-] dannydotcafe@lemmy.zip 2 points 1 year ago

Yeah, I mean being able to boot either into proxmox or windows. But in proxmox, I can also open that windows install as a VM.

Some details on how it should work are here (apologies for the reddit link): https://www.reddit.com/r/VFIO/comments/aejdqk/kvm_importuse_existing_windows_install_on_disk/edqtmvb/

[-] umami_wasbi@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

That's kind of my plan too, without the native boot. I tried dual boot and found myself using Windows more than I should.

I'm planning to have the Windows VM running the game and I use Parsec/Moonlight from a Linux VM to game on.

I did looked online about EAC and BattleEye, both are popular and not that VM friendly, but I heard some say it's fine. Information conflicts and I don't want to test the water and got myself banned. Elite and Starfield doesn't know if they support VM or not.

[-] Fubar91@lemmy.world 4 points 1 year ago

Yea its doable. Really depends on the games anti-cheat. You'd want to check each game.

Battle Eye based anti cheat games like R6S and Tarkov gave me issues last time i tried a similar setup. That was a few years back however, and with valves proton push, much of the compatibility has improved since then.

[-] Chais@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

It's feasible. I ran that so setup for a couple of years. Not with Proxmox as desktop system, but Windows VM with VGA passthrough for gaming, relying on Steam in-home streaming.
Wouldn't recommend. I didn't find a ton of games that wouldn't work, but the performance hit was quite noticeable in hindsight.
I never sorted out core-pinning, though.
But overall the setup was very fragile and prone to breaking after random updates just as much as randomly fixing itself with the next update.
Streaming was probably the biggest pain point, though.

[-] backhdlp@lemmy.blahaj.zone 2 points 1 year ago

I don't think Proxmox is supposed to be a daily driver, but I think this would work, except for maybe Anti-Cheat as you mentioned.

[-] hexeth@lemmy.ca 1 points 1 year ago

Video card passthrough can be a real struggle. If you are using Intel/Nvidia it will be easier though

[-] Aties@lemmy.world 1 points 1 year ago

I have proxmox running on a nuc and do a GPU passthrough to a windows VM. I haven't encountered any anti cheat issues yet, but I honestly don't game near as much as I used to.

[-] trace@lemmy.ml 1 points 1 year ago

Marauders is the only game that I have had an issue with. I'm not a prolific gamer but everything else I have tried has been fine.

this post was submitted on 29 Aug 2023
56 points (100.0% liked)

Linux

48376 readers
861 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS