[PLUGIN] GPU Statistics


Recommended Posts

1 minute ago, greenflash24 said:

@b3rs3rk I have just tried your new intel version on my i9 9900k with UHD 630 graphics and everything is working just fine. Thanks a lot for this update.

You have a very modern iGPU, could you send me the results of:

timeout -k .500 .400 intel_gpu_top -J -s 250

I'd like to see what metrics your iGPU supports as most of my investigation includes older iGPUs.  Thanks.

Link to comment
3 minutes ago, b3rs3rk said:

You have a very modern iGPU, could you send me the results of:


timeout -k .500 .400 intel_gpu_top -J -s 250

I'd like to see what metrics your iGPU supports as most of my investigation includes older iGPUs.  Thanks.

 

Of course, here you go:

{
        "period": {
                "duration": 0.030292,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 95.507065,
                "unit": "%"
        },
        "power": {
                "value": 0.000000,
                "unit": "W"
        },
        "imc-bandwidth": {
                "reads": 34.253191,
                "writes": 12.089361,
                "unit": "MiB/s"
        },
        "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": "%"
                }
        }
},
{
        "period": {
                "duration": 250.577540,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "power": {
                "value": 0.000000,
                "unit": "W"
        },
        "imc-bandwidth": {
                "reads": 183.204454,
                "writes": 33.909700,
                "unit": "MiB/s"
        },
        "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": "%"
                }
        }
}

 

  • Like 1
Link to comment

here from another one, i5 10600

 

~# timeout -k .500 .400 intel_gpu_top -J -s 250

{
        "period": {
                "duration": 0.002041,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 90.641842,
                "unit": "%"
        },
        "power": {
                "value": 0.000000,
                "unit": "W"
        },
        "imc-bandwidth": {
                "reads": 1943.794785,
                "writes": 0.000000,
                "unit": "MiB/s"
        },
        "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": "%"
                }
        }
},
{
        "period": {
                "duration": 250.121355,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "power": {
                "value": 0.000000,
                "unit": "W"
        },
        "imc-bandwidth": {
                "reads": 1865.401382,
                "writes": 134.832255,
                "unit": "MiB/s"
        },
        "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": "%"
                }
        }

the one from a 9900 (my cpu without "k") is in my post from yesterday.

Link to comment

New test plugin version available.  Running Check for Updates on the plugin page should show it available for install.  This will only show for the people that are currently using the iGPU test branch I posted before.

 

Let me know how it goes.  Thanks!

Edited by b3rs3rk
clarification
Link to comment

I get now respons from the card, but is working fine in Plex for transcoding.

 

<?xml version="1.0" ?>
<!DOCTYPE nvidia_smi_log SYSTEM "nvsmi_device_v11.dtd">
<nvidia_smi_log>
        <timestamp>Wed Jan 13 10:27:27 2021</timestamp>
        <driver_version>455.45.01</driver_version>
        <cuda_version>11.1</cuda_version>
        <attached_gpus>1</attached_gpus>
        <gpu id="00000000:01:00.0">
                <product_name>GeForce GTX 660</product_name>
                <product_brand>GeForce</product_brand>
                <display_mode>N/A</display_mode>
                <display_active>N/A</display_active>
                <persistence_mode>Disabled</persistence_mode>
                <mig_mode>
                        <current_mig>N/A</current_mig>
                        <pending_mig>N/A</pending_mig>
                </mig_mode>
                <accounting_mode>N/A</accounting_mode>
                <accounting_mode_buffer_size>N/A</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-11937745-bca2-abe7-0c3b-a71c7f3fe69a</uuid>
                <minor_number>0</minor_number>
                <vbios_version>80.06.10.00.5E</vbios_version>
                <multigpu_board>N/A</multigpu_board>
                <board_id>N/A</board_id>
                <gpu_part_number>N/A</gpu_part_number>
                <inforom_version>
                        <img_version>N/A</img_version>
                        <oem_object>N/A</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>N/A</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>11C010DE</pci_device_id>
                        <pci_bus_id>00000000:01:00.0</pci_bus_id>
                        <pci_sub_system_id>28711462</pci_sub_system_id>
                        <pci_gpu_link_info>
                                <pcie_gen>
                                        <max_link_gen>N/A</max_link_gen>
                                        <current_link_gen>N/A</current_link_gen>
                                </pcie_gen>
                                <link_widths>
                                        <max_link_width>N/A</max_link_width>
                                        <current_link_width>N/A</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>N/A</tx_util>
                        <rx_util>N/A</rx_util>
                </pci>
                <fan_speed>30 %</fan_speed>
                <performance_state>P0</performance_state>
                <clocks_throttle_reasons>N/A</clocks_throttle_reasons>
                <fb_memory_usage>
                        <total>1999 MiB</total>
                        <used>125 MiB</used>
                        <free>1874 MiB</free>
                </fb_memory_usage>
                <bar1_memory_usage>
                        <total>N/A</total>
                        <used>N/A</used>
                        <free>N/A</free>
                </bar1_memory_usage>
                <compute_mode>Default</compute_mode>
                <utilization>
                        <gpu_util>N/A</gpu_util>
                        <memory_util>N/A</memory_util>
                        <encoder_util>N/A</encoder_util>
                        <decoder_util>N/A</decoder_util>
                </utilization>
                <encoder_stats>
                        <session_count>N/A</session_count>
                        <average_fps>N/A</average_fps>
                        <average_latency>N/A</average_latency>
                </encoder_stats>
                <fbc_stats>
                        <session_count>N/A</session_count>
                        <average_fps>N/A</average_fps>
                        <average_latency>N/A</average_latency>
                </fbc_stats>
                <ecc_mode>
                        <current_ecc>N/A</current_ecc>
                        <pending_ecc>N/A</pending_ecc>
                </ecc_mode>
                <ecc_errors>
                        <volatile>
                                <single_bit>
                                        <device_memory>N/A</device_memory>
                                        <register_file>N/A</register_file>
                                        <l1_cache>N/A</l1_cache>
                                        <l2_cache>N/A</l2_cache>
                                        <texture_memory>N/A</texture_memory>
                                        <texture_shm>N/A</texture_shm>
                                        <cbu>N/A</cbu>
                                        <total>N/A</total>
                                </single_bit>
                                <double_bit>
                                        <device_memory>N/A</device_memory>
                                        <register_file>N/A</register_file>
                                        <l1_cache>N/A</l1_cache>
                                        <l2_cache>N/A</l2_cache>
                                        <texture_memory>N/A</texture_memory>
                                        <texture_shm>N/A</texture_shm>
                                        <cbu>N/A</cbu>
                                        <total>N/A</total>
                                </double_bit>
                        </volatile>
                        <aggregate>
                                <single_bit>
                                        <device_memory>N/A</device_memory>
                                        <register_file>N/A</register_file>
                                        <l1_cache>N/A</l1_cache>
                                        <l2_cache>N/A</l2_cache>
                                        <texture_memory>N/A</texture_memory>
                                        <texture_shm>N/A</texture_shm>
                                        <cbu>N/A</cbu>
                                        <total>N/A</total>
                                </single_bit>
                                <double_bit>
                                        <device_memory>N/A</device_memory>
                                        <register_file>N/A</register_file>
                                        <l1_cache>N/A</l1_cache>
                                        <l2_cache>N/A</l2_cache>
                                        <texture_memory>N/A</texture_memory>
                                        <texture_shm>N/A</texture_shm>
                                        <cbu>N/A</cbu>
                                        <total>N/A</total>
                                </double_bit>
                        </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>
                <remapped_rows>N/A</remapped_rows>
                <temperature>
                        <gpu_temp>39 C</gpu_temp>
                        <gpu_temp_max_threshold>N/A</gpu_temp_max_threshold>
                        <gpu_temp_slow_threshold>N/A</gpu_temp_slow_threshold>
                        <gpu_temp_max_gpu_threshold>N/A</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>P0</power_state>
                        <power_management>N/A</power_management>
                        <power_draw>N/A</power_draw>
                        <power_limit>N/A</power_limit>
                        <default_power_limit>N/A</default_power_limit>
                        <enforced_power_limit>N/A</enforced_power_limit>
                        <min_power_limit>N/A</min_power_limit>
                        <max_power_limit>N/A</max_power_limit>
                </power_readings>
                <clocks>
                        <graphics_clock>N/A</graphics_clock>
                        <sm_clock>N/A</sm_clock>
                        <mem_clock>N/A</mem_clock>
                        <video_clock>N/A</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>N/A</graphics_clock>
                        <sm_clock>N/A</sm_clock>
                        <mem_clock>N/A</mem_clock>
                        <video_clock>N/A</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>N/A</accounted_processes>
        </gpu>

