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

25 minutes ago, Kimaro said:

I'm not getting any power draw on my GPU, i'm also wondering, is there any way I can output this towards grafana? Would love to get that to work if someone knows a way.

image.png.bc77b7dd476a8e27d5b7765a1822cd27.png

DG Cards do not report power.

  • 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

6 minutes ago, SimonF said:

DG Cards do not report power.

Ah, okay, thanks!

Hello,

 

How can I tell which process is currently using my GPU?

 

image.png.a0afeca91973d1cf48e9fbce65ee5088.png

17 hours ago, aysonohbata said:

How can I tell which process is currently using my GPU?

Run nvidia-smi from the Unraid terminal.

TESTERS Required

 

Looking for some testers. I have started building a framework for Nouveau and Intel XE drivers. Currently they dont expose much data but will show active apps, Currently Nouveau will be required for Virgl in 7.1 as still working on support for Nvidia Drivers.

 

Note old package will used after a reboot and you will need to install again.

 

I have added Driver to the panel as there are two drivers available XE/i915 for Intel and Nvidia and Nouveau for NV cards. I have included PCI bus for all dGPUs and it is currently hidden for iGPU.

 

I have tickets logged for dev teams to get metrics doc link but may take a while and be dependant on kernel updates.

 

To install but include the path you have placed the package.

root@computenode:/# installpkg gpustat-2025.03.09-x86_64.txz 
Verifying package gpustat-2025.03.09-x86_64.txz.
Installing package gpustat-2025.03.09-x86_64.txz:
PACKAGE DESCRIPTION:
Package gpustat-2025.03.09-x86_64.txz installed.
root@computenode:/# 

 

To revert

root@computenode:/# installpkg /boot/config/plugins/gpustat/gpustat-2025.03.01-x86_64.txz 
Verifying package gpustat-2025.03.01-x86_64.txz.
Installing package gpustat-2025.03.01-x86_64.txz:
PACKAGE DESCRIPTION:
Package gpustat-2025.03.01-x86_64.txz installed.

then do CTRL-F5 in the bashboard.

 

image.png

 

Apps have been added to AMD, May need some updates.

 

 

 

 

gpustat-2025.03.10b-x86_64.txz

17 hours ago, aysonohbata said:

Hello,

 

How can I tell which process is currently using my GPU?

 

image.png.a0afeca91973d1cf48e9fbce65ee5088.png

As ConnerVT said run the command nvidia-smi with options -q -x will produce XML.

Hello,

Since a few weeks, the "Active Apps" section doesn't show anything when the GPU is being used.

It was working fine, but now doesn't. Is this something fixable?

 

GPU not being used:

image.png.b05d2b9fd1aba80d698948526e871b97.png

 

GPU being used:

image.png.ed298a74b184fc03e07dae94915de5eb.png

 

Thank you!

exposed-diagnostics-20250309-2017.zip

35 minutes ago, A.sch3 said:

output.txtSure, here you go.

Just tested on my system it found one of the apps. It would not find the phyton3 one as not a ps running on my system.

 

This is based on the test package above. 

 

image.png

 

also working with 2025.03.01

 

image.png

Well ok. What can I do? Uninstall/Reinstall? Provide more logs or information?

1 hour ago, A.sch3 said:

Well ok. What can I do? Uninstall/Reinstall? Provide more logs or information?

Try uninstall reinstall.

I just did that : Remove the plugin, check that it is correctly removed, rebooted the server, reinstall the pluging.

Unfortunatly, it is still not working as expected.

 

Whatever happens next, I just want to thanks you for the time spend troobleshooting this minor issue with me!

On 3/8/2025 at 11:23 PM, aysonohbata said:

Hello,

 

How can I tell which process is currently using my GPU?

 

image.png.a0afeca91973d1cf48e9fbce65ee5088.png

Just noticed you are using Frigate, black bird does not show well on grey backgound.

image.png

6 hours ago, A.sch3 said:

I just did that : Remove the plugin, check that it is correctly removed, rebooted the server, reinstall the pluging.

Unfortunatly, it is still not working as expected.

 

Whatever happens next, I just want to thanks you for the time spend troobleshooting this minor issue with me!

Quote or tag me in responses as I may miss.

 

Any errors in settings=>php and then look at php log then goto the dashboard.

 

can you provide /tmp/gpujson when apps are running.

 

