Wrap Electron with software GL when Apple Silicon has no render GPU - #349
Draft
scottjones wants to merge 2 commits into
Draft
scottjones wants to merge 2 commits into
scottjones wants to merge 2 commits into
Conversation
M3 has DCP scanout but no AGX render node, so Chromium and 1Password die in the GPU process and stay running with no window. PATH wrappers on /usr/local/bin add --ozone-platform=wayland --disable-gpu at launch when renderD* is missing, and become a no-op once a render GPU appears.
scottjones
marked this pull request as draft
September 6, 2026 04:20
Member
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.
On M3 (and any Apple Silicon without AGX) there is a DCP scanout device but no DRM render node. Chromium and 1Password then die in the GPU process and stay running with no window.
This adds PATH wrappers on
/usr/local/binthat pass--ozone-platform=wayland --disable-gpuat launch whenrenderD*is missing, and become a no-op once a render GPU appears. Upstreamomarchy-launch-*scripts stay untouched.Related to #343 (Hyprland software rendering) but this is the Electron/Chromium launch path that PR does not cover.
Test plan
./test/shell.d/electron-gl-test.sh./test/shell.d/launch-1password-test.shomarchy update, existing/usr/local/bin/1passwordsymlink is replaced by the wrapper