Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-708

Examples fail with software renderer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Incomplete
    • Affects Version/s: 5.11.0
    • Fix Version/s: 5.11.1
    • Component/s: PySide
    • Labels:
      None
    • Commits:
      54839988afc79a0c84cf4eb5ce36614cd626e07b, 1172edc4ad8928a8b5ea7af3b0fccf8c4397b091

      Description

      These are the files that had a problem with the software renderer.

      • examples\declarative\extending\chapter4-customPropertyTypes\customPropertyTypes.py
      • examples\declarative\extending\chapter5-listproperties\listproperties.py
      QOpenGLConotext::swapBuffers() called with non-opengl surface
      • examples\opengl\grabber.py
      Traceback (most recent call last):
        File "opengl\grabber.py", line 132, in paintGL
          glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
        File "C:\Users\testvm\venv\lib\site-packages\OpenGL\error.py", line 232, in gl
      CheckError
          baseOperation = baseOperation,
      OpenGL.error.GLError: GLError(
              err = 1282,
              description = b'invalid operation',
              baseOperation = glClear,
              cArguments = (16640,)
      )
      Traceback (most recent call last):
        File "opengl\grabber.py", line 435, in <module>
          mainWin.glWidget.freeResources()
        File "opengl\grabber.py", line 85, in freeResources
          glDeleteLists(self.gear1, 1)
        File "C:\Users\testvm\venv\lib\site-packages\OpenGL\platform\baseplatform.py",
       line 402, in __call__
          return self( *args, **named )
        File "C:\Users\testvm\venv\lib\site-packages\OpenGL\error.py", line 232, in gl
      CheckError
          baseOperation = baseOperation,
      OpenGL.error.GLError: GLError(
              err = 1282,
              description = b'invalid operation',
              baseOperation = glDeleteLists,
              cArguments = (0, 1)
      )
      • examples\opengl\hellogl2.py
      QWindowsEGLStaticContext::create: Could not initialize EGL display: error 0x3001
      
      QWindowsEGLStaticContext::create: When using ANGLE, check if d3dcompiler_4x.dll is available
      opengl\hellogl2.py:394: RuntimeWarning: SbkConverter: Unimplemented C++ array type.
        self.program.setUniformValue(self.lightPosLoc, QVector3D(0, 0, 70))
      opengl\hellogl2.py:423: RuntimeWarning: SbkConverter: Unimplemented C++ array type.
        self.program.setUniformValue(self.projMatrixLoc, self.proj)
      opengl\hellogl2.py:424: RuntimeWarning: SbkConverter: Unimplemented C++ array type.
        self.program.setUniformValue(self.mvMatrixLoc, self.camera * self.world)
      opengl\hellogl2.py:426: RuntimeWarning: SbkConverter: Unimplemented C++ array type.
        self.program.setUniformValue(self.normalMatrixLoc, normalMatrix)
      
      • examples\opengl\overpainting.py
      Attempted to use GDI functions with a non-opengl32.dll library
      QWindowsGLContext::QWindowsGLContext: Unable find a suitable pixel format.
      • examples\opengl\samplebuffers.py
      Attempted to use GDI functions with a non-opengl32.dll library
      QWindowsGLContext::QWindowsGLContext: Unable find a suitable pixel format.
      Traceback (most recent call last):
        File "opengl\samplebuffers.py", line 192, in <module>
          widget.freeResources()
        File "opengl\samplebuffers.py", line 172, in freeResources
          GL.glDeleteLists(self.list_, 1)
        File "C:\Users\testvm\venv\lib\site-packages\OpenGL\platform\baseplatform.py",
       line 402, in __call__
          return self( *args, **named )
      ctypes.ArgumentError: argument 1: <class 'TypeError'>: wrong type
      

        Attachments

        For Gerrit Dashboard: PYSIDE-708
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            crmaurei Cristian Maureira-Fredes
            Reporter:
            code Cody Scott
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes