SabakiHQ / Sabaki

An elegant Go board and SGF editor for a more civilized age.
https://sabaki.yichuanshen.de/
MIT License
2.39k stars 375 forks source link

Window's content all black on Linux using Wayland + NVIDIA #907

Open ChristianWSmith opened 1 year ago

ChristianWSmith commented 1 year ago

Title explains the problem.

Solution was to log into my desktop environment using X11, open Sabaki, turn off hardware acceleration, and log back in using Wayland.

Any way we could have Sabaki detect whether or not the host is using Wayland and disable hardware acceleration by default?

Sorry if this is improper.

apetresc commented 1 year ago

Ah interesting - I'll have to get Wayland/Weston set up to be able to test this. But yes, that should be doable - I think there's an environment variable set to allow client programs to distinguish between X.org and Wayland.