FirefoxReality icon indicating copy to clipboard operation
FirefoxReality copied to clipboard

Major WebGL texture upload performance regression - links to likely duplicate Firefox Core issues

Open dustinkerstein opened this issue 2 years ago • 2 comments

Looks like there's been a major WebGL texture upload performance regression in the past 6 months or so, but it doesn't seem like there's been much investigation. Here is a pure WebGL replication with a 4k 60fps video - https://jsfiddle.net/Lmy0b3xt

This plays back in latest Chrome at 60fps, and ~5fps in Firefox 93

Here are what are likely just duplicates:

https://github.com/MozillaReality/FirefoxReality/issues/3930 https://github.com/MozillaReality/FirefoxReality/issues/3952 https://bugzilla.mozilla.org/show_bug.cgi?id=1709726 https://bugzilla.mozilla.org/show_bug.cgi?id=1719154 https://bugzilla.mozilla.org/show_bug.cgi?id=1736923 https://bugzilla.mozilla.org/show_bug.cgi?id=1708006 https://bugzilla.mozilla.org/show_bug.cgi?id=1708491

dustinkerstein avatar Oct 21 '21 21:10 dustinkerstein

Workaround per https://bugzilla.mozilla.org/show_bug.cgi?id=1708491 is to use RGBA textures instead of RGB.

dustinkerstein avatar Oct 22 '21 01:10 dustinkerstein

Commenting to add that the last build of Firefox that did not have this performance issue with RGB textures was Version 85.0.2 (64-bit)

eproasim avatar Nov 11 '21 14:11 eproasim