BUG: OpenGl 2.0 error when running Musescore Alpha 3?

• Nov 8, 2018 - 18:03

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


Comments

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?
https://en.wikipedia.org/wiki/ANGLE_(software)
https://github.com/google/angle

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

In reply to by Jojo-Schmitz

Jojo,
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.)

Thanks,
Sam

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.

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