Bug 272511 - WebGL Context Lost in STP 192
Summary: WebGL Context Lost in STP 192
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: Safari Technology Preview
Hardware: Mac (Apple Silicon) macOS 14
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-04-11 01:25 PDT by M
Modified: 2024-04-12 08:45 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M 2024-04-11 01:25:39 PDT
Hi there,

Release 192 of Safari Technology Preview breaks most WebGL-based pages I have come across. Checking the error log of a few, I see "WebGL: context lost" at the top of the log followed by a number of resulting errors. Two examples would be:

https://evanw.github.io/glfx.js/
This page is for the WebGL library GLFX.js and it has worked perfectly in Safari for years and years. It is broken in 192 and works fine in normal Safari across devices (Mac, iPhone (17.5), iPad, etc) 

https://www.figma.com
Figma's homepage uses WebGL extensively and also has the same issue where context is lost and the WebGL parts of the page break. It has no WebGL errors in current Safari.
Comment 1 Radar WebKit Bug Importer 2024-04-11 13:14:11 PDT
<rdar://problem/126295051>
Comment 2 Karl Dubost 2024-04-11 18:35:13 PDT
This is working for me on a macbook Pro M3
and with https://evanw.github.io/glfx.js/

Safari Technology Preview  192           19619.1.8.1
Firefox Nightly            126.0a1       12624.4.11
Google Chrome Canary       125.0.6413.0  6413.0

I can't reproduce the error.
Comment 3 M 2024-04-11 23:07:45 PDT
Hi Karl,

Thank you for checking so quickly. Having all the sites error was my experience the first time opening STP after updating to 192. I restarted my MacBook and now it works again everywhere. Odd!

You can probably close this, but if it's useful, I am on an MacBook Pro (M1 Pro) and Sonoma 14.2.1 (23C71).