Skybrush Live Going blank after starting
bytesByHarsh opened this issue · 5 comments
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
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.
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:
- Does your system have a CPU with an integrated GPU?
- Is your desktop environment running on Xorg or Wayland? (Hopefully a simple
echo $XDG_SESSION_TYPE
should give you an answer, if not, here are some more ways to check.)- If the desktop environment is using Wayland, please check if Live is running under XWayland!
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 Wayland1, 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
Footnotes
-
It is sometimes possible to select the session type from the display manager / login screen / greeter, such as GDM.
↩
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.
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.