You are here

VESC Tool "Failed to create OpenGL context for format QSurfaceFormat"

3 posts / 0 new
Last post
buckeye
Offline
Last seen: 4 months 4 days ago
Joined: 2022-06-14 22:36
Posts: 1
VESC Tool "Failed to create OpenGL context for format QSurfaceFormat"

VESC Tool errors on startup on my Windows 10 x64 system. It looks like a QT message. Here's the whole thing...

Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::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.

Using OpenGL Extension Viewer, I see that my system supports GL 3.1 graphics.

I also loaded the following GL2.0 emulation dlls in the folder with VESC Tool as instructed:

  • libEGL.dll
  • libGLESv2.dll
  • D3DCompiler_43.dll

Behavior is the same.

Can anyone please help me I fix this?

jay6948
Offline
Last seen: 3 months 1 week ago
VESC Free
Joined: 2022-10-31 15:49
Posts: 1

Same problem, different computer. 

 I'll pay if that software works better.

Please help

 

MarkG
Offline
Last seen: 2 weeks 4 days ago
VESC Free
Joined: 2023-01-08 02:03
Posts: 1

I have two out of three win7 laptops that I have this problem too. Two have switchable graphics, and one of those vesc_tool works on. I have tried everything I can think of.