BUG: OpenGl 2.0 error when running Musescore Alpha 3?
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
I'm afraid your out of luck with that, this OpenGL requirement comes from the newer Qt version we use for MuseScore 3 I believe.
See #276246: MuseScore crashes when displaying splash screen due to OpenGL 2.0 support missing
In reply to I'm afraid your out of luck… 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 I guess that's a challenge… by Sambaji
Not if that isn't Open source and distributed under a suitable license
In reply to Not if that isn't Open… 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
In reply to How about Angle, it's… by Sambaji
It seems to be even part of Qt
Edit: it is!
Having ANGLE included might even "fix" the issues some users have when running plugins that require dialog boxes.
In reply to Having ANGLE included might… by jeetee
Those reports were from MuseScore 2.x, and there these DLLs are not part of Qt (but may help there anyhow? Just then probably the 32bit versions)
In reply to Those reports were from… by Jojo-Schmitz
Do you have any idea when your fix, the inclusion of the ANGLE dlls, will be included in the master nightly builds?
In reply to Those reports were from… by Jojo-Schmitz
All of those people are very likely to be affected with not being able to run MS3 without ANGLE.
In reply to All of those people are very… by jeetee
Very true, but also likely are on 32bit system that won't run MuseScore 3 anyhow?
In reply to Very true, but also likely… 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 Jojo, Will your ANGLE fix be… by Sambaji
It's not me to decide on this
In reply to It's not me to decide on this 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 I suspect that even a higher… by Sambaji
It is in now
In reply to It is in now by Jojo-Schmitz
Many thanks.
In reply to It is in now 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 I just tried to install MS3… by IGMartin
Might be because of #281406: MuseScore 3 cannot start with WDM-KS audio devices installed. and as such entirely unrelated to that OpenGL issue?
In reply to Might be because of #281406:… 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 I tried the latest version 3… by IGMartin
Sounds like the Webengine component is causing problems for you. You can disable that via command line options Try to run MuseScore with option -w
In reply to I just tried to install MS3… by IGMartin
The ANGLEdlls are part of the main build now, the current official release. I had this issue on my older Windows 10 laptop a while ago before ANGLE was included. Try the latest development build. (https://ftp.osuosl.org/pub/musescore-nightlies/windows/).
In reply to It is in now by Jojo-Schmitz
Hi mr Schmitz,
I've got a huge problem! See picture.
And yes, I have already:
- rebooted my system
- uninstalled the whole program and installed it new from the website
Grateful for any solutions!
Best regards,
Mari'an
In reply to Hi mr Schmitz, I've got a… by Mari'an van Loon
You really shoudn't be running MuseScore 3 Alpha
If you don't, you picked the wrong thread...
anyway, looks like your graphics driver doesn't support OpenGL 2.0, see whether you find an updated driver for that
In reply to You shoudn't be running… 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 I have no idea of an alpha /… by Mari'an van Loon
Install Musecore 3.4.2. And look for a driver update for your graphics chip
Seems back on 18th January 2019 you were able to run MuseScore 3 (which probably was 3.0.1 at the time?), what changed since? New computer? Operating system update?
In reply to Install Musecore 3.4.2. And… 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)
In reply to Good morning! No I did not… by Mari'an van Loon
Very strange. Got to be some kind of screwed up binary logic, where a little bit of 0 sometimes becomes almost 1 ;-)