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

Raspberry Pi GPU (Broadcom VideoCore) support is missing, but data is available #408

Open
1 task done
bp0 opened this issue Nov 30, 2024 · 1 comment
Open
1 task done
Labels
enhancement New feature or request

Comments

@bp0
Copy link

bp0 commented Nov 30, 2024

Is there an existing issue for this?

  • I have searched the existing issues

There are stats for the Raspberry Pi GPU in /sys/kernel/debug/dri/<n>/gpu_usage, and per-process stats in /sys/kernel/debug/dri/<n>/gpu_pid_usage. It seems like it might be easy to use these as a source for resources. The Raspberry Pi OS version of lxtask uses them, you can examine that code here: https://github.com/raspberrypi-ui/lxtask/blob/40efd5505e20cf48813baa9137c49c6b61e36fd6/src/functions.c#L159

I made this same comment at nvtop: Syllo/nvtop#306

@bp0 bp0 added the enhancement New feature or request label Nov 30, 2024
@nokyan
Copy link
Owner

nokyan commented Nov 30, 2024

Hi, thanks for the issue.
This sounds like a good feature for Resources 1.8 (or 1.7.1, which ever comes first), I'll look into it. :)

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

No branches or pull requests

2 participants