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

[5.4->5.5] Angle QWindowsEGLStaticContext Could not initialize EGL display: error 0x3001

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P5: Not important
    • 5.6.0
    • 5.5.0, 5.5.1
    • GUI: OpenGL, QPA: Windows
    • None
    • Env 1: Windows 7 Starter (netbook)
      Env 2: Windows Vista
    • 3d46f32c53e2975e9d2b5bc82455be9cfa5cd7f2 (qtbase/5.6, 20.10.2015, 5.6)

    Description

      Since upgrading from 5.4.1 to 5.5.0 (both via community online installer MSVC2012 32 bit), some of our users with lower end windows machines report the following bug:

      class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(class QFlags): Could not initialize EGL display: error 0x3001
      
      class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(class QFlags): When using ANGLE, check if d3dcompiler_4x.dll is available
      
      Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) . This is most likely caused by not having the necessary graphics drivers installed. Install a driver providing OpenGL 2.0 or higher, or, if this is not possible, make sure the ANGLE Open GL ES 2.0 emulation libraries (libEGL.dll, libGLESv2.dll and d3dcompiler_*.dll) are available in the application executable's directory or in a location listed in PATH.
      

      d3dcompiler_47.dll (File modified in march 2014) as shipped with 5.5.0 is in place.

      We force Angle in out main() using since we previously had massive problems with broken OpenGL drivers:

              #ifdef Q_OS_WIN
              app.setAttribute(Qt::AA_UseOpenGLES, true);
              #endif
      

      I cannot reproduce the issue on any machine I have access to but I think it's worth writing everything down that I have.

      Dynamic GL LibGL Vendor: Intel
      Renderer: Intel Pineview Platform
      Version: 1.4.0 - Build 8.14.10.2364
      Shading language: 
      Format: Version: 1.4 Profile: 0 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Depth buffer: 24 Stencil buffer: 8
      
      GPU:
               Card name: Intel(R) Graphics Media Accelerator 3150
             Driver Name: igdumdx32.dll
          Driver Version: 8.14.10.2364
               Vendor ID: 0x8086
               Device ID: 0xA011
               SubSys ID: 0x-7C53EFBD
             Revision ID: 0x0002                 
      

      Attachments

        1. env2_kullo-diag.txt
          17 kB
        2. kullo-diag.txt
          11 kB
        3. kullo-diag2.txt
          17 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-47435
          # Subject Branch Project Status CR V

          Activity

            People

              kleint Friedemann Kleint
              webmaster128 Simon Warta
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes