Skip to content

ui: consistent offroad/onroad timings#37980

Draft
sshane wants to merge 8 commits intomasterfrom
real-ui-speedups
Draft

ui: consistent offroad/onroad timings#37980
sshane wants to merge 8 commits intomasterfrom
real-ui-speedups

Conversation

@sshane
Copy link
Copy Markdown
Contributor

@sshane sshane commented May 7, 2026

One frame drop in 15m, still working on it. Most on this PR is debugging, not final, to be split out.

  • No display/vsync drift from letting raylib sleep which mismatched display refresh ever so slightly, which caused drops multiple times per second to every few seconds.
  • Higher prio than plannerd.
  • On interaction timeout, onboarding widget could cause up to 20ms from writing param blocking.
  • Brightness updates took 2ms creating threads. Now no jumps.
  • Occasional param reading in main thread caused few ms jump as well, in thread no jump (not holding GIL, but also not on core 5).
  • No clue why timings shift over time still, look at modeld
  • I had to disable tmux status updating every 15s for test, caused +1ms spikes: tmux set -g status-interval 0

This PR:
image

Master:
image

@sshane sshane marked this pull request as draft May 7, 2026 13:02
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Process replay diff report

Replays driving segments through this PR and compares the behavior to master.
Please review any changes carefully to ensure they are expected.

✅ 0 changed, 66 passed, 0 errors

self._mouse_down_t = None
self._did_long_press = True

if rl.get_time() - self._last_refresh > 5.0:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version shouldn't change, remove

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

Successfully merging this pull request may close these issues.

1 participant