New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jellyfin 10.5.5 Docker VAAPI hardware transcoding issues #3580
Comments
For whatever reason, Vaapi decoding says native instead of hevc_vaapi. I would have to see the full transcoding log to check the ffmpeg command to verify vaapi operation... that said, since you're having that failure, you're probably using VAAPI. I made this comment here. I'm not sure why the render and video groups give these permission issues, i've run into it several times and not sure how to fix it for docker. If you try linuxserver/jellyfin, it may work properly |
I should mention that AMD AMF doesn't work for me either with HEVC.
|
|
The way ffmpeg works is any flags before the file will be for the decoder and anything after the file is for the encoder, so this tells me it did attempt to use vaapi for decoding. |
|
At the risk of sounding stupid: In regards to
And with the Docker images, that Mesa version needs to be on the Docker host, and not inside the Docker container, correct? |
It depends on where Jellyfin is installed as libva cannot access to the driver outside a container. You can upgrade to Mesa 20.1 by adding a third-party repository until it is available in your distribution. |
What third-party repository should I add for Ubuntu 20.04? I couldn't seem to find any that would have updated drivers for my RX550 which uses Gallium drivers in combo with amdgpu-pro that I installed. I installed amdgpu-pro that I got from the AMD website. I installed "amdgpu-pro-20.20-1098277-ubuntu-20.04.tar.xz" and Ubuntu says that "amf-amdgpu-pro_20.20-1098277_amd64.deb" was installed. So I assume that I still need Mesa 20.1+ to get HEVC support? |
I had this fixed with a 3rd party PPA until the Jellyfin 10.6.0 upgrade. Jellyfin uses Debian and now I can't find a Debian PPA for the docker to upgrade the the Mesa 20.1 or higher libraries. I did find this one for Ubuntu for the linuxserver/jellyfin docker.
Any ideas for a Debian PPA with updated Mesa libraries to try and upgrade the Jellyfin docker? |
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. |
Still an issue. |
is this specifically a mesa issue? |
should be resolved when bullseye is released. |
I can confirm changing the group of I'm running version 10.6.4, in docker (docker-compose), on a Ubuntu 20.04.2 host. Hardware is a Ryzen 3 3200G CPU (integrated Radeon Vega Graphics). If the group is
The group ID of After changing the ownership of renderD128 as above, VAAPI transcoding does seem to work without issue. Hardware acceleration settings below: |
Is there a reason why Jellyfin switched to Debian as the docker image base? Using Ubuntu would allow Jellyfin docker images to have more updated versions of Mesa, easing the experience for users who wish to use AMD or Intel hardware acceleration for transcoding. I believe it was based on Ubuntu in the beginning, feel free to correct me if I'm wrong. |
I am not sure why they continue to use debian as the base for docker for a media server when Ubuntu which is more up to date would make way more sense and it is what Linuxserver uses for their docker as well. |
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. |
Bullseye is out now |
Jellyfin docker is not able to handle VAAPI because with Ubuntu 20.04 and Ubuntu 18.02 (LTS) the /dev/dri/renderD128 is owned by group render and the docker has no clue about this group even if in the host OS you add user 1000 to group render.
If you change the group to video then it work sort of. I was able to get it to transcode anything that isn't HEVC with my Radeon RX 550 card. This card does specifically support HEVC encoding and decoding.
https://www.amd.com/en/products/graphics/radeon-rx-550
I get this error.
The text was updated successfully, but these errors were encountered: