Page 1 of 1

Failed to create OpenGL context for format QSurfaceFormat

Posted: Wed May 31, 2023 7:44 am
by wouzyli
When launching fdm Version: 6.19.1.5263 (8f064dc5) , i occasionally and unpredictably get this error:

---------------------------
Free Download Manager
---------------------------
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.
---------------------------
OK
---------------------------

Re: Failed to create OpenGL context for format QSurfaceFormat

Posted: Wed May 31, 2023 8:09 am
by Alex

Re: Failed to create OpenGL context for format QSurfaceFormat

Posted: Thu Jun 01, 2023 12:04 am
by wouzyli


thank you for the reference link.

For me, it errors randomly but not always when FDM is launched, both when something else launches it to download something, and also just launching it directly from start menu. I have not used context menu to launch this.

For more info, it only started happening after i switched to an Intel Arc graphics card. not sure if it has anything to do.

Is there a prospect for a more permanent fix in a future version? Thanks!

Re: Failed to create OpenGL context for format QSurfaceFormat

Posted: Thu Jun 01, 2023 3:19 pm
by Alex
wouzyli wrote:Is there a prospect for a more permanent fix in a future version?

Hello,
Please test this version and let me know if it works better:
https://files2.freedownloadmanager.org/ ... _setup.exe
Warning: this build is for the testing purposes only. Use at your own risk.

Re: Failed to create OpenGL context for format QSurfaceFormat

Posted: Tue Jun 06, 2023 3:26 am
by wouzyli
Alex wrote:
wouzyli wrote:Is there a prospect for a more permanent fix in a future version?

Hello,
Please test this version and let me know if it works better:
https://files2.freedownloadmanager.org/ ... _setup.exe
Warning: this build is for the testing purposes only. Use at your own risk.


i will try this for a while and report if i continue to see the error, it's sporadic to begin with so i'll likely have to observe for a while before reporting back. thanks!

Re: Failed to create OpenGL context for format QSurfaceFormat

Posted: Tue Jun 06, 2023 4:54 am
by wouzyli
oops turns out i spoke a bit too soon.

after install, i immediately get these errors in succession:

Code: Select all

---------------------------
fdm.exe - System Error
---------------------------
The code execution cannot proceed because MSVCP140_2.dll was not found. Reinstalling the program may fix this problem.
---------------------------
OK   
---------------------------


Code: Select all

---------------------------
fdm.exe - System Error
---------------------------
The code execution cannot proceed because MSVCP140_1.dll was not found. Reinstalling the program may fix this problem.
---------------------------
OK   
---------------------------


Code: Select all

---------------------------
fdm.exe - System Error
---------------------------
The code execution cannot proceed because MSVCP140_1.dll was not found. Reinstalling the program may fix this problem.
---------------------------
OK   
---------------------------


Code: Select all

---------------------------
fdm.exe - System Error
---------------------------
The code execution cannot proceed because MSVCP140_1.dll was not found. Reinstalling the program may fix this problem.
---------------------------
OK   
---------------------------


the errors also appear when trying to launch from shortcut. they sometimes appear in different order (that i've seen: the "MSVCP140_1.dll" sometimes appears first, sometimes second). and fdm is unable to launch.

Re: Failed to create OpenGL context for format QSurfaceFormat

Posted: Tue Jun 06, 2023 12:16 pm
by Alex
wouzyli wrote:the errors also appear when trying to launch from shortcut. they sometimes appear in different order (that i've seen: the "MSVCP140_1.dll" sometimes appears first, sometimes second). and fdm is unable to launch.

Hello,
Please re-download FDM using the link above, install and try again.

Re: Failed to create OpenGL context for format QSurfaceFormat

Posted: Thu Jun 22, 2023 6:10 am
by wouzyli
Alex wrote:Hello,
Please re-download FDM using the link above, install and try again.


This seems to be ok so far, I will report back if it pops up again. Thanks