balena-io / etcher

Flash OS images to SD cards & USB drives, safely and easily.
https://etcher.io/
Apache License 2.0
29.63k stars 2.1k forks source link

White background without any GUI elements, when running Etcher #3536

Open FroztOfficial opened 3 years ago

FroztOfficial commented 3 years ago

Hey, so when I try to run balena etcher on Arch Linux, it does not load any of the GUI it just shows a white background, which maybe is because that it doesn't load it, because of the error from above.

I don't know if this would be helpful, but the program have been installed from the AUR, which you can find here: https://aur.archlinux.org/packages/balena-etcher/

EDIT: I remember that it worked some days ago. So I tried going back to the working version. And I found out that upgrading the electron package seems to create the issue.

Namoki commented 3 years ago

Same here.

oberon-manjaro commented 3 years ago

Error I am seeing on Manjaro: libva error: /usr/lib/dri/i965_drv_video.so init failed

version installed is libva 2.12.0 /usr/lib/dri/i965_drv_video.so is owned by libva-intel-driver 2.4.1

libva has been updated here recently, but a downgrade to older version 2.11.0 doesn't seem to help.

oberon-manjaro commented 3 years ago

The issue seems to be with electron 13.1.2 After downgrading electron to 12.0.9, etcher is working for me again. Launching from command line I realized that the libva error message is present anyway, but the UI is working again. So likely this was present before ... ;)

sebastian-65 commented 3 years ago

Also affected (Arch).

hockeymikey commented 3 years ago

How do you get etcher to use the electron12 install? I tried an alias but no luck, still is using 13.

madc commented 3 years ago

How do you get etcher to use the electron12 install? I tried an alias but no luck, still is using 13.

On Arch Linux you can use a helper like downgrade.

senthilmk commented 3 years ago

Same deal with Cent-os 7.

hockeymikey commented 3 years ago

How do you get etcher to use the electron12 install? I tried an alias but no luck, still is using 13.

On Arch Linux you can use a helper like downgrade.

I don't want to downgrade. How do I get etcher to use 12 and only 12 when it's installed but keeping 13.

ghost commented 3 years ago

How do you get etcher to use the electron12 install? I tried an alias but no luck, still is using 13.

On Arch Linux you can use a helper like downgrade.

I don't want to downgrade. How do I get etcher to use 12 and only 12 when it's installed but keeping 13.

You can install electron 12 (pacman -S electron12) and launch etcher: electron12 /usr/lib/balena-etcher

FroztOfficial commented 3 years ago

How do you get etcher to use the electron12 install? I tried an alias but no luck, still is using 13.

On Arch Linux you can use a helper like downgrade.

I don't want to downgrade. How do I get etcher to use 12 and only 12 when it's installed but keeping 13.

You can install electron 12 (pacman -S electron12) and launch etcher: electron12 /usr/lib/balena-etcher

Thanks, this seems to work for me. We will just have to use this work around until they fix the issue for electron 13.

thundron commented 3 years ago

There was a bit of confusion, I meant to link to https://github.com/balena-io/etcher/issues/3520 and not close (yet) since they could be different issues (the other one is for Apple M1 chip)

thundron commented 3 years ago

Keep in mind that the AUR packages are community-driven, so you're better off checking the issue there. Apparently an user got it working under a different AUR here https://github.com/balena-io/etcher/issues/3558#issuecomment-886866263 so if you can check that, we could close this issue for now as we're not using Electron 13 on master yet

galaxine-senpai commented 1 year ago

I am having the same issue on Zorin, here is my dev tools console output:

Uncaught Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/.mount_balenanLSKvr/resources/app/generated/modules/@ronomon/direct-io/binding.node)
    at process.func [as dlopen] (electron/js2c/asar_bundle.js:5)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1138)
    at Object.func [as .node] (electron/js2c/asar_bundle.js:5)
    at Module.load (internal/modules/cjs/loader.js:935)
    at Module._load (internal/modules/cjs/loader.js:776)
    at Function.f._load (electron/js2c/asar_bundle.js:5)
    at Function.o._load (electron/js2c/renderer_init.js:33)
    at Module.require (internal/modules/cjs/loader.js:959)
    at require (internal/modules/cjs/helpers.js:88)
    at Object.<anonymous> (gui.js:1)
lurch commented 1 year ago

@galaxine-senpai That might have been fixed by #3935 ?

VincentJGeisler commented 1 year ago

running into the same problems on windows portable 1.18.4

jankaifer commented 1 year ago

Checking in here from NixOs https://github.com/NixOS/nixpkgs/pull/158715. NixOS still has etcher 1.7.9 with electron 12 which is quite old now.

Do you still guys support only electron 12 or is there any new version that we could use? I'm trying to get the newest etcher version to run in Nixos, but it shows a blank white screen on electron 12, 24, 25, and 26.

Edit: I found the issue it works fine with electron 25. There is regression which was fixed in later versions, which are not in Nixos repos yet.

DavidAntliff commented 7 months ago

White screen here, with Ubuntu 22.04 + Etcher 1.18.11 when run with sudo (sudo needed due to missing polkit thingie).

Authorization required, but no authorization protocol specified
...
[3396670:0313/153348.760461:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.

1.8.0 does not have this problem, so will use this for now.