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

33 minutes ago, ich777 said:

Please post your Diagnostics.

Hi @ich777

 

intel_gpu_top shows igpu interactively but doesn't see to create json. This was from one of the 13xxx machines.

 

image.png

 

 

 

 

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

8 minutes ago, SimonF said:

intel_gpu_top shows igpu interactively but doesn't see to create json. This was from one of the 13xxx machines.

I really can't tell what's wrong there because the last update was about a month ago and I know two people with a 13700k and a 13900k where it is working correctly.

This is a really strange behaviour...
Is it possible that something is wrong because the render device is like in your screenshot /dev/dri/renderD129 (/dev/dri/card1) instead of /dev/dri/renderD128 (/dev/dri/card0)?

14 hours ago, CrazyBoyS said:

Sounds good. Keep up the good work.

can you provide intel_gpu_top -L and which cpu do you have?

 

does intel_gpu_top -Jo - -d pci:slot=0000:00:02.0 produce any output

Edited by SimonF

8 hours ago, Juani said:

Hi,

Same here. With one Core i5 13500. Not info displayed too.

We hope the developer will update the plugin.

Are you running 6.11.5 also? it may be that a newer kernel may be required.

5 hours ago, SimonF said:

can you provide intel_gpu_top -L and which cpu do you have?

root@KiNG-KOOPA:/tmp# intel_gpu_top -L
card0                    1002:67df                         pci:vendor=1002,device=67DF,card=0
└─renderD128            
card1                    Intel Alderlake_s (Gen12)         pci:vendor=8086,device=4680,card=0
└─renderD129            

Also Running 13500 CPU and X790 Chipset Motherboard.

 

Also attached Diagnostic for Ich777

king-koopa-diagnostics-20230319-0906.zip

1 minute ago, CrazyBoyS said:

root@KiNG-KOOPA:/tmp# intel_gpu_top -L
card0                    1002:67df                         pci:vendor=1002,device=67DF,card=0
└─renderD128            
card1                    Intel Alderlake_s (Gen12)         pci:vendor=8086,device=4680,card=0
└─renderD129            

Also Running 13500 CPU and X790 Chipset Motherboard.

 

Also attached Diagnostic for Ich777

king-koopa-diagnostics-20230319-0906.zip 201.55 kB · 0 downloads

just added this to my post

 

does intel_gpu_top -Jo - -d pci:slot=0000:00:02.0 produce any output

Also you have GVT-g installed that is not compatible to 13th Gen you should remove that.

22 minutes ago, SimonF said:

just added this to my post

 

does intel_gpu_top -Jo - -d pci:slot=0000:00:02.0 produce any output

GVT-g was installed so removed it.

 

}^Croot@KiNG-KOOPA:~# intel_gpu_top -Jo - -d pci:slot=0000:00:02.0

{
        "period": {
                "duration": 14.966672,
                "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/0": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter/0": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video/0": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video/1": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance/0": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {

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

        }
}^Croot@KiNG-KOOPA:~#

2 minutes ago, CrazyBoyS said:

GVT-g was installed so removed it.

 

}^Croot@KiNG-KOOPA:~# intel_gpu_top -Jo - -d pci:slot=0000:00:02.0

{
        "period": {
                "duration": 14.966672,
                "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/0": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Blitter/0": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video/0": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "Video/1": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                },
                "VideoEnhance/0": {
                        "busy": 0.000000,
                        "sema": 0.000000,
                        "wait": 0.000000,
                        "unit": "%"
                }
        },
        "clients": {

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

        }
}^Croot@KiNG-KOOPA:~#

Ok, at least there is output now, Does intel_gpu_top -J -s 250  -d pci:slot=0000:00:02.0 produce out now you have removed gvt-g

 

 

2 minutes ago, SimonF said:

Ok, at least there is output now, Does intel_gpu_top -J -s 250  -d pci:slot=0000:00:02.0 produce out now you have removed gvt-g

 

 

