Giter Club home page Giter Club logo

gpustat-unraid's Introduction

gpustat-unraid

An UnRAID plugin for displaying GPU status

Prerequisites

NVIDIA:

  • UnRAID 6.9.0 Beta 34 and below needs one of the following:
    • UNRAID-Nvidia Plugin with Nvidia Kernel Installed
    • Custom Kernel build with Nvidia drivers
  • UnRAID 6.9.0 Beta 35 and newer needs one of the following:
    • Nvidia Plugin by @ich777 from Community Apps
    • Custom Kernel build with Nvidia drivers

For custom kernel builds, see the original post of the UnRAID-Kernel-Build-Helper thread.

INTEL:

  • UnRAID (All Versions)
    • Intel GPU TOP plugin by @ich777 from Community Apps

AMD:

  • UnRAID (6.9+)
    • RadeonTop plugin by @ich777 from Community Apps

Note: From an UnRAID console if nvidia-smi (NVIDIA), intel_gpu_top (Intel) or radeontop (AMD) cannot be found or run for any reason, the plugin will fail for that vendor. If none of these commands exists, the plugin install will fail.

Manual Installation

- No longer supported, install from Community Apps unless beta testing

If any issues occur, visit the support thread here.

Current Support

NVIDIA:

- GPU/Memory Utilization
- GPU/Memory Clocks
- Encoder/Decoder Utilization
- PCI Bus Utilization
- Temperature
- Fan Utilization
- Power Draw
- Power State
- Throttled (Y/N) and Reason for Throttle
- Active Process Count

INTEL:

- 3D Render Engine Utilization
- Blitter Engine Utilization
- Video Engine Utilization
- VideoEnhance Engine Utilization
- IMC Bandwidth Throughput
- Power Draw and Power Demand (rc6 slider)
- GPU Clock
- Interrupts per Second

AMD:

APU/GPU
- GPU/Memory Utilization
- Event Engine Utilization
- Vertex Grouper and Tesselator Utilization
- Texture Addresser Utilization
- Shader Export/Interpolator Utilization
- Sequencer Instruction Cache Utilization
- Scan Converter Utilization
- Primitive Assembly Utilization
- Depth/Color Block Utilization
- Graphics Translation Table Utilization
- Memory/Shader Clocks
- Temperature

GPU Only
- Power Draw
- Fan Current/Max RPM

The bulk of this code was adapted from/inspired by @realies and @CyanLabs corsairpsu-unraid project!

Contributor Thanks

- @mlapaglia for his work on UI slider bars
- @ich777 for his help with Intel iGPU testing
- John_M for his help with AMD APU testing
- @corgan2222 for adding nsfminer and Shinobi Pro app detections

gpustat-unraid's People

Contributors

b3rs3rk avatar belphemur avatar corgan2222 avatar ich777 avatar mlapaglia avatar shadow7412 avatar squidly271 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gpustat-unraid's Issues

[BUG] - Briefly describe issue here

Describe the bug
Dashboard bug

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Dashboard'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
To have it work like the other widgets

Screenshots
image

Client (please complete the following information):

  • OS: [e.g. Windows 7/10, MacOS]
  • Browser Firefox, and other browsers
  • Version [e.g. 22]

Server (please complete the following information):

  • Device: Phisical server
  • OS Version: v6.12
  • GPU: intel

Additional context
Add any other context about the problem here.

[ENHANCEMENT] - Show multiple GPUs on dashboard

Is your feature request related to a problem? Please describe.
I've two GPUs in my unraid server (one for Plex transcoding and one will be linked to a VM. I'd like to see the statistics for both, but I can only select one of the two GPUs in the settings.

Describe the solution you'd like
Allow the option to display all connected GPUs

Describe alternatives you've considered
I haven't found any other software which does have this feature

Additional context

With RC2 Crash the dashboard

i just install RC2 and the plugin make the dashboard disapear. on rc1 is was ugly but that was working and not anymore on rc2

[BUG] - Can't find Unit ID in the settings with AMD iGPU Picasso/Raven

