Skip to content

[Bug]: OMP terminal scrolling appears capped at ~30 FPS on a 144 Hz Android tablet #14573

Closed

Description

@nimbus3223

Operating system

Other — Android 15 on a Lenovo Legion Y700 tablet

Orca version

  • Orca Mobile Android APK: 0.0.42
  • Desktop Orca host: 1.4.182
  • Oh My Pi: 17.3.4

Details

Short summary

Terminal scrolling in Orca Mobile is visibly stuttery and delayed when displaying an Oh My Pi (OMP) TUI session on a 144 Hz Android tablet.

The rest of the Orca Mobile interface — menus, settings, navigation, and transitions — is smooth at 144 Hz. Only the OMP terminal view appears to update at approximately 30 FPS and has noticeable touch-to-scroll latency and excessive inertia.

The problem occurs with a direct LAN connection and remains unchanged when using Tailscale or Orca Relay.

Environment

  • Device: Lenovo Legion Y700 tablet
  • Operating system: Android 15
  • Display refresh rate: 144 Hz
  • Orca Mobile Android APK: 0.0.42
  • Desktop host OS: Windows 10 Pro
  • Desktop Orca host: 1.4.182
  • Oh My Pi: 17.3.4
  • Connection methods tested:
    • Direct LAN address
    • Tailscale
    • Orca Relay

Android Developer Options were enabled to verify the active refresh rate. The refresh-rate indicator reports 144 Hz while Orca Mobile is open, and the general application UI is visually smooth. However, terminal content and scrolling still appear to update at approximately 30 FPS.

The approximately 30 FPS estimate is based on visible terminal motion rather than a captured per-surface frame-time trace.

Steps to reproduce

  1. Install Orca Mobile 0.0.42 on a Lenovo Legion Y700 running Android 15.
  2. Set the tablet display to 144 Hz.
  3. Connect Orca Mobile to an Orca 1.4.182 desktop host using its direct LAN address.
  4. Open a terminal session running Oh My Pi 17.3.4.
  5. Let the session produce enough output to create scrollback.
  6. Drag or fling vertically through the terminal output.
  7. Compare terminal scrolling with Orca Mobile menus, settings, and navigation transitions.
  8. Repeat using Tailscale or Orca Relay.

Expected behavior

Terminal scrolling should:

  • respond promptly to touch input;
  • remain visually smooth on a 144 Hz display;
  • behave similarly to the rest of the Orca Mobile interface;
  • not exhibit large latency or excessive inertia during a local connection.

Actual behavior

  • Orca Mobile menus, settings, and transitions are smooth at 144 Hz.
  • OMP terminal scrolling is visibly choppy and appears to update at approximately 30 FPS.
  • Terminal movement feels delayed relative to the touch gesture.
  • Scrolling has excessive inertia and does not feel directly coupled to the finger.
  • The experience resembles a remote server with very high latency.
  • Changing the connection from direct LAN to Tailscale or Orca Relay does not noticeably change the behavior.

Impact

Reading and navigating long OMP terminal output is uncomfortable on the tablet. The difference between the smooth 144 Hz application interface and the low-frame-rate terminal view is immediately noticeable.

Video evidence

Screen recording:
https://drive.google.com/file/d/1CU13qkZB32MhBP5Uc-XX7B5GGE-aDrWk/view?usp=drivesdk

The original Android recording is 1600×2560, 42.17 seconds long, and contains 5,424 frames at an average capture rate of approximately 128.61 FPS (variable frame rate). Therefore, the visible terminal stutter is not caused by the recording itself being limited to 30 FPS.

The recording provides a direct visual comparison:

  • Orca Mobile navigation and the new-tab menu remain responsive and visually smooth.
  • OMP terminal scrollback moves in visibly coarser and less responsive steps.
  • The Android touch indicator is visible during scrolling gestures, making the relationship between touch input and terminal movement observable.
  • The device remains in its high-refresh-rate mode while the terminal content itself appears substantially less smooth.

This recording documents the direct-LAN case. The same behavior over Tailscale and Orca Relay was observed separately but is not demonstrated in this specific clip.

Additional observations

Because the behavior is effectively identical across direct LAN, Tailscale, and Orca Relay, it does not appear to be caused primarily by network latency.

Possible affected areas may include the Android terminal renderer, WebView rendering, terminal frame scheduling, touch gesture handling, or the interaction with the OMP TUI. This is only a symptom-based observation; no root cause has been confirmed.

The issue has been observed specifically with the Oh My Pi TUI. A plain shell with large scrollback and other TUIs have not yet been systematically compared.

ADB, logcat, and Android frame-time traces are not currently available.

Related issues that do not appear to be exact duplicates

Activity

  1. AmethystLiang commented on Sep 7, 2026

    @AmethystLiang
    Contributor

    Thanks for reporting! We investigated the issue: • Cause: Prevent touch event bubbling to virtual keyboard focus during two-finger pan gestures in mobile terminal viewport. • Fix: Prevent touch event bubbling to virtual keyboard focus during two-finger pan gestures in mobile terminal viewport..

  2. added
    bug
    on Sep 19, 2026
  3. added theissue type on Sep 19, 2026
  4. nwparker commented on Sep 19, 2026

    @nwparker
    Contributor

    Current main contains a focused mobile terminal scroll-routing implementation and regression coverage: Android nested-scroll handoff, touch routing into the WebView, animation-frame coalescing, momentum/friction, edge behavior, and suppression of fractional screen transforms. The focused terminal-webview-scroll-routing suite passes.

    This is stronger than the original source-level gap, but I am leaving the issue open pending an actual Android 144 Hz frame-time capture on a comparable device. The existing video is visual evidence, not a frame-time trace, so closing it now would overclaim.

  5. nwparker commented on Sep 19, 2026

    @nwparker
    Contributor

    The current main scroll-routing implementation and focused mobile terminal suites pass, but the original report is specifically a 144 Hz Android device symptom. We still lack an Android frame-time trace/device run, so this remains open pending real 144 Hz runtime evidence rather than being closed on source tests alone.

  6. nwparker commented on Sep 19, 2026

    @nwparker
    Contributor

    I opened PR #21687. It makes OMP terminal momentum use the actual requestAnimationFrame elapsed time, preserving the same motion across 60/90/120/144 Hz displays. Focused mobile tests (14/14), mobile typecheck, lint, and formatting pass. I am leaving this issue open until we capture a real Android 144 Hz frame trace; desktop/source evidence alone is not enough to close the original report.

  7. nwparker commented on Sep 21, 2026

    @nwparker
    Contributor

    The related scrolling fix has merged in #21687 and will be included in an upcoming mobile release. Please try that release and reopen this issue if terminal scrolling is still stuttery, delayed, or has excessive inertia on your device. We have not yet confirmed the result on the reported 144 Hz Android hardware, so your follow-up will help confirm whether the issue is fully resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugmobileos:Windows

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions