Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed app start up issue on Linux (Ubuntu) #3159

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

worldwalker2000
Copy link

Fix

App would not start on Ubuntu 22.04 because of GPU sandbox. This appears to be a problem with chromium and adding the flag --disable-gpu-sandbox fixes it. This fixes #3155 and #3149.

P.S. If you want me to add back the app.disableHardwareAcceleration(); just let me know, but I assume that because the sandbox required that line it won't be necessary any more with the GPU sand box disabled. This assumption holds true on my machine but again if you want that line back just let me know.

Test

  1. Install on Ubuntu 22.04
  2. Open app

Release

Fixed but preventing start up on Ubuntu Linux systems.

App would not start on Ubuntu 22.04 because of GPU sand box. This
appears to be a problem with chromium and adding the flag
--disable-gpu-sandbox fixes it.
@codebykat
Copy link
Member

Hi @worldwalker2000, thanks for doing this. Can you confirm whether it is still required on latest trunk? I can't tell if it is still relevant in the latest versions of Electron. There's also a comment here that building it with "portable" in electron-builder will fix the problem.

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

Successfully merging this pull request may close these issues.

Can't run on Debian 12 with Amd cpu.
2 participants