2025-05-14, 11:54 PM
(This post was last modified: 2025-05-15, 10:39 AM by Fardenco. Edited 1 time in total.)
Hi,
I'm trying to get hardware transcoding to work on my server but I don't know why it won't work.
My Jellyfin server is running in a docker container.
Jellyfin Server version is 10.10.7
The CPU is an Intel Pentium Gold 8505
I added the user to the "render" group, and added the group number and render devices in my docker.compose, following the documentation.
But I have a feeling that the issue is still related to user group or at least to user.
I'm using Portainer. If I open a container console with user "root", running the "/usr/lib/jellyfin-ffmpeg/vainfo" command, returns a list of profile.
But if I do the same thing whith a console with user "1000", then the command returns an error.
Because of this, I guess that the issue is not with the transcoding settings but maybe with the container settings ?
When trying to play a movie with transcoding, the error shown in the logs is
Here is my docker.compose :
Thank you for your help
I'm trying to get hardware transcoding to work on my server but I don't know why it won't work.
My Jellyfin server is running in a docker container.
Jellyfin Server version is 10.10.7
The CPU is an Intel Pentium Gold 8505
I added the user to the "render" group, and added the group number and render devices in my docker.compose, following the documentation.
But I have a feeling that the issue is still related to user group or at least to user.
I'm using Portainer. If I open a container console with user "root", running the "/usr/lib/jellyfin-ffmpeg/vainfo" command, returns a list of profile.
But if I do the same thing whith a console with user "1000", then the command returns an error.
Because of this, I guess that the issue is not with the transcoding settings but maybe with the container settings ?
When trying to play a movie with transcoding, the error shown in the logs is
Code:
Failed to set value 'vaapi=va:,vendor_id=0x8086,driver=iHD' for option 'init_hw_device': Generic error in an external library
Error parsing global options: Generic error in an external library
Here is my docker.compose :
Code:
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: Jellyfin-HT
user: 1000:10
group_add:
- '105'
environment:
TZ: Europe/Paris
volumes:
- /volume1/docker/jellyfinht/config:/config:rw
- /volume1/docker/jellyfinht/cache:/cache:rw
- /volume1/docker/jellyfinht/logs:/logs:rw
- type: bind
source: /volume1/Jellyfin/Films
target: /movies
- type: bind
source: /volume1/Jellyfin/Séries
target: /tvshows
- type: bind
source: /volume1/Jellyfin/Musique
target: /music
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card0:/dev/dri/card0
restart: on-failure:5
network_mode: host
Thank you for your help