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 CM4 High CPU usage #19042

Open
jeromelaban opened this issue Dec 9, 2024 · 2 comments · May be fixed by #19054
Open

Raspberry Pi CM4 High CPU usage #19042

jeromelaban opened this issue Dec 9, 2024 · 2 comments · May be fixed by #19054
Labels
area/performance 📈 Categorizes an issue or PR as relevant to performance area/skia ✏️ Categorizes an issue or PR as relevant to Skia kind/bug Something isn't working platform/x11 🐧 Categorizes an issue or PR as relevant to X11

Comments

@jeromelaban
Copy link
Member

In my app that runs on Raspberry Pi CM4 on a 800x480 touchscreen my application is typically using around 40% CPU time when idle.

There's really no processing done (listening on some sockets, etc), so without much investigation I think it's the Skia rendering that is using most of the CPU time. On Windows I don't see this (but my Windows PC is quite high performance). I'm using X11 and to my knowledge it's using the acceleration. The only thing that happens on the screen is a clock that updates (via binding) once per second.
My question is if this is normal or if something is wrong? Sometimes I need to do some low-latency processing (recording a network stream) where timing is critical, is it possible to slow down the Skia screen updates (if that's what's consuming the CPU time)? When recording I only updated a duration label every 500ms with an option to Abort/Save (buttons).

Originally posted by @HakanL in #19038

@jeromelaban
Copy link
Member Author

Thanks @HakanL.

Can you specify which version of Uno you're using? and does it happen also using 5.6-dev builds?

@jeromelaban jeromelaban added kind/bug Something isn't working area/skia ✏️ Categorizes an issue or PR as relevant to Skia area/performance 📈 Categorizes an issue or PR as relevant to performance platform/x11 🐧 Categorizes an issue or PR as relevant to X11 labels Dec 9, 2024
@HakanL
Copy link

HakanL commented Dec 9, 2024

@jeromelaban I'm using 5.6.0-dev.264 of the Uno.Sdk with single project and Desktop. But I feel this has been going on for a while, I'm more trying to understand how the rendering works and if I've done something wrong in how I'm using it or what to expect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/performance 📈 Categorizes an issue or PR as relevant to performance area/skia ✏️ Categorizes an issue or PR as relevant to Skia kind/bug Something isn't working platform/x11 🐧 Categorizes an issue or PR as relevant to X11
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants