mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[Issue]: Hardware Acceleration not working following suggested fixes #4755
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Artnal on GitHub (Apr 1, 2023).
Please describe your bug
Hi there,
I've recently started to setup Jellyfin on my Jasper Lake box and I'm struggling to get the HWA to work. I have read through a bunch of threads both here and on other platforms, to no avail. I was wondering wheter I've overlooked something stupid. Disclaimer: I am not that well versed into certain aspects of how HWA works for jellyfin (esp. ffmpeg).
I am on Debian 11, kernel
6.0.0-0.deb11.6-amd64, using the linuxserver docker image (latest). So far, I have done the following:firmware-linux-nonfree,intel-media-va-driver,intel-media-va-driver-non-free,intel-opencl-icd(after changing the sources to get non-free);update-initramfs;update-initramfs -u && sudo update-grub;options i915 enable_guc=2to/etc/modprobe.d/i915.conf;When I run
intel_gpu_top, everything stays at 0%The output of
vainfois the following:In case that's useful, the result of
dmesg | grep i915isIs there anything obvious that I should check? I saw a few times that ffmpeg version might be of relevance, but I am not sure to what extent here.
Thanks!
Jellyfin Version
10.8.0
Code of Conduct
@nyanmisaka commented on GitHub (Apr 15, 2023):
So where's the error? Upload the ffmpeg transcode log.
@Artnal commented on GitHub (Apr 16, 2023):
Here are the logs if I try to use QSV:
Here are the logs when I try to use VAAPI:
@nyanmisaka commented on GitHub (Apr 16, 2023):
It means the lsio docker has no permission to access the devices under
/dev/dri.Please refer to lsio's docs, or switch to the official docker image and check our docs.
@Artnal commented on GitHub (Apr 16, 2023):
Oh wow, that was that simple, thank you so much!
For future reference in case anyone faces the same issue, I did the following:
Added the link to /dev/dri to my docker-compose.yml (as mentioned here):
Also added the docker mod for intel hardware to my docker-compose.yml (as mentioned here):
I'm not sure the second one was necessary, but I had not found nor applied it before, so just in case...
I don't get an error message anymore when trying to watch a video with HWA enabled, and 'intel_gpu_top' does show activity when watching videos.
Thanks again!