b3rs3rk / gpustat-unraid

An UnRAID plugin for displaying GPU status
https://forums.unraid.net/topic/89453-plugin-gpu-statistics/?tab=comments#comment-830112
MIT License
50 stars 12 forks source link

[ENHANCEMENT] - tdarr icon support #19

Closed binarygeek119 closed 3 years ago

binarygeek119 commented 3 years ago

just add support of tdarr_aio (version 1) and tdarr + tdarr_node (version 2) icon for active apps

tdarr (1)

b3rs3rk commented 3 years ago

@binarygeek119 I need a sample of 'nvidia-smi -q -x -i 0' substituting the 0 for whatever GPU ID you're using in Tdarr. In my searches, I've only seen HandbrakeCli running when Tdarr is actively using the GPU to encode/decode, which might be tough to distinguish from other containers. Plex, for example, uses the 'Plex Transcoder' process which is easy.

binarygeek119 commented 3 years ago

here is the output

output.txt

tdarr can use both ffmpeg and handbrake

b3rs3rk commented 3 years ago

@binarygeek119 Okay, this is at least specific enough to the point where I can attribute ffmpeg processes to tdarr. Do you know what the process name is in nvidia-smi when tdarr is using Handbrake?

binarygeek119 commented 3 years ago

tdarr handbrake output output.txt

b3rs3rk commented 3 years ago

@binarygeek119 Thanks. Does HandbrakeCLI just call ffmpeg? It appears that way from your output. I think me already having added Handbrake will cover that part of it. I'll try to add just ffmpeg as Tdarr. It's a shame Tdarr doesn't run a specifically named process wrapper like Plex.