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

Hey !
idk what you did, but since the last update this is actually working now! Thank you ! image.png.3189088e13c2a0e85130a9e7df8ee87d.png

Still sharing gpustat.cfg in case of :)

gpustat.cfg

Edited by Slycooper

  • 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

I just installed Radeon top and gpustats plugin, but I am getting N/A for everything on the dashboard.

I'm guessing this is because I don't have any option for unit ID in the settings dropdown.

image.thumb.png.f7cc762eacdaf6860c56608a228a5800.png

 

Here is my prerequisite info:

1c)

1671328975.837183: bus 01, gpu 0.00%, ee 0.00%, vgt 0.00%, ta 0.00%, sx 0.00%, sh 0.00%, spi 0.00%, sc 0.00%, pa 0.00%, db 0.00%, cb 0.00%, vram 0.13% 5.30mb, gtt 0.23% 9.04mb, mclk 10.53% 0.150ghz, sclk 31.98% 0.317ghz

 

2) just hangs, left it for a few minutes but no result

3)

image.png.b6ebacc1d66d19483163c4214b8dd2b6.png

 

4) VENDOR="amd"
GPUID=""
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"

 

Any help would be greatly appreciated!

  • Author
On 12/7/2022 at 6:48 PM, Joker169 said:

Sure.

 

0	Object { code: 302, message: "Vendor command returned unparseable data.", extra: "" }

 

image.thumb.png.e7976674f5c4c1c145257b3e54a57289.png

 

That is bizarre to say the least.  I need to set up a screen share session with you to diagnose further as there really shouldn't be a disparity between running it from web and CLI.

  • Author
On 12/10/2022 at 10:34 AM, Jclendineng said:

Version 2022.11.30a I get N/A for everything as well, just adding that here.  I have had this for a while and thought it was just something I did, good to see its not just me.

 

Edit: Rolled back per the person a few posts back and it works, thanks!!

 

https://raw.githubusercontent.com/b3rs3rk/gpustat-unraid/6cf1b1e96bc8cd5c1cf7ac8fefea1271d8891e26/gpustat.plg

 

If you're happy with staying version locked forever, cool.  But if you want help fixing the issue I will need a lot more detail starting with everything I outline in the troubleshooting section of the first post of this thread.

9 hours ago, b3rs3rk said:

@Wookiee of the Year What is the result of the following command on your system?
 

lspci | grep VGA

 

00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga PRO [Radeon R9 285/380] (rev f1)

 

On 12/21/2022 at 9:05 AM, b3rs3rk said:

 

If you're happy with staying version locked forever, cool.  But if you want help fixing the issue I will need a lot more detail starting with everything I outline in the troubleshooting section of the first post of this thread.

I am, its just utilization, but I have updated again and included the troubleshooting steps listed in the OP, thank you!

 

Edit: I updated and it works...Im not 100% sure why. Possibly the APU needed reset, but I had thought that last time and rebooted which should reset it, which didn't fix.  Ill reply with drag info if it pops up again...Thank you!

Hello

Currently running into a similar problem as other have listed where my gpu stats are not populating as well

Here is the list of steps i have done:
- uninstalled and reinstalled gpustat and Radeon Top
- restarted the tower after the uninstalls
- attached the results of the results of commands listed on page 1 as per the notes
- used the github links for the gpustat app for a manual install:
>>https://raw.githubusercontent.com/b3rs3rk/gpustat-unraid/6cf1b1e96bc8cd5c1cf7ac8fefea1271d8891e26/gpustat.plg
>> https://raw.githubusercontent.com/b3rs3rk/gpustat-unraid/master/gpustat.plg

please let me know if anything else is needed thank you for your time!

Screenshot 2022-12-29 at 1.39.36 AM.png

Screenshot 2022-12-29 at 1.40.45 AM.png

gpustat.cfg gpustatus.php radeontop_cmd_output.md

On 12/21/2022 at 8:00 AM, b3rs3rk said:

 

That is bizarre to say the least.  I need to set up a screen share session with you to diagnose further as there really shouldn't be a disparity between running it from web and CLI.

