blueboxd / chromium-legacy

Latest Chromium (≒Chrome Canary/Stable) for Mac OS X 10.7+
BSD 3-Clause "New" or "Revised" License
301 stars 17 forks source link

[BUG] WebGL is broken in v106.0.5249.61 due to nonexistent Metal framework #99

Closed Wowfunhappy closed 2 years ago

Wowfunhappy commented 2 years ago

WebGL does not work in the latest stable build (v106.0.5249.61) on OS X 10.9.5.

https://webglsamples.org/aquarium/aquarium.html It does not appear your computer supports WebGL.

According to chrome://gpu

GPU process was unable to boot: GPU process crashed too many times with SwiftShader. Disabled Features: all

Launching Chromium Legacy via the Terminal reveals the cause of the crash:

[84117:771:1001/162516.887584:ERROR:gl_implementation.cc(504)] Failed to load /Applications/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Versions/106.0.5249.61/Libraries/libEGL.dylib: dlopen(/Applications/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Versions/106.0.5249.61/Libraries/libEGL.dylib, 1): Library not loaded: /System/Library/Frameworks/Metal.framework/Versions/A/Metal
    Referenced from: /Applications/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Versions/106.0.5249.61/Libraries/libEGL.dylib
    Reason: image not found
[84117:771:1001/162516.890430:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[84118:771:1001/162516.978158:ERROR:gpu_init.cc(521)] Passthrough is not supported, GL is disabled, ANGLE is 
dyld: lazy symbol binding failed: can't resolve symbol _MTLCopyAllDevices in /Applications/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Versions/106.0.5249.61/Helpers/Chromium Helper (GPU).app/Contents/MacOS/../../../../Chromium Framework because dependent dylib #24 could not be loaded
dyld: can't resolve symbol _MTLCopyAllDevices in /Applications/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Versions/106.0.5249.61/Helpers/Chromium Helper (GPU).app/Contents/MacOS/../../../../Chromium Framework because dependent dylib #24 could not be loaded
[84082:1287:1001/163212.827258:ERROR:gpu_process_host.cc(974)] GPU process exited unexpectedly: exit_code=5

This is of course annoying because Swiftshader is a software renderer and should not be using Metal.

pjpreilly commented 2 years ago

Broke on osx LIon too.....

pjpreilly commented 2 years ago

Same as this.....?

https://github.com/blueboxd/chromium-legacy/issues/78

...seems so...

Wowfunhappy commented 2 years ago

Fixed in 106.0.5249.91! 😀