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

Add OpenGL fallback DLLs to Windows Python wheels

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Not Evaluated
    • 5.11.1
    • 5.11.0
    • PySide
    • None
    • Windows environment without OpenGL >= 2.0 capable display adapter.

      One example is that Windows 7 will have opengl 1.1 even after all Windows Updates are applied.

       

    Description

      d3dcompiler_XX.dll and opengl32sw.dll are not included in the Windows Python wheels.

      Due to dynamic OpengGL leading[0] if OpenGL >=2.0 is not available Qt will try ANGLE[1].

      ANGLE requires three DLL files

      • libEGL.dll (included)
      • libGLESv2.dll (included)
      • d3dcompiler_XX.dll (not included)

      d3dcompiler_XX.dll is the DirectX shader compiler[2], "where XX is the version number that ANGLE (libGLESv2) was linked against." [1]

      If OpenGL >= 2.0 is not available and ANGLE is not available Qt will fallback to a software renderer.

      This requires opengl32sw.dll [1] which is not included in the wheel.

      0: https://blog.qt.io/blog/2014/11/27/qt-weekly-21-dynamic-opengl-implementation-loading-in-qt-5-4/

      1: http://doc.qt.io/qt-5/windows-deployment.html#creating-the-application-package

      2: https://github.com/Microsoft/DirectXShaderCompiler

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            code Cody Scott
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes