skybrush-io / live

An open-source drone show and drone swarm ground control station GUI frontend
https://skybrush.io
GNU General Public License v3.0
52 stars 38 forks source link

Skybrush Live Going blank after starting #48

Open bytesByHarsh opened 2 days ago

bytesByHarsh commented 2 days ago

Just after starting the application, it loads for a few seconds but then the screen turns white.

Version: 2.8.1 System: Ubuntu 20

skybrush_live_issue

isti115 commented 2 days ago

Hi, @bytesByHarsh! I'm fairly certain that this is caused by an Electron / GPU driver version conflict, which results in the crash of the renderer process. Could you please complete the following steps in order to help diagnose and resolve issue?

bytesByHarsh commented 1 day ago

Hi @isti115 I have NVIDIA GeForce RTX 3070 in my system, and all the drivers are up to date.

After running in the terminal I am only getting the following line:

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

I am not sure how to test with / without hardware acceleration enabled, if there is any specific command to do so I'll try it out.

isti115 commented 5 hours ago

Hmm, just to make sure that I'm on the right track, could you please run the application with the developer tools enabled (pass the -d command line flag), and check if:

Also, some further (maybe unrelated, but good to know) questions:


Update: I have created an experimental build that has Electron 28 included, which should enable the usage of the ELECTRON_OZONE_PLATFORM_HINT=wayland environmental variable. (It would've required setting --ozone-platform=wayland previously, which didn't get passed through to Electron when launching the AppImage.) You can download it from the release assets here.

As far as I can see from the screen recording, you seem to be running the default Ubuntu desktop environment, Gnome. If you can get it to run under Wayland[^1], please try the experimental build it in the terminal with this environmental variable set: ELECTRON_OZONE_PLATFORM_HINT=wayland Skybrush-Live-v2.8.1-8-g66c704fb.AppImage

[^1]: It is sometimes possible to select the session type from the display manager / login screen / greeter, such as GDM. image