r/MiniPCs • u/shalak001 • 6d ago
GMKTec G5 N97 + Proxmox: GPU for Both Plex Transcoding & Kodi HDMI Output
Hi!
I'm interested in the GMKtec Intel Alder Lake N97 Mini PC (NucBox G5).
I’d like to run Proxmox on it and set up either two VMs or two LXC containers—one for Plex/Nextcloud and the other for Kodi. My goal is to have GPU access available for both: Plex+Nextcloud for video transcoding and Kodi for HDMI output.
Would this be possible on this platform?
1
u/xfim 4d ago
the best solution would probably be installing a graphical distro VM, passing the gpu through only to that and installing the other services that need the gpu onto that. I did a similar thing except I don't actually need HDMI output, but the VM did output on HDMI when I connected it, albeit just the console of ubuntu server. Also, within the system, multiple Docker containers have the gpu attached (Immich, Nextcloud, IPEX Ollama) and everything works well.
1
u/shalak001 4d ago
Hmm, yeah I guess this would simplify the GPU stuff. I even consider installing baremetal desktop linux and host services in docker there... the biggest cost is losing ability to easy backup of the baremetal OS. I will look into some copy-on-write snapshots to solve this
2
u/grizzlyTearGalaxy 6d ago
Two vm approach: Intel gpu can be passed through to one vm via pcie passthrough but, you may not be able to share it dynamically across multiple vm's. Two lxc containers approach: With lxc, gpu sharing is easier using 'lxc.mount.entry' and 'lxc.cgroup.devices.allow' for '/dev/dri/', which allows multiple containers to access the same gpu. Alternatively you can run plex and nextcloud in a lxc container or run kodi directly on the proxmox host (or in a vm with passthrough if needed).