Jump to content

[PLUGIN] GPU Statistics


Recommended Posts

12 minutes ago, mikeyosm said:

Sure - 

 

cat /tmp/gpujson
Time = Wed, 06 Dec 2023 19:16:50 +0000
{"00:02.0":{"clock":"N\/A","fan":"N\/A","memclock":"N\/A","memutil":"N\/A","memused":"N\/A","power":"N\/A","powermax":"N\/A","rxutil":"N\/A","txutil":"N\/A","temp":"N\/A","tempmax":"N\/A","util":"N\/A","error":[{"code":301,"message":"Vendor command returned no data.","extra":""}],"vfio":false,"vfiochk":false,"vfiochkid":"0000:00:02.0","panel":1},"02:00.0":{"clock":0.21,"fan":"N\/A","memclock":0.3,"memutil":"0.1%","memused":5.69,"power":"N\/A","powermax":"N\/A","rxutil":"N\/A","txutil":"N\/A","temp":"32 \u00b0C","tempmax":99,"util":"0%","vendor":"AMD","name":"Radeon Pro WX 4100","event":"0%","vertex":"0%","texture":"0%","shaderexp":"0%","sequencer":"0%","shaderinter":"0%","scancon":"0%","primassem":"0%","depthblk":"0%","colorblk":"0%","gfxtrans":"0%","transused":6.39,"memclockutil":"20%","clockutil":"17.8%","tempunit":"C","voltage":0.72,"voltageunit":"V","vfio":false,"vfiochk":false,"vfiochkid":"0000:02:00.0","panel":2}}

 

image.png.10dc39a4d668386cb067cd80ea43fd56.pngimage.thumb.png.0e47de20b368876297af52a4990dbc96.png

diagnostics-20231206-1917.zip 91.76 kB · 0 downloads

Does this provide output?

 

timeout -k .500 .600 intel_gpu_top -J -s 250 -d pci:slot=0000:00:02.0

 

Also do you have a screen or dummy plug connected to iGPU?

Link to comment
12 hours ago, ich777 said:

Please try to disable you onboard GPU (Aspeed) and see if you get a output.

 

Usually you have to Shutdown the server and set a physical jumper on the motherboard to disable it.

Disabling the IPMI VGA is not an option for me but I guess you might be on the right track here. ASPEED, Intel iGPU and dGPU all enabled must be causing some issue here.

Link to comment
18 minutes ago, mikeyosm said:

Disabling the IPMI VGA is not an option for me but I guess you might be on the right track here. ASPEED, Intel iGPU and dGPU all enabled must be causing some issue here.

Is it possible for you to try and disable your onboard graphics for testing purposes? I'm really interested if that fixes the issue.

 

What is the output from:

intel_gpu_top

when the onboard graphics is enabled?

Link to comment
2 hours ago, ich777 said:

Is it possible for you to try and disable your onboard graphics for testing purposes? I'm really interested if that fixes the issue.

 

What is the output from:

intel_gpu_top

when the onboard graphics is enabled?

 

Here you go. This ASPEED, iGPU and dGPU enabled. I will try ASPEED disabled in a bit.

 

image.thumb.png.ac98d377cd7275f5ee3476f0a02d9f9d.png

Link to comment
46 minutes ago, ich777 said:

If intel_gpu_top lists the values properly then I'm assuming it's not different with the onboard GPU disabled.

OK, so do you think this is a plugin issue and do you need anything else from, logs etc? 

 

Also, FWIF, plex transcoding still works so no issue with the igpu and aspeed, dgpu all running together...

image.png.38f21839dcda1fd80ed666c05297819b.png

Edited by mikeyosm
Link to comment
24 minutes ago, mikeyosm said:

OK, so do you think this is a plugin issue and do you need anything else from, logs etc? 

It would be super helpful if you can test with the onboard GPU disabled if that changes anything.

AFAIK GPU Statistics it should work fine with the onboard GPU enabled.

 

If you issue this command from the terminal you get no output correct:

intel_gpu_top -J -d pci:slot=0000:00:02.0

 

If you get no output from the command from above, what happens when you issue that command:

intel_gpu_top -J

 

What about that command:

intel_gpu_top -J -d drm:/dev/dri/card1

 

Link to comment
9 minutes ago, ich777 said:

