ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.1k stars 207 forks source link

Gamescope can fail to start if no keyboard is plugged in on some devices #865

Open ruineka opened 1 year ago

ruineka commented 1 year ago

Attempting to start gamescope on an Aya Neo Geek results in this message until a keyboard is plugged in and it starts working.

launch params: gamescope -e -f --xwayland-count 2 -- steam -steamos3 -steamdeck -steampal

wlserver: [xwayland/server.c:108] Starting Xwayland on :0
wlserver: [xwayland/server.c:108] Starting Xwayland on :1
(EE) could not connect to wayland server
(EE) could not connect to wayland server

Log when it boots with the keyboard plugged in gamescope-stdout.log.txt

ChimeraOS v41 6.1.21-1-lts

ruineka commented 1 year ago

Okay...so plugging in a flash drive can also get it to stop crashing and boot.. I've seen this same behavior on a G14 Zephyrus laptop with 680M graphics before.

It seems like it may be related to Rembrandt devices because I have never seen this before with the 5800u handhelds.

misyltoad commented 1 year ago

Would you be able to check if this libwayland PR helps?

https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/309

I had a similar issue occurring when GDB is attached, and wondering if something about your setup is also triggering this...

ruineka commented 1 year ago

Would you be able to check if this libwayland PR helps?

https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/309

I had a similar issue occurring when GDB is attached, and wondering if something about your setup is also triggering this...

I'll give this a try and report back.