Firefly Open Source Community
Title: Unexpected Touch Lag on Embedded Vision UI (RK3568) 每 Caused by Bitmap Load? [Print This Page]
Author: modhello001 Time: 8/4/2025 18:36
Title: Unexpected Touch Lag on Embedded Vision UI (RK3568) 每 Caused by Bitmap Load?
Last edited by modhello001 In 8/5/2025 09:43 Editor
Hi everyone,
First-time poster here. I'm working on a custom UI layer for an embedded vision product using RK3568 + OpenHarmony 4.0. The interface is mostly gesture-driven and runs quite smoothly 〞 until I add a specific bitmap-based animation triggered on touch.
The Problem:When this animation is active, we notice a ~100ms touch response lag. The rendering is done through a standard EGL + GPU pipeline, and logs show no blocking calls. This only happens during the animation of one particular module 〞 it involves loading fruit-style visuals (PNG sprites, ~80每100KB each). Other similar-sized bitmaps work fine.
My Question:Has anyone else encountered this kind of behavior on embedded devices with vision-focused UI layers? I'm wondering:
- Is there something obvious we might be missing regarding how bitmaps are preloaded or cached?
- Could PNG decoding on the fly cause these input delays even when using hardware acceleration?
- Is it better to convert sprites to raw RGBA arrays beforehand?
Any insight from someone who's worked with OpenHarmony UI or similar ARM-based boards would be super helpful!
🔧 Reference Module (with the animation demo):
I*ve isolated the animation and touch layer into a test module, just to get feedback on whether the issue is asset-related or structural. It*s here (hosted externally to keep this post clean):
No signup or anything 每 just a standalone sample. Let me know if this feels like a familiar bottleneck or if you have tools you'd recommend for tracing input latency on OpenHarmony!
Thanks in advance! 🙏