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.

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?

thanks

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

In reply to by Jojo-Schmitz

I have no idea of an alpha / or else (beta?) I have read the comments in several places but could not make enough of it to continue on my own. I am not qualified for IT like that. I am a singer and choir conductor trying to keep my choirmembers busy in these days of Corona.
I am so sorry to have bothered you. I found your reply that something was done in 2018 (or 2019?) so I took off there to ask again. So - still in confusion about what to do.

In reply to by Jojo-Schmitz

Good morning! No I did not change anything and I got the last update. I always update immediately when an update is presented. Meanwhile, without changing drivers, today everything seems fine.....so far so good - 'till the next crash :) Enjoy the sunny day (if you can find the time with all digilooser like me)

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