electron-quick-start icon indicating copy to clipboard operation
electron-quick-start copied to clipboard

Only Electron 1.6.x can execute renderer process on armv7l (Raspberry Pi)

Open samuelcarreira opened this issue 9 years ago • 7 comments

I want to run some of my Electron Apps on a Raspberry Pi 3 and I started my tests by using the simple Electron Quick Start Project. The app starts and loads the Browser window with the specified dimensions, but with a completely white screen and without any renderer activity (I also cannot open the Developer Tools from the menu -> it does nothing even if it was called from the main process).

After some tests and trials, I discover that I can only run the Electron app if I use the 1.6.x (1.6.11 <-> 15) version.

Aditional details:

  • Tested with Electron 1.7.x and 1.8.1 beta
  • OS used: Raspbian STRETCH and Ubuntu Mate
  • Hardware: Raspberry Pi Model 3 B (arm7vl) connected to a screen (no remote access)

samuelcarreira avatar Oct 12 '17 14:10 samuelcarreira

Electron 1.7.12 works with Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux Unfortunately 1.8.x still does not work, white screen only

mihailssh avatar Feb 11 '18 23:02 mihailssh

Thank you for taking the time to report this issue and helping to make Electron better.

We are sorry that we do not always have the capacity to look at all reported issues in a timely manner. There have been many changes in Electron since this issue was reported and it may have been fixed in that time.

The version of Electron this issue was reported on, 1.8.1 beta, has been superseded by newer releases -- the latest in that series is 1.8.3. It would help us greatly if you could test this issue with the latest version.

I'm setting the more-information-needed label for the above reasons. After you've responded, please @ me in a followup comment.

Thanks in advance! Your help is appreciated

ckerr avatar Mar 12 '18 13:03 ckerr

This issue still exists on 1.8.3.

mateodelnorte avatar Apr 10 '18 00:04 mateodelnorte

Logs experienced include the following:

10.04.18 00:23:55 (+0000)  main  X Protocol Version 11, Revision 0
10.04.18 00:23:55 (+0000)  main  Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
10.04.18 00:23:55 (+0000)  main  Current Operating System: Linux cb5d674 4.9.59 #2 SMP Thu Mar 29 09:44:53 UTC 2018 armv7l
10.04.18 00:23:55 (+0000)  main  Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000  dwc_otg.lpm_enable=0 console=tty1 console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
10.04.18 00:23:55 (+0000)  main  Build Date: 11 November 2016  11:59:59AM
10.04.18 00:23:55 (+0000)  main  xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
10.04.18 00:23:55 (+0000)  main  Current version of pixman: 0.33.3
10.04.18 00:23:55 (+0000)  main         Before reporting problems, check http://wiki.x.org
10.04.18 00:23:55 (+0000)  main         to make sure that you have the latest version.
10.04.18 00:23:55 (+0000)  main  Markers: (--) probed, (**) from config file, (==) default setting,
10.04.18 00:23:55 (+0000)  main         (++) from command line, (!!) notice, (II) informational,
10.04.18 00:23:55 (+0000)  main         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
10.04.18 00:23:55 (+0000)  main  (==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 10 00:23:55 2018
10.04.18 00:23:55 (+0000)  main  (==) Using system config directory "/usr/share/X11/xorg.conf.d"
10.04.18 00:24:03 (+0000)  main  [229:0410/002403.797073:WARNING:audio_manager.cc(293)] Multiple instances of AudioManager detected
10.04.18 00:24:03 (+0000)  main  [229:0410/002403.797420:WARNING:audio_manager.cc(254)] Multiple instances of AudioManager detected
10.04.18 00:24:04 (+0000)  main  [229:0410/002404.024258:ERROR:desktop_window_tree_host_x11.cc(1909)] Not implemented reached in void views::DesktopWindowTreeHostX11::MapWindow(ui::WindowShowState)

mateodelnorte avatar Apr 10 '18 00:04 mateodelnorte

@mateodelnorte can you try on 2.0.0? Additionally, this issue will likely get more traction if you open it on electron/electron here.

In the meantime i'm going to close this issue, and can inspect it more closely once it's opened in a better location.

codebytere avatar May 07 '18 18:05 codebytere

Had the same error. Version 2.0.0 works very well.

T94T avatar Jun 29 '18 09:06 T94T

@mateodelnorte I didn't have any problem with versions 2.x

samuelcarreira avatar Jun 29 '18 11:06 samuelcarreira