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

CPU usage too high, especially on old hardware #8

Open
bradfitz opened this issue Apr 5, 2023 · 1 comment
Open

CPU usage too high, especially on old hardware #8

bradfitz opened this issue Apr 5, 2023 · 1 comment

Comments

@bradfitz
Copy link
Contributor

bradfitz commented Apr 5, 2023

Now that #6 is fixed, I reached into the depths of my bins of Raspberry Pis and found the oldest one I had, a Model B Plus Rev 1.2.

Good news: it works!

Bad news: it uses 100% CPU in fbstatus... (draw: 1.491s, cp 111ms)

pib

But looks like some of the text drawing can be optimized, keeping around the previous frame and shifting some lines up, and caching some pre-rendered glyphs (they're fixed-width w/o ligatures, constant background, etc).

@stapelberg
Copy link
Contributor

Oops! Yeah, reducing CPU usage would be great. Improvements welcome :)

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

2 participants