https://bugs.winehq.org/show_bug.cgi?id=56610
Bug ID: 56610 Summary: regression: helldivers 1 doesn't start Product: Wine Version: 9.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: idarktemplar@mail.ru Distribution: ---
Helldivers 1 from steam (https://store.steampowered.com/app/394510/HELLDIVERS_Dive_Harder_Edition/) doesn't start with wine 9.7. It worked fine with wine 9.3.
Bisecting led me to following commit:
$ git bisect bad 0f1322d2df4c5238c601a2865b6e65ad14bfa26a is the first bad commit commit 0f1322d2df4c5238c601a2865b6e65ad14bfa26a Author: RĂ©mi Bernon rbernon@codeweavers.com Date: Mon Feb 12 10:01:33 2024 +0100
winex11: Support XInput2 events on individual windows.
dlls/winex11.drv/desktop.c | 2 ++ dlls/winex11.drv/mouse.c | 56 +++++++++++++++++++++++++++++----------------- dlls/winex11.drv/window.c | 9 +++++++- dlls/winex11.drv/x11drv.h | 2 ++ 4 files changed, 48 insertions(+), 21 deletions(-)
Reproduction: 1. start steam, login 2. start helldivers 1 from steam
Expected result: Game starts and works
Actual result: Window is shown for a second and then it disappears, and steam shows that game isn't running anymore.
Environment: Linux kernel 6.6.21-gentoo KDE/Plasma 5.27.11 X11
Around time of crash I see in log message like: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 10 (X_UnmapWindow) Resource id in failed request: 0x6600001 Serial number of failed request: 449 Current serial number in output stream: 451