Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel GPU Stats from intel_gpu_top #123

Open
silentsudin opened this issue May 2, 2024 · 5 comments
Open

Intel GPU Stats from intel_gpu_top #123

silentsudin opened this issue May 2, 2024 · 5 comments

Comments

@silentsudin
Copy link

It would be great is Astra Monitor could show Intel Arc GPU stats from intel_gpu_top

@ljuzig
Copy link
Collaborator

ljuzig commented May 3, 2024

Adding intel_gpu_top was on the roadmap, but the problem is that I can't get my hands on compatible hardware and I don't know how to test the feature as I implement it. If you're willing to help, you could assist me with some tests to see if it's feasible.

I took a look at the source and you should try running this command in the terminal (for now, I would ignore the -p and -m options):

intel_gpu_top -J -o -

It should print out messages every second. After 2 or 3 iterations, you can stop the command with ctrl+c and paste the output here, preferably in a file if you can. To send the output directly to a file, you can do the following:

intel_gpu_top -J -o - > output.txt

and you should have the output in the output.txt file inside your user folder.

Thanks!

@silentsudin
Copy link
Author

Sure no problem, here you go
intel_gpu_top.txt

@ljuzig
Copy link
Collaborator

ljuzig commented May 3, 2024

Okay, the dataset seems to be very limited, but I think we can do some basic initial support. I will try to sketch out Intel GPU Top Support over the course of May. If you stick around, when I can I will upload here a test build to install and check that everything is working properly.

@w8jcik
Copy link

w8jcik commented Nov 4, 2024

I believe that there is also a different way to get GPU load and memory usage.

Another monitoring tool called Resources is using it, I think here https://github.com/nokyan/resources/blob/main/src/utils/gpu/mod.rs. Maybe it is hwmon.

Resources successfully gets GPU usage for my Intel Skylake GPU without root permissions.

@ljuzig
Copy link
Collaborator

ljuzig commented Dec 13, 2024

We already support hwmon on the sensors section, but it is very limited compared to dedicated tools like intel_gpu_top. I haven't managed to put my hands on a device with an intel gpu yet to develop and test this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants