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

Feature Request: support for Intel Arc GPUs #33

Closed
Lukas-Heiligenbrunner opened this issue Oct 15, 2023 · 11 comments
Closed

Feature Request: support for Intel Arc GPUs #33

Lukas-Heiligenbrunner opened this issue Oct 15, 2023 · 11 comments

Comments

@Lukas-Heiligenbrunner
Copy link
Contributor

Lukas-Heiligenbrunner commented Oct 15, 2023

It would be great if Resources supports Intel Arc GPUs.

My research showed that the gpu utilization seems not to get exposed in the Linux /sys/.../gpu1 structure.
One might have a look how intel_gpu_top works and gets the gpu load and rebuild something similar in Rust or use this as a ffi lib?
https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/blob/master/tools/intel_gpu_top.c?ref_type=heads

Thanks for your great work!

Edit:
Resources that might help:
https://github.com/Syllo/nvtop/tree/master#intel

@nokyan
Copy link
Owner

nokyan commented Oct 16, 2023

Hi, thank you. :)
Intel unfortunately doesn't use GPU stats the same way AMD does using hwmon, they've reportedly started working on this, but so far it doesn't seem to be there and intel_gpu_top unfortunately requires root access, but I'll see what I can do.

@LinuxSBC
Copy link

A similar system monitor, Mission Center, added support for Intel GPUs in this commit. Does that help, or are the two projects too different?

@nokyan
Copy link
Owner

nokyan commented Dec 12, 2023

Resources should be able to get more stats from Intel GPUs with version 1.3. I'm not sure when it will be released — I'd love to get memory usage under control before — but you can try it out right now if you want to build Resources yourself.

@houssemko
Copy link

I think mission center uses nvtop as a backend to check intel gpu usage , decode and encode.
is there a way to implement the same utility in resources ?

@nokyan
Copy link
Owner

nokyan commented Dec 24, 2023

I think mission center uses nvtop as a backend to check intel gpu usage , decode and encode. is there a way to implement the same utility in resources ?

Resources will be able to get more stats from Intel GPUs with version 1.3. I hope I can release it to Flathub today. Please tell me right away if something is missing when 1.3 lands as I don't have an Intel GPU to test with.

@houssemko
Copy link

okay i will .

@houssemko
Copy link

-video memory usage
-power usage
-temperature
-current power cap
-max power cap
all those metrics are missing , using an integrated intel gpu 8th gen : broadwell

@nokyan
Copy link
Owner

nokyan commented Dec 25, 2023

-video memory usage -power usage -temperature -current power cap -max power cap all those metrics are missing , using an integrated intel gpu 8th gen : broadwell

Do you mind installing nvtop and send a screenshot of it running?

@houssemko
Copy link

image

@nokyan
Copy link
Owner

nokyan commented Dec 25, 2023

It seems to be a limitation of the Intel driver then, sorry about that. :/

@houssemko
Copy link

Yeah , fantastic app though . i wish it had a round app icon similar to the icon theme i have

@nokyan nokyan closed this as completed Jan 5, 2024
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

4 participants