Describe the bug
A clear and concise description of what the bug is.
Fresh install Unraid 6.11.5, then install plugin "Radeon TOP" & "GPU Statistics", but can't find Unit ID like the pic down below. Still the same after rebooting. And both plugins are in the latest version.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
图片
2023-04-10 150420
2023-04-10 150518-2
2023-04-10 150629-3

Client (please complete the following information):

  • OS: Windows 10
  • Browser: chrome, firefox [any browser]
  • Version: N/A

Server:

  • Device: Physical Server
  • OS Version: UnRAID v6.11.5
  • GPU: VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series]

Additional context
Add any other context about the problem here.

[BUG] - no apps showing up

i dont have any apps showing up when there beeing used by the gpu
im on unraid 6.10.03
i have tested by running emby and focing transcodeing and the processers number goes up but no icons show up

image

[BUG] - applications_clocks_setting does not stay inside the hw info box

Describe the bug
The applications_clocks_setting text cuts of the line on gpu stats box. please see screenshot.

To Reproduce
Steps to reproduce the behavior:

  1. login to to unraid
  2. click on dashboard
  3. scroll down to gpu stat
  4. see the line be cut off by the text, applications_clocks_setting

Expected behavior
To have the text "applications_clocks_setting" stay inside of the boxed lines of the information of unraid hw stats.

Screenshots
https://forums.unraid.net/uploads/monthly_2022_02/gpu.png.b2ac62f9af8e23e7c071d0330a2f1221.png

