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

QWebEngineView rendering glitches when certain web page is shown in relatively large size

    XMLWordPrintable

Details

    • Windows

    Description

      Reproducer attached. It's a minimal QWebEngineView that loads "https://pixijs.com/" and shows it in fullscreen.

      What you are going to see is some blue rendering glitches like what the screen record shows.

      Some observations:
      1. Developer Tools does not report any error or warning about rendering.
      2. It is not a problem if it is show() rather than showFullScreen()
      3. It becomes a problem if the web page first show() then resizes to a larger size. Interestingly, resizing to a smaller resize seems to be totally fine.
      4. It is also a problem if it is showMaximized().
      5. The problem seems to only happen after the "nebula" animation at the center starts.
      6. "-disable-gpu" seems to help, but the webpage is too slow to be any practically useable (or maybe it is just that the rendering is too slow to show any glitch).
      7. The problem is more likely to happen when you scroll around the page.

      The environment is Windows 11 23H2 + Nvidia RTX1000 Ada (which is always preferred than Intel Graphics)

      Probably related: Microsoft Edge renders the webpage just fine, even if it is in fullscreen mode (BTW I think showFullScreen() is slightly different from Windows fullscreen mode, so you may want to change showFullScreen() to FramelessWindowHint + resize(<current screen size>) + show(). It does not change anything nonetheless). My Edge is based on Chromium 137.0.7151.69 but Qt 6.9.1 is based on 130.0.something. So it is an unfair comparison. It may or may not be an old Chromium build issue.

      Update: seems to be a Nvidia driver issue. When I force Intel Graphics then the problem is gone. Kind of surprising that a dedicated GPU actually perform worse...but anyway, I guess it is not a Qt issue.

      Attachments

        1. QTBUG-137509.7z
          0.8 kB
          Luqiao Chen
        2. QTBUG-137509.mp4
          11.61 MB
          Luqiao Chen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes