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

Graphics Render Error if conbine QQuickWidget with QWindow(GL rendering) on Intel integrated GPU

    XMLWordPrintable

    Details

    • Platform/s:
      Windows

      Description

      Repoducable environment:

      • Windows 10.
      • Qt 5.15.7 msvc 2019 64bit or Qt 5.15.2 msvc 2019 64bit
      • Intel UHD Graphics 620 / 630.
        • Driver data: 2017/1/18 Driver version: 21.20.16.4590 Good, no error.
        • Driver data: 2019/9/25 Driver version: 26.20.100.7263 Bad.
        • Driver data: 2019/6/27 Driver version: 26.20.100.7000 Bad.

      Create a QQuickWidget and a QWindow, the QWindow is wrapped as a QWidget, using QWidget::createWindowContainer API. Put the QQuickWidget and QWindow into one layout and set the layout to QMainwindow.

      Use raw OpenGL APIs render to the QWindow results graphic error

      This only repoducable on integrated Intel GPU with latest version of driver. I have tried a old one(2017 version) and it works fine.

      Attached is a example, there is a pushbutton in the bottom of the mainwindow. Click it will arouse a GLpaint of "green" color.

      Using NVidia GPU, the result is Ok, while using Intel GPU activated, it looks like the background pic was zoomed in.

        Attachments

        1. error_render_once.png
          error_render_once.png
          260 kB
        2. initial_state.png
          initial_state.png
          241 kB
        3. OGLIssue.7z
          367 kB
        4. ok_render_once.png
          ok_render_once.png
          317 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qt.team.graphics.and.multimedia Qt Graphics Team
            Reporter:
            rilin Richard Lin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes