-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Electron v2 Fails to Open with OpenGL Driver Enabled (Nov 2018 Raspbian) #1500
Comments
Same issue after i have installed the update. pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start
Starting MagicMirror: v2.6.0 npm ERR! A complete log of this run can be found in: |
@Skorpionbird -- Out of curiosity, try updating electron and see if it fixes this issue/breaks something else: cd ~/MagicMirror
sed -i 's/electron": "\^2\.0\..*",/electron": "^3.0.13",/g' package.json
npm install |
@shbatm You don't need to modify the package.json file. Simply use the following command:
Let me know if this fixes the issue. |
I've bumped the Electron dependency to 3.0.13 in the develop branch. Please let me know if that fixes the issue. (e1fe8d1) |
@MichMich Good to know. I was updating package.json just so I could do a clean Electron 3.0.13 is working fine for me. The only thing was I had to update my Node.JS to v10.15.0 from v8.15.0 -- I'm not sure if that's really required, but it looks like Electron 3.x uses NODE_MODULE_VERSION 64 instead of 57, and it was causing a few of my modules to fail rebuilds (electron-rebuild was choking). |
Yes, I've added that to the Changelog. Can I close this issue? |
Electron fails to launch when OpenGL (Full KMS or Fake KMS) is enabled.
Upgrading to Electron v3.0.13 seems to fix the issue, but don't know if this breaks something else. Cannot use Electron v4 yet with Raspberry Pi due to dependency issue (electron/electron#16205)
Platform:
Electron v2.0.4 and v2.0.16
Raspberry Pi 3b
Raspbian with Desktop - November 2018 image
Node Version: v8.15.0
MagicMirror Version: V2.6.0 and V2.7.0-dev
Description: Provide a detailed description about the issue and include specific details to help us understand the problem. Adding screenshots will help describing the problem.
Steps to Reproduce:
sudo rasbpi-config
npm start
Expected Results:
MagicMirror application opens
Actual Results: Describe what you actually saw.
Hangs at "Launching application". No error messages.
Configuration:
Default.
The text was updated successfully, but these errors were encountered: