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

  • Author
I'm getting the same scrunching. Default UI, 1920x1080


What version of UNRAID are you running? Are you using default theme or theme engine?
  • Replies 2.1k
  • Views 356k
  • 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

Just wanted to say this plugin is great!   Although makes me realize how I need to use a better GPU than a P400 (just transcoding 1 4K to 720P is taking 70% of my GPU Memory).    The update to do multiple GPU's is awesome.   When I first installed it picked up my currently un-used GPU (just an extra I have in the box for testing VM's), but being able to switch to the one I use for Plex is great!

 

 

Thank you!!

I am using the White theme.  I found that decreasing the font size resolved it, but it makes it harder to read.  I had originally set it to Very Large (bad eyes), and by changing it to Normal, its no longer scrunched together.  

If there is anything you can do to support using the larger font sizes, it would be greatly appreciated.

18 hours ago, mattekure said:

I'm getting the numbers scrunched up for Encoder and Decoder Utilization

 

Screenshot_1.jpg.06664e2f37710b33b7aceb742d5d05d7.jpg

You can easily fix it yourself. Install Theme Engine, go to the Theme settings, enable Advanced View and add the following to the Custom Styling section:

 

span.gpu {
   width: 150px!important;
}

You can adjust the width to your liking.

1693989087_ScreenShot2020-03-14at14_54_41.png.2efada0a23e7ca4636b7d66aa67bf31d.png

 

Anyone experiencing empty stats? Unraid 6.8.3

 

Was working fine until I updated the plugin to 2020-03-14

 

Here's the output from

nvidia-smi -x -q

 

<?xml version="1.0" ?>
<!DOCTYPE nvidia_smi_log SYSTEM "nvsmi_device_v10.dtd">
<nvidia_smi_log>
	<timestamp>Sat Mar 14 14:55:23 2020</timestamp>
	<driver_version>440.59</driver_version>
	<cuda_version>10.2</cuda_version>
	<attached_gpus>1</attached_gpus>
	<gpu id="00000000:01:00.0">
		<product_name>GeForce GTX 1660 Ti</product_name>
		<product_brand>GeForce</product_brand>
		<display_mode>Disabled</display_mode>
		<display_active>Disabled</display_active>
		<persistence_mode>Enabled</persistence_mode>
		<accounting_mode>Disabled</accounting_mode>
		<accounting_mode_buffer_size>4000</accounting_mode_buffer_size>
		<driver_model>
			<current_dm>N/A</current_dm>
			<pending_dm>N/A</pending_dm>
		</driver_model>
		<serial>N/A</serial>
		<uuid>GPU-4686c842-7851-9b12-c973-0ea9df59f775</uuid>
		<minor_number>0</minor_number>
		<vbios_version>90.16.20.00.89</vbios_version>
		<multigpu_board>No</multigpu_board>
		<board_id>0x100</board_id>
		<gpu_part_number>N/A</gpu_part_number>
		<inforom_version>
			<img_version>G001.0000.02.04</img_version>
			<oem_object>1.1</oem_object>
			<ecc_object>N/A</ecc_object>
			<pwr_object>N/A</pwr_object>
		</inforom_version>
		<gpu_operation_mode>
			<current_gom>N/A</current_gom>
			<pending_gom>N/A</pending_gom>
		</gpu_operation_mode>
		<gpu_virtualization_mode>
			<virtualization_mode>None</virtualization_mode>
			<host_vgpu_mode>N/A</host_vgpu_mode>
		</gpu_virtualization_mode>
		<ibmnpu>
			<relaxed_ordering_mode>N/A</relaxed_ordering_mode>
		</ibmnpu>
		<pci>
			<pci_bus>01</pci_bus>
			<pci_device>00</pci_device>
			<pci_domain>0000</pci_domain>
			<pci_device_id>218210DE</pci_device_id>
			<pci_bus_id>00000000:01:00.0</pci_bus_id>
			<pci_sub_system_id>3FBE1458</pci_sub_system_id>
			<pci_gpu_link_info>
				<pcie_gen>
					<max_link_gen>3</max_link_gen>
					<current_link_gen>1</current_link_gen>
				</pcie_gen>
				<link_widths>
					<max_link_width>16x</max_link_width>
					<current_link_width>8x</current_link_width>
				</link_widths>
			</pci_gpu_link_info>
			<pci_bridge_chip>
				<bridge_chip_type>N/A</bridge_chip_type>
				<bridge_chip_fw>N/A</bridge_chip_fw>
			</pci_bridge_chip>
			<replay_counter>0</replay_counter>
			<replay_rollover_counter>0</replay_rollover_counter>
			<tx_util>0 KB/s</tx_util>
			<rx_util>0 KB/s</rx_util>
		</pci>
		<fan_speed>0 %</fan_speed>
		<performance_state>P8</performance_state>
		<clocks_throttle_reasons>
			<clocks_throttle_reason_gpu_idle>Active</clocks_throttle_reason_gpu_idle>
			<clocks_throttle_reason_applications_clocks_setting>Not Active</clocks_throttle_reason_applications_clocks_setting>
			<clocks_throttle_reason_sw_power_cap>Not Active</clocks_throttle_reason_sw_power_cap>
			<clocks_throttle_reason_hw_slowdown>Not Active</clocks_throttle_reason_hw_slowdown>
			<clocks_throttle_reason_hw_thermal_slowdown>Not Active</clocks_throttle_reason_hw_thermal_slowdown>
			<clocks_throttle_reason_hw_power_brake_slowdown>Not Active</clocks_throttle_reason_hw_power_brake_slowdown>
			<clocks_throttle_reason_sync_boost>Not Active</clocks_throttle_reason_sync_boost>
			<clocks_throttle_reason_sw_thermal_slowdown>Not Active</clocks_throttle_reason_sw_thermal_slowdown>
			<clocks_throttle_reason_display_clocks_setting>Not Active</clocks_throttle_reason_display_clocks_setting>
		</clocks_throttle_reasons>
		<fb_memory_usage>
			<total>5944 MiB</total>
			<used>0 MiB</used>
			<free>5944 MiB</free>
		</fb_memory_usage>
		<bar1_memory_usage>
			<total>256 MiB</total>
			<used>2 MiB</used>
			<free>254 MiB</free>
		</bar1_memory_usage>
		<compute_mode>Default</compute_mode>
		<utilization>
			<gpu_util>0 %</gpu_util>
			<memory_util>0 %</memory_util>
			<encoder_util>0 %</encoder_util>
			<decoder_util>0 %</decoder_util>
		</utilization>
		<encoder_stats>
			<session_count>0</session_count>
			<average_fps>0</average_fps>
			<average_latency>0</average_latency>
		</encoder_stats>
		<fbc_stats>
			<session_count>0</session_count>
			<average_fps>0</average_fps>
			<average_latency>0</average_latency>
		</fbc_stats>
		<ecc_mode>
			<current_ecc>N/A</current_ecc>
			<pending_ecc>N/A</pending_ecc>
		</ecc_mode>
		<ecc_errors>
			<volatile>
				<sram_correctable>N/A</sram_correctable>
				<sram_uncorrectable>N/A</sram_uncorrectable>
				<dram_correctable>N/A</dram_correctable>
				<dram_uncorrectable>N/A</dram_uncorrectable>
			</volatile>
			<aggregate>
				<sram_correctable>N/A</sram_correctable>
				<sram_uncorrectable>N/A</sram_uncorrectable>
				<dram_correctable>N/A</dram_correctable>
				<dram_uncorrectable>N/A</dram_uncorrectable>
			</aggregate>
		</ecc_errors>
		<retired_pages>
			<multiple_single_bit_retirement>
				<retired_count>N/A</retired_count>
				<retired_pagelist>N/A</retired_pagelist>
			</multiple_single_bit_retirement>
			<double_bit_retirement>
				<retired_count>N/A</retired_count>
				<retired_pagelist>N/A</retired_pagelist>
			</double_bit_retirement>
			<pending_blacklist>N/A</pending_blacklist>
			<pending_retirement>N/A</pending_retirement>
		</retired_pages>
		<temperature>
			<gpu_temp>39 C</gpu_temp>
			<gpu_temp_max_threshold>95 C</gpu_temp_max_threshold>
			<gpu_temp_slow_threshold>92 C</gpu_temp_slow_threshold>
			<gpu_temp_max_gpu_threshold>90 C</gpu_temp_max_gpu_threshold>
			<memory_temp>N/A</memory_temp>
			<gpu_temp_max_mem_threshold>N/A</gpu_temp_max_mem_threshold>
		</temperature>
		<power_readings>
			<power_state>P8</power_state>
			<power_management>Supported</power_management>
			<power_draw>7.40 W</power_draw>
			<power_limit>120.00 W</power_limit>
			<default_power_limit>120.00 W</default_power_limit>
			<enforced_power_limit>120.00 W</enforced_power_limit>
			<min_power_limit>70.00 W</min_power_limit>
			<max_power_limit>150.00 W</max_power_limit>
		</power_readings>
		<clocks>
			<graphics_clock>300 MHz</graphics_clock>
			<sm_clock>300 MHz</sm_clock>
			<mem_clock>405 MHz</mem_clock>
			<video_clock>540 MHz</video_clock>
		</clocks>
		<applications_clocks>
			<graphics_clock>N/A</graphics_clock>
			<mem_clock>N/A</mem_clock>
		</applications_clocks>
		<default_applications_clocks>
			<graphics_clock>N/A</graphics_clock>
			<mem_clock>N/A</mem_clock>
		</default_applications_clocks>
		<max_clocks>
			<graphics_clock>2130 MHz</graphics_clock>
			<sm_clock>2130 MHz</sm_clock>
			<mem_clock>6001 MHz</mem_clock>
			<video_clock>1950 MHz</video_clock>
		</max_clocks>
		<max_customer_boost_clocks>
			<graphics_clock>N/A</graphics_clock>
		</max_customer_boost_clocks>
		<clock_policy>
			<auto_boost>N/A</auto_boost>
			<auto_boost_default>N/A</auto_boost_default>
		</clock_policy>
		<supported_clocks>N/A</supported_clocks>
		<processes>
		</processes>
		<accounted_processes>
		</accounted_processes>
	</gpu>

