Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[PLUGIN] GPU Statistics

Featured Replies

On 07/01/2024 at 02:47, JamesHaefner said:

Ma fenêtre GPU Stats sur le tableau de bord ne restera pas étendue pour montrer l'information. Quand j'essaie d'élargir la vue pour voir les détails, ça montre juste l'en-tête. Quand j'essaie de l'étendre quand il pense qu'il s'est effondré, les détails montrent un bref moment puis disparaissent à nouveau, même si la fenêtre pense qu'elle est encore élargie. Y a-t-il des pensées ?

I had the same problem: you have to clear the browser cache, cookies 🙂 and it works again!

  • Replies 2.1k
  • Views 356.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • juan11perez
    juan11perez

    Good day, plugin also stopped working for me.   root@Unraid:/usr/local/emhttp/plugins/gpustat# cd /usr/local/emhttp/plugins/gpustat/ && php ./gpustatus.php Fatal error: Uncaught TypeE

  • I did some more work to get it to look like the CPU sidebar that comes with unraid 

  • I have created a PR for b3rs3rk's plugin to add MultiGPU support for 6.12 as Dashboard panels are different in 6.12. The PR works on pre realeases but does not provide Multi support. There are some ot

Posted Images

I'm not having any issue, but I also see this GPU not available bound to VFIO or inuse in a VM message when I expand the GPU pane in my dashboard.  It only pops up for about 2 seconds, then disappears.

 

I have both a Nvidia Quadro P400 and a AMD 3700G iGPU active (both configured with appropriate driver/TOP).  I only configure to display the Nvidia stats with this plugin, which works just fine.  Neither is bound, nor passed to any VM.  Running Unraid 6.12.8 and the latest GPU Statistics 2024-03-16.

 

Just thought I would pass along this data point.

3 hours ago, fafab said:

I had the same problem: you have to clear the browser cache, cookies 🙂 and it works again!

Thanks, that was exactly what fixed my issue too. :)

  • 3 weeks later...

GPU Stat lets me select my Intel 730 i915 CPU from my I5 12000, but the choice doesn't stick.  When I go to the Dashboard, it says that I haven't selected my GPU.  Any ideas what can cause this?

 

 

Screenshot 2024-05-01 at 8.51.16 AM.png

Screenshot 2024-05-01 at 8.51.30 AM.png

31 minutes ago, mklcolvin said:

Any ideas what can cause this?

The minimum inrerval is 2000ms not 1000ms

Wow, that fixed it - thanks so much!  It's weird that the default is 1000ms - I didn't change that field.

 

One last thing - although it shows up in the Dashboard now, I notice that there are no statistics - as though it's not updating.  Does it only show activity when it's transcoding?

Screenshot 2024-05-01 at 6.42.50 PM.png

Edited by mklcolvin
Additional issue to original post

4 hours ago, mklcolvin said:

Does it only show activity when it's transcoding?

Yes because otherwise the iGPU is idle as you can see in your screenshot.

  • 2 weeks later...

I swapped my 1080 out for a p40 and now was getting "Vendor command returned unparseable data."

gpustats.php output:

Array
(
    [code] => 200
    [message] => Configuration file contains invalid settings.
    [extra] => 
)


gpustats.cfg

MULTIGPU = "44:00.0"
TEMPFORMAT = "C"
UIREFRESH = 1
UIREFRESHINT = 2000
DISPCLOCKS = 1
DISPPCIUTIL = 1
DISPPWRDRAW = 1
DISPPWRSTATE = 1
DISPMEMUTIL = 1
DISPTEMP = 1
DISPFAN = 1
DISPENCDEC = 1
DISPTHROTTLE = 1
DISPSESSIONS = 1
DISP3DRENDER = 1
DISPBLITTER = 1
DISPVIDEO = 1
DISPVIDENH = 1
DISPINTERRUPT = 1
DISPPWRDRWSEL = "GPU"
DISPEVENT = 1
DISPVERTEX = 1
DISPTEXTURE = 1
DISPSHADEREXP = 1
DISPSEQUENCER = 1
DISPSHADERINTER = 1
DISPSCANCON = 1
DISPPRIMASSEM = 1
DISPDEPTHBLK = 1
DISPCOLORBLK = 1
DISPGFXTRANS = 1
MULTIGPUJSON = "%7B%2244%3A00.0%22%3A%7B%22id%22%3A%2244%3A00.0%22%2C%22model%22%3A%22NVIDIA+GeForce+GTX+1080%22%2C%22vendor%22%3A%22nvidia%22%2C%22guid%22%3A%22GPU-d58c31db-c36e-571d-ba3e-b5e039613a92%22%7D%7D"


