iprodanovbg / homeassistant-desktop

🎛 Desktop application (Windows / macOS / Linux) for Home Assistant built with Electron
Apache License 2.0
432 stars 45 forks source link

AppImage crashes under Linux #8

Closed chris0z closed 1 year ago

chris0z commented 1 year ago

Here is the output:

09:12:26.186 › homeassistant-desktop started 09:12:26.189 › Platform: linux x64 09:12:26.369 › Checking for update 09:12:26.370 › Initialized main window 09:12:26.489 › Initialized Tray menu 09:12:26.502 › Initialized availability check [21264:1116/091227.282662:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye. [1] 21264 trace trap (core dumped) ./Home-Assistant-Desktop-v1.5.2-linux-x86_64.AppImage

If i run it with --no-sandbox its working fine

iprodanovbg commented 1 year ago

Hello,

Can you give me more information about your Linux distribution.

Julusian commented 1 year ago

I'm seeing this too on Ubuntu 22.04.1.

Running it through gdb doesnt produce a useful stacktrace

Running a clone of the repo gives:

julus@rorschach:~/Projects/misc/homeassistant-desktop$ npm start

> homeassistant-desktop@1.5.2 start
> electron app.js

09:57:51.768 › Electron started
09:57:51.771 › Platform: linux x64
09:57:51.875 › APPIMAGE env is not defined, current application is not an AppImage
09:57:51.876 › Initialized main window
09:57:51.892 › Initialized Tray menu
09:57:51.906 › Initialized availability check
[15223:1117/095753.244889:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
/home/julus/Projects/misc/homeassistant-desktop/node_modules/electron/dist/electron exited with signal SIGTRAP

Reverting https://github.com/iprodanovbg/homeassistant-desktop/commit/61b158700f5f4182d35edc5033e23f1e10625325 allows it to run again. Electron 11 is pretty old (from november 2020), so I am not entirely surprised that it has issues on recent linux distros

iprodanovbg commented 1 year ago

This issue is fixed in last update