Add Electron Fiddle for Win 24H2 DWM/MPO repro testing#2
Draft
jjeff wants to merge 1 commit into
Draft
Conversation
Companion to the GitHub Pages reproduction page. The Fiddle loads the gh-pages URL in a BrowserWindow with a clearly labeled FLAGS block at the top of main.js for toggling --use-angle backends, --gpu-preference, DirectCompositionVideoOverlays, D3D11VideoDecoder, etc., so engineers can compare Electron's behavior against Chrome on identical hardware. Previously published as gist c82631380f573e3278d864c57fa75df0; this directory is now the canonical location.
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.
Summary
Adds an
electron-fiddle/directory containing a minimal Electron Fiddle that loads the gh-pages reproduction page (https://spaceagetv.github.io/chromium-gpu-bug/) inside aBrowserWindow. A clearly labeledFLAGSblock at the top ofmain.jslets engineers toggle:--use-angle(d3d9/gl/warp/default)--gpu-preference(low-power/high-performance/default)--force_low_power_gpu--disable-features=DirectCompositionVideoOverlays--disable-features=D3D11VideoDecoderso Electron's behavior can be compared against Chrome on identical hardware. By default everything is commented out — that matches a stock Electron app and is the baseline you want to compare against Chrome.
How to load it
Clone the repo and in Electron Fiddle use File → Open Fiddle… pointed at the
electron-fiddle/directory. (You can also still load it viaelectron-fiddle://gist/c82631380f573e3278d864c57fa75df0.)Relationship to the existing gist
This Fiddle was previously published as gist
c82631380f573e3278d864c57fa75df0. After this PR merges the gist becomes redundant — leaving whether to delete it to maintainer discretion. The README insideelectron-fiddle/already points to this directory as the canonical location going forward.Independent of PR #1
This change is independent of #1 (the
improve-h264-repro-with-audiotest-video update) — both can land in either order without conflict.Test plan
electron-fiddle/in Electron Fiddle and click RunFLAGSline (e.g.use-angle d3d9), Run, confirm it took effect via DevTools