BUG: OpenGl 2.0 error when running Musescore Alpha 3?

• Nov 8, 2018 - 18:03

I get the below error when running Musescore Alpha 3 from its directory on my Latitude E6410, running Windows 10 64bit. If it's because my graphics card is too dated to run Open GL 2.0, where do I get the ANGLE Open GL ES 2.0 emulation libraries (libEGL.dll, libGLESv2.dll and d3dcompiler_*.dll) to put in the Musescore directory? (Hopefully, Musecore 3 will be able to run on older 64bit computers once it is officially released. Perhaps, Musecore 3 should include and default to these emulation files if Open2.0 is not available?)

Thanks, Sam

Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, 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.


In reply to by Jojo-Schmitz

I guess that's a challenge when developing a cross-platform application using Qt. The requirement of OpenGl 2.0 seems like overkill, considering that Musesscore is not a graphically intensive application (e.g., no 3d or animation), and will exclude a lot of older computers, even if they are 64bit. Is there no way for Musescore to have built-in OpenGL 2.0 emulation?

In reply to by Jojo-Schmitz

How about Angle? Its mentioned in the error message. Or am I missing something? It's compatible with QT. Qt 5 uses ANGLE as the default renderer for its OpenGL ES 2.0 API wrapper and other Qt elements which use it on Windows.

"ANGLE (Almost Native Graphics Layer Engine) is an open source, BSD-licensed graphics engine abstraction layer developed by Google. The API is mainly designed to bring high-performance OpenGL compatibility to Windows computers and to web browsers such as Chromium by translating OpenGL calls to Direct3D, which has much better driver support. There are two backend renderers for ANGLE: the oldest one uses Direct3D 9.0c, while the newer one uses Direct3D 11."

My system has Directx(Direct3D) 12, so technically Musescore 3 could be modified to work, no?

Having ANGLE included might even "fix" the issues some users have when running plugins that require dialog boxes.

In reply to by Jojo-Schmitz

Will your ANGLE fix be included in the next official release of Musescore 3? Requiring built-in OpenGL 2.0 (or higher) support, in addition to 64bit will exclude many computers. Both my capable 64bit laptops, a Toshiba and Latitude, aren't able to run Musecore 3 without ANGLE. (I am happy to know that at the very least I can manually add the ANGLE files you provided.)


In reply to by Jojo-Schmitz

I suspect that even a higher percentage of computers in poorer, "developing" countries, aren't OpenGL 2.0 compatible. Hopefully, those in charge will incorporate your fix so that future Musescore releases remain a major contender, right out of the box, in composition software in "less-privileged" populations that can't afford proprietary, commercial software such as Dorico.

In reply to by Jojo-Schmitz

I just tried to install MS3 in my Win7-64 system and it crashes after displaying initial screen. I tried copying the files in ANGLEdlls.zip to the bin directory of MS3 and also to win/system32 (in the PATH ) but to no avail. My system can run (maybe not blindly fast but run ) a lot of modern software. It would be a pity it couldn't run MS3. Is there any other alternative I have not found in the forum?


Iggy Martinez.

In reply to by Jojo-Schmitz

I tried the latest version 3_0_2 as well as the nightly version 2/19/19 and still didn't work. For a while, I stuck to version 2.x. Trying again 3_0_2, I noticed that if I just start Musescore from the desktop (i.e with no file selected) it crashes with the GL version problem. but if I select an existing score file, created with version 2.X or prior, and open it with a regular double click, then version 3_0_2 comes up and apparently I can work with it, (I tried a good number of edits and saves) as far as I can tell. The exception I found so far is that even running 3_0_2 on a file, if I select File / Start Center, then it crashes with the GL error. At least I can run it with this trick.!

Do you still have an unanswered question? Please log in first to post your question.