The interface showed the correct device (Tesla P40) but the MULTIGPUJSON is still referencing the 1080. 
I was able to fix this by de-selecting the P40, saving, then re-selecting ans saving again.

  • 3 weeks later...
On 5/10/2024 at 3:48 PM, Spitko said:

I swapped my 1080 out for a p40 and now was getting "Vendor command returned unparseable data."

 

The interface showed the correct device (Tesla P40) but the MULTIGPUJSON is still referencing the 1080. 
I was able to fix this by de-selecting the P40, saving, then re-selecting ans saving again.

 

Thanks for this. I just had this issue when I upgraded my Tesla P4 to a new card.

I had the same issue with an Nvidia Quadro M4000, when issuing the nvidia-smi command it returned the gpu stats. I was able to fix the issue by reinstalling the plugin.image.png.bb062a6e388badf57b98796160c02671.png

Edited by Fabrizio_G

  • 3 weeks later...

Could you consider adding monitoring for the graphics card’s tensor core? Currently, when I run operations, I am unable to determine whether the computations are being accelerated or not.

微信截图_20240622120141.png

16 minutes ago, sebrina said:

Could you consider adding monitoring for the graphics card’s tensor core? Currently, when I run operations, I am unable to determine whether the computations are being accelerated or not.

I‘m not an expert on Deep Learning stuff but AFAIK this is only possible with dlprof (Deep Learning Profile) which is part of their TensorFlow container and so to speak not possible in it‘s current form and I‘m not sure if there will be an easy implementation to that here on Unraid.

4 hours ago, sebrina said:

Could you consider adding monitoring for the graphics card’s tensor core? Currently, when I run operations, I am unable to determine whether the computations are being accelerated or not.

微信截图_20240622120141.png

Plugin only can show output in provided by nvidia-smi

Hey Simon, I'm getting a couple of these warnings when on the frontpage dashboard:

[23-Jun-2024 14:04:29 Europe/Berlin] PHP Warning:  Undefined array key "refresh" in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(715) : eval()'d code on line 390
[23-Jun-2024 14:04:29 Europe/Berlin] PHP Deprecated:  abs(): Passing null to parameter #1 ($num) of type int|float is deprecated in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(715) : eval()'d code on line 390

 

I think they are coming from this line (it maybe needs a check if $display['refresh'] exists before doing max/abs) https://github.com/SimonFair/gpustat-unraid/blob/8b3fd1f2631dd9891aa1224ebec5df3d0df8bc0b/src/gpustat/usr/local/emhttp/plugins/gpustat/gpustatus.page#L359 - thanks! ;-)

 

Edited by Rysz

12 minutes ago, Rysz said:

Hey Simon, I'm getting a couple of these warnings when on the frontpage dashboard:

[23-Jun-2024 14:04:29 Europe/Berlin] PHP Warning:  Undefined array key "refresh" in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(715) : eval()'d code on line 390
[23-Jun-2024 14:04:29 Europe/Berlin] PHP Deprecated:  abs(): Passing null to parameter #1 ($num) of type int|float is deprecated in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(715) : eval()'d code on line 390

 

I think they are coming from this line (it maybe needs a check if $display['refresh'] exists before doing max/abs) https://github.com/SimonFair/gpustat-unraid/blob/8b3fd1f2631dd9891aa1224ebec5df3d0df8bc0b/src/gpustat/usr/local/emhttp/plugins/gpustat/gpustatus.page#L359 - thanks! ;-)

 

Thanks will take a look. Which vers is that on?

Just now, SimonF said:

Thanks will take a look. Which vers is that on?

 

