You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

WebGL not working on Safari 18

I can't get WebGL to work on Safari 18 (actually, I don't think it worked on any previous version either). According to multiple websites I looked at, I am supposed to activate the Develop menu, then select "Experimental Features" and from there check WebGL 2.0. I have the Develop menu, but there is no Experimental Features sub-menu. Did Apple move it somewhere?


I went to Webkit.org, and it lists new features for WebGL in Safari 18, but I still can't figure out how to turn it on!


I am using Safari 18.0.1 and Sequoia 15.0.1 on an M1 iMac.

Posted on Oct 17, 2024 8:30 AM

Reply
2 replies

Oct 30, 2024 5:05 AM in response to JSA271

I found a solution for this on Reddit. It's located here: https://www.reddit.com/r/MacOS/comments/xclt8a/webglwebgl2_disabled_in_safari_even_after/


Give Terminal app Full Disk Access permission in the Settings->Privacy&Security pane, and after that run in Terminal:


defaults read com.apple.Safari WebKitPreferences.webGLEnabled


(change Safari to SafariTechnologyPreview if using STP)


if it shows 0, then do defaults write com.apple.Safari WebKitPreferences.webGLEnabled 1


Restart Safari, webgl should be enabled now.


It worked perfectly. Now what I would really like to know is why WebGL is not enabled by default in Safari, or at least accessible through settings.

WebGL not working on Safari 18

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.