Bug 232235

Summary: REGRESSION(Safari 15, BigSur): Poor video texture upload performance with MacBook M1, ANGLE OpenGL backend
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: WebCore JavaScriptAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: alex, dino, dustin.kerstein, ews-watchlist, kbr, kondapallykalyan, marcus.stenbeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=232296
https://bugs.webkit.org/show_bug.cgi?id=236699
Bug Depends on:    
Bug Blocks: 234240    
Attachments:
Description Flags
Patch none

Description Kimmo Kinnunen 2021-10-25 06:03:11 PDT
REGRESSION(Safari 15) Poor video texture upload performance with MacBook M1, ANGLE OpenGL backend

Affects potentially Safari down levels (Safari 15 on Big Sur)

> Dustin Kerstein dustin.kerstein@gmail.com
> https://jsfiddle.net/qz9ka6xm (using RGBA textures from a very simple cycling color video).

WebKit trunk, MacBook M1, measured on macOS Monterey for simplicity

                     1080p.   2160p
ANGLE Metal            ~2ms    ~2ms
ANGLE OpenGL (CGL)    ~30ms  ~250ms
Comment 1 Dustin Kerstein 2021-10-25 12:25:34 PDT
Note, the M1 MacBook Air was running Big Sur 11.6
Comment 2 Radar WebKit Bug Importer 2021-11-01 06:04:18 PDT
<rdar://problem/84878815>
Comment 3 Alexander 2021-12-11 08:35:05 PST
Experiencing the same issue on Safari 15/Big Sur with Verge3D toolkit.
Comment 4 marcus.stenbeck 2021-12-12 23:52:14 PST
Experiencing this on my computer too.

Safari 15.1

macOs Monterey 12.0.1

MacBook Pro (15-inch, 2018)
2,2 GHz 6-Core Intel Core i7
32 GB 2400 MHz DDR4
Radeon Pro 560X 4 GB
Intel UHD Graphics 630 1536 MB
Comment 5 Kimmo Kinnunen 2021-12-13 06:17:06 PST
Created attachment 446998 [details]
Patch
Comment 6 EWS Watchlist 2021-12-13 06:18:15 PST
Note that there are important steps to take when updating ANGLE. See https://trac.webkit.org/wiki/UpdatingANGLE
Comment 7 EWS 2021-12-13 11:48:34 PST
Committed r286960 (?): <https://commits.webkit.org/r286960>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 446998 [details].