-
Notifications
You must be signed in to change notification settings - Fork 17k
Closed as not planned
Closed as not planned
Copy link
Labels
40-x-ybug 🪲platform/linuxstatus/confirmedA maintainer reproduced the bug or agreed with the featureA maintainer reproduced the bug or agreed with the feature
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
40.0.0
What operating system(s) are you using?
Ubuntu
Operating System Version
22,24
What arch are you using?
x64
Last Known Working Electron version
39.3.0
Does the issue also appear in Chromium / Google Chrome?
I don't know how to test
Expected Behavior
Electron app starts and shows new BrowserWindow.
Actual Behavior
After upgrade from v39.3.0 to v40.0.0 calling app.getGPUInfo('basic') throws:
Error: GPU access not allowed. Reason: GPU access is disabled in chrome://settings.
The code is called before BrowserWindow is created (by Sentry.js initialization). We have tried in on 3 different machines (with different graphic cards) with Ubuntu 22 and Ubuntu 24, too.
We use:
app.disableHardwareAcceleration();And without this, the app starts OK. Also when I've tried to add the switch:
app.disableHardwareAcceleration();
app.commandLine.appendSwitch("use-angle", "swiftshader");Then the app starts OK, too.
Testcase Gist URL
No response
Additional Information
- Switching from Wayland to X11 by
export XDG_SESSION_TYPE=x11does not help. - Same problem with v40.0.beta1.
- v40.0.alpha.8 shows the window, but it's blank and console is flooded by "Network service crashed or was terminated, restarting service."
- => Seems like the problem is in some commit between v40.0.alpha.8 and v40.0.beta1.
- Same problem with [email protected]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
40-x-ybug 🪲platform/linuxstatus/confirmedA maintainer reproduced the bug or agreed with the featureA maintainer reproduced the bug or agreed with the feature
Type
Projects
Status
👍 Does Not Block Stable