Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.12
-
None
Description
We are developing an HMI application that is supposed to allow for local and remote access to the interface. There are no issues when considering the local use. However, when running the app using the WebGL platform plugin it just becomes unusable. When running the app locally and trying to access it via browser (Firefox/Chrome/Safari/Brave), I experienced massive flickering, causing the whole OpenGL frame to be rendered all over again. When the application is run on the target device, the constant reloading of frames makes it unusable due to latency. I tried building and running the app on Windows, macOS, and CentOS.
I tried scrapping the app to a bare minimum, with no improvement. Even an app with no animations and just a single sentence displayed on the screen has the exact same behavior.
I used GammaRay to detect and get rid of overdrawing and applied content caching wherever possible.
The WebGL approach is the most suitable for us, as the HMI application is supposed to modify contents on the target device file system, which is only possible for an application that is running on the target device, only streaming the UI for remote access.
I have found some similar issues reported earlier. However, none of them seems to be solved.