[BUG] Screen Refresh Optimizations May not Work as Intended #25
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
zadammac/PETI#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
During a livestream on patcharcana on April 5, 2023 it was noticed that the menu bars top and bottom of the screen are being redrawn on every frame.
This is considerably overtaxing the system; while the rendering is probably minor it means SPI traffic is being sent that doesn't need to be sent. Furthermore this was thought to be corrected several versions of the firmware ago.
Low priority fix; current impact on performance is negligible and we'd have to run some benchmarks to see if the fix is ACTUALLY faster.
This is not actually happening. If there are still issues in the refresh rate, they aren't coming from the display_frame//previous_frame comparison not working correctly. It might simply be the case that that wastes more cycles than it saves.
I've confirmed we're only sending certain lines by spying on the SPI bus directly, and that would only happen if the display functions were doing their jobs (otherwise, we'd send lines 0 through 128 every single time the screen refreshed).