I removed GPT-g first then ran the command and got that output.

 

Here is a new run.

 

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

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

        }

3 minutes ago, CrazyBoyS said:

I removed GPT-g first then ran the command and got that output.

 

Here is a new run.

 

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

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

        }

Does that planel work now in dashboard? can you provide cat /tmp/gpujson2 as that looks ok

2 minutes ago, SimonF said:

Does that planel work now in dashboard? can you provide cat /tmp/gpujson2 as that looks ok

No still N/A

 

root@KiNG-KOOPA:~# cat /tmp/gpujson2
Time = Sun, 19 Mar 2023 09:46:55 -0400
{"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":""}]}

5 minutes ago, CrazyBoyS said:

No still N/A

 

root@KiNG-KOOPA:~# cat /tmp/gpujson2
Time = Sun, 19 Mar 2023 09:46:55 -0400
{"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":""}]}

Ok just worked out what the problem is the AMD gpu is being picked up by the intel_gpu_top command hence no data, pre 6.12 it does not specify a card. Are you using the AMD for transcode, if not if you bind to vfio the command wont see it and it should show the iGPU in the dashboard.

Edited by SimonF

3 minutes ago, SimonF said:

Ok just worked out what the problem is the AMD gpu is being picked up by the intel_gpu_top command hence no data, pre 6.12 it does not specify a card. Are you using the AMD for transcode, if not if you bind to vfio the command wont see it and it should show the iGPU in the dashboard.

Added it for VM testing etc not for transcoding as I had a P400 for that which i removed.

 

How can i bind the Intel?

14 minutes ago, CrazyBoyS said:

Added it for VM testing etc not for transcoding as I had a P400 for that which i removed.

 

How can i bind the Intel?

Goto tools=>system and tick the box next to the AMD cards to bind them to vfio. Was double checking your config, looks like there may be a bug writing the GPUID in the config file.

 

VENDOR="intel"
GPUID="0000-00-000-000000"

 

do nano /boot/config/pluging/gpustat/gpustat.cfg

 

change GPUID to be ="0000:00:02.0"

 

Dont bind intel to VFIO as the system will not see. But dont thing you need to do that now.

 

image.thumb.png.d7471386c327426ce84b55c073be3aa5.png

Edited by SimonF

12 minutes ago, SimonF said:

Goto tools=>system and tick the box next to the AMD cards to bind them to vfio. Was double checking your config, looks like there may be a bug writing the GUID in the config file.

 

VENDOR="intel"
GPUID="0000-00-000-000000"

 

do nano /boot/config/pluging/gpustat/gpustat.cfg

 

change GPUID to be ="0000:00:02.0"

 

Dont bind intel to VFIO as the system will not see. But dont thing you need to do that now.

 

image.thumb.png.d7471386c327426ce84b55c073be3aa5.png

So  my system does not have check box options ( used to in older versions on unraid ) 

 

image.thumb.png.eb72f962de68c30bdc39400a3af45755.png

 

I modified the Config file ( FYI path is wrong you gave me, you ment plugins/ ) and added the 0000:00:02.0

 

Edited by CrazyBoyS

2 minutes ago, CrazyBoyS said:

So  my system does not have check box options ( used to in older versions on unraid ) 

 

image.thumb.png.eb72f962de68c30bdc39400a3af45755.png

 

I modified the Config file ( FYI path is wrong you gave me, you ment plugins/ ) and added the 0000:00:02.0

 

sorry about the path is it working now?

 

It will be because you have not enabled IOMMU function in BIOS which will be needed for passthru.

 

image.png.d6ea2d2c912a3761212897338ae67a04.png

1 minute ago, SimonF said:

sorry about the path is it working now?

 

It will be because you have not enabled IOMMU function in BIOS which will be needed for passthru.

 

image.png.d6ea2d2c912a3761212897338ae67a04.png

Yup realized that when I was writing the last comment. 😅 

 

Forgot to enable VT ugh. Can't reboot atm wife on plex. I'll post as soon as I make the change.

20 minutes ago, CrazyBoyS said:

Yup realized that when I was writing the last comment. 😅 

 

Forgot to enable VT ugh. Can't reboot atm wife on plex. I'll post as soon as I make the change.

 

And there we go its working.

 

image.png.832df0324e4138ff1884f8ca80181397.png

14 minutes ago, CrazyBoyS said:

 

And there we go its working.

 

image.png.832df0324e4138ff1884f8ca80181397.png

Glad to hear, not sure why it was not working on the original plugin. I suspect was picking up the AMD. Will look into the issue with updating GPUID.

14 hours ago, Juani said:

Hi,

Same here. With one Core i5 13500. Not info displayed too.

We hope the developer will update the plugin.

check the GPUID in the config file should be the PCI ID, normally 0000:00:02.0 for Intel igpu and needs to have the full one including 0000 domain ID.

10 minutes ago, SimonF said:

Glad to hear, not sure why it was not working on the original plugin. I suspect was picking up the AMD. Will look into the issue with updating GPUID.

Appreciate the work.

Waiting to see how the multi gpu one works.

 

Also plex now shows (HD) when transcoding perfect.

 

 

Screenshot_20230319_111053.jpg

Edited by CrazyBoyS

9 hours ago, SimonF said:

Are you running 6.11.5 also? it may be that a newer kernel may be required.

Hi!

My diagnostics:

Following your last indications... it doesn't work either.

 

I changed to 0000:00:02.0 in gpustat.cfg

(GPUID="0000:00:02.0")

 

cat /tmp/gpujson2

cat: /tmp/gpujson2: No such file or directory

 

Launching intel_gpu_top -Jo - -d pci:slot=0000:00:02.0:

 

"period": {
		"duration": 19.598284,
		"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/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Blitter/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Video/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Video/1": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"VideoEnhance/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		}
	},
	"clients": {

	}
}
{
	"period": {
		"duration": 268.956403,
		"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/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Blitter/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Video/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Video/1": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"VideoEnhance/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		}
	},

 

448419775_Capturadepantalla2023-03-19alas19_08_53.thumb.png.61e09cd4d314ae964a407c0e74cfaefd.png

juani-diagnostics-20230319-1910.zip

Edited by Juani

17 minutes ago, Juani said:

Hi!

My diagnostics:

Following your last indications... it doesn't work either.

 

I changed to 0000:00:02.0 in gpustat.cfg

(GPUID="0000:00:02.0")

 

cat /tmp/gpujson2

cat: /tmp/gpujson2: No such file or directory

 

Launching intel_gpu_top -Jo - -d pci:slot=0000:00:02.0:

 

"period": {
		"duration": 19.598284,
		"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/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Blitter/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Video/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Video/1": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"VideoEnhance/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		}
	},
	"clients": {

	}
}
{
	"period": {
		"duration": 268.956403,
		"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/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Blitter/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Video/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Video/1": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"VideoEnhance/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		}
	},

 

448419775_Capturadepantalla2023-03-19alas19_08_53.thumb.png.61e09cd4d314ae964a407c0e74cfaefd.png

juani-diagnostics-20230319-1910.zip 194.26 kB · 1 download

You need to follow this step and install my version of the plugin.

https://forums.unraid.net/topic/89453-plugin-gpu-statistics/?do=findComment&comment=1241444

 

24 minutes ago, SimonF said:

You need to follow this step and install my version of the plugin.

https://forums.unraid.net/topic/89453-plugin-gpu-statistics/?do=findComment&comment=1241444

 

Thanks SimonF for your quickly response.

 

Something very strange is happening. In your plugin, when I change "Change me" to "Intel" and click on "Apply", it does not save the changes.
I have tried several browsers, and nothing.
To make sure, I have reinstalled the ""official"" Plugin and it does let me save the changes.

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.