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

Blank window running on Wayland desktop in Linux #2680

Open
JPLeBreton opened this issue Jul 14, 2021 · 5 comments
Open

Blank window running on Wayland desktop in Linux #2680

JPLeBreton opened this issue Jul 14, 2021 · 5 comments

Comments

@JPLeBreton
Copy link

Steps to reproduce:

  1. Install and launch the itch.io client on a Linux desktop using the Wayland display server (rather than the X server)
  2. Observe: window is a single color. Items in it can still possibly be clicked.

Expected result: Application window appears as normal.

Judging from other Wayland bugs I've seen on other Electron-based projects, this might be fixed by upgrading to a newer version of Electron: signalapp/Signal-Desktop#3411

My config:

  • Manjaro Linux (latest stable release)
  • Intel i7-8700, NVIDIA GTX 1070, 32GB RAM
  • Nvidia 470 beta drivers + Xwayland 21.1.2
  • GNOME 40.2 desktop environment

Application runs fine when I use the standard X11-based desktop.

@ell1e
Copy link

ell1e commented Jul 31, 2021

For what it's worth, it works under GNOME 40.3 Wayland for me with an Intel GPU. So this might be some graphics driver dependent issue.

@JPLeBreton
Copy link
Author

That's good to know, I can try to track this down (probably with other electron apps) on the Nvidia side, as their Wayland support is clearly still in progress.

@VitalyAnkh
Copy link

Nvidia's new drivers (470 series) start to support Wayland better, and many Apps using Electron run well under newer versions of Electron (maybe 13.0 later?). So how about trying upgrading the Electron version of the Itch desktop app?

@buckysrevenge
Copy link

The 495 drivers from Nvidia (at least the ones in the latest stable Manjaro release) have the same problem under Wayland, Intel graphics work fine

@a-priestley
Copy link

a-priestley commented Aug 12, 2022

This could be solved I think very easily with --ozone-platform=wayland but judging by the fact that it does not work, itch is not passing the flag to electron.
Check out this commit to VSCode for how to implement 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

5 participants