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

Could an option to trigger a notification/alert based on user-defined GPU temperature be added?  The fan on my GPU died and I didn't actually notice right away because I wasn't using it for anything intensive.  

  • Replies 2.1k
  • Views 355.6k
  • 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

1 hour ago, THF13 said:

Could an option to trigger a notification/alert based on user-defined GPU temperature be added?  The fan on my GPU died and I didn't actually notice right away because I wasn't using it for anything intensive.  

There is no background process to check. Updates are based on the GUI update that widget. You may be able to create a user script.

On 4/29/2025 at 3:15 AM, s890214 said:

image.png.5fbbe49bb5ad83accadbccb461b1151f.png

 

In the default state, the device name is not fully displayed; it only shows in its entirety when the mouse hovers over it.

 

image.thumb.png.d2e39e469a8c0be8c213137bfc0d0018.png

 

Replacing w18 with w44 can resolve this issue.

Will look to update in next release.

Is it possible to view both my Raptor Lake UHD Graphics 770 and NVIDIA RTX 2060 on my Unraid Dashboard using the GPU statistics plugin?  Currently I only see the Intel UHD card and have to uncheck the Intel card to see the NVIDIA stats.

 

Unraid 7.0.1

ASRock Z690 Extreme

Intel i9-1300K

GPU Statistics ver 2025.04.27

34 minutes ago, mrlionman said:

Is it possible to view both my Raptor Lake UHD Graphics 770 and NVIDIA RTX 2060 on my Unraid Dashboard using the GPU statistics plugin?  Currently I only see the Intel UHD card and have to uncheck the Intel card to see the NVIDIA stats.

 

Unraid 7.0.1

ASRock Z690 Extreme

Intel i9-1300K

GPU Statistics ver 2025.04.27

Yes have you selected both in the settings? They will be in different columns.

1 hour ago, SimonF said:

Yes have you selected both in the settings? They will be in different columns.

Thank you.  That resolved it

I have gpu statistics installed (unRaid 7.1) and it was working fine. I've been playing around with getting Ollama working on my AMD iGPU (Ryzen 4600g) and that's also working fine (Ollama running in a docker). But since I started using Ollama the dashboard widget for GPU stats will only show to collapsed view with GPU% and temperature. If I try to expand the widget it briefly says "GPU is not available bound to VFIO" and then collapses back down.

 

I've checked in hardware settings and as far as I can see the GPU is not bound to VFIO (I do have a VM running pi-hole but it's set to virtual gfx). In the Ollama docker I pass through /dev/dri and /dev/kfd - is that causing the issue?
It's surprising because when the widget is open briefly before it collapses itself I can see the stats for memory usage etc are all working correctly. When a model is loaded the RAM use on the GPU stats goes up accordingly - just won't let me look at it for more than 1 second heh.

 

Is there anything I can do to fix or override the automatic collapse?

5 hours ago, oL99pgxCvsgtp7N0tbxXh said:

I have gpu statistics installed (unRaid 7.1) and it was working fine. I've been playing around with getting Ollama working on my AMD iGPU (Ryzen 4600g) and that's also working fine (Ollama running in a docker). But since I started using Ollama the dashboard widget for GPU stats will only show to collapsed view with GPU% and temperature. If I try to expand the widget it briefly says "GPU is not available bound to VFIO" and then collapses back down.

 

I've checked in hardware settings and as far as I can see the GPU is not bound to VFIO (I do have a VM running pi-hole but it's set to virtual gfx). In the Ollama docker I pass through /dev/dri and /dev/kfd - is that causing the issue?
It's surprising because when the widget is open briefly before it collapses itself I can see the stats for memory usage etc are all working correctly. When a model is loaded the RAM use on the GPU stats goes up accordingly - just won't let me look at it for more than 1 second heh.

 

Is there anything I can do to fix or override the automatic collapse?

Will look into it, may be a bug due to the way dash tiles are kept in 7.1

FYI I had to add /usr/bin/ollama to /usr/local/emhttp/plugins/gpustats/lib/Nvidia.php for the ollama line for it to detect it properly.

 

Also I had to add back in "python" again for Immich to actually show up properly?

 

This is my nvidia.php file now.

 

image.png.28b91515c2c94f80927192a4ea9fd5cb.png

On 5/12/2025 at 5:11 PM, SimonF said:

Will look into it, may be a bug due to the way dash tiles are kept in 7.1

 

I figured it out - when I checked on my mobile it was working fine so I cleared my browser cache on my desktop and reloaded the page and it was back working. I guess something got confused after the 7.1.x upgrade.

I have a i5-7500 with an iGPU, but I cannot select it in the menu - its only showing my Quadro p2000 right now. 

Any way to get that showing the i5-7500?

33 minutes ago, Apollyon said:

I have a i5-7500 with an iGPU, but I cannot select it in the menu - its only showing my Quadro p2000 right now. 

Any way to get that showing the i5-7500?

Can you provide output of lspci -Dmm | grep -E 'Display|VGA'

 

also does intel_gpu_top show output?

On 5/13/2025 at 1:27 AM, CorneliousJD said:

FYI I had to add /usr/bin/ollama to /usr/local/emhttp/plugins/gpustats/lib/Nvidia.php for the ollama line for it to detect it properly.

 

Also I had to add back in "python" again for Immich to actually show up properly?

 

This is my nvidia.php file now.

 

image.png.28b91515c2c94f80927192a4ea9fd5cb.png

That trick worked for me too! I now see the ollama icon back in the dashboard whenever it is in use! Thanks for sharing

I am unable to "minimize" the widget and not sure how to proceed. I tried the cache clearing that helped someone else, but still seeing similar behavior. It technically does change slightly from the minimized to the expanded versions, but not by much at all. Here is an example:

 

