Closed binarygeek119 closed 2 years ago
@binarygeek119 Can you get me the result of nvidia-smi while ErsatzTV is actively using your GPU? I need to see what process it runs to trigger the app detection. Thanks.
Tue Nov 8 09:48:59 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.76 Driver Version: 515.76 CUDA Version: 11.7 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:43:00.0 Off | N/A |
| 0% 40C P2 26W / 140W | 244MiB / 6144MiB | 10% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 30511 C /usr/local/bin/ffmpeg 242MiB |
+-----------------------------------------------------------------------------+
Same as FileFlows, need more info.
Take the PID from nvidia-smi for that process and execute the following and paste it to me:
cat /proc/<pid>/cmdline
In the above case, it would be cat /proc/30511/cmdline
/usr/local/bin/ffmpeg-threads3-nostdin-hide_banner-nostats-loglevelerror-fflags+genpts+discardcorrupt+igndts-hwaccelcuda-ss00:40:30.6405926-c:vhevc_cuvid-hwaccel_output_formatcuda-i/data/TV/Scrapheap Challenge/Season 12/Scrapheap Challenge - S12E08 - Speedboats.mkv-i/root/.local/share/ersatztv/cache/artwork/watermarks/10/10FDD723344E78C7C9A363D22353B3CD-filter_complex[0:1]loudnorm=I=-16:TP=-1.5:LRA=11,apad=whole_dur=2651925ms[a];[0:0]scale_cuda=1920:1080:format=yuv420p:force_original_aspect_ratio=decrease,setsar=1,hwdownload,format=yuv420p,pad=1920:1080:-1:-1:color=black,hwupload_cuda[v];[1:0]format=yuva420p,scale=192:-1,hwupload_cuda[wm];[v][wm]overlay_cuda=x=W-w-312:y=H-h-54[vf]-map[a]-map[vf]-muxdelay0-muxpreload0-movflags+faststart-flagscgop-sc_threshold0-t00:03:41.2844074-r24-vsynccfr-video_track_timescale90000-b:v2000k-maxrate:v2000k-bufsize:v4000k-c:aaac-ac6-b:a192k-maxrate:a192k-bufsize:a384k-ar48k-c:vhevc_nvenc-map_metadata-1-metadataservice_provider="ErsatzTV"-metadataservice_name="FlashBack TV"-g96-keyint_min96-force_key_framesexpr:gte(t,n_forced*4)-fhls-hls_time4-hls_list_size0-segment_list_flags+live-hls_segment_filename/root/.local/share/etv-transcode/119.1/live%06d.ts-hls_flagsprogram_date_time+append_list+discont_start+omit_endlist+independent_segments-mpegts_flags+initial_discontinuity/root/.local/share/etv-transcode/119.1/live.m3u
fyi the dev might work with you to fix the ffmpeg path issue. its very active
app not showing up on this one ether.
Wed Nov 16 10:12:39 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 520.56.06 Driver Version: 520.56.06 CUDA Version: 11.8 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:43:00.0 Off | N/A |
| 0% 50C P2 26W / 140W | 930MiB / 6144MiB | 10% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 6907 C /usr/local/bin/ffmpeg 253MiB |
| 0 N/A N/A 11798 C /usr/local/bin/ffmpeg 289MiB |
| 0 N/A N/A 30507 C /usr/local/bin/ffmpeg 385MiB |
+-----------------------------------------------------------------------------+
/usr/local/bin/ffmpeg-threads3-nostdin-hide_banner-nostats-loglevelerror-fflags+genpts+discardcorrupt+igndts-hwaccelcuda-ss00:09:31.2851557-c:vhevc_cuvid-hwaccel_output_formatcuda-i/data/TV/The Andy Griffith Show/Season 08/The Andy Griffith Show (1960) - 08x03 - A Trip to Mexico.mkv-i/root/.local/share/ersatztv/cache/artwork/watermarks/7B/7B12DDB54E20BA02B97B41AA2BC806AC-filter_complex[0:1]loudnorm=I=-16:TP=-1.5:LRA=11,apad=whole_dur=963456ms[a];[0:0]scale_cuda=1920:1080:format=yuv420p:force_original_aspect_ratio=decrease,setsar=1,hwdownload,format=yuv420p,pad=1920:1080:-1:-1:color=black,hwupload_cuda[v];[1:0]format=yuva420p,scale=154:-1,hwupload_cuda[wm];[v][wm]overlay_cuda=x=W-w-312:y=H-h-54[vf]-map[a]-map[vf]-muxdelay0-muxpreload0-movflags+faststart-flagscgop-sc_threshold0-t00:15:46.5168443-r24-vsynccfr-video_track_timescale90000-b:v2000k-maxrate:v2000k-bufsize:v4000k-c:aaac-ac6-b:a192k-maxrate:a192k-bufsize:a384k-ar48k-c:vhevc_nvenc-map_metadata-1-metadataservice_provider="ErsatzTV"-metadataservice_name="Retro TV"-metadata:s:a:0language=eng-g96-keyint_min96-force_key_framesexpr:gte(t,n_forced*4)-fhls-hls_time4-hls_list_size0-segment_list_flags+live-hls_segment_filename/root/.local/share/etv-transcode/119.2/live%06d.ts-hls_flagsprogram_date_time+append_list+discont_start+omit_endlist+independent_segments-mpegts_flags+initial_discontinuity/root/.local/share/etv-transcode/119.2/live.m3u8
/usr/local/bin/ffmpeg-threads3-nostdin-hide_banner-nostats-loglevelerror-fflags+genpts+discardcorrupt+igndts-hwaccelcuda-ss00:14:51.0814764-c:vh264_cuvid-hwaccel_output_formatcuda-i/data/TV/Marvel's Avengers Assemble/Season 05/Marvel's Avengers Assemble (2013) - 05x19 - King Breaker (1).mp4-i/root/.local/share/ersatztv/cache/artwork/watermarks/FB/FB58258DADD80346D34477DC1935FF78-filter_complex[0:1]loudnorm=I=-16:TP=-1.5:LRA=11,apad=whole_dur=1323371ms[a];[0:0]scale_cuda=iw*sar:ih:format=yuv420p,setsar=1,scale_cuda=1920:1080:format=yuv420p:force_original_aspect_ratio=decrease,hwdownload,format=yuv420p,pad=1920:1080:-1:-1:color=black,hwupload_cuda[v];[1:0]format=yuva420p,scale=269:-1,hwupload_cuda[wm];[v][wm]overlay_cuda=x=W-w-96:y=H-h-54[vf]-map[a]-map[vf]-muxdelay0-muxpreload0-movflags+faststart-flagscgop-sc_threshold0-t00:07:12.2895236-r24-vsynccfr-video_track_timescale90000-b:v2000k-maxrate:v2000k-bufsize:v4000k-c:aaac-ac6-b:a192k-maxrate:a192k-bufsize:a384k-ar48k-c:vhevc_nvenc-map_metadata-1-metadataservice_provider="ErsatzTV"-metadataservice_name="[Open Swim]"-metadata:s:a:0language=eng-g96-keyint_min96-force_key_framesexpr:gte(t,n_forced*4)-fhls-hls_time4-hls_list_size0-segment_list_flags+live-hls_segment_filename/root/.local/share/etv-transcode/119.3/live%06d.ts-hls_flagsprogram_date_time+append_list+discont_start+omit_endlist+independent_segments-mpegts_flags+initial_discontinuity/root/.local/share/etv-transcode/119.3/live.m3u8
It would match in that case, because ersatztv is in the command string
i/root/.local/share/ersatztv/cache/artwork
Of course, this might be based on the container author's choices and might not be reliable across different images.
@binarygeek119 Does the detection work? I didn't really have the time to test it with the application myself.
no both of them are not working. do i have to restart after a update?
never mind now its working
@binarygeek119 Can I get a pic of it working?
done
ErsatzTV is like dizquetv and the dev is very active and im sure willing to work with you https://ersatztv.org/