Okay, let me know when you are available to do that. Also what platform you would like to use and related info, so it can be setup for the session via DM or your preference.

intel i5-12400 on my gpu statisics plug-in it is not showing "imc bus utilization" receive and transmit just say NA. even when transcoding. tried rebooting server, no dice. 

 

any ideas? thank you!

I'm getting the same issue as above, AMD GPU with RadeonTop installed, no options to select from in "Unit ID for Dashboard".

lspci | grep VGA gives me this:

07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev ef)

 

Trying to see my GPU usage because I'm getting a stutter from the encoder while using the steam-headless container. Any help is appreciated.

On 11/29/2022 at 6:10 AM, Kewjoe said:

 

1. Remove the current plugin

2. go to Plugins section > Install Plugins

3. Enter the below URL and Press "Install"

 

https://raw.githubusercontent.com/b3rs3rk/gpustat-unraid/6cf1b1e96bc8cd5c1cf7ac8fefea1271d8891e26/gpustat.plg

 

I just wanted to say thank you for posting this. The current version 2022.11.30a was not detecting one of my GPUs. Both are passed through to VMs, when both VMs were stopped, only one GPU appeared in GPU Statistics, there was a ' -: ' for the other.

 

Reverting to this version, 2022.02.22, stopping my VMs, and running SpaceinvaderOne's scripts produced this output:

 

'''

I can see these Nvidia gpus in your server

GPU 0: NVIDIA ...

GPU 1: NVIDIA ...
-------

Persistence mode is already Enabled for GPU

00000000.02:00.0.

Enabled persistence mode for GPU

00000000.65:00.0.

All done.

Power state is

P8

P0

--------

Power draw is now

power.draw [W]

[N/A]

104.92 W

'''


Immediately afterwards, I checked the dashboard, GPU1 showed 9-10 watts of usage. I also have a 1200 watt UPS which I have configured for Unraid. Usually, I see about 14-18% (168-192 watts) usage with all VMs stopped. After running the script, it shows about 10-14% (120-168 watts).

 

I added another one of SpaceinvaderOne's script to run every 5 minutes "*/5 * * * *".

 

While I cannot be 100% sure that both my GPUs were reaching an S8 sleep state before I ran SpaceinvaderOne's script, I'm glad to have the peace of mind from using this plug-in to confirm I'm doing what I can to reduce power usage.

 

Thank you everyone.

 

Edited by byb

Same issue here. I’ve got two 1660 Ti in my server and oddly enough the Gigabyte won’t work in this plugin but the MSI does. I ended up stubbing the MSI for the VM so the problematic Gigabyte required the plug-in to be rolled back for it to work.

Curious if this plugin should show which app is using gpu... Like Plex when intel igpu doing quicksync, or i messed up something and this not showing for me

On 11/28/2022 at 11:10 PM, Kewjoe said:

 

1. Remove the current plugin

2. go to Plugins section > Install Plugins

3. Enter the below URL and Press "Install"

 

https://raw.githubusercontent.com/b3rs3rk/gpustat-unraid/6cf1b1e96bc8cd5c1cf7ac8fefea1271d8891e26/gpustat.plg

 

Thank you very much. Helped me also a lot. :)

Started using a new video card in Unraid this week and noticed the card name and PCIe Gen columns on the first line are overlapping for may card with a long name. Can the card name be truncated depending on the width of the window (and subsequently the column)?

 

image.png.b5a75339f2383764d3b351e49e71a533.png

I got NA issue with latest version as well. Rollback to older one works for me. 

Been using this plugin for awhile, works great with my Nvidia P400.  Thank you for this.

 

Recently upgraded my CPU to a 5700G APU.  I am using the iGPU as a local display on the server, driving a PiKVM, and all of that works well.  My question is, can/should this plugin also be able to display the AMD statistics?  When I configure it for AMD, I don't get a real selection for it in the config page, and then only N/A across the board for the stats.  I do have Radeon-Top installed.

No AMD Stats.jpg

No AMD stats 2.JPG

Radeon-Top GPU Stats.JPG

