live icon indicating copy to clipboard operation
live copied to clipboard

Skybrush Live Going blank after starting

Open bytesByHarsh opened this issue 1 year ago • 5 comments

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

bytesByHarsh avatar Nov 12 '24 10:11 bytesByHarsh

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?

  • Check if your drivers are all up to date
  • Share the make / model of your GPU
  • Run the application with / without hardware acceleration enabled
  • Run the application from a terminal window and share the output

isti115 avatar Nov 12 '24 16:11 isti115

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.

bytesByHarsh avatar Nov 13 '24 07:11 bytesByHarsh

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:

  • The "Devtools was disconnected from the page. Once page is reloaded, Devtools will automatically reconnect." message appears after the main window goes blank?
  • Pressing CTRL+R (refresh) while the devtools window has focus temporarily resurrects the user interface?

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

isti115 avatar Nov 14 '24 11:11 isti115

Hey, thanks for the build,

Yes now it seems to be working fine, this binary is working even without specifying ELECTRON_OZONE_PLATFORM_HINT=wayland

And yes I am running the default Ubuntu desktop environment, with Intel Core i7 and Nvidia GeForce RTX graphic card.

bytesByHarsh avatar Nov 19 '24 06:11 bytesByHarsh

Okay, so basically it seems like we need to upgrade Electron and then we should be okay. I've been planning a new Live release for quite a while now so that's one more reason to do it.

ntamas avatar Nov 19 '24 10:11 ntamas

Electron upgrade done, seems like we are okay now.

ntamas avatar Aug 18 '25 10:08 ntamas