</nvidia_smi_log>

but the output from gpustatus.php appears to be empty:

[]

 

Edited by PTRFRLL

  • Author
1 hour ago, PTRFRLL said:

 

 

Anyone experiencing empty stats? Unraid 6.8.3

 

Was working fine until I updated the plugin to 2020-03-14

 

Here's the output from


nvidia-smi -x -q

 

but the output from gpustatus.php appears to be empty:


[]

 

Did you go back to the settings and make sure you set which GPU to monitor?  By default it should choose GPU 0 but it might not be selecting one for some reason.

 

Introduced in this version is the inventory process which involves running 'nvidia-smi -L' to populate the settings page.  If this isn't working for you it might cause the array to be empty.

Edited by b3rs3rk

  • Author
9 hours ago, mattekure said:

If there is anything you can do to support using the larger font sizes, it would be greatly appreciated.

I will look into it but CSS isn't really my strongpoint.  Especailly when I'm cutting my own code inline with everyone else's.  Could be a nightmare for me when the next plugin is authored.  That's partly the reason I'm namespacing my code so that I don't have to worry about jacking up people's variables (or having my own get jacked).

Yup mine is empty after upgrade as well, Seems to be seeing everything though.439558183_ScreenShot2020-03-15at4_09_46PM.png.bd460ca918753d65622e9ed66c6e8302.png

same

explorer_2020-03-14_23-16-29.png

Quadro P400, empty after latest update :(

Same here.

53 minutes ago, b3rs3rk said:

Can you tell me what it is in your /boot/config/plugins/gpustat/gpustat.cfg? @isvein@SuberSeb@sittingmongoose@rjlan@JaseNZ

Only this:

VENDOR=nvidia

I fixed that. For some reason plugin don't detect my GPU. I just pressed "Default" button and all works.
Config after that:
 

VENDOR="nvidia"
GPUID="0"
TEMPFORMAT="C"

 

Edited by SuberSeb

  • Author
4 minutes ago, SuberSeb said:

Only this:


VENDOR=nvidia

 

I'm guessing when you update the plugin it doesn't push down the new settings in the plg file.  You can do one of the following:

 

Go to the Settings page.  Change the temperature setting and then change it back and Select your GPU.  You should be able to Apply after this.  Click Apply.  Check that file again to see if it has TEMPFORMAT and GPUID set.  If it is set, check to make sure you have data.  The problem is the settings page expects all of those settings to be default so it doesn't let the user Apply.

 

OR

 

Simply remove the plugin and re-install.  This should re-write your cfg file with the defaults.

 

In my next update, my defaults will be merged with runtime settings each run so this shouldn't happen.

 

@isvein@SuberSeb @sittingmongoose @rjlan @JaseNZ

Edited by b3rs3rk
mentions

V2020-03-14 here, still on 6.8.2 and its working fine, Thanks for this plugin!

  • Author
16 minutes ago, isvein said:

VENDOR="nvidia"
GPUID="0"
TEMPFORMAT="C"

And it still isn't working?

 

What is the result of

nvidia-smi -q -x -i 0

 

4 hours ago, SuberSeb said:

 

I just pressed "Default" button and all works.

 

This worked for me as well!

Edited by PTRFRLL

Am i'm the only one not getting anything on the dashboard at all? As in no "GPU"-section whatsoever?

 

I'm brand new to Unraid. So it is most likely something simple...do i need to do something for things to be added to the dashboard? Everything else works as expected(can do HW transcoding in Plex etc). nvidia-smi returns correct data(GTX1070 etc) and gpustat.cfg also looks good. I'm running 6.6.7...

 

Ideas?

 

/Thomas

  • Author
41 minutes ago, ThomasEg said:

Am i'm the only one not getting anything on the dashboard at all? As in no "GPU"-section whatsoever?

 

I'm brand new to Unraid. So it is most likely something simple...do i need to do something for things to be added to the dashboard? Everything else works as expected(can do HW transcoding in Plex etc). nvidia-smi returns correct data(GTX1070 etc) and gpustat.cfg also looks good. I'm running 6.6.7...

 

Ideas?

 

/Thomas

Minimum version is 6.7.1.  This app shouldn't even show up for you in Community Applications.

41 minutes ago, ThomasEg said:

I'm running 6.6.7...

This plugin is much newer than that. Don't know if it's compatible or not. 

2 hours ago, b3rs3rk said:

And it still isn't working?

 

What is the result of


nvidia-smi -q -x -i 0

 

Works fine after latest update :) 

35 minutes ago, b3rs3rk said:

Minimum version is 6.7.1.  This app shouldn't even show up for you in Community Applications.

🤦‍♂️ I can't belive i missed that... I just grapped it from unraid.net today...i dont get how i managed to get such an old version 🤔

 

...at least it was a easy fix! Thanks for the response!

35 minutes ago, trurl said:

This plugin is much newer than that. Don't know if it's compatible or not. 

...its not ;-)

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.