Jump to content

b3rs3rk

Members
  • Posts

    207
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by b3rs3rk

  1. 22 hours ago, ChillZwix said:

     

    Thank you for helping @b3rs3rk , here it the result:

    gpustat4.png

     

    Okay so your iGPU is not being inventoried at all.  Can you do an:

     

    lspci | grep VGA

     

    and paste the result?  I looked at the output in your diagnostics file but want to make sure.  Beyond that we will have to do more debugging to discover the root cause.

  2. 15 hours ago, ChillZwix said:

     Even when I select Intel at Vendor, can still just see P2000 in the drop down.

    gpustat2.png

    gpustat3.png

     

    I guess it isn't detecting your iGPU when the settings page is running the inventory code.  I looked at the lspci dump in the diagnostics and I pulled the line out that should be returned and tested it against the inventory regex for Intel and it matches with no issue.  So I'm at a loss without more troubleshooting.

     

    Easiest way, would be to edit the /usr/local/emhttp/plugins/gpustat/gpustatus.php file to force a data dump for review.  Run it line by line.

     

    cd /usr/local/emhttp/plugins/gpustat
    sed -i.bak '44 c\$gpustat_inventory = true;' gpustatus.php
    sed -i '52 c\var_dump($gpustat_data);' gpustatus.php
    php gpustatus.php
    <data that we need to see>
      
    ### Revert
    cp gpustatus.php.bak gpustatus.php
    rm gpustatus.php.bak

     

  3. 4 hours ago, Sungray said:

    I don't get how to enable emby detection, can anyone enlighten me ?

    https://github.com/b3rs3rk/gpustat-unraid/issues/32

     

    Emby was originally included in the app detection when it released, but was disabled due to the large number of false positives where it was identified as running when people didn't even have an Emby container running.  This is because it invokes 'ffmpeg' as the process with no other determining language in the command to accurately identify it as Emby.  Because the issue creator (for issue #32 on my GH repo that you referenced) included a command/process name that included the string 'emby' I decided to re-activate it using that command syntax.  If the container you're using doesn't use the same command, it won't work.  You could try reaching out to that user and see which container they are running and follow suit.  Or someone could request that the container authors they prefer use a predictable command for their transcoding processes.

  4. 9 minutes ago, NeoDude said:


    Thanks for the reply man. Seeing as how I only use my GPU for Plex and TDARR. Can I not just set it up so that whenever ffmpeg shows, the dash shows it as TDARR?
     

     

    I'd consider implementing something like that if it was a desired enough feature, but you're the only person that has requested that functionality before (I think).  Have you tried filing an issue with the application or container image author to start using a more deterministic command to launch their ffmpeg processes?  I looked at the Tdarr Dockerfile and they actually install jellyfin-ffmpeg via APT and create a symbolic link to /usr/local/bin/ffmpeg.  If they just named it tdarr-ffmpeg we wouldn't be having this conversation.

  5. On 1/25/2022 at 4:04 PM, flyize said:

    Apologies. I figured the answer would just be, yes. ;)

     

    Attached

    truffle-diagnostics-20220125-1603.zip 161.95 kB · 1 download

     

    IMC bandwidth is specific to Intel iGPUs and usually works fine but it really depends on the CPU/GPU package.

     

    I can't use those diagnostics to determine the issue, but the way the code is written, the IMC Bandwidth usage will return N/A if intel_gpu_top is not returning those indexes in the statistics pull.

     

    Try this from CLI:

     

    timeout -k .500 .400 intel_gpu_top -J -s 250

     

    And post the result here.

  6. On 2/6/2022 at 3:00 AM, J05u said:

    I am confused, seems like transcoding is working, but nothing is reported by plugin.

    Is it any chance to see what is going with plex transcoding ? Or how to see if intel GPU is in use...

    Showing no activity, but looks like it's my quadro working,

    Nvidia smi saying |  No running processes found    

     

     

    If Nvidia-smi says no processes are found you are not using it.  Nothing else to say really.  The plugin is not magic, it depends on nvidia-smi reporting to populate the widget.

  7. On 2/5/2022 at 2:34 AM, lanky8804 said:

    Have 2 GPU’s installed now. Is it possible to have both statistics displayed on the dash? Atm am having to change setting each time to view the other card. 

     

    Answered ad infinitum in this thread.  One day I hope to implement it, but I just don't have time right now.

  8. On 2/2/2022 at 7:46 AM, NeoDude said:

    Not a biggy, but any ideas why Tdarr doesn't show under 'Active Apps' like Plex does with the little logo?

     

    App detection isn't that straight forward.  Depending upon the container and/or the configuration you're running tdarr may be using ffmpeg or HandbrakeCLI in such a way that we can't determine tdarr is invoking it.  Nvidia-smi usually only reports a single binary name (like "ffmpeg" or "HandbrakeCLI") as the process that's using the GPU.  Some applications are much more specific.  Plex, for example, doesn't just invoke ffmpeg, it invokes its own "Plex Transcoder" process that is easy to identify.  Still, I do attempt to pull the full command of the process using the PID Nvidia reports, but if I don't find "tdarr" anywhere in the command I can't rightly match it.  I'd investigate your own processes when Tdarr is running and see if there is any way to uniquely identify it and then let me know.  Otherwise, can't fix it.

  9. On 11/18/2021 at 5:44 PM, corgan said:

    Yes, I totally understand. I started a new job 4 weeks ago and there is very little time left.

    But will take a look into the branch. Maybe nice to come back to PHP after around 10 Years. :)

     

    I changed the filename to lowercase. But this PR Menu at  GitHub is such a mess. This confuses me every time. :)

     

    PHP gets a lot of hate.  And it should.  It's terrible.  I mean, just awful when you compare it to so many other languages.  But it's what I cut my teeth on when I first started programming so it will always have a fond place in my heart.

     

    I merged the PR today, will try to get it released today or tomorrow.  I'll also finish what I've started in the new branch and commit it if you're intent on looking at it.  My weakness is web stuff.  I'm not in any way a front end guy so the concept of CSS just eludes me.

     

  10. 54 minutes ago, ich777 said:

    It was never designed to display two or even multiple cards and this would involve a completely rewrite from the plugin from what I know.

     

    Not a complete re-write, just the settings stuff.  The code needs to be setup to be iterated for each additional card the user wants to display.  That in itself is pretty simple.  What is a bit more difficult is re-designing the way a user configures the settings and how those settings get written to the configuration file as it is only setup to accept a single set of values for a single chosen vendor.  You and I both know that nine times out of ten when a user has an issue it is because of some setting being set incorrectly or because an update didn't populate the file properly.  So care must be taken when touching that piece of it or else we will be overwhelmed with complaints.  And not just our favorite "My graphics card is old enough to operate a motor vehicle but it doesn't show anything on the dashboard, what gives?" complaint.

     

    53 minutes ago, corgan said:

     

    OK, understand. :/

     

    I have a branch for doing exactly this, but I've taken on a lot of duties at work and have had little time for implementing it.  @SimonF gave me a bunch of pointers on how to do some of it but I can't seem to find the time.  I could probably rush something out, but I guarantee I would be inundated with requests to support everyone's edge use case.  I also don't really have a dev/test box that I can push these changes to that has multiple GPUs installed.  Which would be extremely helpful in reducing initial bugs.

     

    @corgan I reviewed the PR.  You just need to change the file casing for the nsfminer image in code and the filename itself and I will merge.  Thanks for the contribution!

    • Like 1
  11. 1 hour ago, Big Dan T said:

    Hey,

     

    Great app by the way !

     

    Just curious, but whenever its loaded on the Dashboard my log fills up with "mapping multiple BARs" errors.

     

    Is this a bug or something I've set incorrectly in the settings ?

     

    Cheers

     

    D.

    This has been discussed many times within this thread.  Please search and find info/potential fixes provided by myself and @ich777 -- it is not a bug on my part, but has to do with something specific to your hardware configuration.

  12. 17 hours ago, mihcox said:

    image.png.560b7370cb85134283a65b768c574a30.png

     

    No need to paste the result of this unless it gives an error:

     

    nvidia-smi -q -x -g GPU-5ca972bd-e20a-d575-d786-92a6666edc88

     

    Just want to confirm your nvidia-smi polling works with the configured GUID.  You are missing some configuration settings, but they are the ones for the AMD monitoring and shouldn't have any effect.  Still, might try to remove and reinstall the plugin completely (including deleting the /boot/config/plugins/gpustat directory after uninstalling the plugin from the UnRAID UI).

     

    EDIT:  This is the problem.  Based on your previous screenshots, the GPU GUID in your config file is different from the one you posted for @ich777 from the settings page.  You need to re-save your settings especially when switching cards.  I'm guessing you replaced your old GPU with a new one and the GUID of the old one is still saved.

  13. @Tibbe Even though most of the monitoring was deprecated by Nvidia for your card, the dashboard should be showing a few metrics for you.  Temperature, fan usage, power state and maybe memory usage.  It will never show GPU or Encoder/Decoder utilization, so I don't know how useful the plugin will be.  But something is happening where my code isn't receiving valid XML or it can't find the main element it wants.  Can I see your config file?

  14. 12 hours ago, mihcox said:

    output:


    root@Bi:~# cd /usr/local/emhttp/plugins/gpustat/ && php ./gpustatus.php
    {"clock":"N\/A","fan":"N\/A","memclock":"N\/A","memutil":"N\/A","memused":"N\/A","power":"N\/A","powermax":"N\/A","rxutil":"N\/A","txutil":"N\/A","temp":"N\/A","tempmax":"N\/A","util":"N\/A","error":[{"code":302,"message":"Vendor command returned unparseable data.","extra":""}]}root@BigRig:/usr/local/emhttp/plugins/gpustat# 

     

    error":[{"code":302,"message":"Vendor command returned unparseable data.","extra":""}]


     

    nvidia-smi -q -x -i 0

     

  15. On 10/23/2021 at 6:25 AM, corgan said:

    Hello again,

     

    I just made a PR on Github, in which I added support for two more App, Shinobi and nfsminer.

    Sadly the third app is ffmpeg coming from frigate, but there is no clear identifier to be sure that this ffmpeg binary comes from frigate.

     

    But this PR was "by accident", because mainly I was troubleshooting why my AMD Card don't get shown.

    On Paper the sensor data are there. They also get exported via telegrafs sensor plugin.

    But on the unraid dashboard, the panel is empty if I select AMD Vendor in the Settings.

    Radeontop is installed and running.

     

    Any Ideas?

     

    I have reviewed your PR.  Please check that out when you have the chance.  The work looks fine, just need a couple things changed and the PR re-opened to the dev branch.

     

    There are ways to determine what is calling the ffmpeg process.  I do that for deepstack because nvidia-smi only shows python3 is running.  I dig out the PID info, check some of the extended information and make a positive match that way.  Might be doable with whatever third application you wanted to add as well.

     

    As for your stats not showing up for your AMD card the GPUID setting in your config file needs to reflect the BUS ID of the AMD device.  Yours is still showing the UUID for your Nvidia card which will cause it to fail.  Probably a bug on my part but this is likely caused by you switching back and forth.

     

  16. On 9/26/2021 at 6:42 PM, mihcox said:

    Im having issues with my p2200. It works and transcodes as excpected, but no statistics load on the homepage. NVIDIA-SMI still works in the command line though.

     

    Any ideas?

    Capture.PNG

     

    Some kind of error when the actual statistics collection process is triggered which is returning no data or an empty array most likely.  Please read the first post of this thread and include the result of the troubleshooting step that involves running the PHP script from the CLI.  I'm not going to copy paste it for everyone that chooses not to read it.  Hint:  It is Step 2.

  17. Hey folks.  I just upgraded my UnRAID server to use a new SuperMicro board and am trying to get the IPMI tools working properly.  It identifies the SuperMicro IPMI branding and can read all of the sensors without issue.  But I'm having an issue with actually changing anything in the config.  Any change on any tab I make is ignored even after clicking Apply, then Done.  When I go back to the IPMI settings page it is all set to the defaults again.  I tried searching in this thread but didn't see anything about a config not being saved.

     

    When looking at the Firefox console, I'm seeing a DOMException whenever I browse to the IPMI settings page.


    image.png.66d70100b8d17460e9ed58f1e732f771.png

     

    The function that is throwing the exception is this one:

     

    function decData() {
        $('#PASSWORD').val(atob($('#PASSWORD').val()));
    }

     

    Not sure if that is the reason things are not working for me, but it's the only error I see when attempting to make changes/save the config.

     

    I had previously been using AutoFan and System Temp plugins from Dynamix, but I removed them just in case they were causing issues.  They are pretty much worthless now anyways since everything is handled via IPMI on this board.

     

    Specs:

     

    UnRAID 6.9.2 Pro

    Xeon Silver 4110

    SuperMicro X11SPL-F Motherboard

    BIOS Version: 3.4 (Latest)

    BMC Firmware Version: 1.73.05 (Latest)

     

    EDIT:  It seems that even though I had the Network Connections set to No, it was still trying to autofill my UnRAID user/pass in the BMC connection and submitting it whenever I clicked apply for unrelated settings.  After disabling autofill for the UnRAID site in Firefox I was able to make changes.

     

  18. On 6/20/2021 at 5:50 AM, Alphacosmos said:

    Hey Guys I love the Plugin, If i may place a feature request. Can I get multi gpu support. either the option of multiple dashboards or just seeing which apps are working across multiple gpus.

     

     

     

    Beyond the multiple vendor support that was somewhat recently implemented (added Intel and AMD) this is probably the most requested feature.  I think I know what needs to be done to address this after talking with some other community devs but it will take time to implement.  I'm limited in what I can test because I have a single GPU setup with no onboard graphics because I'm using Xeon.  Makes it difficult to start poking around with it too.  Trust me, it's on the horizon just no ETA yet.

  19. Just now, Nanobug said:

    Sweey baby Jesus!
    Usually I'm not a Christian, but I was right there!
    image.png.d80264293c37579d635e270c59b879bf.png

    I removed the line (had to go back a page or two to find it), I reloaded the dashboard, and it was showing up.

    To sum it up, what was the issue? After two pages of doing things, I kind of lost track.

     

    I'm pretty sure it was just an issue with the settings not getting saved.  Maybe.  I didn't point you to the correct location for the real plugin config the first time so it is hard to say.

    • Like 1
  20. Just now, Nanobug said:

    This one looks like this:
     

    
    VENDOR="nvidia"
    GPUID="GPU-23265d6c-1de2-5786-b964-e20b2a209ad6"
    TEMPFORMAT="C"
    DISPCLOCKS="1"
    DISPENCDEC="1"
    DISPPCIUTIL="1"
    DISPTEMP="1"
    DISPFAN="1"
    DISPPWRDRAW="1"
    DISPPWRSTATE="1"
    DISPTHROTTLE="1"
    DISPSESSIONS="1"
    UIREFRESH="1"
    UIREFRESHINT="1000"
    DISPMEMUTIL="1"
    DISP3DRENDER="1"
    DISPBLITTER="1"
    DISPVIDEO="1"
    DISPVIDENH="1"
    DISPINTERRUPT="1"
    DISPEVENT="1"
    DISPVERTEX="1"
    DISPTEXTURE="1"
    DISPSHADEREXP="1"
    DISPSEQUENCER="1"
    DISPSHADERINTER="1"
    DISPSCANCON="1"
    DISPPRIMASSEM="1"
    DISPDEPTHBLK="1"
    DISPCOLORBLK="1"
    DISPGFXTRANS="1"

    That looks right to me?


    lol, I know.  I had you put in a debug on Line 287 of the lib/Nvidia.php file that is probably still there causing the script to exit.  You can either reinstall the plugin or make that line blank again.

    • Like 1
  21. Is it updating the cfg file?  Without that being updated it won't work.  Check your boot plugin config file, I just realized you might be looking at the default.cfg which is my fault.

    more /boot/config/plugins/gpustat/gpustat.cfg

  22. 4 minutes ago, Nanobug said:

    No, same as before :/

    Should I do it manually?

     

    I mean, you probably could.  But I'm really not sure what could be wrong with the settings creation.

    image.thumb.png.b42ef0da0e8f5b059be217f69ca306e1.png

    Make sure everything looks like this then click Apply at the bottom of the page.  If the Apply button is greyed out and you can't click it then it won't work.  You have to change something to get it to switch.

    EDIT:

    Greyed out -- image.png.2ecfcdad4ba5a790fcdc40d9e34c1b73.png

    Changes detected -- image.png.3186b58008273b02bacde10965f3d9f8.png

×
×
  • Create New...