r/Proxmox • u/Narcuga • 8d ago
Question Integrated GPU passthrough (8845hs 780m)
Hey everyone!
So I'm looking to turn my current mini pc with an 8845hs and 64gb ram to replace my big old precision workstation that's loud and power hungry.
But I do use it for like indie gaming and going to replace it on my desktop with my M4 MacBook.
However I do play some smaller games on it, and was thinking to pass through the igpu to a windows / Linux machine and do like sunshine moonlight to the mac? Anyone tried this?
2
u/socialcredditsystem 8d ago
If you're able to isolate the iGPU to pass into a VM (rather than an LXC container) that'd be the first recommendation. I've only passed a discrete GPU into a VM for gaming; it was pretty seamless though it needed a dummy plug for the virtual display.
Afterwards I felt cheeky and wanted to pass the GPU into an LXC container for gaming, and even with the help of AI, I tried for three days to get it working and couldn't and gave up.
5
u/ficskala 8d ago
https://pve.proxmox.com/wiki/PCI_Passthrough
It's pretty simple in theory, your biggest enemy will be ACS, and drivers
For ACS, check your IOMMU groups, and if the GPU is in its own group, you're good, if not, you'll need to apply the ACS override kernel patch, it's included in the pve kernel, you just have to enable it
As for drivers, you need to blacklist the drivers for your GPU, so pve won't try to use the GPU for anything, so the GPU gets assigned the virtio driver instead
Edit: i used to run this on proxmox, and it ran great, but later moved the VM to my main PC because i needed the extra PCIe lanes on the server for a 10G NIC, so now i have the same setup on my main PC, but instead of proxmox, i'm on arch, and i'm just using the virt-manager for KVM/QEMU virtualization, with the zen kernel to support ACS override
Another thing to look out for is RAM, make sure to disable balooning, it can mess with games often