you can edit /usr/local/emhttp/plugins/gpustat/lib/Nvidia.php

 

  private function detectApplication (SimpleXMLElement $process)
    {
        $debug_apps = false;
        if ($debug_apps) file_put_contents("/tmp/gpuappsnv","");

Scroll down until you find debug_apps and change to = true.

 

This will create another file in tmp call gpuappsnv

Any users running 6.12 or 7.0 with AMD GPUs

 

Looking to see results of tree /sys/kernel/debug/dri

 

Hopefully there should be a path with the PCI address of the card.

 

If there is can you provide me details for /sys/kernel/debug/dri/0000:06.00.0/clients change PCI I'd to match your card.

 

Ideally with apps running on the card.

###2025.03.11 Released

 

Add support for AMD Apps.

Add Initial support for XE and Nouveau drivers, metrics limited to apps, Temp and Fans.

 

image.png

 

Nouveau and XE will be more for 7.1 with new kernel, Nouveau for support of virgl3d as Nvidia drivers not supported at this time.

 

image.png

After the latest update I lost my 3050 info from the GPU statistics:

image.png.cee873e756a7234391a367d5ac7d259f.png

image.png.e6c39b488429c61afa73e9ba0a269067.png

@SimonF

result of gpujson while Plex was running :

Quote

root@Exposed:/tmp# cat gpuinv
{"0000:2B:00.0":{"0":"GPU 0: NVIDIA GeForce RTX 3090 (UUID: GPU-ae496d54-b3a7-8000-4b95-a6304707d1a3)","id":"2B:00.0","1":"0","model":"NVIDIA GeForce RTX 3090","2":"NVIDIA GeForce RTX 3090","guid":"GPU-ae496d54-b3a7-8000-4b95-a6304707d1a3","3":"GPU-ae496d54-b3a7-8000-4b95-a6304707d1a3","vendor":"nvidia"}}

 

root@Exposed:/tmp# cat gpujson
Time = Tue, 11 Mar 2025 21:49:18 +0100
{"2B:00.0":{"clock":"210","fan":"0%","memclock":"405","memutil":"42%","memused":"10302","power":"29W","powermax":"N\/A","rxutil":"0","txutil":"1","temp":"46 \u00b0C","tempmax":"98 \u00b0C","util":"0%","vendor":"NVIDIA","name":"GeForce RTX 3090","clockmax":"2115","memclockmax":"9751","memtotal":"24576","encutil":"0%","decutil":"0%","pciemax":4000,"perfstate":"P8","throttled":"Yes","thrtlrsn":" (gpu_idle)","pciegen":1,"pciegenmax":4,"pciewidth":16,"pciewidthmax":16,"sessions":2,"uuid":"GPU-ae496d54-b3a7-8000-4b95-a6304707d1a3","plexusing":false,"plexmem":0,"plexcount":0,"jellyfinusing":false,"jellyfinmem":0,"jellyfincount":0,"handbrakeusing":false,"handbrakemem":0,"handbrakecount":0,"embyusing":false,"embymem":0,"embycount":0,"tdarrusing":false,"tdarrmem":0,"tdarrcount":0,"unmanicusing":false,"unmanicmem":0,"unmaniccount":0,"dizquetvusing":false,"dizquetvmem":0,"dizquetvcount":0,"ersatztvusing":false,"ersatztvmem":0,"ersatztvcount":0,"fileflowsusing":false,"fileflowsmem":0,"fileflowscount":0,"frigateusing":false,"frigatemem":0,"frigatecount":0,"threadfinusing":false,"threadfinmem":0,"threadfincount":0,"tunarrusing":false,"tunarrmem":0,"tunarrcount":0,"codeprojectusing":false,"codeprojectmem":0,"codeprojectcount":0,"deepstackusing":false,"deepstackmem":0,"deepstackcount":0,"nsfminerusing":false,"nsfminermem":0,"nsfminercount":0,"shinobiprousing":false,"shinobipromem":0,"shinobiprocount":0,"foldinghomeusing":false,"foldinghomemem":0,"foldinghomecount":0,"comprefaceusing":false,"comprefacemem":0,"comprefacecount":0,"ollamausing":false,"ollamamem":0,"ollamacount":0,"immichusing":false,"immichmem":0,"immichcount":0,"localaiusing":false,"localaimem":0,"localaicount":0,"invokeaiusing":false,"invokeaimem":0,"invokeaicount":0,"chiausing":false,"chiamem":0,"chiacount":0,"mmxusing":false,"mmxmem":0,"mmxcount":0,"subspaceusing":false,"subspacemem":0,"subspacecount":0,"xorgusing":false,"xorgmem":0,"xorgcount":0,"qemuusing":false,"qemumem":0,"qemucount":0,"appssupp":["plex","jellyfin","handbrake","emby","tdarr","unmanic","dizquetv","ersatztv","fileflows","frigate","threadfin","tunarr","codeproject","deepstack","nsfminer","shinobipro","foldinghome","compreface","ollama","immich","localai","invokeai","chia","mmx","subspace","xorg","qemu"],"vfio":false,"vfiochk":false,"vfiochkid":"0000:2B:00.0","vfiovm":false,"panel":1}}

 

I want to add something : I was messing around with my network, and during some movin arround my switches connection, the icons came back for a few second. Next refresh : gone.

 

Maybe this issue isn't related at all with your plugin...

Edited by A.sch3

3 minutes ago, uCoreX said:

After the latest update I lost my 3050 info from the GPU statistics:

image.png.cee873e756a7234391a367d5ac7d259f.png

image.png.e6c39b488429c61afa73e9ba0a269067.png

Do ctrl + F5 in browser.

3 minutes ago, SimonF said:

Do ctrl + F5 in browser.

Didn't help. tried another browser too, still the same

1 minute ago, uCoreX said:

Didn't help. tried another browser too, still the same

What os Vers you on?

1 minute ago, SimonF said:

What os Vers you on?

unRaid 7.0.1

And it's transcoding, so nothing wrong with the card I believe

image.png.0290954dba4610d191af84b9aac4e778.png

Edited by uCoreX

1 minute ago, uCoreX said:

unRaid 7.0.1

And it's transcoding, so nothing wrong with the card I believe

image.png.0290954dba4610d191af84b9aac4e778.png

Can you provide nvidia-smi -q -x

Hey Gang,

 

I downloaded today's update the GPU Statistics and it says "Vendor command returned no data".  All GPU stats are non existent.  I have a nvideo P2200 and it's always worked.. any thoughts 

 

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.124.04             Driver Version: 570.124.04     CUDA Version: 12.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  Quadro P2200                   Off |   00000000:65:00.0 Off |                  N/A |
| 47%   36C    P8              4W /   75W |       3MiB /   5120MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

 

Not sure if the P2200 Off means anything but it's always worked and no hardware changes.

Edited by 5STAR

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.