AI Disclosure:
I will use AI rather heavily to review configurations but the entire idea is to write all my steps down, create a repeatable and iterated process because to “just PCI passthrough” was good enough when I was partially on Windows but now I want to figure out some true extensibility of the proxmox platform and the openness of Linux
So AI will assist in editing config files, generating some bespoke scripts.
I technically started this project last week. My Jellyfin server was a full-fat VM with the Intel iGPU passed over PCI Express
Since the DVD drives and the ZFS storage volume live on the same host I wanted to see if it was possible to have them converted to LXC and share a common ZFS volume since it’s the same host.
The migration of Jellyfin went as follows:
- Create the LXC
- Migrate the 5+ terabytes of library data via rsync from the VM to the LXC.
- Retire the VM
- Using standard device pass through for the LXC I was able to get the LXC to use Intel quick sync
- I had AI generate a synchronization script to confirm the right /dev/dri/renderDNNN device was mapped to the LXC
- Create a startup service to enforce the device assignment
I just published a topic in Virtualization about passing through an Nvidia GPU to a privileged LXC and that’s where I have left it for today (10+ hours on this going back and forth)
This is more a “learning with AI” because I want to repeat the steps at least a couple times to make sure I have written “the guide” so someone else can follow or I can replicate on some other project that has these needs
The Jellyfin media host is already showing way less RAM consumption than running traditional VMs and with the price of ram these days maybe it can help someone else.
This LXC with the Nvidia GPU will be responsible for taking the DVD content, transcode to H.265 and move the content to the media library.
I am not entirely confident for the Automatic Ripping Machine so what I am installing is MakeMKV and Handbrake to make sure it works manually.
And sway desktop because why not.