<?php

define('ES', ' ');

include 'lib/Main.php';
include 'lib/Nvidia.php';
include 'lib/Error.php';

use \gpustat\lib\Main;
use \gpustat\lib\Nvidia;
use \gpustat\lib\Error;

if (!isset($gpustat_cfg)) {
    $gpustat_cfg = Main::getSettings();
}

switch ($gpustat_cfg['VENDOR']) {
    case 'nvidia':
        // $gpu_inventory should be set if called from settings page code
        if (isset($gpustat_inventory) && $gpustat_inventory) {
            // Settings page looks for $gpu_data specifically
            $gpustat_data = (new Nvidia($gpustat_cfg))->getInventory();
        } else {
            (new Nvidia($gpustat_cfg))->getStatistics();
        }
        break;
    default:
        new Error(


total 24
-rw-rw-rw- 1 root root 3716 Jan  8 16:00 GPUStatSettings.page
-rw-rw-rw- 1 root root   75 Jan  8 16:00 README.md
-rw-rw-rw- 1 root root  218 Jan  8 16:00 default.cfg
-rw-rw-rw- 1 root root 6849 Jan  8 16:00 gpustatus.page
-rw-rw-rw- 1 root root  738 Jan  8 16:00 gpustatus.php
drwxr-xr-x 2 root root   60 Jan  8 16:00 icons/
drwxr-xr-x 2 root root   60 Jan  8 16:00 images/
drwxr-xr-x 2 root root  140 Jan  8 16:00 lib/
drwxr-xr-x 2 root root   60 Jan  8 16:00 license/

 

 

GPU Stats.jpg

Link to comment

@Daniel Tildeman Your GPU is rather old and based on the nvidia-smi output you pasted you're correctly seeing the few metrics your card provides.  For that card, you should only be monitoring memory utilization, fan usage, temperature and power state in the plugin.  This should limit the amount of N/A's shown on the screen to a bare minimum and clean up the plugin a bit.  Again, the plugin doesn't do miracle work so you're going to have to update your card to get better monitoring support.  Sorry.

  • Like 1
Link to comment
On 1/11/2021 at 4:24 PM, b3rs3rk said:

You have a very modern iGPU, could you send me the results of:


timeout -k .500 .400 intel_gpu_top -J -s 250

I'd like to see what metrics your iGPU supports as most of my investigation includes older iGPUs.  Thanks.

I have a 2288g xeon, the plug-in installed, everything works, shows the load. Do I need to introduce this team?
image.thumb.png.7b217b12349cb85edbfb5ea722011f82.png

Edited by muwahhid
Link to comment
1 minute ago, muwahhid said:

I have a 2288g hon, the plug-in installed, everything works, shows the load. Do I need to introduce this team?

I've seen results from a UHD 630 I believe, but since you are the first to say you have a Xeon package instead of a desktop processor it can't hurt to look!

Link to comment
3 minutes ago, b3rs3rk said:

I've seen results from a UHD 630 I believe, but since you are the first to say you have a Xeon package instead of a desktop processor it can't hurt to look!

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

{
        "period": {
                "duration": 0.003470,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 0.000000,
                "unit": "%"
        },
        "power": {
                "value": 0.000000,
                "unit": "W"
        },
        "imc-bandwidth": {
                "reads": 6771.912149,
                "writes": 914.647875,
                "unit": "MiB/s"
        },
        "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": "%"
                }
        }
},
{
        "period": {
                "duration": 250.287765,
                "unit": "ms"
        },
        "frequency": {
                "requested": 351.595293,
                "actual": 347.599892,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "power": {
                "value": 0.000000,
                "unit": "W"
        },
        "imc-bandwidth": {
                "reads": 2198.192893,
                "writes": 534.106159,
                "unit": "MiB/s"
        },
        "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": "%"
                }
        }

Link to comment
1 minute ago, muwahhid said:

What does Blitter load mean? I only have it 0, no activity.

I haven't seen anyone using it during transcoding operations.  From Intel:

Quote

The graphics controller provides a hardware-based BLT engine to off load the work of moving blocks of graphics data from the host CPU. Although the BLT engine is often used simply to copy a block of graphics data from the source to the destination, it also has the ability to perform more complex functions.

 

  • Like 1
Link to comment
51 minutes ago, madelectron said:

For some reason I can't get intel_gpu_top to display anything.  At the command line all I get is file not found. 

Can you open up a terminal of Unraid itself and type in 'intel_gpu_top' and post a screenshot from the output here?

 

Also have you IOMMU enabled in your BIOS?

Link to comment
1 hour ago, ich777 said:

Can you open up a terminal of Unraid itself and type in 'intel_gpu_top' and post a screenshot from the output here?

 

Also have you IOMMU enabled in your BIOS?

When I run intel_gpu_top this is the result:

 

Failed to initialize PMU! (No such file or directory)

 

and yes I have IOMMU enabled.

intelpmu.png

Link to comment

My nvidia GTX 1070 is not showing up in the dashboard. Output from the suggested commands:

Output from nvidia-smi -q -x -i 0

Quote

 

<?xml version="1.0" ?>
<!DOCTYPE nvidia_smi_log SYSTEM "nvsmi_device_v11.dtd">
<nvidia_smi_log>
        <timestamp>Wed Jan 13 21:21:22 2021</timestamp>
        <driver_version>455.45.01</driver_version>
        <cuda_version>11.1</cuda_version>
        <attached_gpus>1</attached_gpus>
        <gpu id="00000000:29:00.0">
                <product_name>GeForce GTX 1070</product_name>
                <product_brand>GeForce</product_brand>
                <display_mode>Disabled</display_mode>
                <display_active>Disabled</display_active>
                <persistence_mode>Disabled</persistence_mode>
                <mig_mode>
                        <current_mig>N/A</current_mig>
                        <pending_mig>N/A</pending_mig>
                </mig_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-1cebdfc1-3a20-87e5-12a9-2b3422e6f045</uuid>
                <minor_number>0</minor_number>
                <vbios_version>86.04.50.00.63</vbios_version>
                <multigpu_board>No</multigpu_board>
                <board_id>0x2900</board_id>
                <gpu_part_number>N/A</gpu_part_number>
                <inforom_version>
                        <img_version>G001.0000.01.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>29</pci_bus>
                        <pci_device>00</pci_device>
                        <pci_domain>0000</pci_domain>
                        <pci_device_id>1B8110DE</pci_device_id>
                        <pci_bus_id>00000000:29:00.0</pci_bus_id>
                        <pci_sub_system_id>85991043</pci_sub_system_id>
                        <pci_gpu_link_info>
                                <pcie_gen>
                                        <max_link_gen>3</max_link_gen>
                                        <current_link_gen>3</current_link_gen>
                                </pcie_gen>
                                <link_widths>
                                        <max_link_width>16x</max_link_width>
                                        <current_link_width>16x</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>P0</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>8119 MiB</total>
                        <used>2 MiB</used>
                        <free>8117 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>
                                <single_bit>
                                        <device_memory>N/A</device_memory>
                                        <register_file>N/A</register_file>
                                        <l1_cache>N/A</l1_cache>
                                        <l2_cache>N/A</l2_cache>
                                        <texture_memory>N/A</texture_memory>
                                        <texture_shm>N/A</texture_shm>
                                        <cbu>N/A</cbu>
                                        <total>N/A</total>
                                </single_bit>
                                <double_bit>
                                        <device_memory>N/A</device_memory>
                                        <register_file>N/A</register_file>
                                        <l1_cache>N/A</l1_cache>
                                        <l2_cache>N/A</l2_cache>
                                        <texture_memory>N/A</texture_memory>
                                        <texture_shm>N/A</texture_shm>
                                        <cbu>N/A</cbu>
                                        <total>N/A</total>
                                </double_bit>
                        </volatile>
                        <aggregate>
                                <single_bit>
                                        <device_memory>N/A</device_memory>
                                        <register_file>N/A</register_file>
                                        <l1_cache>N/A</l1_cache>
                                        <l2_cache>N/A</l2_cache>
                                        <texture_memory>N/A</texture_memory>
                                        <texture_shm>N/A</texture_shm>
                                        <cbu>N/A</cbu>
                                        <total>N/A</total>
                                </single_bit>
                                <double_bit>
                                        <device_memory>N/A</device_memory>
                                        <register_file>N/A</register_file>
                                        <l1_cache>N/A</l1_cache>
                                        <l2_cache>N/A</l2_cache>
                                        <texture_memory>N/A</texture_memory>
                                        <texture_shm>N/A</texture_shm>
                                        <cbu>N/A</cbu>
                                        <total>N/A</total>
                                </double_bit>
                        </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>
                <remapped_rows>N/A</remapped_rows>
                <temperature>
                        <gpu_temp>55 C</gpu_temp>
                        <gpu_temp_max_threshold>99 C</gpu_temp_max_threshold>
                        <gpu_temp_slow_threshold>96 C</gpu_temp_slow_threshold>
                        <gpu_temp_max_gpu_threshold>N/A</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>P0</power_state>
                        <power_management>Supported</power_management>
                        <power_draw>34.43 W</power_draw>
                        <power_limit>166.10 W</power_limit>
                        <default_power_limit>166.10 W</default_power_limit>
                        <enforced_power_limit>166.10 W</enforced_power_limit>
                        <min_power_limit>75.00 W</min_power_limit>
                        <max_power_limit>200.00 W</max_power_limit>
                </power_readings>
                <clocks>
                        <graphics_clock>1480 MHz</graphics_clock>
                        <sm_clock>1480 MHz</sm_clock>
                        <mem_clock>4006 MHz</mem_clock>
                        <video_clock>1341 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>2037 MHz</graphics_clock>
                        <sm_clock>2037 MHz</sm_clock>
                        <mem_clock>4004 MHz</mem_clock>
                        <video_clock>1708 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>

 

 

Output from cd /usr/local/emhttp/plugins/gpustat/ && php ./gpustatus.php

 

Quote

Error 200: Configuration file contains invalid settings

There's obviously something wrong here. I have tried uninstalling and reinstalling the plugin. I'm able to transcode plex with my GPU so I know it's working. 

 

gpustatus.php looks like this: 

Quote

define('ES', ' ');

include 'lib/Main.php';
include 'lib/Nvidia.php';
include 'lib/Intel.php';
include 'lib/Error.php';

use \gpustat\lib\Main;
use \gpustat\lib\Nvidia;
use \gpustat\lib\Intel;
use \gpustat\lib\Error;

if (!isset($gpustat_cfg)) {
    $gpustat_cfg = Main::getSettings();
}

// $gpu_inventory should be set if called from settings page code
if (isset($gpustat_inventory) && $gpustat_inventory) {
    $gpustat_cfg['inventory'] = true;
    // Settings page looks for $gpu_data specifically -- inventory all supported GPU types
    $gpustat_data = (new Nvidia($gpustat_cfg))->getInventory();
    $gpustat_data += (new Intel($gpustat_cfg))->getInventory();

} else {

    switch ($gpustat_cfg['VENDOR']) {
        case 'nvidia':
            (new Nvidia($gpustat_cfg))->getStatistics();
            break;

 case 'intel':
            (new Intel($gpustat_cfg))->getStatistics();
            break;
        default:
            new Error(Error::CONFIG_SETTINGS_NOT_VALID, '', false);
    }
}

 

Link to comment

Hey there,

 

I'm on unRAID 6.9 rc2, with the new update, whenever I restart the server, the plugin does not load and it gets listed in Plugin File Install Errors.

 

when I delete and reinstall the plugin, it works. However, if I restart the server it won't load again.

 

GPU: Nvidia P2200

 

Regards,

Link to comment

First of all great work on this Plugin, I really like it and been using it for ages

 

I have just updated to the latest version and now don't get any output on the dashboard

 

image.png.0b59f5bcc3a4a6f6dda8e2d713c69f42.png

 

I am using a Quadro P2000 GPU and unRAID 6.9 rc2

 

Vendor is set to NVIDIA and all other options are "Yes"

 

nvidia-smi in terminal is outputting correctly

 

thanks!

Edited by bigup
Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.