Client (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version 99.0.4844.51 (Official Build) (64-bit)

Server (please complete the following information):

  • Device: Ryzen 9 5900X, 32Gb mem, a few tb of storage, I have a few vm's not all of them running all the time...
  • OS Version: unRaid 6.9.2
  • GPU: nVidia 970 GTX

Additional context
As posted here
https://forums.unraid.net/topic/89453-plugin-gpu-statistics/?do=findComment&comment=1101283

[BUG] - N/A with unraid 6.11

Describe the bug
A clear and concise description of what the bug is.

Expected behavior
Expect some values, but GPU Statistics prompts N/A with intel integrated graphics.

Screenshots
image

Client:

  • OS: Windows 11
  • Browser: Firefox
  • Version: 105.0.1

Server:

  • Device: Physical Server
  • OS Version: UnRAID v6.11
  • GPU: Intel UHD 630 (Intel i5 9600k)

Additional context
Works perfectly when I restore Unraid 6.10.3. Issue discussed in Unraid forums

Nil Tdarr Icon on GPU Stat page on Unraid Dashboard.

Describe the bug
Tdarr icon is not displayed on the Unraid WebUI when TDARR is using GPU.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Hardware transcode with Tdarr
  2. Click on 'Click on Unraid Dashboard
  3. Scroll down to 'GPU Stastics
  4. See processes running but icon not displayed.

Expected behavior
Tdarr icon to be displayed

Screenshots
Screenshot 2022-03-31 112921

Client (please complete the following information):

  • OS: [Windows 11
  • Browser [Chrome]
  • Version [100.0.4896.60]

Server (please complete the following information):

  • Device: [Physical Server]
  • OS Version: [Unraid 6-10-0rc4]
  • GPU: [Nvidia GTX 1080TI ]

[BUG] - Briefly describe issue here

Describe the bug
A clear and concise description of what the bug is.
Log spammed with error below from the moment I install 18:07 is when I installed never had these before not that big of deal but will get out of hand if inclined/truncated. Plugin WORKS! As expected
:07:18 Tower emhttpd: cmd: /usr/local/emhttp/plugins/community.applications/scripts/pluginInstall.sh install https://raw.githubusercontent.com/b3rs3rk/gpustat-unraid/master/gpustat.plg Jun 18 18:07:18 Tower root: plugin: creating: /boot/config/plugins/gpustat/gpustat-2020.04.18a-x86_64.txz - downloading from URL https://raw.githubusercontent.com/b3rs3rk/gpustat-unraid/master/pkg/gpustat-2020.04.18a-x86_64.txz Jun 18 18:07:19 Tower root: plugin: running: /boot/config/plugins/gpustat/gpustat-2020.04.18a-x86_64.txz Jun 18 18:07:19 Tower root: plugin: creating: /boot/config/plugins/gpustat/gpustat.cfg - from INLINE content Jun 18 18:07:26 Tower kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window] Jun 18 18:07:26 Tower kernel: caller _nv000908rm+0x1bf/0x1f0 [nvidia] mapping multiple BARs Jun 18 18:07:30 Tower kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window] Jun 18 18:07:30 Tower kernel: caller _nv000908rm+0x1bf/0x1f0 [nvidia] mapping multiple BARs Jun 18 18:07:33 Tower kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window] Jun 18 18:07:33 Tower kernel: caller _nv000908rm+0x1bf/0x1f0 [nvidia] mapping multiple BARs Jun 18 18:07:36 Tower kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window] Jun 18 18:07:36 Tower kernel: caller _nv000908rm+0x1bf/0x1f0 [nvidia] mapping multiple BARs Jun 18 18:07:39 Tower kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window] Jun 18 18:07:39 Tower kernel: caller _nv000908rm+0x1bf/0x1f0 [nvidia] mapping multiple BARs Jun 18 18:07:42 Tower kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window] Jun 18 18:07:42 Tower kernel: caller _nv000908rm+0x1bf/0x1f0 [nvidia] mapping multiple BARs Jun 18 18:07:44 Tower kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window] Jun 18 18:07:44 Tower kernel: caller _nv000908rm+0x1bf/0x1f0 [nvidia] mapping multiple BARs Jun 18 18:07:47 Tower kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window] Jun 18 18:07:47 Tower kernel: caller _nv000908rm+0x1bf/0x1f0 [nvidia] mapping multiple BARs Jun 18 18:07:49 Tower kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window] Jun 18 18:07:49 Tower kernel: caller _nv000908rm+0x1bf/0x1f0 [nvidia] mapping multiple BARs Jun 18 18:07:52 Tower kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window] Jun 18 18:07:52 Tower kernel: caller _nv000908rm+0x1bf/0x1f0 [nvidia

To Reproduce
Steps to reproduce the behavior:

  1. Go to CA
  2. Install GPU Stats
  3. See error

Expected behavior
Work without these errors

Screenshots
If applicable, add screenshots to help explain your problem.
N/A
Client (please complete the following information):

  • OS: [e.g. Windows 7/10, MacOS] Unraid Nvidia 6.8.3
  • Browser [e.g. chrome, firefox, safari] Chrome
  • Version [e.g. 22]: version 84.0.4147.53

Server (please complete the following information):

  • Device: [e.g. Physical Server, VM, etc] Physical Unraid server
  • OS Version: [e.g. UnRAID v6.8.3] Unraid Nvidia 6.8.3
  • GPU: [e.g. vendor, product, quantity] Nvidia GTX 960

Additional context
Add any other context about the problem here.
: > /var/log/syslog to clear the errors but they will return
Screenshot_20200618-181449

Jumped over to the support thread and saw that this is almost certainly an Nvidia driver issue so I guess this can be closed.

Plugin selecting wrong GPU

Hello, I’m having a minor issue in that the plugin seems to only select one card and doesn’t display the cards correctly in the plug-in settings. Here's some pics.

Failed to install app

Video demonstration:
4m2Hc97RMc
install log:

A clear and concise description of what the bug is.
plugin: installing: https://raw.githubusercontent.com/b3rs3rk/gpustat-unraid/master/gpustat.plg
plugin: downloading https://raw.githubusercontent.com/b3rs3rk/gpustat-unraid/master/gpustat.plg
plugin: downloading: https://raw.githubusercontent.com/b3rs3rk/gpustat-unraid/master/gpustat.plg ... done
********************************************************************

No vendor utilities found. Plugin install terminated due to failed prerequisites.

********************************************************************
plugin: run failed: /bin/bash retval: 1

Updating Support Links

Finished Installing. If the DONE button did not appear, then you will need to click the red X in the top right corner

GPU: Nvidia gtx 1660 3gb
CPU: AMD A8-7500 Radeon R7

[ENHANCEMENT] - Threadfin Icon

Greetings.

I think the Threadfin icon might be a little more complicated, the process looks like this:

/usr/bin/ffmpeg-**user_agentThreadfin**-hwaccelcuda-hwaccel_output_formatcuda-hwaccel_device0-loglevelwarning-i***********************-ignore_unknown-sn-noautoscale-max_error_rate.2-muxpreload1-mapv:0-c:vh264_nvenc-movflags+faststart-tune3-presetp4-profile:vmain-rc1-rc-lookahead30-qmin0-bf3-b_ref_modemiddle-temporal-aq1-rc-lookahead20-i_qfactor0.75-b_qfactor1.1-g250-map0:a:0-c:aac3-r30000/1001-b:v10M-bufsize2M-maxrate20M-minrate1M-filter:vyadif_cuda=deint=0,scale_cuda=passthrough=0-b:a128k-ac2-ar44100-metadata:s:alanguage=eng-threads0-fmpegts-mpegts_copyts1-mpegts_flags+resend_headers-nostats-hide_bannerpipe:1

Screenshot 2023-10-23 at 8 35 21 PM

there is a "Threadfin" user_agent tag, maybe you can use that as part of a wildcard expression

The parent process is "/home/threadfin/bin/threadfin-port=34400-config=/home/threadfin/conf-debug=0". A wildcard expression here might also work

Screenshot 2023-10-23 at 8 48 56 PM

icon: https://raw.githubusercontent.com/Threadfin/Threadfin/main/html/img/threadfin.ico

Thanks!

[BUG] - Session app icon size is abnormal

Describe the bug
Session app icon size is abnormal

To Reproduce
Steps to reproduce the behavior:

  1. Go to Dashboard

Screenshots
image

Client (please complete the following information):

  • OS: MacOS 11.2.1 (20D74)
  • Browser chrome
  • Version 88.0.4324.182

Server (please complete the following information):

  • Device: Physical Server
  • OS Version: UnRAID v6.9.0-rc2
  • GPU: NVIDIA GeForce GTX 965M

Additional context
DIsabled .gpu-image height can be resolved

[ENHANCEMENT] - CodeProject.AI_Server Icon

Greetings.

The CodeProject.AI_Server icon should be similar to Deepstack.

Looks like for Deepstack you're looking for 'python3', then looking a little further.

For CodeProject.AI_Server it looks something like this:

python3.8 /app/AnalysisLayer/ObjectDetectionYolo/detect_adapter.py

So maybe, similar to Deepstack, 'python3.8' then look further for '/app/AnalysisLayer'?

icon: https://codeproject.freetls.fastly.net/App_Themes/CodeProject/Img/logo250x135.gif

Thanks!

[ENHANCEMENT] - Ollama Icon

root@Tower:~# nvidia-smi
Tue Nov 28 20:34:09 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06 Driver Version: 545.29.06 CUDA Version: 12.3 |
|-----------------------------------------+----------------------+----------------------+
| 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 Quadro P4000 Off | 00000000:81:00.0 Off | N/A |
| 55% 65C P0 60W / 105W | 4696MiB / 8192MiB | 99% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 27525 C ...p/gguf/build/cuda/bin/ollama-runner 4694MiB |
+---------------------------------------------------------------------------------------+
root@Tower:~# cat /proc/27525/cmdline

/tmp/ollama434596891/llama.cpp/gguf/build/cuda/bin/ollama-runner--model/root/.ollama/models/blobs/sha256:6ae28029995007a3ee8d0b8556d50f3b59b831074cf19c84de87acf51fb54054--ctx-size2048--batch-size512--n-gpu-layers49--embedding--port51087

icon:
https://ollama.ai/public/ollama.png

[BUG] - Log spammed with missing jelly.png file

Describe the bug
Unraid Log is being spammed with missing jelly.png file every time the dashboard page is hit with my browser.

To Reproduce

  1. Refresh Dashboard page
  2. Look at Unraid Log
  3. Look at Browser Dev Tools (error 404 for jelly.png)

Expected behavior
I think jelly.png was renamed to jellyfin.png?
As i see a jellyfin.png file in "/usr/local/emhttp/plugins/gpustat/images/" but not file named "jelly.png"

Screenshots
image

Client (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version 98.0.4758.102

Server (please complete the following information):

  • OS Version: [e.g. UnRAID v6.10.0-rc2
  • GPU: 2x Nvidia P2000

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.