Bug 475452 - Gamescope crashes plasma shell, cannot relaunch unless gamescope is closed.
Summary: Gamescope crashes plasma shell, cannot relaunch unless gamescope is closed.
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-11 01:49 UTC by tesla
Modified: 2024-07-06 03:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tesla 2023-10-11 01:49:55 UTC
SUMMARY
Certain games using gamescope (Risk of Rain 2, Renegade X, Zandronum and possibly others) crashes the plasma shell. Panels, background image and widgets are all gone, cannot be relaunched with gamescope running in the background.

Heres my attempt on relaunching plasmashell with gamescope running in the background: https://pastebin.com/sWLq0hf4

STEPS TO REPRODUCE
1. Launch a game with gamescope
2. Plasma shell crashes, (Panels, widgets and background image are gone).
3. Cannot relaunch plasma shell until gamescope is closed.

OBSERVED RESULT
plasmashell crashes, panels, widgets and background image breaks.

EXPECTED RESULT
Run gamescope without plasmashell crashing

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Nobara 38 (Wayland)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Comment 1 David Redondo 2023-10-11 07:07:32 UTC
If something crashed, we need a backtrace of it so we can figure out what's going on. Can you please attach a backtrace of the crash using the coredumpctl command-line program, as detailed in https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl?
Thanks!
Comment 2 David Redondo 2023-10-11 10:54:33 UTC
We can actually see what goes wrong
Comment 3 David Edmundson 2023-10-11 11:56:32 UTC
Is this also you: https://github.com/ValveSoftware/gamescope/issues/977 ?

Can you confirm if it happens everytime and for all gamescope games or just a particular one?
Your log references some 3rd party applets: com.github.zren.tiledmenu  does it happen on a stock session?
Comment 4 tesla 2023-10-11 18:12:33 UTC
(In reply to David Redondo from comment #2)
> We can actually see what goes wrong

Do you still need the log for the backtrace? I'm not sure if I did it right (or even used the right one), but I can upload it if you still need it.
Comment 5 tesla 2023-10-11 18:13:51 UTC
(In reply to David Edmundson from comment #3)
> Is this also you: https://github.com/ValveSoftware/gamescope/issues/977 ?
> 
> Can you confirm if it happens everytime and for all gamescope games or just
> a particular one?
> Your log references some 3rd party applets: com.github.zren.tiledmenu  does
> it happen on a stock session?

I've tried it without the tiled menu and it still crashes. Not every game causes it to crash. AoE2:DE and Vermintide 2 are one of the few that do not crash plasma shell.
Comment 6 Bug Janitor Service 2023-10-26 03:45:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2023-11-10 03:46:02 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 8 David Redondo 2023-11-10 08:19:37 UTC
Infor was provided
Comment 9 Akseli Lahtinen 2024-06-06 13:35:26 UTC
Hi, do you still encounter this bug?

I tested playing Risk of Rain 2 with gamescope, using these settings: `gamescope -e -W 3440 -H 1440 -f --force-grab-cursor %command%` 

Plasmashell did not crash for me or become unresponsive during gameplay, so maybe the issue has been fixed.

My system info:
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.1
Kernel Version: 6.8.11-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600

I am setting this NEEDSINFO WAITINGFORINFO so that this bug report closes automatically in 30 days. If you do encounter the issue again, feel free to comment here any time, or create a new report. Thanks!
Comment 10 Bug Janitor Service 2024-06-21 03:47:24 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2024-07-06 03:47:33 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!