Visitar URL original
fix: preload SwiftShader before the GPU sandbox locks down again by trop[bot] · Pull Request #53197 · electron/electron · GitHub
Skip to content

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

Merged
codebytere merged 3 commits into
43-x-yfrom
trop/43-x-y-bp-fix-preload-swiftshader-before-the-gpu-sandbox-locks-down-again-1787733847933
Aug 27, 2026
Merged

codebytere merged 3 commits into
43-x-yfrom
trop/43-x-y-bp-fix-preload-swiftshader-before-the-gpu-sandbox-locks-down-again-1787733847933

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 43-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-1787733847933
@codebytere
codebytere merged commit 895379c into 43-x-y Aug 27, 2026
136 of 138 checks passed
@codebytere
codebytere deleted the trop/43-x-y-bp-fix-preload-swiftshader-before-the-gpu-sandbox-locks-down-again-1787733847933 branch August 27, 2026 02:48
@release-clerk

release-clerk Bot commented Aug 27, 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

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

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants