Repository navigation
Conversation
Firefox enables WebGPU only on drivers it knows, so navigator.gpu stayed missing on these boards although their Vulkan drivers bring a WebGPU adapter and device up. On the GPU desktop (WLR_RENDERER=gles2, set by the login session only when the desktop draws on the GPU) Firefox now defaults to dom.webgpu.enabled and gfx.webgpu.ignore-blocklist. The user can still turn either off; the software desktop keeps Firefox's defaults. Assisted-by: LLM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft, depends on OrchardLinux/mesa#48. Without that Mesa series, WebGPU on the A9 loses the device on the first frame. The two prefs were tested by hand in about:config on the iPad 5; this
firefox.cfgchange itself has not run on a device yet.Firefox enables WebGPU only on drivers it knows, so
navigator.gpustayed missing on these boards, although their Vulkan drivers bring a WebGPU adapter and device up. On the GPU desktop, Firefox now defaults todom.webgpu.enabledandgfx.webgpu.ignore-blocklist. The gate isWLR_RENDERER=gles2, which the login session sets only when the desktop draws on the GPU (its Vulkan driver beside it). Both aredefaultPrefs, so the user can turn them off. The software desktop keeps Firefox's defaults.Tested by hand on the iPad 5 (j71t, Firefox 161): with both prefs set, the adapter and device come up on the PowerVR Vulkan driver (
texture-compression-etc2,texture-compression-astc,depth32float-stencil8,dual-source-blending, maxTextureDimension2D 8192). With mesa#48 the passes run instead of losing the device.How to test
On a stock Orchard install with this omarchy-a and Mesa from OrchardLinux/mesa#48:
A/B: set either pref to false in about:config. Expected on the iPad 5: the samples draw. A10: enabled through the same gate, untested on our side. A12 (asahi/Honeykrisp): enabled too, untested.