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

tst_qopengl fails with EGL on Mesa

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.5.0
    • Fix Version/s: 5.5.1
    • Component/s: GUI: OpenGL
    • Labels:
      None
    • Commits:
      706af26acc5deeeab17ac135daa23876a69c78dc, 8aaf8d33e1a22778b8a0d6063cee1a7915326838

      Description

      Two issues:
      (1) some FBO tests blow up when using QOffscreenSurface, likely something to do with surfaceless contexts
      (2) when disabling the offscreen tests it still fails with:

      Mesa: User error: GL_INVALID_OPERATION in glTexImage2D(format = GL_RED, type = GL_UNSIGNED_BYTE, internalFormat = GL_RED)
      FAIL!  : tst_QOpenGL::imageFormatPainting() Compared values are not the same
         Actual   (fb.pixel(0, 0))         : 0
         Expected (qRgba(127, 0, 127, 127)): 2139029631
         Loc: [tst_qopengl.cpp(759)]
      

      The issues are not present with GLX on Mesa or other drivers.

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes