Comments (19)
it might be case sensitive the dev spells the app FileFlows with capital F's
from gpustat-unraid.
@binarygeek119 You're exactly right. I need to change this function that does the match to stripos which is insensitive and then detection should work.
from gpustat-unraid.
@binarygeek119 Can you get me the result of nvidia-smi while fileflows is actively using your GPU? I need to see what process it runs to trigger the app detection. Thanks.
from gpustat-unraid.
Tue Nov 8 12:01:32 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% 49C P2 26W / 140W | 643MiB / 6144MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 23351 C /usr/local/bin/ffmpeg 382MiB |
| 0 N/A N/A 23367 C /usr/local/bin/ffmpeg 258MiB |
+-----------------------------------------------------------------------------+
from gpustat-unraid.
Yeah, I was afraid of that. So many applications just invoke ffmpeg and not an app specific wrapper to ffmpeg or at least a good directory I can key the detection from. I'm going to need more info.
Take the PID from nvidia-smi for each process and execute the following for each process and paste it to me:
cat /proc/<pid>/cmdline
from gpustat-unraid.
/usr/local/bin/ffmpeg-fflags+genpts-probesize5M-hwaccelcuda-i/media/media/Movies/Van Wilder Freshman Year (2009)/Van Wilder Freshman Year (2009).mkv-y-map0:v:0-c:v:0hevc_nvenc-rcconstqp-qp20-presetp6-spatial-aq1-map0:a:0-c:a:0aac-ac:a:06-map0:s:0-c:s:0copy-metadata:s:s:0language=eng-map0:s:1-c:s:1copy-metadata:s:s:1title=SDH-metadata:s:s:1language=eng-strict-2/temp/Runner-297c7b3c-4a4a-4979-867c-91ada137e988/a1091c43-b5d2-4f89-8c7b-268848fadc41.mkv
from gpustat-unraid.
fyi the dev might work with you to fix the ffmpeg path issue. its very active
from gpustat-unraid.
fileflows is not showing up
/usr/local/bin/ffmpeg-fflags+genpts-probesize5M-hwaccelcuda-i/media/media/Movies/The Rookie (2002)/The Rookie (2002).mkv-y-map0:v:0-c:v:0hevc_nvenc-rcconstqp-qp20-presetp6-spatial-aq1-map0:a:0-c:a:0aac-ac:a:06-map0:s:0-c:s:0copy-metadata:s:s:0language=eng-strict-2/temp/Runner-f0d62019-ad2e-43ae-949c-2193370f31bc/0fa83fe0-ad25-4768-8a7a-156f2d8bef4a.m
from gpustat-unraid.
Wed Nov 16 10:09:36 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% 51C P2 26W / 140W | 640MiB / 6144MiB | 4% 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 30507 C /usr/local/bin/ffmpeg 385MiB |
+-----------------------------------------------------------------------------+
from gpustat-unraid.
/usr/local/bin/ffmpeg-fflags+genpts-probesize5M-hwaccelcuda-i/media/media/Movies/Once Upon a Time in Hollywood (2019)/Once Upon a Time⦠in Hollywood (2019).mkv-y-map0:v:0-c:v:0hevc_nvenc-rcconstqp-qp20-presetp6-spatial-aq1-filter:v:0zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv,format=yuv420p-map0:a:0-c:a:0aac-ac:a:06-strict-2/temp/Runner-71812128-0e48-46f8-88e6-9812d6e14f05/669dd16f-e961-4217-9675-44fce4cb2b60.mkv
from gpustat-unraid.
I don't really have a test setup, so I'm kind of eyeballing it here. I haven't released anything, but what I've already done will be required anyways. You probably missed the previous commit where I look at the parent process calling the ffmpeg process to try and identify the app?
EDIT: a82f3de <--- this commit for parent process checking
from gpustat-unraid.
@binarygeek119 Same question, does it work?
from gpustat-unraid.
fileflows does not show up but etv does.
from gpustat-unraid.
Okay, we need to see what the full command of the parent process is. I'm guessing it doesn't contain 'fileflows' anywhere which would make it impossible to detect. Do you know how to check the parent process?
from gpustat-unraid.
no i dont
from gpustat-unraid.
Wed Nov 16 10:09:36 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% 51C P2 26W / 140W | 640MiB / 6144MiB | 4% 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 30507 C /usr/local/bin/ffmpeg 385MiB | +-----------------------------------------------------------------------------+
So in this case, you would take the PID of the known fileflows-spawned ffmpeg process and find the parent PID:
ps j 6907
The first section of the output will be the Parent PID. All you need to do is the same process as before except use the parent PID instead:
cat /proc/<parent_pid>/cmdline
and paste the result. If the string fileflows
isn't showing up in the parent PID process somewhere then I'll have to talk to the developer or container maintainer to make it more detectable.
from gpustat-unraid.
/dotnet/dotnetFileFlows.FlowRunner.dll--uid162ed1db-9f00-43ed-879f-e5e60ebd152d--libfileb1f23706-020c-4a8a-86ed-cfe134094d3f--tempPath/temp--cfgPath/app/Data/Data/Config/73--cfgKeyd9f018fd-a5f7-4d8c-b0eb-3edac6488974--baseUrlhttp://localhost:5000--docker--server
from gpustat-unraid.
@binarygeek119 Did the latest update make FileFlows detection work?
from gpustat-unraid.
still not showing up
from gpustat-unraid.
Related Issues (20)
- Failed to install app HOT 1
- [ENHANCEMENT] - include Emby icon on dashboard HOT 1
- [ENHANCEMENT] - include F@H icon on dashboard
- [BUG] - Log spammed with missing jelly.png file HOT 2
- [BUG] - applications_clocks_setting does not stay inside the hw info box
- Nil Tdarr Icon on GPU Stat page on Unraid Dashboard. HOT 3
- [ENHANCEMENT] - Show multiple GPUs on dashboard HOT 1
- Support for Unraid 6.10.x HOT 2
- [ENHANCEMENT] - Frigate Icon HOT 17
- [ENHANCEMENT] - ErsatzTV icon HOT 14
- [BUG] - no apps showing up HOT 2
- [BUG] - N/A with unraid 6.11 HOT 5
- [ENHANCEMENT] - Channels DVR Icon HOT 1
- [ENHANCEMENT] - CodeProject.AI_Server Icon HOT 3
- [BUG] - Briefly describe issue here HOT 3
- With RC2 Crash the dashboard HOT 1
- [BUG] - Can't find Unit ID in the settings with AMD iGPU Picasso/Raven
- [ENHANCEMENT] - Threadfin Icon
- [ENHANCEMENT] - Ollama Icon
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpustat-unraid.