https://bugs.winehq.org/show_bug.cgi?id=56429
Bug ID: 56429 Summary: Latest Steam repeatedly restarts when starting game or alt-tab, seems to be xinput2 related. Product: Wine Version: 9.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: ikalvachev@gmail.com Regression SHA1: 0f1322d2df4c5238c601a2865b6e65ad14bfa26a Distribution: ---
Upgraded to latest wine-9.4 and Steam seemed to work fine. Then Steam upgraded itself and I couldn't launch games anymore.
When starting a game from withing steam library, the game launch begins normally. However steam window disappears and the console log bursts messages until a new window is opened. However this restart kills the started game.
I could reproduce the issue if I simply press ALT+TAB in Steam, however it doesn't trigger if I change focus with the mouse.
There are not crash reports winedbg starting. It restarts on its own.
I did a bisect and landed on: --- 0f1322d2df4c5238c601a2865b6e65ad14bfa26a winex11: Support XInput2 events on individual windows. --- Looking back into the log, before steam window opens, I can see a couple messages like: --- X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 46 () Resource id in failed request: 0x80020e Serial number of failed request: 469 Current serial number in output stream: 491 --- These seems harmless, they appear before steam window is shown.
The following message appears when I trigger the issue with alt+tab: --- 06f8:fixme:winsock:setsockopt Ignoring SO_RANDOMIZE_PORT X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 10 (X_UnmapWindow) Resource id in failed request: 0x2e00003 Serial number of failed request: 1098 Current serial number in output stream: 1099 06a0:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0031FECC 0610:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0031FECC 0024:fixme:file:GetLongPathNameW UNC pathname L"\\?\C:\Program Files\Steam\bin\cef\cef.win7\steamwebhelper.exe" 0024:fixme:file:GetLongPathNameW UNC pathname L"\\?\C:\Program Files\Steam\bin\cef\cef.win7\steamwebhelper.exe" ---
The issue happens only with the latest Steam client Restarts: --- Steam Beta Branch: Stable Client Steam Version 1709846872 Steam Client Build Date: Wed, Mar 6 10:31 PM UTC -08:00 Steam Web Build Date: Thu, Mar 7 11:17 PM UTC -08:00 Steam API Version: SteamClient021 ---
Since I keep snapshots of previous wine prefixes, I found out that this is the steam that Works: --- Steam Beta Branch: Stable Client Steam Version 1705108172 Steam Client Build Date: Sat, Jan 13 2:54 AM UTC -08:00 Steam Web Build Date: Fri, Jan 12 7:02 PM UTC -08:00 Steam API Version: SteamClient021 --
I'm using slackware-current X.Org X Server 1.21.1.11
Running `xinput --version` returns: --- xinput version 1.6.4 XI version on server: 2.4 ---