Edited by ConnerVT
added Radeon-Top is installed

Hi, thanks for this plugin.

 

Frequently for me the intel_gpu_top command returns all zeroes and then dashboard also displays all zeroes. When running intel_gpu_top myself interactively from the command line, it doesn't show load dropping to zero. 

 

Thanks for any insight you have.

 

Quote

 

root@unraid:~# timeout -k .500 .400 intel_gpu_top -J -s 250

{
	"period": {
		"duration": 29.724667,
		"unit": "ms"
	},
	"frequency": {
		"requested": 0.000000,
		"actual": 0.000000,
		"unit": "MHz"
	},
	"interrupts": {
		"count": 0.000000,
		"unit": "irq/s"
	},
	"rc6": {
		"value": 0.000000,
		"unit": "%"
	},
	"power": {
		"GPU": 0.000000,
		"Package": 3.211440,
		"unit": "W"
	},
	"engines": {
		"Render/3D/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Blitter/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Video/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"VideoEnhance/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		}
	},
	"clients": {
		"4294963488": {
			"name": "Plex Transcoder",
			"pid": "3808",
			"engine-classes": {
				"Render/3D": {
					"busy": "0.000000",
					"unit": "%"
				},
				"Blitter": {
					"busy": "0.000000",
					"unit": "%"
				},
				"Video": {
					"busy": "0.000000",
					"unit": "%"
				},
				"VideoEnhance": {
					"busy": "0.000000",
					"unit": "%"
				}
			}
		}
	}
},
{
	"period": {
		"duration": 280.711452,
		"unit": "ms"
	},
	"frequency": {
		"requested": 0.000000,
		"actual": 0.000000,
		"unit": "MHz"
	},
	"interrupts": {
		"count": 0.000000,
		"unit": "irq/s"
	},
	"rc6": {
		"value": 0.000000,
		"unit": "%"
	},
	"power": {
		"GPU": 0.000000,
		"Package": 2.041235,
		"unit": "W"
	},
	"engines": {
		"Render/3D/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Blitter/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Video/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"VideoEnhance/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		}
	},
	"clients": {
		"4294963488": {
			"name": "Plex Transcoder",
			"pid": "3808",
			"engine-classes": {
				"Render/3D": {
					"busy": "0.000000",
					"unit": "%"
				},
				"Blitter": {
					"busy": "0.000000",
					"unit": "%"
				},
				"Video": {
					"busy": "0.000000",
					"unit": "%"
				},
				"VideoEnhance": {
					"busy": "0.000000",
					"unit": "%"
				}
			}
		}
	}

 

 

Quote

 

root@unraid:~# cat /boot/config/plugins/gpustat/gpustat.cfg 
VENDOR="intel"
GPUID="0000-00-000-000000"
TEMPFORMAT="C"
DISPCLOCKS="1"
DISPENCDEC="1"
DISPPCIUTIL="1"
DISPTEMP="0"
DISPFAN="0"
DISPPWRDRAW="1"
DISPPWRSTATE="1"
DISPTHROTTLE="1"
DISPSESSIONS="1"
UIREFRESH="1"
UIREFRESHINT="2000"
DISPMEMUTIL="0"
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"

 

 

Edited by zbot

Trying to update this plugin on 6.11.5, getting this:

 


Update Plugin

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

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

********************************************************************
plugin: run failed: /bin/bash
Executing hook script: post_plugin_checks

 

Any ideas why?

2 minutes ago, jeffreywhunter said:

Trying to update this plugin on 6.11.5, getting this:

 


Update Plugin

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

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

********************************************************************
plugin: run failed: /bin/bash
Executing hook script: post_plugin_checks

 

Any ideas why?

You need intel gpu top/radeontop or nvidia drivers loaded first depending on gpu

1 hour ago, SimonF said:

You need intel gpu top/radeontop or nvidia drivers loaded first depending on gpu

That made a difference, I was able to load the drivers and then update the plugin.  Unfortunately, I'm seeing N/A on all the various display items.

 

 

chrome_2023-02-14_17-48-31.png

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.