2024.06.21 🙂 

  • 1 month later...

please help i cant get render information from gpu statistics for my intel gpu. nvidia work perfectly.

 

 

 

Screenshot 2024-07-27 194056.png

Screenshot 2024-07-27 194832.png

2 hours ago, Ph4nTom said:

please help i cant get render information from gpu statistics for my intel gpu. nvidia work perfectly.

Thats because nothing is actually transcoding and it seems you are using direct play so nothing wrong… 😅

 

Try to force a transcode by clicking the gear icon in the lower right corner in the Jellyfin player, select Quality and set it to something lower than the input media.

3 hours ago, ich777 said:

Thats because nothing is actually transcoding and you are using direct pkay. so nothing wrong… 😅

 

Try to force a transcode by clicking the gear icon in the lower right corner in the Jellyfin player, select Quality and set it to something lower than the input media.

alright. my bad

  • 3 weeks later...
On 6/23/2024 at 2:13 PM, Rysz said:

Hey Simon, I'm getting a couple of these warnings when on the frontpage dashboard:

[23-Jun-2024 14:04:29 Europe/Berlin] PHP Warning:  Undefined array key "refresh" in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(715) : eval()'d code on line 390
[23-Jun-2024 14:04:29 Europe/Berlin] PHP Deprecated:  abs(): Passing null to parameter #1 ($num) of type int|float is deprecated in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(715) : eval()'d code on line 390

 

I think they are coming from this line (it maybe needs a check if $display['refresh'] exists before doing max/abs) https://github.com/SimonFair/gpustat-unraid/blob/8b3fd1f2631dd9891aa1224ebec5df3d0df8bc0b/src/gpustat/usr/local/emhttp/plugins/gpustat/gpustatus.page#L359 - thanks! ;-)

 

 

Any news on this? 🙂 

 

The GPU dashboard is broken for me right now because of PHP warnings:

grafik.png.4e5a52b1c035ffa7a3e8b8d0b6960a2b.png

grafik.thumb.png.768020767957f1fde1535f8537826f22.png

 

It only works when setting the PHP error reporting level to "All Categories" so PHP errors are not shown on the screen, as opposed to the default PHP error reporting level where it displays them on the screen.

 

  • 2 weeks later...

Hi, I was curious why the active apps seems to be always empty on the dashboard.
If I run nvidia-smi -q I get a process list with the application and vram in use.

I have everything enabled in the nvidia section and general
image.png.0e19c3865873c9e6217d13cee841e7df.png


image.png.c8c7cd4095ad7c9511bea0e4b1613770.png


Thanks!

38 minutes ago, melmurp said:

why the active apps seems to be always empty on the dashboard.

in your current screens it doesnt look like anything is currently using de/encoder ...

 

may rather post a screen while you transcode and what should be shown ? plex, emy, jelly, ffmpeg, ...

On 8/14/2024 at 3:11 PM, Rysz said:

 

Any news on this? 🙂 

 

The GPU dashboard is broken for me right now because of PHP warnings:

grafik.png.4e5a52b1c035ffa7a3e8b8d0b6960a2b.png

grafik.thumb.png.768020767957f1fde1535f8537826f22.png

 

It only works when setting the PHP error reporting level to "All Categories" so PHP errors are not shown on the screen, as opposed to the default PHP error reporting level where it displays them on the screen.

 

Sorry for the delay Rysz, this is fixed in 2024.08.26.

 

###2024-08-26a

 

- add LocalAI app for nvidia GPU - PR from nwithan8.

- add Immich for nvidia GPU - PR from nwithan8.

 

###2024-08-26

 

- Fix timer abs values

- add Ollama app for nvidia GPU - PR from nwithan8.

 

 

1 minute ago, SimonF said:

Sorry for the delay Rysz, this is fixed in 2024.08.26.

 

###2024-08-26a

 

- add LocalAI app for nvidia GPU - PR from nwithan8.

- add Immich for nvidia GPU - PR from nwithan8.

 

###2024-08-26

 

- Fix timer abs values

- add Ollama app for nvidia GPU - PR from nwithan8.

 

 

 

Thanks a lot Simon!! 🙂 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.