Skip to content

fix: preload SwiftShader before the GPU sandbox locks down again - #53199

Merged
codebytere merged 4 commits into
42-x-yfrom
trop/42-x-y-bp-fix-preload-swiftshader-before-the-gpu-sandbox-locks-down-again-1787733850252
Aug 30, 2026
Merged

fix: preload SwiftShader before the GPU sandbox locks down again#53199
codebytere merged 4 commits into
42-x-yfrom
trop/42-x-y-bp-fix-preload-swiftshader-before-the-gpu-sandbox-locks-down-again-1787733850252

Conversation

@trop

@trop trop Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Backport of #53174

See that PR for details.

Notes: Fixed the GPU process being terminated in AppX/MSIX packaged apps on Windows when WebGPU fell back to SwiftShader.

Reverts the gpu_init.cc change from https://crrev.com/c/7636200
(Chromium 148). Since then the GPU process only preloads
vk_swiftshader.dll when SwiftShader is requested on the command line,
but WebGPU still falls back to it when no D3D12 adapter is usable. That
load now happens after MITIGATION_FORCE_MS_SIGNED_BINS is in force and
is rejected by Code Integrity; in AppX/MSIX packages the rejection
terminates the GPU process and flags the package for repair.

Fixes #52700

No-Verification-Needed: Windows-only Chromium patch; no runtime surface on Linux.

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
@trop
trop Bot requested a review from a team as a code owner August 26, 2026 08:44
@trop
trop Bot requested a review from codebytere August 26, 2026 08:44
@trop trop Bot added 42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Aug 26, 2026
@codebytere
codebytere enabled auto-merge (squash) August 26, 2026 10:24
…ore-the-gpu-sandbox-locks-down-again-1787733850252
@dsanders11

Copy link
Copy Markdown
Member

@codebytere, there's patch conflicts here that need to be fixed.

@codebytere
codebytere merged commit bb6a7af into 42-x-y Aug 30, 2026
71 checks passed
@codebytere
codebytere deleted the trop/42-x-y-bp-fix-preload-swiftshader-before-the-gpu-sandbox-locks-down-again-1787733850252 branch August 30, 2026 16:50
@release-clerk

release-clerk Bot commented Aug 30, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed the GPU process being terminated in AppX/MSIX packaged apps on Windows when WebGPU fell back to SwiftShader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants