Enable Hardware Transcoding for Immich LXC? #4955
-
Hi all, I'm wondering how we can enable hardware transcoding for the LXC created via the install script? I've already got this working on Docker, and want to migrate to an LXC. Immich's documentation uses Docker as their method of enablement in the tutorial. Looking through the *.service files for Immich, it looks like this app executes from source, and not Docker containers, so I'm not sure that editing the Edit: I should add, I opted not to enable OpenVINO for hardware ML. This is specific to videa transcoding. I presently would use Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
These are the questions for @vhsdream . Is there a simple way of enabling HW transcoding for this LXC? |
Beta Was this translation helpful? Give feedback.
-
Hi @jordanhandy At the moment the script only technically supports hardware-acceleration for Intel iGPUs via QuickSync, as I don't have an AMD GPU to test with. But even when not selecting OpenVINO, the Have you tried enabling VAAPI in the settings and testing it out? There is a non-zero chance that it might work. Apparently the In your LXC console, run |
Beta Was this translation helpful? Give feedback.
-
You could try SVR-IO on Proxmox. You can then share your GPU in both VM's and LXC's simultaneously. I have no experience with it, my GPU is too old. |
Beta Was this translation helpful? Give feedback.
Hi @jordanhandy
At the moment the script only technically supports hardware-acceleration for Intel iGPUs via QuickSync, as I don't have an AMD GPU to test with. But even when not selecting OpenVINO, the
/dev/dri/
devices are still passed through for you.Have you tried enabling VAAPI in the settings and testing it out? There is a non-zero chance that it might work. Apparently the
jellyfin-ffmpeg
that is installed already has the necessary Mesa drivers, at least according to the Jellyfin docs.In your LXC console, run
/usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128
and look forvainfo: Driver version
to see if VAAPI is supported. Doing so for me seems to indicate…