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

5 hours ago, SimonF said:

Can you do the following

 

nano /tmp/gpuapp

 

copy this into the editor.

 

#!/usr/bin/php
<?php

$pid = $argv[1];


$file = sprintf('/proc/%0d/cmdline', $pid);

if (file_exists($file)) {
    $pidcommand = trim(@file_get_contents($file), "\0");
}

$command = '';
$pid_command = 'ps -o ppid= '.$pid;

$ppid = (int)trim(shell_exec($pid_command));
if ($ppid > 0) {
    $file = sprintf('/proc/%0d/cmdline', $ppid);

    if (file_exists($file)) {
        $ppidcommand = trim(@file_get_contents($file), "\0");
    }
}

echo "PID: $pidcommand \nPPID: $ppidcommand";

?>

Save and then chmod +x /tmp/gpuapp

 

then run /tmp/gpuapp PID 

 

PID would be 15702 from the example above from nvidia-smi

 

Then provide the output.

 

root@computenode:~# /tmp/gpuapp 15858
PID: /usr/libexec/Xorg-novtswitch-allowMouseOpenFail-quiet-xinerama-v-s0-dpms-fp/usr/share/fonts/TTFvt07-auth/var/run/slim.auth 
PPID: /usr/bin/slimroot@computenode:~# 

 

So, this went above my head real fast. 

I get "nano /tmp/gpuapp" pasting into terminal, the copy past the code into terminal, but there is not an option in my terminal that says "save". I am guessing "chmod +x /tmp/gpuapp" is just pasted into terminal as well, do I replace PID with the 15702 or include PID with 15702 such as "PID 15702". Sorry gonna have to have my hand held for this.

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

13 hours ago, Itsaulgoodman said:

I get "nano /tmp/gpuapp" pasting into terminal, the copy past the code into terminal, but there is not an option in my terminal that says "save". I am guessing "chmod +x /tmp/gpuapp" is just pasted into terminal as well, do I replace PID with the 15702 or include PID with 15702 such as "PID 15702". Sorry gonna have to have my hand held for this.

Exactly, open up a terminal, then you first issue:

nano /tmp/gpuapp

after that you copy the code from @SimonF's post into the terminal, after that you press first 'CTRL + X', after that 'Y' and finally ENTER.

 

Then you do this from the terminal:

chmod +x /tmp/gpuapp

and finally:

/tmp/gpuapp <PID>

Where you have to replace <PID> with the actual PID from the output from nvidia-smi therefore in your case 15702 so to speak the command should look like:

/tmp/gpuapp 15702

 

9 hours ago, ich777 said:

Exactly, open up a terminal, then you first issue:

nano /tmp/gpuapp

after that you copy the code from @SimonF's post into the terminal, after that you press first 'CTRL + X' and after that 'Y'.

 

Then you do this from the terminal:

chmod +x /tmp/gpuapp

and finally:

/tmp/gpuapp <PID>

Where you have to replace <PID> with the actual PID from the output from nvidia-smi therefore in your case 15702 so to speak the command should look like:

/tmp/gpuapp 15702

 

Perfect TY, except after pasting  the code, then ctrl X, then Y, it wants another input before it will let me chmod........ screen shot added. image.thumb.png.8505a7c88792b1c77d1ba57e2043b880.png

29 minutes ago, Itsaulgoodman said:

Perfect TY, except after pasting  the code, then ctrl X, then Y, it wants another input before it will let me chmod........ screen shot added. 

Oh sorry you have to press ENTER after you've pressed Y, this will save and quit the file, after that you have to issue chmod +x

 

I have edited the post above with the exact steps.

I am getting the error message "Vendor command returned unparseable data." with an intel A380 running Unraid 7.0

I've included screenshots of intel_gpu_top and the dashboard also.

I've also un-installed and re-installed both GPU stats and Intel GPU Top.

This was happening on 6.12 also but was hoping 7.0 would fix it

 

Here are the outputs for support

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

Quote

{
        "period": {
                "duration": 152.073778,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "engines": {
                "Render/3D": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Compute": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {
                "4294699830": {
                        "name": "Plex Transcoder",
                        "pid": "267466",
                        "engine-classes": {
                                "Render/3D": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Blitter": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Video": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "VideoEnhance": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Compute": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                }
                        }
                }
        }

I also tried timeout -k .7 1.3 intel_gpu_top -J -s 250

Quote

{
        "period": {
                "duration": 183.807614,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "engines": {
                "Render/3D": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Compute": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {
                "4294699830": {
                        "name": "Plex Transcoder",
                        "pid": "267466",
                        "engine-classes": {
                                "Render/3D": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Blitter": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Video": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "VideoEnhance": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Compute": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                }
                        }
                }
        }
},
{
        "period": {
                "duration": 427.389159,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 99.999754,
                "unit": "%"
        },
        "engines": {
                "Render/3D": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Compute": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {
                "4294699830": {
                        "name": "Plex Transcoder",
                        "pid": "267466",
                        "engine-classes": {
                                "Render/3D": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Blitter": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Video": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "VideoEnhance": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Compute": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                }
                        }
                }
        }
},
{
        "period": {
                "duration": 429.100675,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "engines": {
                "Render/3D": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Compute": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {
                "4294699830": {
                        "name": "Plex Transcoder",
                        "pid": "267466",
                        "engine-classes": {
                                "Render/3D": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Blitter": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Video": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "VideoEnhance": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                },
                                "Compute": {
                                        "busy": "0.000000",
                                        "unit": "%"
                                }
                        }
                }
        }

Here is the contents of /boot/config/plugins/gpustat/gpustat.cfg

MULTIGPU = "b1:00.0"
TEMPFORMAT = "C"
UIREFRESH = 1
UIREFRESHINT = 2000
DISPCLOCKS = 1
DISPPCIUTIL = 1
DISPPWRDRAW = 1
DISPPWRSTATE = 1
DISPMEMUTIL = 1
DISPTEMP = 1
DISPFAN = 1
DISPENCDEC = 1
DISPTHROTTLE = 1
DISPSESSIONS = 1
DISP3DRENDER = 1
DISPBLITTER = 1
DISPVIDEO = 1
DISPVIDENH = 1
DISPINTERRUPT = 1
DISPPWRDRWSEL = "GPU"
IGTTIMER = ".7 1.3"
DISPEVENT = 1
DISPVERTEX = 1
DISPTEXTURE = 1
DISPSHADEREXP = 1
DISPSEQUENCER = 1
DISPSHADERINTER = 1
DISPSCANCON = 1
DISPPRIMASSEM = 1
DISPDEPTHBLK = 1
DISPCOLORBLK = 1
DISPGFXTRANS = 1
MULTIGPUJSON = "%7B%22b1%3A00.0%22%3A%7B%22id%22%3A%22b1%3A00.0%22%2C%22model%22%3A%22DG2+%5BArc+A380%5D%22%2C%22vendor%22%3A%22intel%22%2C%22guid%22%3A%220000%3Ab1%3A00.0%22%7D%7D"

 

Thanks for you help

Screenshot 2025-01-11 103327.jpg

Screenshot 2025-01-11 103340.jpg

Screenshot 2025-01-11 103354.jpg

Screenshot 2025-01-11 104145.jpg

On 1/9/2025 at 9:38 PM, Itsaulgoodman said:

So, this went above my head real fast. 

I get "nano /tmp/gpuapp" pasting into terminal, the copy past the code into terminal, but there is not an option in my terminal that says "save". I am guessing "chmod +x /tmp/gpuapp" is just pasted into terminal as well, do I replace PID with the 15702 or include PID with 15702 such as "PID 15702". Sorry gonna have to have my hand held for this.

This is all I got, not sure if I did something wrong... image.png.3d9b00f7bf49f08b345fdb3a4b2f06b3.png

4 hours ago, Itsaulgoodman said:

This is all I got, not sure if I did something wrong... image.png.3d9b00f7bf49f08b345fdb3a4b2f06b3.png

Is 15702 the current pid showing in nvidia-smi.

8 hours ago, GovernorBlaze said:

I am getting the error message "Vendor command returned unparseable data." with an intel A380 running Unraid 7.0

I've included screenshots of intel_gpu_top and the dashboard also.

I've also un-installed and re-installed both GPU stats and Intel GPU Top.

This was happening on 6.12 also but was hoping 7.0 would fix it

 

Here are the outputs for support

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

I also tried timeout -k .7 1.3 intel_gpu_top -J -s 250

Here is the contents of /boot/config/plugins/gpustat/gpustat.cfg

MULTIGPU = "b1:00.0"
TEMPFORMAT = "C"
UIREFRESH = 1
UIREFRESHINT = 2000
DISPCLOCKS = 1
DISPPCIUTIL = 1
DISPPWRDRAW = 1
DISPPWRSTATE = 1
DISPMEMUTIL = 1
DISPTEMP = 1
DISPFAN = 1
DISPENCDEC = 1
DISPTHROTTLE = 1
DISPSESSIONS = 1
DISP3DRENDER = 1
DISPBLITTER = 1
DISPVIDEO = 1
DISPVIDENH = 1
DISPINTERRUPT = 1
DISPPWRDRWSEL = "GPU"
IGTTIMER = ".7 1.3"
DISPEVENT = 1
DISPVERTEX = 1
DISPTEXTURE = 1
DISPSHADEREXP = 1
DISPSEQUENCER = 1
DISPSHADERINTER = 1
DISPSCANCON = 1
DISPPRIMASSEM = 1
DISPDEPTHBLK = 1
DISPCOLORBLK = 1
DISPGFXTRANS = 1
MULTIGPUJSON = "%7B%22b1%3A00.0%22%3A%7B%22id%22%3A%22b1%3A00.0%22%2C%22model%22%3A%22DG2+%5BArc+A380%5D%22%2C%22vendor%22%3A%22intel%22%2C%22guid%22%3A%220000%3Ab1%3A00.0%22%7D%7D"

 

Thanks for you help

Screenshot 2025-01-11 103327.jpg

Screenshot 2025-01-11 103340.jpg

Screenshot 2025-01-11 103354.jpg

Screenshot 2025-01-11 104145.jpg

Looks like .7 1.3  should work, will see if I can reproduce.

Last night I upgraded to 7.0 and since then I started to notice i don't see any info anymore on my dasboard.

Only the following Vendor command returned unparseable data.

 

Results:

 

image.png.df40431743b1fca6d4759c2d3c3303dc.png

 

No input. After:

timeout -k .7 1.3 intel_gpu_top -J -s 250
[

{
        "period": {
                "duration": 282.496879,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 3.539862,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "power": {
                "GPU": 0.000000,
                "Package": 14.114941,
                "unit": "W"
        },
        "engines": {
                "Render/3D": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {

        }

 

Quote

MULTIGPU = "00:02.0"
TEMPFORMAT = "C"
UIREFRESH = 1
UIREFRESHINT = 2000
DISPCLOCKS = 1
DISPPCIUTIL = 1
DISPPWRDRAW = 1
DISPPWRSTATE = 1
DISPMEMUTIL = 1
DISPTEMP = 1
DISPFAN = 1
DISPENCDEC = 1
DISPTHROTTLE = 1
DISPSESSIONS = 1
DISP3DRENDER = 1
DISPBLITTER = 1
DISPVIDEO = 1
DISPVIDENH = 1
DISPINTERRUPT = 1
DISPPWRDRWSEL = "GPU"
IGTTIMER = ".7 1.3"
DISPEVENT = 1
DISPVERTEX = 1
DISPTEXTURE = 1
DISPSHADEREXP = 1
DISPSEQUENCER = 1
DISPSHADERINTER = 1
DISPSCANCON = 1
DISPPRIMASSEM = 1
DISPDEPTHBLK = 1
DISPCOLORBLK = 1
DISPGFXTRANS = 1
MULTIGPUJSON = "%7B%2200%3A02.0%22%3A%7B%22id%22%3A%2200%3A02.0%22%2C%22model%22%3A%22Raptor+Lake-P+%5BIris+Xe+Graphics%5D%22%2C%22vendor%22%3A%2>

 

image.thumb.png.5bd5bbc2dd8f04df5eee2c624ec3179f.png

 

After this I still see the following message on my dashboard.

Vendor command returned unparseable data.

I have a arc a380 in my server and ive been using the different kernel to get it working in unraid, the gpu statistics has always shown "Vendor command returned unparseable data" I just assumed it was because it wasn't fully supported yet, but i upgraded yesterday to 7.0 and its still broken, doing some searching I read about "Intel_top_command_timeout: .7 1.3" so I went to set mine to .7 1.3 get in the settings and its already set like that. NOW I uninstalled intel drivers, and gpu statistics still nothing, Now I ALSO have a 1050ti in my server as well and GPU statistics works for that its only for my intel arc a380. Anyone have any tips and tricks to get it to display properly? I will say that the gpu DOES seem to work in my docker containers so it seems to be just, something with gpu statistics?

Thankyou!

3 hours ago, Paddeh said:

Last night I upgraded to 7.0 and since then I started to notice i don't see any info anymore on my dasboard.

Only the following Vendor command returned unparseable data.

 

Results:

 

image.png.df40431743b1fca6d4759c2d3c3303dc.png

 

No input. After:

timeout -k .7 1.3 intel_gpu_top -J -s 250
[

{
        "period": {
                "duration": 282.496879,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 3.539862,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "power": {
                "GPU": 0.000000,
                "Package": 14.114941,
                "unit": "W"
        },
        "engines": {
                "Render/3D": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {

        }

 

 

image.thumb.png.5bd5bbc2dd8f04df5eee2c624ec3179f.png

 

After this I still see the following message on my dashboard.

Vendor command returned unparseable data.

Try increasing values to .9 1.7

3 hours ago, Paddeh said:

Last night I upgraded to 7.0 and since then I started to notice i don't see any info anymore on my dasboard.

Only the following Vendor command returned unparseable data.

 

Results:

 

image.png.df40431743b1fca6d4759c2d3c3303dc.png

 

No input. After:

timeout -k .7 1.3 intel_gpu_top -J -s 250
[

{
        "period": {
                "duration": 282.496879,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 3.539862,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "power": {
                "GPU": 0.000000,
                "Package": 14.114941,
                "unit": "W"
        },
        "engines": {
                "Render/3D": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {

        }

 

 

image.thumb.png.5bd5bbc2dd8f04df5eee2c624ec3179f.png

 

After this I still see the following message on my dashboard.

Vendor command returned unparseable data.

Do you get a square bracket to start? This is for my A770.

 

timeout -k .7 1.3 intel_gpu_top -J -s 250top -J -s 250
[

{
        "period": {
                "duration": 4.843036,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"

48 minutes ago, dunklesexil said:

I have a arc a380 in my server and ive been using the different kernel to get it working in unraid, the gpu statistics has always shown "Vendor command returned unparseable data" I just assumed it was because it wasn't fully supported yet, but i upgraded yesterday to 7.0 and its still broken, doing some searching I read about "Intel_top_command_timeout: .7 1.3" so I went to set mine to .7 1.3 get in the settings and its already set like that. NOW I uninstalled intel drivers, and gpu statistics still nothing, Now I ALSO have a 1050ti in my server as well and GPU statistics works for that its only for my intel arc a380. Anyone have any tips and tricks to get it to display properly? I will say that the gpu DOES seem to work in my docker containers so it seems to be just, something with gpu statistics?

Thankyou!

I think there is an issue with the output from A380s works fine on my A770 will look to see if I can put a work around in place. Issue it likely to be support from intel_gpu_top as I am dependant on the json output from it.

Yeah im starting to wonder the same thing. I can open terminal and type in intel_gpu_top and I can see the stats of the gpu there

15 hours ago, dunklesexil said:

Yeah im starting to wonder the same thing. I can open terminal and type in intel_gpu_top and I can see the stats of the gpu there

There is a missing } from the output.

 

Make a copy of the existing file.

 

cp /usr/local/emhttp/plugins/gpustat/lib/Intel.php /usr/local/emhttp/plugins/gpustat/lib/Intel.old

 

Then place the one attached into the lib directory.

 

@Itsaulgoodman@GovernorBlaze

 

 

Intel.php

46 minutes ago, SimonF said:

There is a missing } from the output.

 

Make a copy of the existing file.

 

cp /usr/local/emhttp/plugins/gpustat/lib/Intel.php /usr/local/emhttp/plugins/gpustat/lib/Intel.old

 

Then place the one attached into the lib directory.

 

@Itsaulgoodman

 

 

Intel.php 17.84 kB · 1 download

Awesome! Well heres the part where im still a noob at unraid, do I have to do this through terminal? 

6 minutes ago, dunklesexil said:

Awesome! Well heres the part where im still a noob at unraid, do I have to do this through terminal? 

Yes run in terminal.

 

1.  cp /usr/local/emhttp/plugins/gpustat/lib/Intel.php /usr/local/emhttp/plugins/gpustat/lib/Intel.old

2. copy the file attached to a share you have, i have isos shared and use to upload stuff for VMs.

3.  cp /mnt/user/sharename/Intel.php /usr/local/emhttp/plugins/gpustat/lib/Intel.php

        so for isos would be cp /mnt/user/isos/Intel.php /usr/local/emhttp/plugins/gpustat/lib/Intel.php

 

 

 

 

 

4 minutes ago, SimonF said:

Yes run in terminal.

 

1.  cp /usr/local/emhttp/plugins/gpustat/lib/Intel.php /usr/local/emhttp/plugins/gpustat/lib/Intel.old

2. copy the file attached to a share you have, i have isos shared and use to upload stuff for VMs.

3.  cp /mnt/user/sharename/Intel.php /usr/local/emhttp/plugins/gpustat/lib/Intel.php

        so for isos would be cp /mnt/user/isos/Intel.php /usr/local/emhttp/plugins/gpustat/lib/Intel.php

 

 

 

 

 

Thankyou for being so patient with me! Got it copied new one on there looks like permissions are right, still shows no data. Should I restart server?

7 minutes ago, dunklesexil said:

Thankyou for being so patient with me! Got it copied new one on there looks like permissions are right, still shows no data. Should I restart server?

No as the changes will be lost.

1 hour ago, dunklesexil said:

Thankyou for being so patient with me! Got it copied new one on there looks like permissions are right, still shows no data. Should I restart server?

So was the error Vendor command returned no data. or some thing else.

 

Make sure timers in settings are set to 2000 for refresh and .7 1.3 for intel top timers.

 

and output of timeout -k .7 1.3 intel_gpu_top -J -s 250top -J -s 250

 

Run the cmd in terminal and copy paste into forum with <> option above ^

2 hours ago, SimonF said:

So was the error Vendor command returned no data. or some thing else.

 

Make sure timers in settings are set to 2000 for refresh and .7 1.3 for intel top timers.

 

and output of timeout -k .7 1.3 intel_gpu_top -J -s 250top -J -s 250

 

Run the cmd in terminal and copy paste into forum with <> option above ^

{
        "period": {
                "duration": 421.282170,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "engines": {
                "Render/3D": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Compute": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {

        }
this is what the command returned and the error I get now is Vendor data valid, but not enough received.

11 minutes ago, dunklesexil said:

{
        "period": {
                "duration": 421.282170,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "engines": {
                "Render/3D": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Compute": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {

        }
this is what the command returned and the error I get now is Vendor data valid, but not enough received.

Can you try this 

 

timeout -k .7 1.3 intel_gpu_top -J -s 1000

 

What is the value in the GPU stat settings for intel top timers?

4 minutes ago, SimonF said:

Can you try this 

 

timeout -k .7 1.3 intel_gpu_top -J -s 1000

 

What is the value in the GPU stat settings for intel top timers?

{
        "period": {
                "duration": 552.037720,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "engines": {
                "Render/3D": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Compute": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {

        }

 

Runtime

Unit ID for Dashboard(Multiple):

 08:00.0: DG2 [Arc A380] - 0000:08:00.041:00.0: NVIDIA GeForce GTX 1050 Ti - GPU-ea50be2e-f791-78d3-e922-22faed46008d08:00.0: DG2 [Arc A380] - 0000:08:00.0

08:00.0: DG2 [Arc A380] - 0000:08:00.0

41:00.0: NVIDIA GeForce GTX 1050 Ti - GPU-ea50be2e-f791-78d3-e922-22faed46008d

Temperature Format:

 CelsiusFahrenheit

UI Automatic Refresh / Interval (Milliseconds): 2000

 NoYes 

Enabled Pollers

Multiple Vendors

GPU and Memory Clocks (Nvidia/Intel/AMD):

 NoYes

PCI/IMC Utilization (Nvidia/Intel):

 NoYes

Power Draw (Nvidia/Intel/AMD**):

 NoYes

Power State (Nvidia/Intel):

 NoYes

Memory Utilization (Nvidia/AMD):

 NoYes

Temperature (Nvidia/AMD):

 NoYes

Fan Usage (Nvidia/AMD**):

 NoYes

Nvidia Specific

Encoder / Decoder Utilization:

 NoYes

Throttle Status:

 NoYes

Active Sessions:

 NoYes

Intel Specific

3D Render Load:

 NoYes

Blitter Load:

 NoYes

Video Load:

 NoYes

Video Enhance Load:

 NoYes

Interrupts Per Second:

 NoYes

Power Draw Selection:

 GPUPackageMax of GPU or Package

Intel_top_command_timeout: .7 1.3

AMD Specific

Event Engine Usage:

 NoYes

Vertex Tesselator Usage:

 NoYes

Texture Addresser Usage:

 NoYes

Shader Export Usage:

 NoYes

Sequencer Cache Usage:

 NoYes

Shader Interpolator Usage:

 NoYes

Scan Converter Usage:

 NoYes

Primitive Assembly Usage:

 NoYes

Depth Block Usage:

 NoYes

Color Block Usage:

 NoYes

Graphics Translation Usage:

 NoYes



 

1 minute ago, dunklesexil said:

{
        "period": {
                "duration": 552.037720,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "engines": {
                "Render/3D": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Compute": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {

        }

 

Runtime

Unit ID for Dashboard(Multiple):

 08:00.0: DG2 [Arc A380] - 0000:08:00.041:00.0: NVIDIA GeForce GTX 1050 Ti - GPU-ea50be2e-f791-78d3-e922-22faed46008d08:00.0: DG2 [Arc A380] - 0000:08:00.0

08:00.0: DG2 [Arc A380] - 0000:08:00.0

41:00.0: NVIDIA GeForce GTX 1050 Ti - GPU-ea50be2e-f791-78d3-e922-22faed46008d

Temperature Format:

 CelsiusFahrenheit

UI Automatic Refresh / Interval (Milliseconds): 2000

 NoYes 

Enabled Pollers

Multiple Vendors

GPU and Memory Clocks (Nvidia/Intel/AMD):

 NoYes

PCI/IMC Utilization (Nvidia/Intel):

 NoYes

Power Draw (Nvidia/Intel/AMD**):

 NoYes

Power State (Nvidia/Intel):

 NoYes

Memory Utilization (Nvidia/AMD):

 NoYes

Temperature (Nvidia/AMD):

 NoYes

Fan Usage (Nvidia/AMD**):

 NoYes

Nvidia Specific

Encoder / Decoder Utilization:

 NoYes

Throttle Status:

 NoYes

Active Sessions:

 NoYes

Intel Specific

3D Render Load:

 NoYes

Blitter Load:

 NoYes

Video Load:

 NoYes

Video Enhance Load:

 NoYes

Interrupts Per Second:

 NoYes

Power Draw Selection:

 GPUPackageMax of GPU or Package

Intel_top_command_timeout: .7 1.3

AMD Specific

Event Engine Usage:

 NoYes

Vertex Tesselator Usage:

 NoYes

Texture Addresser Usage:

 NoYes

Shader Export Usage:

 NoYes

Sequencer Cache Usage:

 NoYes

Shader Interpolator Usage:

 NoYes

Scan Converter Usage:

 NoYes

Primitive Assembly Usage:

 NoYes

Depth Block Usage:

 NoYes

Color Block Usage:

 NoYes

Graphics Translation Usage:

 NoYes



 

Strange but thanks I would expect more JSON to be created as it should repeat like the other person with a A380

On 1/9/2025 at 4:29 PM, SimonF said:

Can you do the following

 

nano /tmp/gpuapp

 

copy this into the editor.

 

#!/usr/bin/php
<?php

$pid = $argv[1];


$file = sprintf('/proc/%0d/cmdline', $pid);

if (file_exists($file)) {
    $pidcommand = trim(@file_get_contents($file), "\0");
}

$command = '';
$pid_command = 'ps -o ppid= '.$pid;

$ppid = (int)trim(shell_exec($pid_command));
if ($ppid > 0) {
    $file = sprintf('/proc/%0d/cmdline', $ppid);

    if (file_exists($file)) {
        $ppidcommand = trim(@file_get_contents($file), "\0");
    }
}

echo "PID: $pidcommand \nPPID: $ppidcommand";

?>

Save and then chmod +x /tmp/gpuapp

 

then run /tmp/gpuapp PID 

 

PID would be 15702 from the example above from nvidia-smi

 

Then provide the output.

 

root@computenode:~# /tmp/gpuapp 15858
PID: /usr/libexec/Xorg-novtswitch-allowMouseOpenFail-quiet-xinerama-v-s0-dpms-fp/usr/share/fonts/TTFvt07-auth/var/run/slim.auth 
PPID: /usr/bin/slimroot@computenode:~# 

 

Here you go, hopefully this is what you were looking for. image.thumb.png.cd1ce13c36a5764b1dfb9ec90e0e2a52.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.