Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skybrush Live Going blank after starting #48

Open
bytesByHarsh opened this issue Nov 12, 2024 · 5 comments
Open

Skybrush Live Going blank after starting #48

bytesByHarsh opened this issue Nov 12, 2024 · 5 comments

Comments

@bytesByHarsh
Copy link

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
Copy link
Member

isti115 commented Nov 12, 2024

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

@bytesByHarsh
Copy link
Author

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
Copy link
Member

isti115 commented Nov 14, 2024

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 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

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

@bytesByHarsh
Copy link
Author

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.

@ntamas
Copy link
Member

ntamas commented Nov 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants