Dear Users! Please post bug reports about FDM here!

Failed to create OpenGL context for format QSurfaceFormat

Moderators: Usher, Alex

wouzyli

Failed to create OpenGL context for format QSurfaceFormat

Postby wouzyli » Wed May 31, 2023 7:44 am

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
---------------------------
Alex
FDM Team
Posts: 2851
Joined: Mon Jul 12, 2004 12:17 pm

Re: Failed to create OpenGL context for format QSurfaceFormat

Postby Alex » Wed May 31, 2023 8:09 am

Alex,
FDM development team
wouzyli

Re: Failed to create OpenGL context for format QSurfaceFormat

Postby wouzyli » Thu Jun 01, 2023 12:04 am



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!
Alex
FDM Team
Posts: 2851
Joined: Mon Jul 12, 2004 12:17 pm

Re: Failed to create OpenGL context for format QSurfaceFormat

Postby Alex » Thu Jun 01, 2023 3:19 pm

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.
Alex,

FDM development team
wouzyli

Re: Failed to create OpenGL context for format QSurfaceFormat

Postby wouzyli » Tue Jun 06, 2023 3:26 am

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

Re: Failed to create OpenGL context for format QSurfaceFormat

Postby wouzyli » Tue Jun 06, 2023 4:54 am

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.
Alex
FDM Team
Posts: 2851
Joined: Mon Jul 12, 2004 12:17 pm

Re: Failed to create OpenGL context for format QSurfaceFormat

Postby Alex » Tue Jun 06, 2023 12:16 pm

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.
Alex,

FDM development team
wouzyli

Re: Failed to create OpenGL context for format QSurfaceFormat

Postby wouzyli » Thu Jun 22, 2023 6:10 am

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

Return to “General forum”

Who is online

Users browsing this forum: No registered users and 10 guests