Jellyfin Forum
How do I enable Intel QuickSync on ProxMox LXC? - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: How do I enable Intel QuickSync on ProxMox LXC? (/t-how-do-i-enable-intel-quicksync-on-proxmox-lxc)



How do I enable Intel QuickSync on ProxMox LXC? - MariosX - 2024-02-01

Hello

I have installed JellyFin on a ProxMox LXC Container.

And I followed the guide for Hardware Acceleration from here:
https://jellyfin.org/docs/general/administration/hardware-acceleration/

So far I have managed to enable hardware accelaration with Video Accelaration API (VAAPI)
But I cannot figure out, how to enable Intel QuickSync.

Here is my LXC Config file:
Code:
arch: amd64
cores: 4
hostname: media
memory: 4096
mp0: /mnt/pve/dynamic-disk/files/media,mp=/mnt/media
onboot: 1
ostype: ubuntu
swap: 4096
tags: jellyfin;media;plex
lxc.cgroup2.devices.allow: a
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir

My VA-API Device is: /dev/dri/card0 and I have verified that is being used when i run intel_gpu_top on my host.
However when I select Intel QuickSync, hardware accelaration doesn't work. 
Also will I notice any difference? H.265 Transcoding is slow.

My CPU is Intel Core i7 9700


RE: How do I enable Intel QuickSync on ProxMox LXC? - TheDreadPirate - 2024-02-01

You need to make sure that all the Intel media drivers are install on Ubuntu.

Code:
intel-gpu-tools
intel-media-va-driver-non-free
intel-microcode
intel-opencl-icd
libdrm-intel1



RE: How do I enable Intel QuickSync on ProxMox LXC? - Fate - 2024-02-02

I also use proxmox with a privileged lxc container with jellyfin. My container is arch though.

I needed these packaged for VA-API:
pacman -Sy libva-utils
pacman -Sy intel-media-driver
pacman -Sy intel-gpu-tools

In addition I needed those for Quicksync:
pacman -Sy intel-media-sdk
pacman -Sy onevpl-intel-gpu


Check guc status via:
cat /sys/kernel/debug/dri/0/i915_gpu_info


Also i would recommend to add "non-free-firmware" to apt/sources
and get the "intel-microcode" package. (maybe optional)

Also I had some issue that I have not fully solved regarding ffmpeg exiting when the option "Intel Low-Power-Hardwareencoding for HEVC enabled" is checked.

So may try to uncheck that.