mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
nvidia-docker --gpus does not transcode #1153
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 @Arcanum417 on GitHub (Dec 22, 2019).
Describe the bug
Hw encoding / decoding using nvidia GPU in docker does not work with nvidia-docker --gpus param.
To Reproduce
nvidiapackage (nvdia drivers)nvidia-smidocker run --gpus all nvidia/cuda:9.0-base nvidia-smidocker run --volume /root/test:/test --gpus all jrottenberg/ffmpeg:4.1-nvidia -hwaccel cuvid -c:v h264_cuvid -i /test/test.mp4 -vf scale_npp=-1:720 -c:v h264_nvenc -preset slow -f null -that worksExpected behavior
Video plays transcoded using GPU.
nvidia-smirun on host shows the job.Logs
https://gist.github.com/Arcanum417/612f20921336ab14f56489f67276fc51
System (please complete the following information):
@Arcanum417 commented on GitHub (Dec 28, 2019):
Also, the same thing works with https://hub.docker.com/r/linuxserver/jellyfin
@JustAMan commented on GitHub (Jan 13, 2020):
@Arcanum417 can you check for permission issues with the user inside your container? Maybe adding to
videogroup, or whatever is needed to access NVENC? As Jellyfin is not running asrootI think.@stale[bot] commented on GitHub (Jun 10, 2020):
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.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.