this post was submitted on 04 Nov 2024
12 points (92.9% liked)

Linux Gaming

15901 readers
2 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

I'm extensively looking to setting up gaming on linux inside a VM on proxmox VE. But nothing i've tried worked.

I'm trying out bunch of games through Steam and its proton compatibility layer. Games I tried:

  • Sekiro
  • Elden Ring
  • Dark Souls 3

I've tried:

  • Manjaro KDE
  • Bazzite

on VM:

I was successfully install Windows 10 inside a VM and run games on there. By following this reddit post

But on any linux VM attempts, games can go 'starting' but back to 'launch' in a few seconds. It just fails...

I just want to know if anybody has ever successfully done this:D

all 7 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 2 weeks ago* (last edited 2 weeks ago)

that reddit post is from 6 years ago so its probably a bit out of date. Follow the pve wiki

https://pve.proxmox.com/wiki/PCI(e)_Passthrough

You need to use uefi instead of seabios per your screenshot

[–] [email protected] 3 points 2 weeks ago* (last edited 2 weeks ago)

Are you passing through a GPU? If so, are you sure the proxmox host isn't using it?

Edit: Just saw the link in the post was to a GPU passthrough guide, so better question, do you see the GPU from within the VM?

I've admittedly never tried gaming on a linux VM or LXC in proxmox, but I've done other tasks that required GPU hardware acceleration with no issues with both.

[–] [email protected] 3 points 2 weeks ago (1 children)

I've passed through my GPU for acceleration purposes which has worked pretty well. I don't see a passed-through GPU in your screenshot. I'll assume you turned on the correct IOMMU and SR-IOV settings, added the PCI:E hardware to that VM, and made sure it showed up inside the guest OS?

[–] [email protected] 1 points 2 weeks ago (1 children)

Yup! The screenshot can be confiding because I tinker a lot with cpu, memory, pcie etc. I made it work with gpu pass through etc. so it was hard for me to capture exact setup in a single screenshot. in fact, games that don’t require proton runs very well like Celeste.

[–] [email protected] 2 points 2 weeks ago

how did you pass through the gpu if it's not visible on that list?

[–] [email protected] 2 points 2 weeks ago

Don't know much about proxmox, but I know that Hyper-V tries to create every VM with Secure Boot turned on, and every Linux distro I've tried won't boot the installer like that.

Maybe double check the settings of the VM.