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

Unable to run a 32 bit Windows build on 32 bit platforms (works running same build on 64 bit) #5822

Closed
andrewrutter opened this issue Apr 22, 2021 · 6 comments
Labels

Comments

@andrewrutter
Copy link

Running electron-builder 22.10.5 and electron 12.0.5 on a Mac (Mojave)

We are trying to build a windows win32 executable but when we do the application installs but will not start. No errors are seen on the test device but the application simply refuses to start. On a 64-bit machine the same build works without trouble. The builds are being run from a Mac (Mojave) and then copied to the target test machines via Dropbox or over the local network.

We have tried testing the builds using both Windows 10 and 7 machines with the same effect.

Build is being run using the following in package.json:

electron-builder --win --ia32 -c.extraMetadata.main=build/electron.js

@mmaietta
Copy link
Collaborator

Can you please test this using 22.10.4? If still fails, then try 22.10.3? It'll significantly help me triage

@andrewrutter
Copy link
Author

I have just tried on both of those older versions with the same result. I did also try a build dropping the --ia32 which did come up with an error as expected on deployment due to pushing a 64 bit build. Is there logging I can enable to catch what may be failing on startup or some other ways to assist in that triage process?

@mmaietta
Copy link
Collaborator

If you add this for logging, you may be able to debug further. Would you be willing to give it a shot?
#5119 (comment)

@andrewrutter
Copy link
Author

We ended up heading down a different packaging route which did not run into these issues but are back on this thread to try and get auto updates working. We did run into problems with win 32 builds failing intermittently with a blank screen due to electron/electron#28487 - there was a commit which reduced the stack size and caused issues. As a result we are trying to run with an older electron version that does not suffer from this issue.

When launching the app from a bat file to try and capture output, we are seeing the following. Not sure if this helps.

[3580:0608/014012.483:ERROR:electron_api_top_level_window.cc(108)] Failed to convert NativeImage
[3672:0608/014012.723:ERROR:gl_surface_egl.cc(741)] EGL Driver message (Critical) eglInitialize: No available renderers.
[3672:0608/014012.723:ERROR:gl_surface_egl.cc(1247)] eglInitialize D3D11 failed with error EGL_NOT_INITIALIZED, trying next display type
Generated new staging user ID: 6015b574-a322-5ab6-abb2-e1f5497f26f7
[3672:0608/014013.745:ERROR:gl_surface_egl.cc(741)] EGL Driver message (Critical) eglInitialize: No available renderers.
[3672:0608/014013.745:ERROR:gl_surface_egl.cc(1247)] eglInitialize D3D9 failed with error EGL_NOT_INITIALIZED
[3672:0608/014013.745:ERROR:gl_initializer_win.cc(196)] GLSurfaceEGL::Initialize OneOff failed.
[3672:0608/014013.745:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization

@nornagon
Copy link

Possibly related: electron/electron#29474

@stale
Copy link

stale bot commented Aug 22, 2021

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the backlog label Aug 22, 2021
@stale stale bot closed this as completed Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants