Fix AppImage crash on Linux due to /dev/shm permission issues#1164
Draft
Fix AppImage crash on Linux due to /dev/shm permission issues#1164
Conversation
…1158) * Initial plan * Add AMD GPU workaround plugin for Windows rendering issues Co-authored-by: ci010 <8425057+ci010@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ci010 <8425057+ci010@users.noreply.github.com>
…ow crash Co-authored-by: ci010 <8425057+ci010@users.noreply.github.com>
Co-authored-by: ci010 <8425057+ci010@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix white window issue in launcher
Fix AppImage crash on Linux due to /dev/shm permission issues
Nov 17, 2025
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.
Chromium fails to create shared memory in
/dev/shmon certain Linux distributions (e.g., Bazzite) with restrictive permissions, causing the launcher to crash on startup with a white window.Changes
--disable-dev-shm-usageflag for Linux AppImage builds inxmcl-electron-app/main/index.ts--no-sandboxflag in AppImage detection blockThis Chromium flag bypasses
/dev/shmfor shared memory allocation, using alternative memory management instead.Original prompt
This section details on the original issue you should resolve
<issue_title>WHITE WINDOW</issue_title>
<issue_description>### Is there an existing issue for this?
Launcher Version
0.52.7.1227
Operating System
Linux
Architecture
x64
Current Behavior
open the launcher and appear a white windows and after forcing opening from applet
Expected Behavior
corect launch
Steps To Reproduce
with enviroment descripte below and after done
sudo chmod 1777 /dev/shm:Anything else?
enviroment infos:
CPU
sudo journalctl -k > 0
sudo journalctl -k > 0.tar.zst.zip
at line: 1165