jetbrains-toolbox

JetBrains Toolbox crash on Windows: "Failed to create OpenGL context for format QSurfaceFormat"


I've recently updated my graphic card drivers and the JetBrains Toolbox app stopped working.

Sometimes it displays an icon next to the system clock that disappears after a couple of seconds, sometimes it displays a black dialog box, but I managed to select all text and copy it:

---------------------------
Toolbox
---------------------------
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile  QSurfaceFormat::OpenGLContextProfile(NoProfile)) .
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.
---------------------------
OK   
---------------------------

I've checked, the libEGL.dll, libGLESv2.dll and D3Dcompiler_47.dll files are present in the app folder, so this is not the issue.


Solution

  • Actually, I found the real solution on the Community forum:

    I could solve the problem by moving the following dll's to another folder which is not in the PATH folders.

    I move libEGL.dll, libGLESV2.dll, opengl32sw.dll from the folder C:\Users\USERNAME\AppData\Local\JetBrains\Toolbox\bin to the new folder -> C:\Users\USERNAME\AppData\Local\JetBrains\Toolbox\bin\tmp. Or delete it. After moving the files and restarting jetbrains-toolbox.exe, I get a welcome window and then a login window.