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

46 minutes ago, DeadMode said:

I've a bit of a strange issue I've noticed recently, not sure if it's because I recently upgraded Unraid to 7.0.1 or not. The plugin seems to flip between the error of 'Vendor command returned unparsable data' and then showing the stats as you would expect, including the same data being returned from gpu_top.

 

It's an Intel i7-9700TE with the iGPU being the UHD Graphics 630.

 

Intel_gpu_top runs without any issues and shows the stats and the application like plex when transcoding.

 

Have tried removing and re-installing both plugins also, but the same issue. Anyone come across anything similar? I had a good look at the last few pages and most recent posts, but didn't notice anything similar.

GPUstat1.jpg

GPUstat3.jpg

What are your timers set to?

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

The main refresh is 2 seconds, and the Intel_top_command_timeout: is set at :- .7 1.3 

 

I think the latter timing is correct based on seeing other threads where that was the advised setting to use if you had the 'Vendor command returned unparseable data' and nothing else. Just odd the way mine is working, then not, and rinse and repeat.

1 hour ago, DeadMode said:

The main refresh is 2 seconds, and the Intel_top_command_timeout: is set at :- .7 1.3 

 

I think the latter timing is correct based on seeing other threads where that was the advised setting to use if you had the 'Vendor command returned unparseable data' and nothing else. Just odd the way mine is working, then not, and rinse and repeat.

When you see unparseable can you move off the Dashboard so it does not refresh and provide the 3 files from /tmp/gpu*

Everyone i have a small issue here i have an i5-11400 64GB of Ram w/ iGPU (Rocket-Lake and Intel arc A310 both enable in bios and both show up in Unraid. The issue is that both graphics cards come back with 

Vendor command returned unparseable data or  Vendor command returned no data. screenshot attached. I have read thru some of the forums and changed the Intel_top_command_timeout but to no fix at all. Is there anything else that can be done. Thanks

Screenshot 2025-03-15 135258.png

6 minutes ago, jaybigman77 said:

Everyone i have a small issue here i have an i5-11400 64GB of Ram w/ iGPU (Rocket-Lake and Intel arc A310 both enable in bios and both show up in Unraid. The issue is that both graphics cards come back with 

Vendor command returned unparseable data or  Vendor command returned no data. screenshot attached. I have read thru some of the forums and changed the Intel_top_command_timeout but to no fix at all. Is there anything else that can be done. Thanks

Screenshot 2025-03-15 135258.png

Can you post the gpu* files from /tmp ?

 

11 minutes ago, SimonF said:

Can you post the gpu* files from /tmp ?

 

Not really sure how to do that? built this thing watching videos lol

Edited by jaybigman77

4 hours ago, DeadMode said:

The main refresh is 2 seconds, and the Intel_top_command_timeout: is set at :- .7 1.3 

 

I think the latter timing is correct based on seeing other threads where that was the advised setting to use if you had the 'Vendor command returned unparseable data' and nothing else. Just odd the way mine is working, then not, and rinse and repeat.

Are you able to edit i.e. nano /usr/locat/emhttp/plugins/gpustat/lib/Main.php, update the first function to have a 2 and then add a replacement function to see if that fixes the issue.

 

    protected function getKernelDriver2(string $pciid) {
        $driver = '';
        if (is_link('/sys/bus/pci/devices/'.$pciid.'/driver')) {
            $strLink = @readlink('/sys/bus/pci/devices/'.$pciid.'/driver');
            if (!empty($strLink)) {
                $driver = basename($strLink);
            }
        }
        return $driver;
    }
    protected function getKernelDriver(string $pciid): string {
        $command = "udevadm info --query=property --path=/sys/bus/pci/devices/$pciid | grep 'DRIVER='";
        $output = shell_exec($command);
    
        return $output ? trim(str_replace('DRIVER=', '', $output)) : '';
    }

 

15 minutes ago, SimonF said:

Are you able to edit i.e. nano /usr/locat/emhttp/plugins/gpustat/lib/Main.php, update the first function to have a 2 and then add a replacement function to see if that fixes the issue.

 

    protected function getKernelDriver2(string $pciid) {
        $driver = '';
        if (is_link('/sys/bus/pci/devices/'.$pciid.'/driver')) {
            $strLink = @readlink('/sys/bus/pci/devices/'.$pciid.'/driver');
            if (!empty($strLink)) {
                $driver = basename($strLink);
            }
        }
        return $driver;
    }
    protected function getKernelDriver(string $pciid): string {
        $command = "udevadm info --query=property --path=/sys/bus/pci/devices/$pciid | grep 'DRIVER='";
        $output = shell_exec($command);
    
        return $output ? trim(str_replace('DRIVER=', '', $output)) : '';
    }

 

used that path and it says it doesnt exist using unraid terminal

14 minutes ago, jaybigman77 said:

used that path and it says it doesnt exist using unraid terminal

Sorry typo should be local.

3 minutes ago, SimonF said:

Sorry typo should be local.

ok im in ... i'm i to add that script you provided to the existing one? if so where top bottom etc?

1 minute ago, jaybigman77 said:

ok im in ... i'm i to add that script you provided to the existing one? if so where top bottom etc?

    protected function getKernelDriver2(string $pciid) {
        $driver = '';
        if (is_link('/sys/bus/pci/devices/'.$pciid.'/driver')) {
            $strLink = @readlink('/sys/bus/pci/devices/'.$pciid.'/driver');
            if (!empty($strLink)) {
                $driver = basename($strLink);
            }
        }
        return $driver;
    }

Top is this ^ will be called protected function getKernelDriver( just add a 2.

Then paste this after. 

 

    protected function getKernelDriver(string $pciid): string {
        $command = "udevadm info --query=property --path=/sys/bus/pci/devices/$pciid | grep 'DRIVER='";
        $output = shell_exec($command);
    
        return $output ? trim(str_replace('DRIVER=', '', $output)) : '';
    }

ctlr s to save

ctlr x to exit

19 minutes ago, SimonF said:
    protected function getKernelDriver2(string $pciid) {
        $driver = '';
        if (is_link('/sys/bus/pci/devices/'.$pciid.'/driver')) {
            $strLink = @readlink('/sys/bus/pci/devices/'.$pciid.'/driver');
            if (!empty($strLink)) {
                $driver = basename($strLink);
            }
        }
        return $driver;
    }

Top is this ^ will be called protected function getKernelDriver( just add a 2.

Then paste this after. 

 

    protected function getKernelDriver(string $pciid): string {
        $command = "udevadm info --query=property --path=/sys/bus/pci/devices/$pciid | grep 'DRIVER='";
        $output = shell_exec($command);
    
        return $output ? trim(str_replace('DRIVER=', '', $output)) : '';
    }

ctlr s to save

ctlr x to exit

Didn't work everything disappeared had to reinstall plugin

7 minutes ago, SimonF said:

If I send the file are you able replace the existing.

 

 

yes

7 minutes ago, jaybigman77 said:

yes

You need to be on 2023.03.12 for this file to work.

 

For files cat /tmp/gpu* and post data.

Main.php

3 hours ago, SimonF said:

Are you able to edit i.e. nano /usr/locat/emhttp/plugins/gpustat/lib/Main.php, update the first function to have a 2 and then add a replacement function to see if that fixes the issue.

 

    protected function getKernelDriver2(string $pciid) {
        $driver = '';
        if (is_link('/sys/bus/pci/devices/'.$pciid.'/driver')) {
            $strLink = @readlink('/sys/bus/pci/devices/'.$pciid.'/driver');
            if (!empty($strLink)) {
                $driver = basename($strLink);
            }
        }
        return $driver;
    }
    protected function getKernelDriver(string $pciid): string {
        $command = "udevadm info --query=property --path=/sys/bus/pci/devices/$pciid | grep 'DRIVER='";
        $output = shell_exec($command);
    
        return $output ? trim(str_replace('DRIVER=', '', $output)) : '';
    }

 

 

Thanks for the suggestion, not quite sure why, but it seems to have stopped now (without me changing anything) so I'll leave it for now, but try what you suggested if it starts to play up again.

 

Thanks very much for the quick response though, appreciated!

13 minutes ago, DeadMode said:

 

Thanks for the suggestion, not quite sure why, but it seems to have stopped now (without me changing anything) so I'll leave it for now, but try what you suggested if it starts to play up again.

 

Thanks very much for the quick response though, appreciated!

OK thanks. Will make an update tomorrow with code changes if I don't find any issues with it.

8 hours ago, SimonF said:

You need to be on 2023.03.12 for this file to work.

 

For files cat /tmp/gpu* and post data.

Main.php 12.91 kB · 0 downloads

Didn't work made sure i was on 2023.03.12 installed didnt work updated intel_gpu_top with no luck either still gives same no data error

3 hours ago, jaybigman77 said:

Didn't work made sure i was on 2023.03.12 installed didnt work updated intel_gpu_top with no luck either still gives same no data error

What is the output of timeout -k .500 .400 intel_gpu_top -J -s 250

11 hours ago, SimonF said:

What is the output of timeout -k .500 .400 intel_gpu_top -J -s 250

Current i have the settings at .7 1.3 in the plugin settings ran intel_gpu_top in terminal this is what i get (attached) also want to add the display now appears for a second then disappears 

Screenshot 2025-03-16 150336.png

Edited by jaybigman77

Vendor command returned unparseable data. on top plugin change to .7 1.3 but only seems to happen when transcoding? 

While I can see the stats of the GPU when in use it doesn't show my handbrake docker as the active app when it's going. I keep hoping kernel improvements will snap a fix in place but no joy. It will show plex the few times it needs to transcode though.

 

Unraid version: 7.1.0 beta 1

Processor: Intel I5-1235U

Docker: jlesage/handbrake

 

With a handbrake docker transcoding:

image.png.64cf8abe59ea8d59eec76c266a54ff38.png

 

{
        "period": {
                "duration": 10.905801,
                "unit": "ms"
        },
        "frequency": {
                "requested": 1100.331833,
                "actual": 825.248874,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 1833.886388,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 0.000000,
                "unit": "%"
        },
        "power": {
                "GPU": 5.389504,
                "Package": 23.555993,
                "unit": "W"
        },
        "engines": {
                "Render/3D": {
                        "busy": 69.964205,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 30.690135,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {
                "4294853861": {
                        "name": "ghb",
                        "pid": "113435",
                        "memory": {
                                "system": {
                                        "total": "161869824",
                                        "shared": "0",
                                        "resident": "102342656",
                                        "purgeable": "401408",
                                        "active": "0"
                                }
                        },
                        "engine-classes": {
                                "Render/3D": {
                                        "busy": "41.794207",
                                        "unit": "%"
                                },
                                "Blitter": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Video": {
                                        "busy": "73.248987",
                                        "unit": "%"
                                },
                                "VideoEnhance": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                }
                        }
                }
        }
},
{
        "period": {
                "duration": 259.775057,
                "unit": "ms"
        },
        "frequency": {
                "requested": 1201.039097,
                "actual": 1097.103022,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 1278.028783,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 0.000000,
                "unit": "%"
        },
        "power": {
                "GPU": 3.551563,
                "Package": 22.275507,
                "unit": "W"
        },
        "engines": {
                "Render/3D": {
                        "busy": 47.132083,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 26.578173,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {
                "4294853861": {
                        "name": "ghb",
                        "pid": "113435",
                        "memory": {
                                "system": {
                                        "total": "161869824",
                                        "shared": "0",
                                        "resident": "102342656",
                                        "purgeable": "401408",
                                        "active": "0"
                                }
                        },
                        "engine-classes": {
                                "Render/3D": {
                                        "busy": "46.752759",
                                        "unit": "%"
                                },
                                "Blitter": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Video": {
                                        "busy": "53.247124",
                                        "unit": "%"
                                },
                                "VideoEnhance": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                }
                        }
                }
        }

 

8 minutes ago, Seriphim said:

While I can see the stats of the GPU when in use it doesn't show my handbrake docker as the active app when it's going. I keep hoping kernel improvements will snap a fix in place but no joy. It will show plex the few times it needs to transcode though.

 

Unraid version: 7.1.0 beta 1

Processor: Intel I5-1235U

Docker: jlesage/handbrake

 

With a handbrake docker transcoding:

image.png.64cf8abe59ea8d59eec76c266a54ff38.png

 

{
        "period": {
                "duration": 10.905801,
                "unit": "ms"
        },
        "frequency": {
                "requested": 1100.331833,
                "actual": 825.248874,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 1833.886388,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 0.000000,
                "unit": "%"
        },
        "power": {
                "GPU": 5.389504,
                "Package": 23.555993,
                "unit": "W"
        },
        "engines": {
                "Render/3D": {
                        "busy": 69.964205,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 30.690135,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {
                "4294853861": {
                        "name": "ghb",
                        "pid": "113435",
                        "memory": {
                                "system": {
                                        "total": "161869824",
                                        "shared": "0",
                                        "resident": "102342656",
                                        "purgeable": "401408",
                                        "active": "0"
                                }
                        },
                        "engine-classes": {
                                "Render/3D": {
                                        "busy": "41.794207",
                                        "unit": "%"
                                },
                                "Blitter": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Video": {
                                        "busy": "73.248987",
                                        "unit": "%"
                                },
                                "VideoEnhance": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                }
                        }
                }
        }
},
{
        "period": {
                "duration": 259.775057,
                "unit": "ms"
        },
        "frequency": {
                "requested": 1201.039097,
                "actual": 1097.103022,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 1278.028783,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 0.000000,
                "unit": "%"
        },
        "power": {
                "GPU": 3.551563,
                "Package": 22.275507,
                "unit": "W"
        },
        "engines": {
                "Render/3D": {
                        "busy": 47.132083,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 26.578173,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {
                "4294853861": {
                        "name": "ghb",
                        "pid": "113435",
                        "memory": {
                                "system": {
                                        "total": "161869824",
                                        "shared": "0",
                                        "resident": "102342656",
                                        "purgeable": "401408",
                                        "active": "0"
                                }
                        },
                        "engine-classes": {
                                "Render/3D": {
                                        "busy": "46.752759",
                                        "unit": "%"
                                },
                                "Blitter": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Video": {
                                        "busy": "53.247124",
                                        "unit": "%"
                                },
                                "VideoEnhance": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                }
                        }
                }
        }

 

Can you touch /tmp/gpustatapps  it should create a file called    /tmp/gpuappsint cat you cat and post the data?

 

Apps have to be coded within the app not related to kernel

What are the current settings to make intel arc 380 work for gpu stats? I am def using it for plex transcoding.

Unraid 7.0.0

intel arc 380

shows no load

.7 1.9 timeout setting

2025.03.18 gpu stats verison

image.png.39e8e83097b1e3325832c1c465f091d9.png

2 hours ago, Bronzewing said:

What are the current settings to make intel arc 380 work for gpu stats? I am def using it for plex transcoding.

Unraid 7.0.0

intel arc 380

shows no load

.7 1.9 timeout setting

2025.03.18 gpu stats verison

image.png.39e8e83097b1e3325832c1c465f091d9.png

Does intel_gpu_top show any load?

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.