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
Question marked as Top-ranking reply

Posted on Oct 30, 2024 5:05 AM

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.

Similar questions

2 replies
Question marked as Top-ranking reply

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.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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.