Open imavlr opened 7 months ago
Seems like the new way is unsetting the WAYLAND_DISPLAY variable. No need to set SDL_VIDEODRIVER anymore from what I can tell.
Example:
env -u WAYLAND_DISPLAY gamescope -- %command%
It's not using SDL on the Wayland path anymore. Which would be why.
I'll probably add an explicit way to set the backend.
Example:
env -u WAYLAND_DISPLAY gamescope -- %command%
this causes my gamescope to crash, claiming (EE) failed to read Wayland events: Connection reset by peer Segmentation fault (core dumped)
Do you have an Xwayland instance running, @Flameopathic, or are you running a pure Wayland setup?
@DeedleFake I have Xwayland running
Since 3.14.18 (#1321) there is a CLI option to set the backend. E.g. --backend sdl
.
With the latest update of gamescope on Arch, I seemingly can no longer force
gamescope
to run the X11 client instead of thegamescope-wl
client.My motivation for doing so is that discord is unable to listen to keyboard hotkeys when Wayland windows are focused. Therefore, running
gamescope
in an Xwayland window lets all my games get around this issue, however, with the latest version of gamescope on Arch Linux, I can no longer do so by setting SDL_VIDEODRIVER=x11.Has this been removed completely, or is there a new way to force it to run x11?