etcher icon indicating copy to clipboard operation
etcher copied to clipboard

Etcher won't start

Open JoseBCN84 opened this issue 2 years ago • 10 comments

  • Etcher version: balena-etcher-electron-1.7.7-1.x86_64

  • Operating system and architecture: Fedora 36 64-bit, Gnome 42.4, X11, with NVIDIA GeForce GTX 1070

  • What do you think should have happened: I'm just expecting to start the app

  • What happened: I downloaded the appimage file. But it doesn't start. I deleted the appimage file and installed etcher using dnf on terminal. installation was OK but still when I try to start the app nothing happens.

  • Do you see any meaningful error information in the DevTools? When I tried to run it via terminal I get the following:

[Axios v1.7.9] Transitional option 'clarifyTimeoutError' has been deprecated since v1.0.0 and will be removed in the near future
[Axios v1.7.9] Transitional option 'forcedJSONParsing' has been deprecated since v1.0.0 and will be removed in the near future
[Axios v1.7.9] Transitional option 'silentJSONParsing' has been deprecated since v1.0.0 and will be removed in the near future
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[4747:0906/092554.774678:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
/tmp/.mount_balenagyTq8j/balena-etcher-electron: line 10:  4747 Trace/breakpoint trap   (core dumped) "${script_dir}"/balena-etcher-electron.bin "$@"

Any advice?

Thanks!

JoseBCN84 avatar Sep 06 '22 20:09 JoseBCN84

See also https://github.com/balena-io/etcher/search?q=GPU+process+usable&type=issues

lurch avatar Sep 06 '22 23:09 lurch

try /usr/bin/balena-etcher-electron --disable-gpu-sandbox in your console to my knowledge this is a problem with Electron and Nvidia

look in to this for more information https://github.com/balena-io/etcher/issues/3639

david2628 avatar Sep 17 '22 13:09 david2628

Thanks @david2628, tried that but I got No such file or directory` althought if I navigate via Files, I can see it...

JoseBCN84 avatar Sep 18 '22 07:09 JoseBCN84

you got it running in the terminal earlier. just add the flag --disable-gpu-sandbox

it could also be called diffrently (maybe without the -electron) but i think you would have figured this out :)

david2628 avatar Sep 18 '22 07:09 david2628

That's the thing, I can see the file, if I grafically navigate to the folder. but when I do it in the terminal it tells me it doesn't exist... I'm confused

JoseBCN84 avatar Sep 18 '22 08:09 JoseBCN84

OK, I figured out what happened. Somehow, the file /usr/bin/balena-etcher-electron was a broken symbolic link. I found the actual file /usr/bin/balena-etcher-electron so I deleted the broken symbolic link and created a new one in usr/bin/, ran it adding --disable-gpu-sandbox as you suggested and it worked. Thanks!

Would there be a way to run it without having to use the terminal?

JoseBCN84 avatar Sep 18 '22 09:09 JoseBCN84

@JoseBCN84 if you need to do such fiddling with symlinks in /usr/bin this might also be worth a bug report to the developers who make the package you use - this shouldn't happen :)

henning avatar Sep 18 '22 15:09 henning

I’ve installed and uninstalled it so many times lately trying to get it to work that I wouldn’t be surprised I broke something tbh

JoseBCN84 avatar Sep 18 '22 16:09 JoseBCN84

there is something explained here https://github.com/balena-io/etcher/issues/3639#issuecomment-1153285345 but i have not tried it yet so take it with a grain of salt

glad to hear you got it working at all

david2628 avatar Sep 18 '22 17:09 david2628

if you need to do such fiddling with symlinks in /usr/bin this might also be worth a bug report to the developers

There's already a separate issue for that :wink: #3771

lurch avatar Sep 19 '22 13:09 lurch

O/S: Ubuntu 22.04 GPU: Nvidia Etcher version: 1.10.6

changed the Desktop icon file to add the --disable-gpu-sandbox option

sudo gedit /usr/share/applications/balena-etcher-electron.desktop

[you can replace gedit with nano or vi or other text editor]

changed the Exec line to read:

Exec=/opt/balenaEtcher/balena-etcher-electron --disable-gpu-sandbox %U

rebooted and now it works great!

peliopoulos avatar Dec 14 '22 01:12 peliopoulos

Still not working in balena-etcher_1.12.7_amd64.deb

linuxlite avatar Dec 28 '22 03:12 linuxlite