Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108140

Issues with WebGL rendering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.12
    • QPA: WebGL
    • None
    • Linux/Yocto, macOS, Windows

    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. 

      https://bugreports.qt.io/browse/QTBUG-72275

      https://bugreports.qt.io/browse/QTBUG-85515

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jefernan Jesus Fernandez
            qtdev_tan Qt Dev1
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes