JetBrains Toolbox 在 Windows 崩溃:"Failed to create OpenGL context for format QSurfaceFormat"

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

我最近更新了我的显卡驱动程序,但 JetBrains Toolbox 应用程序停止工作。

有时它会在系统时钟旁边显示一个图标,该图标会在几秒钟后消失,有时它会显示一个黑色对话框,但我设法 select 所有文本并复制它:

---------------------------
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   
---------------------------

我已经检查过,libEGL.dlllibGLESv2.dllD3Dcompiler_47.dll 文件存在于应用程序文件夹中,所以这不是问题所在。

实际上,我在 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.

尝试如下设置环境变量:

JETBRAINS_TOOLBOX_NO_SOFTWARE_OPEN_GL = 1

JETBRAINS_TOOLBOX_NO_SOFTWARE_OPEN_GL = true

根据Jetbrains Issue Tracker,此错误应在 1.7 版中修复

更新

此问题已在 1.7.3593 中修复。