It would be super helpful if you can test with the onboard GPU disabled if that changes anything.

AFAIK GPU Statistics it should work fine with the onboard GPU enabled.

 

If you issue this command from the terminal you get no output correct:

intel_gpu_top -J -d pci:slot=0000:00:02.0

 

If you get no output from the command from above, what happens when you issue that command:

intel_gpu_top -J

 

What about that command:

intel_gpu_top -J -d drm:/dev/dri/card1

 

 

I do get an output - 

 

intel_gpu_top -J -d pci:slot=0000:00:02.0 

------------------------------------------------------------------------

intel_gpu_top -J -d pci:slot=0000:00:02.0
[

{
        "period": {
                "duration": 3.639946,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 2306.961916,
                "writes": 501.233505,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1003.168491,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 29.497723,
                "writes": 8.517324,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1008.166540,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 99.999978,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 68.689714,
                "writes": 37.401953,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1008.071789,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 99.999983,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 83.367965,
                "writes": 25.758816,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1014.561755,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 38.500642,
                "writes": 10.935787,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1014.818142,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 29.870004,
                "writes": 7.557627,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1014.599652,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 203.035749,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 99.999768,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 41.674345,
                "writes": 14.012765,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1004.554945,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 113.483091,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 35.241333,
                "writes": 12.719711,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1007.577359,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 99.999731,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 63.254160,
                "writes": 15.997434,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1003.349107,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 46.965754,
                "writes": 13.309490,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1007.667228,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 99.999984,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 30.378531,
                "writes": 8.538416,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1007.809198,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 28.474839,
                "writes": 7.123994,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1015.070029,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 47.433972,
                "writes": 16.001652,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1014.853005,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 99.999953,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 36.504731,
                "writes": 10.683241,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1015.438518,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 60.308850,
                "writes": 11.866963,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 1007.742907,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 88.157311,
                "writes": 38.984826,
                "unit": "MiB/s"
        },
        "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": {

        }
}^C]

Link to comment
2 minutes ago, ich777 said:

Thanks, does GPU Statistsc show the Intel card correctly with it's values?

 

What is the output from:

radeontop

 

image.png.dea8fa1d2d66d7fa4c717b3ca899c7df.png

 

GPU stats does not show the Intel correcty

 

BTW this and the previous output from intel_gpu_top -J -d drm:/dev/dri/card1  is with the ASPEED enabled.

  • Thanks 1
Link to comment
20 minutes ago, SimonF said:

Can you provide cat /boot/config/plugins/gpustat/gpustat.cfg 

Sure -

 

 

~# cat /boot/config/plugins/gpustat/gpustat.cfg
MULTIGPU = "00:02.0,02:00.0"
TEMPFORMAT = "C"
UIREFRESH = 1
UIREFRESHINT = 1000
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"
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%22RocketLake-S+GT1+%5BUHD+Graphics+750%5D%22%2C%22vendor%22%3A%22intel%22%2C%22guid%22%3A%220000%3A00%3A02.0%22%7D%2C%2202%3A00.0%22%3A%7B%22id%22%3A%2202%3A00.0%22%2C%22model%22%3A%22Baffin+%5BRadeon+Pro+WX+4100%5D%22%2C%22vendor%22%3A%22amd%22%2C%22guid%22%3A%2202%22%7D%7D"

Link to comment
24 minutes ago, mikeyosm said:

Sure -

 

 

~# cat /boot/config/plugins/gpustat/gpustat.cfg
MULTIGPU = "00:02.0,02:00.0"
TEMPFORMAT = "C"
UIREFRESH = 1
UIREFRESHINT = 1000
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"
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%22RocketLake-S+GT1+%5BUHD+Graphics+750%5D%22%2C%22vendor%22%3A%22intel%22%2C%22guid%22%3A%220000%3A00%3A02.0%22%7D%2C%2202%3A00.0%22%3A%7B%22id%22%3A%2202%3A00.0%22%2C%22model%22%3A%22Baffin+%5BRadeon+Pro+WX+4100%5D%22%2C%22vendor%22%3A%22amd%22%2C%22guid%22%3A%2202%22%7D%7D"

so intel_gpu_top -J -s 250 -d pci:slot=0000:00:02.0 produces output, but timeout -k .500 .600  intel_gpu_top -J -s 250 -d pci:slot=0000:00:02.0 does not?

Link to comment
6 minutes ago, SimonF said:

so intel_gpu_top -J -s 250 -d pci:slot=0000:00:02.0 produces output, but timeout -k .500 .600  intel_gpu_top -J -s 250 -d pci:slot=0000:00:02.0 does not?

Correct

 

~# timeout -k .500 .600  intel_gpu_top -J -s 250 -d pci:slot=0000:00:02.0
~# intel_gpu_top -J -s 250 -d pci:slot=0000:00:02.0
[

{
        "period": {
                "duration": 3.895288,
                "unit": "ms"

Link to comment
15 minutes ago, mikeyosm said:

Correct

 

~# timeout -k .500 .600  intel_gpu_top -J -s 250 -d pci:slot=0000:00:02.0
~# intel_gpu_top -J -s 250 -d pci:slot=0000:00:02.0
[

{
        "period": {
                "duration": 3.895288,
                "unit": "ms"

Can you try a longer values in timeout and run a different command?

 

like timeout -k 2 2  watch cat /tmp/gpujson

Link to comment
5 minutes ago, SimonF said:

Can you try a longer values in timeout and run a different command?

 

like timeout -k 2 2  watch cat /tmp/gpujson

I ran that command, the terminal window showed information as per the screenshot but then clears itself.

 

Also00 running timout tihe longer values produces output.....

 

~# timeout -k 2 2  intel_gpu_top -J -s 250 -d pci:slot=0000:00:02.0
[

{
        "period": {
                "duration": 3.415733,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 99.783736,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 2223.097022,
                "writes": 428.065719,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 253.163464,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 22.638583,
                "writes": 4.282721,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 263.521650,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 126.327066,
                "writes": 41.667721,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 257.942399,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 99.999289,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 169.002916,
                "writes": 34.752376,
                "unit": "MiB/s"
        },
        "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.7deb7729730a36d2ae60e54b5d5feb04.png

Edited by mikeyosm
Link to comment
39 minutes ago, mikeyosm said:

I ran that command, the terminal window showed information as per the screenshot but then clears itself.

 

Also00 running timout tihe longer values produces output.....

 

~# timeout -k 2 2  intel_gpu_top -J -s 250 -d pci:slot=0000:00:02.0
[

{
        "period": {
                "duration": 3.415733,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 99.783736,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 2223.097022,
                "writes": 428.065719,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 253.163464,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 22.638583,
                "writes": 4.282721,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 263.521650,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 100.000000,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 126.327066,
                "writes": 41.667721,
                "unit": "MiB/s"
        },
        "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": {

        }
}
{
        "period": {
                "duration": 257.942399,
                "unit": "ms"
        },
        "frequency": {
                "requested": 0.000000,
                "actual": 0.000000,
                "unit": "MHz"
        },
        "interrupts": {
                "count": 0.000000,
                "unit": "irq/s"
        },
        "rc6": {
                "value": 99.999289,
                "unit": "%"
        },
        "imc-bandwidth": {
                "reads": 169.002916,
                "writes": 34.752376,
                "unit": "MiB/s"
        },
        "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.7deb7729730a36d2ae60e54b5d5feb04.png

Can you maybe try to see what the lowest value works for timeout and then change the value in the file and let me know what works.

 

nano /usr/local/emhttp/plugins/gpustat/lib/Intel.php 

 

image.png

Link to comment
On 12/7/2023 at 9:06 PM, SimonF said:

Added option to override defaults for timers

 

image.png

This partially solves my problem described above. If I change the settings from .500 .600 to 2 2, the information starts to be displayed. It appears and then disappears. If I change the settings to 6 6, it no longer disappears. But the load on the processor increases from 50-60% to 70-100%.

Edited by sersh
Link to comment
5 minutes ago, sersh said:

This partially solves my problem described above. If I change the settings from .500 .600 to 2 2, the information starts to be displayed. It appears and then disappears. If I change the settings to 6 6, it no longer disappears. But the load on the processor increases from 50-60% to 70-100%.

What do you have the main refresh timer set to? 1 second = 1000 I use 10, but try setting to higher i.e. 30000

 

image.png

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.

×
×
  • Create New...