https://bugs.kde.org/show_bug.cgi?id=487390

            Bug ID: 487390
           Summary: Fallout 4 in Gamescope freezes Plasmashell if
                    TaskManager is present on a panel
    Classification: Plasma
           Product: plasmashell
           Version: 6.0.4
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager
          Assignee: plasma-b...@kde.org
          Reporter: thederpywo...@gmail.com
                CC: qydwhotm...@gmail.com
  Target Milestone: 1.0

Created attachment 169718
  --> https://bugs.kde.org/attachment.cgi?id=169718&action=edit
gdb backtrace of plasmashell after it had frozen

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
When playing Fallout 4 (in my case on Steam) in a nested Gamescope instance,
the `plasmashell` will freeze after a period of gameplay. This both happens on
X11 and Wayland.

In either cases the freeze can be workarounded by removing the task manager (in
my case Icons-only) from the panel, or for X11 to use `xprop` to set
Gamescope's `_NET_WM_STATE_SKIP_TASKBAR` to `_NET_WM_STATE_SKIP_TASKBAR`,
hiding Gamescope from the taskbar.

STEPS TO REPRODUCE
1. Launch Fallout 4 in Gamescope
2. Play the game for a short while
3. Notice that the plasmashell is frozen

OBSERVED RESULT
The freeze can be observed in a few ways:
1. OSD nor notifications are not displaying
2. Volume buttons to nothing
3. The clock on the panel is not updating

EXPECTED RESULT
The shell not to be frozen over.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 6.9.1-arch1-1
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Last time I played Fallout 4 was around June 2023 (according to my update logs
it might have been plasma-desktop 5.27.6-1), where this issue appeared as well,
however at that time I chalked it up to NVIDIA being broken for me. However,
now that I have more time on hand, it doesn't appear to be so.

In an attempt to help with the debugging, below I am appending a `gdb`
backtrace of `plasmashell` when it froze during gameplay.

The command I use to run Gamescope with Steam is as follows:
`gamescope -w 1920 -h 1080 -e -r 120 -- steam -gamepadui`

This might be coming from memory, but there have been times where the
plasmashell would unfreeze minutes after Gamescope quit.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to