Some Flatpak Steam games crashing when alt-tabbing
Affected version
OS: Arch Linux
Mutter: 40.1-2
Xorg
Bug summary
When using flatpak steam some games crash when alt-tabbing. This doesn't happen with other desktop environments and doesn't happen on gnome with native steam.
Steps to reproduce
- Run Steam
- Run a game such as Dead or Alive, Warhammer 40,000: Dawn of War - Soulstorm and from time to time Wreckfest all seem affected.
- Tab in and out and see the crash.
What happened
The game freezes but sometimes audio continues.
What did you expect to happen
The game should not crash.
Relevant logs, screenshots, screencasts etc.
May 23 11:08:37 GamingPC gnome-shell[1063]: Window manager warning: Window 0x4200001 sets an MWM hint indicating it isn't resizable, but sets min size 1 x 1 and max size 2147483647 x 2147483647; this doesn't make much sense.
May 23 11:08:55 GamingPC com.valvesoftware.Steam.desktop[5608]: OnFocusWindowChanged to window type: k_nGameIDControllerConfigs_Desktop, AppID 413080
May 23 11:08:55 GamingPC com.valvesoftware.Steam.desktop[5608]: Controller 0 Gamepad uses xinput : true
May 23 11:08:55 GamingPC com.valvesoftware.Steam.desktop[5608]: Loaded Config for Local Override Path for App ID 413080, Controller 0: /home/user/.local/share/Steam//controller_base/empty.vdf
May 23 11:08:55 GamingPC com.valvesoftware.Steam.desktop[5608]: Controller 0 Gamepad uses xinput : true
May 23 11:08:55 GamingPC gnome-shell[1063]: Can't update stage views actor MetaWindowGroup is on because it needs an allocation.
May 23 11:08:55 GamingPC gnome-shell[1063]: Can't update stage views actor MetaWindowActorX11 is on because it needs an allocation.
May 23 11:08:55 GamingPC gnome-shell[1063]: Can't update stage views actor MetaSurfaceActorX11 is on because it needs an allocation.
May 23 11:08:55 GamingPC kernel: NVRM: GPU at PCI:0000:01:00: GPU-38399b18-17fc-b57e-cceb-9214fa0cc25b
May 23 11:08:55 GamingPC kernel: NVRM: GPU Board Serial Number:
May 23 11:08:55 GamingPC kernel: NVRM: Xid (PCI:0000:01:00): 31, pid=7064, Ch 00000049, intr 10000000. MMU Fault: ENGINE GRAPHICS GPCCLIENT_PROP_0 faulted @ 0x1_42400000. Fault is of type FAULT_PTE ACCESS_TYPE_WRIT
Here is the flatpak steam bug report: https://github.com/flathub/com.valvesoftware.Steam/issues/761
Additionally I am using an Nvidia card with the 465.31 drivers.
Edited by TheUser123