HaveAGitGat / Tdarr

Tdarr - Distributed transcode automation using FFmpeg/HandBrake + Audio/Video library analytics + video health checking (Windows, macOS, Linux & Docker)
Other
3.01k stars 92 forks source link

Docker - No capable devices found #964

Closed HexRebuilt closed 6 months ago

HexRebuilt commented 8 months ago

Describe the bug I'm unable to use the GPU transcoding feature with an Nvidia P400. the logs says that No capable devices found, even if it should be capable of transcoding nvenc

To Reproduce

  1. install ubuntu server 22.04
  2. install nvidia drivers for the p400, docker and nvidia toolkit
  3. add the shares from truenas, checking that the container can touch the files
  4. try to transcode and pass the afternoon looking for a fix

Expected behavior the transcoding should be flawless like with the a4000

Screenshots Log attatched for the transcodings Faield transcode. Failedtranscoding.txt FFmpec NVENC output FFmpeg_NVENC.txt Handbrake NVENC output Handbrake NVENC.txt

Please provide the following information:

-Worker error [can be found on the 'Tdarr' tab by pressing the 'i' button on a failed item in the staged file section or in the transcode error section at the bottom]

Additional context After some instabilities with Tdarr in another VM, were it was supposed to use both the p400 and A2000, i was not able to use either gpus for any work if the server was running. plex, steam or ollama were not able to access the gpu or files.

HaveAGitGat commented 8 months ago

Here are the arguments used:

-c:v h264_cuvid, -map 0 -c:v hevc_nvenc -cq:v 19 -b:v 6418k -minrate 4492k -maxrate 8343k -bufsize 12837k -spatial_aq:v 1 -rc-lookahead:v 32 -c:a copy -c:s copy -max_muxing_queue_size 9999 -pix_fmt p010le -bf 5 

Most likely due to the -bf 5 argument. I don't thing the p400 supports bframes