ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.14k stars 211 forks source link

No Game appears to work anymore when using Gamescope #1619

Open CaptainCoward opened 2 days ago

CaptainCoward commented 2 days ago

Is there an existing issue for this?

Are you using any gamescope patches or a forked version of gamescope?

Current Behavior

I had several games using Gamescope. I didn't touch anything on their launchparameters but something seems to have broken gamescope. No Game will start anymore, even if i just add gamescope without any launch commands. I tried different combinations like adding --backend sdlor --backend auto though nothing seems to help

Edit I just noticed that this is caused by a System Update. I had Gamescope (3.15.14-1) working on my other system that wasn't yet updated. I updated it and now i run in the same Issue there as well.

Steps To Reproduce

Launch any Steam Game using any Launch Parameters, i recommend Aero GPX Demo since it is free. (Game i have tested Titanfall 2, Rainbow Six 3, Quake 2, Amid Evil, Redout 2, Aero GPX Demo)

An example of launch parameters that worked fine for me but just stopped working would be: gamescope -W 2560 -H 1440 --force-grab-cursor %command%

Hardware information

- Distro: EndeavourOS
- CPU: 5700X3D
- GPU: RX7700XT
- Driver Version: Mesa 1:24.2.6-1

Software information

- Desktop environment: KDE Plasma
- Session type: X11
- Gamescope version: 3.15.14-1
- Gamescope launch command(s): doesn't seem to matter i used gamescope  -W 2560 -H 1440 %command% most of time

Which gamescope backends have the issue you are reporting?

Logging, screenshots, or anything else

Process 2656 (gamescope-wl) of user 1000 dumped core.

                                             Stack trace of thread 2680:
                                             #0  0x0000712c6cc773f4 n/a (libc.so.6 + 0x963f4)
                                             #1  0x0000712c6cc1e120 raise (libc.so.6 + 0x3d120)
                                             #2  0x0000712c6cc054c3 abort (libc.so.6 + 0x244c3)
                                             #3  0x0000712c6ce97b2c _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6 + 0x97b2c)
                                             #4  0x0000712c6ceadf3a _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6 + 0xadf3a)
                                             #5  0x0000712c6ce9752a _ZSt9terminatev (libstdc++.so.6 + 0x9752a)
                                             #6  0x0000564668815950 n/a (gamescope + 0x19950)
                                             #7  0x000056466898aea2 n/a (gamescope + 0x18eea2)
                                             #8  0x000056466885a66f n/a (gamescope + 0x5e66f)
                                             #9  0x00005646688763ad n/a (gamescope + 0x7a3ad)
                                             #10 0x0000712c6cee1c34 execute_native_thread_routine (libstdc++.so.6 + 0xe1c34)
                                             #11 0x0000712c6cc7539d n/a (libc.so.6 + 0x9439d)
                                             #12 0x0000712c6ccfa49c n/a (libc.so.6 + 0x11949c)

                                             Stack trace of thread 2660:
                                             #0  0x0000712c6cc71a19 n/a (libc.so.6 + 0x90a19)
                                             #1  0x0000712c6cc74479 pthread_cond_wait (libc.so.6 + 0x93479)
                                             #2  0x0000712c5f4413be n/a (libvulkan_radeon.so + 0x2413be)
                                             #3  0x0000712c5f41927c n/a (libvulkan_radeon.so + 0x21927c)
                                             #4  0x0000712c5f44131d n/a (libvulkan_radeon.so + 0x24131d)
                                             #5  0x0000712c6cc7539d n/a (libc.so.6 + 0x9439d)
                                             #6  0x0000712c6ccfa49c n/a (libc.so.6 + 0x11949c)

                                             Stack trace of thread 2657:
                                             #0  0x0000712c6ccfa8b2 epoll_wait (libc.so.6 + 0x1198b2)
                                             #1  0x0000564668980a76 n/a (gamescope + 0x184a76)
                                             #2  0x0000564668877418 n/a (gamescope + 0x7b418)
                                             #3  0x0000712c6cee1c34 execute_native_thread_routine (libstdc++.so.6 + 0xe1c34)
                                             #4  0x0000712c6cc7539d n/a (libc.so.6 + 0x9439d)
                                             #5  0x0000712c6ccfa49c n/a (libc.so.6 + 0x11949c)

                                             Stack trace of thread 2656:
                                             #0  0x0000712c6ccec63d __poll (libc.so.6 + 0x10b63d)
                                             #1  0x0000564668826308 n/a (gamescope + 0x2a308)
                                             #2  0x0000712c6cc06e08 n/a (libc.so.6 + 0x25e08)
                                             #3  0x0000712c6cc06ecc __libc_start_main (libc.so.6 + 0x25ecc)
                                             #4  0x000056466882e485 n/a (gamescope + 0x32485)

                                             Stack trace of thread 2659:
                                             #0  0x0000712c6ccec63d __poll (libc.so.6 + 0x10b63d)
                                             #1  0x0000712c6d51cc1b n/a (libSDL2-2.0.so.0 + 0xfac1b)
                                             #2  0x0000712c6d45bc20 n/a (libSDL2-2.0.so.0 + 0x39c20)
                                             #3  0x00005646688b3299 n/a (gamescope + 0xb7299)
                                             #4  0x0000712c6cee1c34 execute_native_thread_routine (libstdc++.so.6 + 0xe1c34)
                                             #5  0x0000712c6cc7539d n/a (libc.so.6 + 0x9439d)
                                             #6  0x0000712c6ccfa49c n/a (libc.so.6 + 0x11949c)

                                             Stack trace of thread 2661:
                                             #0  0x0000712c6cc71a19 n/a (libc.so.6 + 0x90a19)
                                             #1  0x0000712c6cc747e2 pthread_cond_timedwait (libc.so.6 + 0x937e2)
                                             #2  0x0000712c5efa19a4 n/a (/home/captain/.local/share/Steam/ubuntu12_64/libVkLayer_steam_fossilize.so + 0x4e9a4)
                                             ELF object binary architecture: AMD x86-64
kisak-valve commented 2 days ago

Hello @CaptainCoward, as a quick test, can you add -- just before %command%? (e.g. gamescope -W 2560 -H 1440 --force-grab-cursor -- %command%)

CaptainCoward commented 2 days ago

Omg thank you, that seems to be it. At least the game starts now! Should i close the Issue?