#1287·Apollo

Amlogic S905x5 Lag/Decode issue?

Author: andy-sreCreated Dec 16, 2025Updated Sep 18, 2026

Device Configuration:

  • Model: Ugoos AM9 (Amlogic S905X5)
  • OS: Android 14 (AOSP)
  • Host PC: RTX 4080
  • Connection: Verified on both Gigabit Ethernet and 5GHz Wi-Fi (Same results)

The Problem: Video stream is visually stalled at < 10 FPS, behaving like a slideshow. This occurs despite "perfect" performance statistics on the performance stats built into the app

Performance Stats (Confirmed via performance stats ):

  • Decoding Time: ~1.35ms (Steady/Fast)
  • Network Latency: ~4ms (No spikes)
  • Frames Dropped by Network: 0% (Stable)
  • Incoming Frame Rate: Stalled at ~10.7 FPS

Key Troubleshooting Observations:

  1. Client Agnostic: I have tested this on Vanilla Moonlight (Play Store), Artemis, Both exhibit the exact same 10 FPS cap/stutter. This rules out app-specific bugs.
  2. Network: Tested on both Ethernet and 5GHz Wi-Fi. 0% packet loss on both, yet the incoming frame rate remains throttled to < 10 FPS internally.
  3. App Comparison: Steam Link on this same hardware manages a 60 FPS stream.
  4. Decode vs. Presentation: The c2.amlogic.hevc.decoder reports good decode times (<2ms), but the frames never reach the display at the intended 60Hz.

Technical Request: Since the S905X5 is a newer SoC, it appears that the way Moonlight/Artemis interacts with the MediaCodec surface is causing the Android 14 hwcomposer to drop or hold frames. Are there any known issues with frame pacing logic for this specific chipset?