The forum

Starcraft II Wings of Liberty

failed to create opengl context for format QSurfaceFormat

Author Replies
fritz1968 Monday 17 November 2014 at 12:46

I can login to battlenet, and it asks me for me authentication code.  Once I put that in and press enter, the program crashes. I am using wine 1.5.10.  Saw somewhere that winv v 1.7.15 and/or 1.6.2 fixes the problem, but it does not.  The entire error is:

Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options qflags(), depthbuffersize 24, redbuffersize -1, greenbuffersize -1, bluebuffersize -1, alphabuffersize -1, stencilbuffersize -1, samples -1, swapbehavior 2, swapInterval 1, profile 0).

This is most likely caused by nothaving the necessary graphics drivers installed


INstall a driver profiving opengl 2.0 or higher, or, if thisis not pissible, make sure the ANGLE Open GL ES 2.0 emulation libraries (libEGL.dll, libGLESv2.dll and d3dcomplier_*.dll) are avilable in the application executables directory or in the located listed in PATH.


It seems my graphics driver may be the issus, I copied the DLL's mentioned in the error to the SC directory.  but that did not work either.


Any help would be greatly appreciated.


booman Monday 15 December 2014 at 22:01

I'm afraid it might be a Qt5 problem.  Other online games where the developers are updating their Graphical interface to Qt5 is breaking Wine.

I've read that will launch if you go to Wine, Configure, Application Tab and set Windows version to Windows XP.

That might help it launch probperly.  Not sure about the authentication code...

† Booman †
Mint 20.2 64-bit | Nvidia 470 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained