mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
ffmpeg unable to detect vaapi device, but transcoding is successful when manually adding -hwaccel vaapi -vaapi_device /dev/dri/renderD128 #7378
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 @madmudklip on GitHub (Sep 30, 2025).
Description of the bug
Enabling Hardware encoding via Jellyfin docker (Latest Tag) fails when attempting to encode.
Reproduction steps
What is the current bug behavior?
With this bug hardware encoding always fails, and needs to be disabled to allow media to be played
What is the expected correct behavior?
Hardware encoding correctly determines hardware device and is able to use hardware encoding
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
10.10.7
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@nyanmisaka commented on GitHub (Sep 30, 2025):
Can you check in the server logs whether
VAAPI device /dev/dri/renderD128 is AMD GPUexists?If not, set it correctly in the dashboard->transcoding and restart the container and try again.
@madmudklip commented on GitHub (Oct 1, 2025):
Strange, /dev/dri/renderd128 was set as vaapi device in admin console but on reboot the server logs was not showing it.
I cleared, saved, reentered it , saved and rebooted the container and then saw it come up in the logs
`Checking server logs it does show /dev/dri/renderd128 is AMD
[23:01:37] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: Clean up collections and playlists Completed after 0 minute(s) and 1 seconds [23:01:41] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: VAAPI device /dev/dri/renderD128 is AMD GPU [23:01:41] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: VAAPI device /dev/dri/renderD128 supports Vulkan DRM modifier [23:01:41] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: VAAPI device /dev/dri/renderD128 supports Vulkan DRM interop`
testing encoding now and it works!