https://imgur.com/a/WSCAG7U

 

Not sure what all to include. Running the integrated GPU for an intel 10400 on a B460 Pro4 motherboard.

Edited by Serein

6 hours ago, Serein said:

I am unable to "minimize" the widget and not sure how to proceed. I tried the cache clearing that helped someone else, but still seeing similar behavior. It technically does change slightly from the minimized to the expanded versions, but not by much at all. Here is an example:

 

https://imgur.com/a/WSCAG7U

 

Not sure what all to include. Running the integrated GPU for an intel 10400 on a B460 Pro4 motherboard.

Which OS version are you on there is a bug if on 7.1+ which I should be able to release a fix soon.

54 minutes ago, SimonF said:

Which OS version are you on there is a bug if on 7.1+ which I should be able to release a fix soon.

Ah, yeah, I'm on 7.1.2 so sounds like it's that bug! Appreciate the heads up.

@SimonF thank you for the fix of the device name in dashboard, much appreciated 😁.  I noticed another area that could use a formatting tweak when you get a chance.  For an Intel iGPU if the power draw line has 4 numbers in it, it pushes the "W" into the status bar.  If the power draw line has 3 numbers the formatting is fine.  Running 2025.05.17 version of the app on Unraid 7.01.  Thanks!


GPUStatsIntelPowerWidth1.thumb.jpg.1606801e8ed6466b08774aae74f3a92a.jpg 

 

GPUStatsIntelPowerWidth2.thumb.jpg.0d93510dbacde4636f53b21c9443704b.jpg

 

GPUStatsIntelPowerWidth3.thumb.jpg.47be5b83fdbc5bfd2a28638de8e767f1.jpg

 

On 5/15/2025 at 2:26 PM, SimonF said:

Can you provide output of lspci -Dmm | grep -E 'Display|VGA'

 

also does intel_gpu_top show output?

 

0000:01:00.0 "VGA compatible controller" "NVIDIA Corporation" "GP106GL [Quadro P2000]" -ra1 -p00 "Hewlett-Packard Company" "Device 11b3"

 

and the intel_gpu_top shows this: 

No device filter specified and no discrete/integrated i915 devices found

 

5 minutes ago, Apollyon said:

 

0000:01:00.0 "VGA compatible controller" "NVIDIA Corporation" "GP106GL [Quadro P2000]" -ra1 -p00 "Hewlett-Packard Company" "Device 11b3"

 

and the intel_gpu_top shows this: 

No device filter specified and no discrete/integrated i915 devices found

 

Do you igpu enabled in the bios. Normally if a dgpu is in the system normally disabled by default.

On 5/17/2025 at 3:14 AM, SimonF said:

Which OS version are you on there is a bug if on 7.1+ which I should be able to release a fix soon.

I see the same with Version 7.1.2. It is a bug. Thanks for the hard work to provide us with an awesome plugin!

 

Minimized 👇🏻

 

image.png.38fc08496af442a08508a0a2cdc8c61a.png

 

Maximized 👇🏻

 

image.png

Edited by Unraid-arr

55 minutes ago, Unraid-arr said:

I see the same with Version 7.1.2. It is a bug. Thanks for the hard work to provide us with an awesome plugin!

 

Minimized 👇🏻

 

image.png.38fc08496af442a08508a0a2cdc8c61a.png

 

Maximized 👇🏻

 

image.png

Which version of the plugin are you using, if latest do ctlr + F5 in bowser

There seems to be a bug in the latest version. Mine says now that "Immich" is running, but I don't have Immich installed. It shows up even then purging cache and in incognito mode.

I guess the problem is this:
'immich'     => ['/config/machine-learning/cuda','python'],

Including "python" is way too broad. I guess it's saying Immich just because I have the Python plugin installed.
image.png.6a7f7f05595eed1a852bbcdecafc79c5.png

image.png.56f45fbae1ff263879b86b3c69d4cf25.png

Edited by NeoID

Hi,
I'm trying to update this plugin, but I only get this error message:
 

plugin: gpustat-2025.05.17-x86_64.txz download failure: Generic error

 

And this is all it says:

plugin: updating: gpustat.plg
Executing hook script: pre_plugin_checks
********************************************************************

NVIDIA vendor utility found. Continuing install.

plugin: downloading: gpustat-2025.05.17-x86_64.txz ...
plugin: gpustat-2025.05.17-x86_64.txz download failure: Generic error
Executing hook script: post_plugin_checks

image.thumb.png.da7048fd0e85176b856ebdcb62d44af0.png

I have this version installed: 2025.04.27
And I'm upgrading to: 2025.05.17

Thank you!

23 hours ago, SimonF said:

Which version of the plugin are you using, if latest do ctlr + F5 in bowser

I already did CTRL+F5 and CTRL+R and also deleted all browser data and cache and login again to see the same behavior.

Plugin Version — 2025.05.17 

Thanks

On 5/20/2025 at 9:57 AM, Muff said:

Hi,
I'm trying to update this plugin, but I only get this error message:
 

plugin: gpustat-2025.05.17-x86_64.txz download failure: Generic error

 

And this is all it says:

plugin: updating: gpustat.plg
Executing hook script: pre_plugin_checks
********************************************************************

NVIDIA vendor utility found. Continuing install.

plugin: downloading: gpustat-2025.05.17-x86_64.txz ...
plugin: gpustat-2025.05.17-x86_64.txz download failure: Generic error
Executing hook script: post_plugin_checks

image.png

I have this version installed: 2025.04.27
And I'm upgrading to: 2025.05.17

Thank you!

I get the same error for other plugins so I made another post to troubleshoot this.
This is my other post: https://forums.unraid.net/topic/190534-unable-to-update-plugin-plugin-xxxx-download-failure-generic-error/

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.