https://bugs.winehq.org/show_bug.cgi?id=46361
Bug ID: 46361 Summary: Sonic Mania freezes/crashes when we use a gamepad on 4.0+ Product: Wine-staging Version: 4.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: imbert.jacquesolivier@gmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Sonic Mania on Steam works perfectly on Wine-staging 3.12 with a gamepad
Sonic Mania on Steam now freezes/crashes on Wine-staging 4.0-rc2 and 4.0-rc3 with a gamepad or when we connect a gamepad during the game.
https://bugs.winehq.org/show_bug.cgi?id=46361
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Severity|critical |normal Component|-unknown |-unknown Product|Wine-staging |Wine
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- Probably not a Staging bug. Also not critical; please see https://wiki.winehq.org/Bugs.
Bisecting the offending commit would be nice; in lieu of that, can you please provide a log with +seh,+pid,+setupapi,+plugplay,+ntoskrnl,+hid,+winedevice,+service?
https://bugs.winehq.org/show_bug.cgi?id=46361
imbert.jacquesolivier@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|4.0-rc2 |4.0
--- Comment #2 from imbert.jacquesolivier@gmail.com --- When Wine posts the following text for 4.0 : "Game controllers support", so I take the time to recompile all the source code ( 8 hours to get an updated build for my XUbuntu 18.04 - 64 bits ).
And I see that Sonic Mania still freezes / crashes when I use the 4.0 stable code. Here is the output :
System page size: 4096 Could not find page for trampoline in +/- 2GB range of function to hook Error allocating trampoline memory (no memory within +/-2gb? prior failures?) Unhandled exception: page fault on read access to 0x00000001 in 32-bit code (0xf7bfa1af). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:f7bfa1af ESP:0033f2cc EBP:0033f7d8 EFLAGS:00010202( R- -- I - - - ) EAX:00000001 EBX:f7d39000 ECX:00000000 EDX:00000001 ESI:0033f80c EDI:00000006 Stack dump: 0x0033f2cc: f7babe78 00000001 7bcdb147 00000001 0x0033f2dc: 00000000 10482fb8 000000b0 0033f308 0x0033f2ec: 7bd1c000 000fd048 00000000 00000000 0x0033f2fc: ffffffff 00000001 00000000 ffffffac 0x0033f30c: 00000000 0033f7bc 00000000 00000000 0x0033f31c: 00000000 00000000 10482f20 0033f7bc Backtrace: =>0 0xf7bfa1af execlp+0xffffffff() in libc.so.6 (0x0033f7d8) 1 0xf7babe78 execlp+0xffffffff() in libc.so.6 (0x0033f7d8) 2 0xf7bcfc21 execlp+0xffffffff() in libc.so.6 (0x0033f8ac) 3 0x7bc5ef6e NTDLL_dbg_vprintf+0x4d() [/home/jackobo/Programmes/wine-staging/wine32/dlls/ntdll/../../../dlls/ntdll/debugtools.c:126] in ntdll (0x0033f958) 4 0xf7d86a7d wine_dbg_printf+0x1c() [/home/jackobo/Programmes/wine-staging/wine32/libs/wine/../../../libs/wine/debug.c:246] in libwine.so.1 (0x0033f978) 5 0x7bc5f1a0 NTDLL_dbg_vlog+0x11f(format="(%p %p) ") [/home/jackobo/Programmes/wine-staging/wine32/dlls/ntdll/../../../dlls/ntdll/debugtools.c:179] in ntdll (0x0033f9b8) 6 0xf7d86bb0 wine_dbg_log+0x3f() [/home/jackobo/Programmes/wine-staging/wine32/libs/wine/../../../libs/wine/debug.c:279] in libwine.so.1 (0x0033f9f8) 7 0x77630351 HidD_GetAttributes+0xb0(HidDeviceObject=<couldn't compute location>, Attr=<couldn't compute location>) [/home/jackobo/Programmes/wine-staging/wine32/dlls/hid/../../../dlls/hid/hidd.c:53] in hid (0x0033fa48) 8 0x100981e8 EntryPoint+0xffffffff() in gameoverlayrenderer (0x0033fb04) 9 0x10098961 EntryPoint+0xffffffff() in gameoverlayrenderer (0x0033fb18) 10 0x7e5097fd GetRawInputDeviceList+0xcc(devices=<couldn't compute location>, device_count=<couldn't compute location>, size=<couldn't compute location>) [/home/jackobo/Programmes/wine-staging/wine32/dlls/user32/../../../dlls/user32/rawinput.c:82] in user32 (0x0033fbf8) 11 0x100937fd EntryPoint+0xffffffff() in gameoverlayrenderer (0x0033fc4c) 12 0x005e4a4d EntryPoint+0xffffffff() in sonicmania (0x0033fdb8) 13 0x06c3d073 EntryPoint+0xffffffff() in sonicmania (0x0033fdd0) 14 0x005fdbfd EntryPoint+0xffffffff() in sonicmania (0x0033fe24) 15 0x005fd729 EntryPoint+0xffffffff() in sonicmania (0x0033fe64) 16 0x006369f1 EntryPoint+0xffffffff() in sonicmania (0x0033feb0) 17 0x7b464379 call_process_entry+0x18() in kernel32 (0x0033fed8) 18 0x7b4666da start_process+0x1f9(entry=<couldn't compute location>, peb=<couldn't compute location>) [/home/jackobo/Programmes/wine-staging/wine32/dlls/kernel32/../../../dlls/kernel32/process.c:1300] in kernel32 (0x0033ffd8) 19 0x7b46438a start_process_wrapper+0x9() in kernel32 (0x0033ffec) 0xf7bfa1af execlp+0xffffffff in libc.so.6: cmpb %dh,0x0(%eax) Modules: Module Address Debug info Name (225 modules) PE 400000- 76e8000 Export sonicmania PE adc0000- ae82000 Deferred steam PE 10000000-1014c000 Export gameoverlayrenderer PE 10790000-1081e000 Deferred xaudio2_7 PE 30000000-302c1000 Deferred steam2 PE 38000000-38c57000 Deferred steamclient PE 3b400000-3b43a000 Deferred steam_api PE 3f000000-3f09a000 Deferred tier0_s PE 3f600000-3f65e000 Deferred vstdlib_s PE 60000000-60021000 Deferred cserhelper ELF 7761e000-77637000 Dwarf hid<elf> -PE 77620000-77637000 \ hid ELF 77637000-7764f000 Deferred libgpg-error.so.0 ELF 7764f000-776db000 Deferred libvorbisenc.so.2 ELF 776db000-77706000 Deferred libvorbis.so.0 ELF 77706000-7770f000 Deferred libogg.so.0 ELF 7770f000-7776e000 Deferred libflac.so.8 ELF 7776e000-7784f000 Deferred libgcrypt.so.20 ELF 7784f000-77865000 Deferred liblz4.so.1 ELF 77865000-77891000 Deferred liblzma.so.5 ELF 77891000-77920000 Deferred libsndfile.so.1 ELF 77920000-779b0000 Deferred libsystemd.so.0 ELF 779b0000-77a0b000 Deferred libdbus-1.so.3 ELF 77a0b000-77a98000 Deferred libpulsecommon-11.1.so ELF 77a98000-77af2000 Deferred libpulse.so.0 ELF 77af2000-77b07000 Deferred avrt<elf> -PE 77b00000-77b07000 \ avrt ELF 77b14000-77b3f000 Deferred winepulse<elf> -PE 77b20000-77b3f000 \ winepulse ELF 77b3f000-77b62000 Deferred mmdevapi<elf> -PE 77b40000-77b62000 \ mmdevapi ELF 77b62000-77c1a000 Deferred msvcrt<elf> -PE 77b80000-77c1a000 \ msvcrt ELF 7805c000-78063000 Deferred libasyncns.so.0 ELF 78063000-7806e000 Deferred libwrap.so.0 ELF 787cf000-7a6e7000 Deferred libnvidia-glcore.so.390.77 ELF 7a6e7000-7a800000 Deferred libglx_nvidia.so.0 ELF 7a800000-7a93e000 Deferred opengl32<elf> -PE 7a820000-7a93e000 \ opengl32 ELF 7b3a1000-7b400000 Deferred libgldispatch.so.0 ELF 7b400000-7b804000 Dwarf kernel32<elf> -PE 7b420000-7b804000 \ kernel32 ELF 7b80b000-7b810000 Deferred libnvidia-tls.so.390.77 ELF 7b830000-7b853000 Deferred libglx.so.0 ELF 7b853000-7b8b4000 Deferred libgl.so.1 ELF 7b9fa000-7bad6000 Deferred libkrb5.so.3 ELF 7bad6000-7bc00000 Deferred oleaut32<elf> -PE 7baf0000-7bc00000 \ oleaut32 ELF 7bc00000-7bd3a000 Dwarf ntdll<elf> -PE 7bc40000-7bd3a000 \ ntdll ELF 7bd3a000-7bd58000 Deferred libgcc_s.so.1 ELF 7bd58000-7bd5f000 Deferred libnss_dns.so.2 ELF 7bd5f000-7bdb3000 Deferred libgssapi_krb5.so.2 ELF 7bdb3000-7bde8000 Deferred libk5crypto.so.3 ELF 7be0a000-7be24000 Deferred kerberos<elf> -PE 7be10000-7be24000 \ kerberos ELF 7be24000-7be55000 Deferred netapi32<elf> -PE 7be30000-7be55000 \ netapi32 ELF 7be55000-7bec5000 Deferred setupapi<elf> -PE 7be60000-7bec5000 \ setupapi ELF 7bec5000-7bf2d000 Deferred dbghelp<elf> -PE 7bed0000-7bf2d000 \ dbghelp ELF 7bf2d000-7c000000 Deferred crypt32<elf> -PE 7bf40000-7c000000 \ crypt32 ELF 7c000000-7c004000 Deferred <wine-loader> ELF 7c008000-7c00d000 Deferred libkeyutils.so.1 ELF 7c00d000-7c042000 Deferred secur32<elf> -PE 7c010000-7c042000 \ secur32 ELF 7c042000-7c057000 Deferred mswsock<elf> -PE 7c050000-7c057000 \ mswsock ELF 7c057000-7c072000 Deferred imagehlp<elf> -PE 7c060000-7c072000 \ imagehlp ELF 7c072000-7c09e000 Deferred iphlpapi<elf> -PE 7c080000-7c09e000 \ iphlpapi ELF 7c09e000-7c0bf000 Deferred bcrypt<elf> -PE 7c0a0000-7c0bf000 \ bcrypt ELF 7c0d0000-7c0e7000 Deferred api-ms-win-crt-multibyte-l1-1-0<elf> -PE 7c0e0000-7c0e7000 \ api-ms-win-crt-multibyte-l1-1-0 ELF 7c0e7000-7c100000 Deferred api-ms-win-crt-math-l1-1-0<elf> -PE 7c0f0000-7c100000 \ api-ms-win-crt-math-l1-1-0 ELF 7c100000-7c114000 Deferred api-ms-win-crt-locale-l1-1-0<elf> -PE 7c110000-7c114000 \ api-ms-win-crt-locale-l1-1-0 ELF 7c114000-7c146000 Deferred libcrypt.so.1 ELF 7c146000-7c264000 Deferred libsqlite3.so.0 ELF 7c264000-7c2b3000 Deferred libhx509.so.5 ELF 7c2b3000-7c2c4000 Deferred libheimbase.so.1 ELF 7c2c4000-7c2ee000 Deferred libwind.so.0 ELF 7c2ee000-7c379000 Deferred libgmp.so.10 ELF 7c379000-7c3af000 Deferred libhogweed.so.4 ELF 7c3af000-7c3eb000 Deferred libnettle.so.6 ELF 7c3eb000-7c400000 Deferred libtasn1.so.6 ELF 7c407000-7c410000 Deferred libffi.so.6 ELF 7c410000-7c591000 Deferred libunistring.so.2 ELF 7c591000-7c5af000 Deferred libidn2.so.0 ELF 7c5af000-7c6fd000 Deferred libp11-kit.so.0 ELF 7c6fd000-7c715000 Deferred libroken.so.18 ELF 7c715000-7c751000 Deferred libhcrypto.so.4 ELF 7c751000-7c756000 Deferred libcom_err.so.2 ELF 7c756000-7c809000 Deferred libasn1.so.8 ELF 7c809000-7c8a6000 Deferred libkrb5.so.26 ELF 7c8a6000-7c8b0000 Deferred libheimntlm.so.0 ELF 7c8b0000-7ca46000 Deferred libgnutls.so.30 ELF 7ca46000-7ca8d000 Deferred libgssapi.so.3 ELF 7ca8d000-7caab000 Deferred libsasl2.so.2 ELF 7caab000-7cac3000 Deferred libresolv.so.2 ELF 7cac3000-7cad3000 Deferred liblber-2.4.so.2 ELF 7cad3000-7cb2f000 Deferred libldap_r-2.4.so.2 ELF 7cb30000-7cb3d000 Deferred libkrb5support.so.0 ELF 7cb3d000-7cb51000 Deferred api-ms-win-crt-environment-l1-1-0<elf> -PE 7cb40000-7cb51000 \ api-ms-win-crt-environment-l1-1-0 ELF 7cb51000-7cbac000 Deferred wldap32<elf> -PE 7cb60000-7cbac000 \ wldap32 ELF 7cbac000-7cbc0000 Deferred api-ms-win-core-sysinfo-l1-2-1<elf> -PE 7cbb0000-7cbc0000 \ api-ms-win-core-sysinfo-l1-2-1 ELF 7cbc0000-7cbd4000 Deferred api-ms-win-core-localization-l1-2-1<elf> -PE 7cbd0000-7cbd4000 \ api-ms-win-core-localization-l1-2-1 ELF 7cbd4000-7cbe8000 Deferred api-ms-win-core-fibers-l1-1-1<elf> -PE 7cbe0000-7cbe8000 \ api-ms-win-core-fibers-l1-1-1 ELF 7cbe8000-7cbfc000 Deferred api-ms-win-core-synch-l1-2-0<elf> -PE 7cbf0000-7cbfc000 \ api-ms-win-core-synch-l1-2-0 ELF 7cbfc000-7cc10000 Deferred psapi<elf> -PE 7cc00000-7cc10000 \ psapi ELF 7cc10000-7ccca000 Deferred winmm<elf> -PE 7cc20000-7ccca000 \ winmm ELF 7ccca000-7cd02000 Deferred uxtheme<elf> -PE 7ccd0000-7cd02000 \ uxtheme ELF 7cd02000-7cdec000 Deferred msvcr120<elf> -PE 7cd20000-7cdec000 \ msvcr120 ELF 7cdec000-7cdf3000 Deferred libxfixes.so.3 ELF 7cdf3000-7cdff000 Deferred libxcursor.so.1 ELF 7ce00000-7ce1f000 Deferred concrt140<elf> -PE 7ce10000-7ce1f000 \ concrt140 ELF 7ce9c000-7cece000 Deferred libexpat.so.1 ELF 7cece000-7cf19000 Deferred libfontconfig.so.1 ELF 7cf19000-7cf53000 Deferred libpng16.so.16 ELF 7cf53000-7d010000 Deferred libfreetype.so.6 ELF 7d010000-7d023000 Deferred libxi.so.6 ELF 7d023000-7d027000 Deferred libxcomposite.so.1 ELF 7d127000-7d134000 Deferred libxrandr.so.2 ELF 7d134000-7d140000 Deferred libxrender.so.1 ELF 7d140000-7d147000 Deferred libxxf86vm.so.1 ELF 7d147000-7d162000 Deferred libbsd.so.0 ELF 7d162000-7d18e000 Deferred libxcb.so.1 ELF 7d18e000-7d2d8000 Deferred libx11.so.6 ELF 7d2d8000-7d2ed000 Deferred libxext.so.6 ELF 7d30f000-7d3a1000 Deferred winex11<elf> -PE 7d320000-7d3a1000 \ winex11 ELF 7d3a1000-7d3d9000 Deferred ws2_32<elf> -PE 7d3b0000-7d3d9000 \ ws2_32 ELF 7d3d9000-7d456000 Deferred wininet<elf> -PE 7d3e0000-7d456000 \ wininet ELF 7d456000-7d593000 Deferred comctl32<elf> -PE 7d460000-7d593000 \ comctl32 ELF 7d593000-7df78000 Deferred shell32<elf> -PE 7d5a0000-7df78000 \ shell32 ELF 7df9c000-7dfc6000 Deferred mpr<elf> -PE 7dfa0000-7dfc6000 \ mpr ELF 7dfc6000-7dfe5000 Deferred libz.so.1 ELF 7dfe6000-7dff0000 Deferred librt.so.1 ELF 7dff0000-7e007000 Deferred xinput9_1_0<elf> -PE 7e000000-7e007000 \ xinput9_1_0 ELF 7e007000-7e01d000 Deferred vcruntime140<elf> -PE 7e010000-7e01d000 \ vcruntime140 ELF 7e01d000-7e041000 Deferred imm32<elf> -PE 7e020000-7e041000 \ imm32 ELF 7e041000-7e087000 Deferred usp10<elf> -PE 7e050000-7e087000 \ usp10 ELF 7e087000-7e0a2000 Deferred aclui<elf> -PE 7e090000-7e0a2000 \ aclui ELF 7e0a2000-7e0c6000 Deferred shcore<elf> -PE 7e0b0000-7e0c6000 \ shcore ELF 7e0c6000-7e136000 Deferred shlwapi<elf> -PE 7e0d0000-7e136000 \ shlwapi ELF 7e136000-7e1bc000 Deferred rpcrt4<elf> -PE 7e140000-7e1bc000 \ rpcrt4 ELF 7e1bc000-7e317000 Deferred ole32<elf> -PE 7e1d0000-7e317000 \ ole32 ELF 7e317000-7e440000 Deferred msvcp140<elf> -PE 7e350000-7e440000 \ msvcp140 ELF 7e466000-7e480000 Deferred version<elf> -PE 7e470000-7e480000 \ version ELF 7e480000-7e68b000 Dwarf user32<elf> -PE 7e490000-7e68b000 \ user32 ELF 7e68b000-7e7ba000 Deferred gdi32<elf> -PE 7e6a0000-7e7ba000 \ gdi32 ELF 7e7ba000-7e912000 Deferred wined3d<elf> -PE 7e7d0000-7e912000 \ wined3d ELF 7e912000-7e954000 Deferred d3d9<elf> -PE 7e920000-7e954000 \ d3d9 ELF 7e954000-7e968000 Deferred api-ms-win-crt-utility-l1-1-0<elf> -PE 7e960000-7e968000 \ api-ms-win-crt-utility-l1-1-0 ELF 7e968000-7e97c000 Deferred api-ms-win-crt-time-l1-1-0<elf> -PE 7e970000-7e97c000 \ api-ms-win-crt-time-l1-1-0 ELF 7e97c000-7e992000 Deferred api-ms-win-crt-string-l1-1-0<elf> -PE 7e980000-7e992000 \ api-ms-win-crt-string-l1-1-0 ELF 7e992000-7e9a8000 Deferred api-ms-win-crt-stdio-l1-1-0<elf> -PE 7e9a0000-7e9a8000 \ api-ms-win-crt-stdio-l1-1-0 ELF 7e9a8000-7e9be000 Deferred api-ms-win-crt-runtime-l1-1-0<elf> -PE 7e9b0000-7e9be000 \ api-ms-win-crt-runtime-l1-1-0 ELF 7e9be000-7e9d2000 Deferred api-ms-win-crt-heap-l1-1-0<elf> -PE 7e9c0000-7e9d2000 \ api-ms-win-crt-heap-l1-1-0 ELF 7e9d2000-7e9e6000 Deferred api-ms-win-crt-filesystem-l1-1-0<elf> -PE 7e9e0000-7e9e6000 \ api-ms-win-crt-filesystem-l1-1-0 ELF 7e9e6000-7eadf000 Deferred ucrtbase<elf> -PE 7ea00000-7eadf000 \ ucrtbase ELF 7eadf000-7eb5a000 Deferred advapi32<elf> -PE 7eaf0000-7eb5a000 \ advapi32 ELF 7eb5a000-7eb6e000 Deferred libnss_files.so.2 ELF 7eb6e000-7eb89000 Deferred libnsl.so.1 ELF 7eb8a000-7eb8e000 Deferred libxinerama.so.1 ELF 7eb8e000-7eb95000 Deferred libxdmcp.so.6 ELF 7eb95000-7ebab000 Deferred api-ms-win-crt-convert-l1-1-0<elf> -PE 7eba0000-7ebab000 \ api-ms-win-crt-convert-l1-1-0 ELF 7eedc000-7efde000 Deferred libm.so.6 ELF 7efde000-7efec000 Deferred libnss_nis.so.2 ELF 7efec000-7f000000 Deferred wow64cpu<elf> -PE 7eff0000-7f000000 \ wow64cpu ELF f7b5c000-f7b61000 Deferred libdl.so.2 ELF f7b61000-f7d3d000 Dwarf libc.so.6 ELF f7d3d000-f7d5c000 Deferred libpthread.so.0 ELF f7d5c000-f7d60000 Deferred libxau.so.6 ELF f7d72000-f7d7c000 Deferred libnss_compat.so.2 ELF f7d7e000-f7f52000 Dwarf libwine.so.1 ELF f7f54000-f7f7c000 Deferred ld-linux.so.2 ELF f7f7f000-f7f81000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) 0000000e services.exe 00000022 0 0000001d 0 00000015 0 00000012 0 0000000f 0 00000013 winedevice.exe 0000001a 0 00000019 0 00000018 0 00000014 0 0000001b plugplay.exe 0000001f 0 0000001e 0 0000001c 0 00000020 winedevice.exe 0000002c 0 0000002b 0 0000002a 0 00000029 0 00000025 0 00000024 0 00000023 0 00000021 0 0000002d Steam.exe [S:\Steam\Steam.exe -no-cef-sandbox -applaunch 584400] 00000106 0 00000105 0 000000bd 0 000000b8 0 000000b0 0 0000009a 0 00000099 0 00000094 0 00000084 0 0000007b 0 0000006c 0 0000006b 0 00000068 0 00000067 0 00000064 0 00000063 0 00000057 0 0000004b 0 0000004a 0 00000049 0 00000045 2 00000044 2 00000041 0 0000003f 0 0000003e 0 0000003d 0 0000003b 0 0000003a 0 00000037 0 00000036 0 00000035 0 00000034 0 0000002e 0 0000002f explorer.exe 00000033 0 00000032 0 00000031 0 00000030 0 00000038 steamwebhelper.exe 00000108 0 000000b7 0 000000b6 0 0000009d 0 00000093 0 00000092 -2 0000007f 0 0000007e 0 0000007a 0 00000079 0 00000078 0 00000077 0 00000076 0 00000075 0 00000074 0 00000072 -2 00000071 0 00000070 0 0000006d 0 00000066 0 00000065 -2 00000062 0 00000061 0 00000060 0 0000005f 0 0000005e -2 0000005d -2 0000005c 0 0000005b 0 0000005a 0 00000059 0 00000058 0 00000056 0 00000055 0 00000039 0 00000047 steamwebhelper.exe 000000c0 0 000000bf 0 000000be 0 000000a4 0 000000a3 0 000000a2 0 00000081 0 00000080 0 00000054 0 00000053 0 00000052 0 00000051 0 00000050 0 0000004f 0 0000004e 0 0000004d 0 0000004c 0 00000048 0 0000006e steamwebhelper.exe 00000109 0 00000107 0 000000ba 0 000000b9 0 00000097 0 00000096 0 00000095 -2 00000091 0 00000090 0 0000008f 0 0000008e 0 0000008d 0 0000008c 0 0000008b 0 0000008a -2 00000089 -2 00000088 0 00000082 0 0000006f 0 000000a0 steamwebhelper.exe 000000ed 0 000000d6 0 000000d5 0 000000b5 -2 000000b4 0 000000b3 0 000000b2 0 000000b1 0 000000af 0 000000ae 0 000000ad 0 000000ac 0 000000ab 0 000000aa 0 000000a9 0 000000a8 -2 000000a7 -2 000000a6 0 000000a5 0 000000a1 1 000000bb steamwebhelper.exe 000000fd 0 000000d4 0 000000d0 -2 000000cf 0 000000ce 0 000000cd 0 000000cc 0 000000cb 0 000000ca 0 000000c9 0 000000c8 0 000000c7 0 000000c6 0 000000c5 0 000000c4 -2 000000c3 -2 000000c2 0 000000c1 0 000000bc 0 000000d8 (D) Z:\home\jackobo\Jeux\Steam-Windows\steamapps\common\Sonic Mania\SonicMania.exe ["Z:\home\jackobo\Jeux\Steam-Windows\steamapps\common\Sonic Mania\SonicMania.exe"] 000000fc 0 000000fb 15 000000fa 15 000000f9 0 000000f8 0 000000f7 0 000000d9 0 <== 00000100 explorer.exe 00000104 0 00000103 0 00000102 0 00000101 0 System information: Wine build: wine-4.0 (Staging) Platform: i386 (WOW64) Version: Windows 10 Host system: Linux Host version: 4.15.0-43-generic System page size: 4096 Could not find page for trampoline in +/- 2GB range of function to hook Error allocating trampoline memory (no memory within +/-2gb? prior failures?) System page size: 4096 Could not find page for trampoline in +/- 2GB range of function to hook Error allocating trampoline memory (no memory within +/-2gb? prior failures?)
So the issue is "critical" for me because now Sonic Mania can't be played normally with any gamepad. The "Gold" state for this game is now "Garbage"
For me this line is not normal :
10 0x7e5097fd GetRawInputDeviceList+0xcc(devices=<couldn't compute location>, device_count=<couldn't compute location>, size=<couldn't compute location>) [/home/jackobo/Programmes/wine-staging/wine32/dlls/user32/../../../dlls/user32/rawinput.c:82] in user32 (0x0033fbf8)
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #3 from imbert.jacquesolivier@gmail.com --- Note : "wine64 control joy.cpl" detects the joypad without crash
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #4 from imbert.jacquesolivier@gmail.com --- This is what I get when I launch the game without gamepad and after I plug one gamepad during the menu for instance :
Unhandled exception: page fault on read access to 0x00000020 in 32-bit code (0x7bc7dd7a). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7bc7dd7a ESP:0033f040 EBP:0033f0c8 EFLAGS:00010246( R- -- I Z- -P- ) EAX:0000000c EBX:7bd1c000 ECX:00000000 EDX:0000000c ESI:72a10000 EDI:7bd26260 Stack dump: 0x0033f040: 0b570000 00110000 0033f098 7bc71b62 0x0033f050: 0033f070 0b573c78 000000d8 00110b10 0x0033f060: 0033f080 7bd1c000 0033f0b8 7bc7ab37 0x0033f070: 0003c3d8 000000a4 00110000 7bc7e2db 0x0033f080: 72a1c402 7de3e4e8 7bc7051e 7bd1c000 0x0033f090: 00110b10 00000000 0000000c 72a1c2a0 Backtrace: =>0 0x7bc7dd7a find_ordinal_export+0x2a(module=0x72a10000, exports=0xc, exp_size=0) [/home/jackobo/Programmes/wine-staging/wine32/dlls/ntdll/../../../dlls/ntdll/loader.c:633] in ntdll (0x0033f0c8) 1 0x7bc7eb00 LdrGetProcedureAddress+0x9f(module=<couldn't compute location>, name=<couldn't compute location>, ord=<couldn't compute location>, address=<couldn't compute location>) [/home/jackobo/Programmes/wine-staging/wine32/dlls/ntdll/../../../dlls/ntdll/loader.c:1769] in ntdll (0x0033f118) 2 0x7b45cc03 get_proc_address+0x42(hModule=0x72a10000) [/home/jackobo/Programmes/wine-staging/wine32/dlls/kernel32/../../../dlls/kernel32/module.c:1156] in kernel32 (0x0033f158) 3 0x7b45cc97 GetProcAddress+0x26() [/home/jackobo/Programmes/wine-staging/wine32/dlls/kernel32/../../../dlls/kernel32/module.c:1206] in kernel32 (0x0033f178) 4 0x7de3b49a __wine_spec_delay_load+0x49(id=<is not available>) [/home/jackobo/Programmes/wine-staging/wine32/dlls/winecrt0/../../../dlls/winecrt0/delay_load.c:48] in xinput9_1_0 (0x0033f1c8) 5 0x7de39b00 __wine_delay_load_asm+0x7() in xinput9_1_0 (0x0033f2d8) 6 0x7de39f99 HID_find_gamepads+0x208() [/home/jackobo/Programmes/wine-staging/wine32/dlls/xinput9_1_0/../../../dlls/xinput9_1_0/../xinput1_3/hid.c:276] in xinput9_1_0 (0x0033f2d8) 7 0x7de3ade4 xinput_get_state+0x23() in xinput9_1_0 (0x0033f308) 8 0x7de3b06c XInputGetState+0x36() [/home/jackobo/Programmes/wine-staging/wine32/dlls/xinput9_1_0/../../../dlls/xinput9_1_0/../xinput1_3/xinput_main.c:112] in xinput9_1_0 (0x0033f328) 9 0x100a1c24 EntryPoint+0xffffffff() in gameoverlayrenderer (0x0033f348) 10 0x100a1b46 EntryPoint+0xffffffff() in gameoverlayrenderer (0x0033f360) 11 0x06d32ef5 EntryPoint+0xffffffff() in sonicmania (0x0033f3a8) 12 0x005fdf21 EntryPoint+0xffffffff() in sonicmania (0x0033f3d8) 13 0x7e52532c WINPROC_wrapper+0x1b() in user32 (0x0033f408) 14 0x7e525989 call_window_proc+0x58(hwnd=0x20182) [/home/jackobo/Programmes/wine-staging/wine32/dlls/user32/../../../dlls/user32/winproc.c:248] in user32 (0x0033f458) 15 0x7e525d96 WINPROC_CallProcWtoA+0x135(callback=0x7e525930, hwnd=0x20182, msg=<is not available>) [/home/jackobo/Programmes/wine-staging/wine32/dlls/user32/../../../dlls/user32/winproc.c:672] in user32 (0x0033f918) 16 0x7e527f7d WINPROC_call_window+0x20c() [/home/jackobo/Programmes/wine-staging/wine32/dlls/user32/../../../dlls/user32/winproc.c:929] in user32 (0x0033f958) 17 0x7e4e577e call_window_proc+0x6d(hwnd=0x20182, msg=0x219, wparam=0x8000) [/home/jackobo/Programmes/wine-staging/wine32/dlls/user32/../../../dlls/user32/message.c:2225] in user32 (0x0033f9c8) 18 0x7e4e9000 peek_message+0x80f(msg=<is not available>, hwnd=(nil), first=<is not available>, last=<is not available>, flags=0x1, changed_mask=<is not available>) [/home/jackobo/Programmes/wine-staging/wine32/dlls/user32/../../../dlls/user32/message.c:2987] in user32 (0x0033fd08) 19 0x7e4ef79f PeekMessageW+0x79(msg_out=<couldn't compute location>, hwnd=<couldn't compute location>, first=<couldn't compute location>, last=<couldn't compute location>, flags=<couldn't compute location>) [/home/jackobo/Programmes/wine-staging/wine32/dlls/user32/../../../dlls/user32/message.c:3807] in user32 (0x0033fd78) 20 0x100831b6 EntryPoint+0xffffffff() in gameoverlayrenderer (0x0033fd98) 21 0x7e4efa01 PeekMessageA+0xcb() [/home/jackobo/Programmes/wine-staging/wine32/dlls/user32/../../../dlls/user32/message.c:3839] in user32 (0x0033fde8) 22 0x10083166 EntryPoint+0xffffffff() in gameoverlayrenderer (0x0033fe14) 23 0x005fd7bf EntryPoint+0xffffffff() in sonicmania (0x0033fe64) 24 0x006369f1 EntryPoint+0xffffffff() in sonicmania (0x0033feb0) 25 0x7b464379 call_process_entry+0x18() in kernel32 (0x0033fed8) 26 0x7b4666da start_process+0x1f9(entry=<couldn't compute location>, peb=<couldn't compute location>) [/home/jackobo/Programmes/wine-staging/wine32/dlls/kernel32/../../../dlls/kernel32/process.c:1300] in kernel32 (0x0033ffd8) 27 0x7b46438a start_process_wrapper+0x9() in kernel32 (0x0033ffec) 0x7bc7dd7a find_ordinal_export+0x2a [/home/jackobo/Programmes/wine-staging/wine32/dlls/ntdll/../../../dlls/ntdll/loader.c:633] in ntdll: cmpl %eax,0x14(%edx) 633 if (ordinal >= exports->NumberOfFunctions) Modules: Module Address Debug info Name (281 modules) PE 400000- 76e8000 Export sonicmania PE adc0000- ae82000 Deferred steam PE 10000000-1014c000 Export gameoverlayrenderer PE 30000000-302c1000 Deferred steam2 PE 38000000-38c57000 Deferred steamclient PE 3b400000-3b43a000 Deferred steam_api PE 3f000000-3f09a000 Deferred tier0_s PE 3f600000-3f65e000 Deferred vstdlib_s ELF 6288f000-628de000 Deferred libjack.so.0 ELF 72a04000-72a1d000 Deferred hid<elf> -PE 72a10000-72a1d000 \ hid ELF 72a1d000-72a35000 Deferred libgpg-error.so.0 ELF 72a35000-72a94000 Deferred libflac.so.8 ELF 72a94000-72b75000 Deferred libgcrypt.so.20 ELF 72b75000-72b8b000 Deferred liblz4.so.1 ELF 72b8b000-72b92000 Deferred libasyncns.so.0 ELF 72b92000-72c21000 Deferred libsndfile.so.1 ELF 72c21000-72c2c000 Deferred libwrap.so.0 ELF 72c2c000-72cbc000 Deferred libsystemd.so.0 ELF 72cbc000-72d17000 Deferred libdbus-1.so.3 ELF 72d17000-72da4000 Deferred libpulsecommon-11.1.so ELF 72da4000-72dfe000 Deferred libpulse.so.0 ELF 72dfe000-72e29000 Deferred winepulse<elf> -PE 72e00000-72e29000 \ winepulse ELF 72e29000-72e4c000 Deferred mmdevapi<elf> -PE 72e30000-72e4c000 \ mmdevapi ELF 72e4c000-72e55000 Deferred libuuid.so.1 ELF 72e55000-747ff000 Deferred libicudata.so.60 ELF 747ff000-74808000 Deferred libdatrie.so.1 ELF 74808000-74837000 Deferred libgraphite2.so.3 ELF 74837000-7488f000 Deferred libblkid.so.1 ELF 7488f000-74a4e000 Deferred libicuuc.so.60 ELF 74a4e000-74a59000 Deferred libthai.so.0 ELF 74a59000-74b02000 Deferred libharfbuzz.so.0 ELF 74b02000-74b65000 Deferred libmount.so.1 ELF 74b65000-74b91000 Deferred libselinux.so.1 ELF 74b91000-74b96000 Deferred libgmodule-2.0.so.0 ELF 74b96000-74bc7000 Deferred libgomp.so.1 ELF 74bc7000-74bd6000 Deferred libxcb-render.so.0 ELF 74bd6000-74bda000 Deferred libxcb-shm.so.0 ELF 74bda000-74c89000 Deferred libpixman-1.so.0 ELF 74c89000-74d00000 Deferred libpcre.so.3 ELF 74d00000-74eed000 Deferred libxml2.so.2 ELF 74eed000-74f31000 Deferred libcroco-0.6.so.3 ELF 74f31000-74f84000 Deferred libpango-1.0.so.0 ELF 74f84000-74f9c000 Deferred libpangoft2-1.0.so.0 ELF 74f9c000-74fab000 Deferred libpangocairo-1.0.so.0 ELF 74fab000-75192000 Deferred libgio-2.0.so.0 ELF 75192000-751bd000 Deferred libgdk_pixbuf-2.0.so.0 ELF 751bd000-751c6000 Deferred libogg.so.0 ELF 751c6000-751d3000 Deferred libnuma.so.1 ELF 75359000-753ba000 Deferred libsoxr.so.0 ELF 753ba000-754dd000 Deferred libasound.so.2 ELF 754dd000-754e1000 Deferred libva-drm.so.2 ELF 754e1000-754e8000 Deferred libva-x11.so.2 ELF 754e8000-754fc000 Deferred libdrm.so.2 ELF 754fc000-75528000 Deferred liblzma.so.5 ELF 75528000-7553a000 Deferred libgsm.so.1 ELF 7553a000-755b4000 Deferred libmp3lame.so.0 ELF 755b4000-75614000 Deferred libopenjp2.so.7 ELF 75614000-7565f000 Deferred libopus.so.0 ELF 7565f000-757ae000 Deferred libcairo.so.2 ELF 757ae000-758de000 Deferred libglib-2.0.so.0 ELF 758de000-7593e000 Deferred libgobject-2.0.so.0 ELF 7593e000-75980000 Deferred librsvg-2.so.2 ELF 75980000-7598c000 Deferred libshine.so.3 ELF 7598c000-75995000 Deferred libsnappy.so.1 ELF 75995000-759bc000 Deferred libspeex.so.1 ELF 759bc000-759db000 Deferred libtheoradec.so.1 ELF 759db000-75a1e000 Deferred libtheoraenc.so.1 ELF 75a1e000-75a41000 Deferred libtwolame.so.0 ELF 75a41000-75a6c000 Deferred libvorbis.so.0 ELF 75a6c000-75af8000 Deferred libvorbisenc.so.2 ELF 75af8000-75d1c000 Deferred libvpx.so.5 ELF 75d1c000-75d4b000 Deferred libwavpack.so.1 ELF 75d4b000-75d57000 Deferred libwebpmux.so.3 ELF 75d57000-75f18000 Deferred libx264.so.152 ELF 75f18000-7625e000 Deferred libx265.so.146 ELF 7625e000-7637e000 Deferred libxvidcore.so.4 ELF 7637e000-76405000 Deferred libzvbi.so.0 ELF 76405000-7642d000 Deferred libva.so.2 ELF 7642d000-7644d000 Deferred libcrystalhd.so.3 ELF 7644d000-764c1000 Deferred libwebp.so.6 ELF 764c1000-764e3000 Deferred libswresample.so.2 ELF 764e3000-7657d000 Deferred libavutil.so.55 ELF 7657d000-77ac1000 Deferred libavcodec.so.57 ELF 77ac1000-77b6c000 Deferred libopenal.so.1 ELF 77b8e000-77bb7000 Deferred xaudio2_7<elf> -PE 77b90000-77bb7000 \ xaudio2_7 ELF 78604000-78616000 Deferred libsndio.so.6.1 ELF 787cf000-7a6e7000 Deferred libnvidia-glcore.so.390.77 ELF 7a6e7000-7a800000 Deferred libglx_nvidia.so.0 ELF 7a800000-7a93e000 Deferred opengl32<elf> -PE 7a820000-7a93e000 \ opengl32 ELF 7b400000-7b804000 Dwarf kernel32<elf> -PE 7b420000-7b804000 \ kernel32 ELF 7b807000-7b80c000 Deferred libvdpau.so.1 ELF 7b870000-7b8cf000 Deferred libgldispatch.so.0 ELF 7b8cf000-7b8f2000 Deferred libglx.so.0 ELF 7b94e000-7b953000 Deferred libnvidia-tls.so.390.77 ELF 7b953000-7b9b4000 Deferred libgl.so.1 ELF 7b9fa000-7bad6000 Deferred libkrb5.so.3 ELF 7bad6000-7bc00000 Deferred oleaut32<elf> -PE 7baf0000-7bc00000 \ oleaut32 ELF 7bc00000-7bd3a000 Dwarf ntdll<elf> -PE 7bc40000-7bd3a000 \ ntdll ELF 7bd3a000-7bd58000 Deferred libgcc_s.so.1 ELF 7bd58000-7bd5f000 Deferred libnss_dns.so.2 ELF 7bd5f000-7bdb3000 Deferred libgssapi_krb5.so.2 ELF 7bdb3000-7bde8000 Deferred libk5crypto.so.3 ELF 7be0a000-7be24000 Deferred kerberos<elf> -PE 7be10000-7be24000 \ kerberos ELF 7be24000-7be55000 Deferred netapi32<elf> -PE 7be30000-7be55000 \ netapi32 ELF 7be55000-7bec5000 Deferred setupapi<elf> -PE 7be60000-7bec5000 \ setupapi ELF 7bec5000-7bf2d000 Deferred dbghelp<elf> -PE 7bed0000-7bf2d000 \ dbghelp ELF 7bf2d000-7c000000 Deferred crypt32<elf> -PE 7bf40000-7c000000 \ crypt32 ELF 7c000000-7c004000 Deferred <wine-loader> ELF 7c008000-7c00d000 Deferred libkeyutils.so.1 ELF 7c00d000-7c042000 Deferred secur32<elf> -PE 7c010000-7c042000 \ secur32 ELF 7c042000-7c057000 Deferred mswsock<elf> -PE 7c050000-7c057000 \ mswsock ELF 7c057000-7c072000 Deferred imagehlp<elf> -PE 7c060000-7c072000 \ imagehlp ELF 7c072000-7c09e000 Deferred iphlpapi<elf> -PE 7c080000-7c09e000 \ iphlpapi ELF 7c09e000-7c0bf000 Deferred bcrypt<elf> -PE 7c0a0000-7c0bf000 \ bcrypt ELF 7c0d0000-7c0e7000 Deferred api-ms-win-crt-multibyte-l1-1-0<elf> -PE 7c0e0000-7c0e7000 \ api-ms-win-crt-multibyte-l1-1-0 ELF 7c0e7000-7c100000 Deferred api-ms-win-crt-math-l1-1-0<elf> -PE 7c0f0000-7c100000 \ api-ms-win-crt-math-l1-1-0 ELF 7c100000-7c114000 Deferred api-ms-win-crt-locale-l1-1-0<elf> -PE 7c110000-7c114000 \ api-ms-win-crt-locale-l1-1-0 ELF 7c114000-7c146000 Deferred libcrypt.so.1 ELF 7c146000-7c264000 Deferred libsqlite3.so.0 ELF 7c264000-7c2b3000 Deferred libhx509.so.5 ELF 7c2b3000-7c2c4000 Deferred libheimbase.so.1 ELF 7c2c4000-7c2ee000 Deferred libwind.so.0 ELF 7c2ee000-7c379000 Deferred libgmp.so.10 ELF 7c379000-7c3af000 Deferred libhogweed.so.4 ELF 7c3af000-7c3eb000 Deferred libnettle.so.6 ELF 7c3eb000-7c400000 Deferred libtasn1.so.6 ELF 7c404000-7c40d000 Deferred libffi.so.6 ELF 7c40d000-7c58e000 Deferred libunistring.so.2 ELF 7c58e000-7c5ac000 Deferred libidn2.so.0 ELF 7c5ac000-7c6fa000 Deferred libp11-kit.so.0 ELF 7c6fa000-7c712000 Deferred libroken.so.18 ELF 7c712000-7c74e000 Deferred libhcrypto.so.4 ELF 7c74e000-7c753000 Deferred libcom_err.so.2 ELF 7c753000-7c806000 Deferred libasn1.so.8 ELF 7c806000-7c8a3000 Deferred libkrb5.so.26 ELF 7c8a3000-7c8ad000 Deferred libheimntlm.so.0 ELF 7c8ad000-7ca43000 Deferred libgnutls.so.30 ELF 7ca43000-7ca8a000 Deferred libgssapi.so.3 ELF 7ca8a000-7caa8000 Deferred libsasl2.so.2 ELF 7caa8000-7cac0000 Deferred libresolv.so.2 ELF 7cac0000-7cad0000 Deferred liblber-2.4.so.2 ELF 7cad0000-7cb2c000 Deferred libldap_r-2.4.so.2 ELF 7cb2d000-7cb3a000 Deferred libkrb5support.so.0 ELF 7cb3a000-7cb4e000 Deferred api-ms-win-crt-environment-l1-1-0<elf> -PE 7cb40000-7cb4e000 \ api-ms-win-crt-environment-l1-1-0 ELF 7cb4e000-7cba9000 Deferred wldap32<elf> -PE 7cb60000-7cba9000 \ wldap32 ELF 7cba9000-7cbbd000 Deferred api-ms-win-core-sysinfo-l1-2-1<elf> -PE 7cbb0000-7cbbd000 \ api-ms-win-core-sysinfo-l1-2-1 ELF 7cbbd000-7cbd1000 Deferred api-ms-win-core-localization-l1-2-1<elf> -PE 7cbc0000-7cbd1000 \ api-ms-win-core-localization-l1-2-1 ELF 7cbd1000-7cbe5000 Deferred api-ms-win-core-fibers-l1-1-1<elf> -PE 7cbe0000-7cbe5000 \ api-ms-win-core-fibers-l1-1-1 ELF 7cbe5000-7cbf9000 Deferred api-ms-win-core-synch-l1-2-0<elf> -PE 7cbf0000-7cbf9000 \ api-ms-win-core-synch-l1-2-0 ELF 7cbf9000-7cc0d000 Deferred psapi<elf> -PE 7cc00000-7cc0d000 \ psapi ELF 7cc0d000-7ccc7000 Deferred winmm<elf> -PE 7cc10000-7ccc7000 \ winmm ELF 7ccc7000-7ccff000 Deferred uxtheme<elf> -PE 7ccd0000-7ccff000 \ uxtheme ELF 7ccff000-7cde9000 Deferred msvcr120<elf> -PE 7cd20000-7cde9000 \ msvcr120 ELF 7cde9000-7cdf0000 Deferred libxfixes.so.3 ELF 7cdf0000-7cdfc000 Deferred libxcursor.so.1 ELF 7cdfd000-7ce1c000 Deferred concrt140<elf> -PE 7ce00000-7ce1c000 \ concrt140 ELF 7ce9a000-7cecc000 Deferred libexpat.so.1 ELF 7cecc000-7cf17000 Deferred libfontconfig.so.1 ELF 7cf17000-7cf51000 Deferred libpng16.so.16 ELF 7cf51000-7d00e000 Deferred libfreetype.so.6 ELF 7d00e000-7d021000 Deferred libxi.so.6 ELF 7d121000-7d12e000 Deferred libxrandr.so.2 ELF 7d12e000-7d13a000 Deferred libxrender.so.1 ELF 7d13a000-7d284000 Deferred libx11.so.6 ELF 7d284000-7d316000 Deferred winex11<elf> -PE 7d290000-7d316000 \ winex11 ELF 7d316000-7dcfb000 Deferred shell32<elf> -PE 7d330000-7dcfb000 \ shell32 ELF 7dd1e000-7dd39000 Deferred libbsd.so.0 ELF 7dd39000-7dd65000 Deferred libxcb.so.1 ELF 7dd65000-7dd7a000 Deferred libxext.so.6 ELF 7dd9c000-7ddd4000 Deferred ws2_32<elf> -PE 7dda0000-7ddd4000 \ ws2_32 ELF 7ddd4000-7ddfe000 Deferred mpr<elf> -PE 7dde0000-7ddfe000 \ mpr ELF 7ddfe000-7de1d000 Deferred libz.so.1 ELF 7de1d000-7de21000 Deferred libxcomposite.so.1 ELF 7de21000-7de28000 Deferred libxxf86vm.so.1 ELF 7de28000-7de3f000 Dwarf xinput9_1_0<elf> -PE 7de30000-7de3f000 \ xinput9_1_0 ELF 7de3f000-7debc000 Deferred wininet<elf> -PE 7de50000-7debc000 \ wininet ELF 7debc000-7ded2000 Deferred vcruntime140<elf> -PE 7dec0000-7ded2000 \ vcruntime140 ELF 7ded2000-7def6000 Deferred imm32<elf> -PE 7dee0000-7def6000 \ imm32 ELF 7def6000-7df3c000 Deferred usp10<elf> -PE 7df00000-7df3c000 \ usp10 ELF 7df3c000-7e079000 Deferred comctl32<elf> -PE 7df40000-7e079000 \ comctl32 ELF 7e079000-7e094000 Deferred aclui<elf> -PE 7e080000-7e094000 \ aclui ELF 7e094000-7e0b8000 Deferred shcore<elf> -PE 7e0a0000-7e0b8000 \ shcore ELF 7e0b8000-7e128000 Deferred shlwapi<elf> -PE 7e0c0000-7e128000 \ shlwapi ELF 7e128000-7e1ae000 Deferred rpcrt4<elf> -PE 7e130000-7e1ae000 \ rpcrt4 ELF 7e1ae000-7e309000 Deferred ole32<elf> -PE 7e1d0000-7e309000 \ ole32 ELF 7e309000-7e432000 Deferred msvcp140<elf> -PE 7e350000-7e432000 \ msvcp140 ELF 7e458000-7e472000 Deferred version<elf> -PE 7e460000-7e472000 \ version ELF 7e472000-7e67d000 Dwarf user32<elf> -PE 7e490000-7e67d000 \ user32 ELF 7e67d000-7e7ac000 Deferred gdi32<elf> -PE 7e690000-7e7ac000 \ gdi32 ELF 7e7ac000-7e904000 Deferred wined3d<elf> -PE 7e7c0000-7e904000 \ wined3d ELF 7e904000-7e946000 Deferred d3d9<elf> -PE 7e910000-7e946000 \ d3d9 ELF 7e946000-7e95a000 Deferred api-ms-win-crt-utility-l1-1-0<elf> -PE 7e950000-7e95a000 \ api-ms-win-crt-utility-l1-1-0 ELF 7e95a000-7e96e000 Deferred api-ms-win-crt-time-l1-1-0<elf> -PE 7e960000-7e96e000 \ api-ms-win-crt-time-l1-1-0 ELF 7e96e000-7e984000 Deferred api-ms-win-crt-string-l1-1-0<elf> -PE 7e970000-7e984000 \ api-ms-win-crt-string-l1-1-0 ELF 7e984000-7e99a000 Deferred api-ms-win-crt-stdio-l1-1-0<elf> -PE 7e990000-7e99a000 \ api-ms-win-crt-stdio-l1-1-0 ELF 7e99a000-7e9b0000 Deferred api-ms-win-crt-runtime-l1-1-0<elf> -PE 7e9a0000-7e9b0000 \ api-ms-win-crt-runtime-l1-1-0 ELF 7e9b0000-7e9c4000 Deferred api-ms-win-crt-heap-l1-1-0<elf> -PE 7e9c0000-7e9c4000 \ api-ms-win-crt-heap-l1-1-0 ELF 7e9c4000-7e9d8000 Deferred api-ms-win-crt-filesystem-l1-1-0<elf> -PE 7e9d0000-7e9d8000 \ api-ms-win-crt-filesystem-l1-1-0 ELF 7e9d8000-7ead1000 Deferred ucrtbase<elf> -PE 7ea00000-7ead1000 \ ucrtbase ELF 7ead1000-7eb4c000 Deferred advapi32<elf> -PE 7eae0000-7eb4c000 \ advapi32 ELF 7eb4c000-7eb60000 Deferred libnss_files.so.2 ELF 7eb60000-7eb7b000 Deferred libnsl.so.1 ELF 7eb7b000-7eb89000 Deferred libnss_nis.so.2 ELF 7eb8b000-7eb95000 Deferred librt.so.1 ELF 7eb95000-7ebab000 Deferred api-ms-win-crt-convert-l1-1-0<elf> -PE 7eba0000-7ebab000 \ api-ms-win-crt-convert-l1-1-0 ELF 7eedc000-7efde000 Deferred libm.so.6 ELF 7efde000-7efe2000 Deferred libxinerama.so.1 ELF 7efe2000-7efec000 Deferred libnss_compat.so.2 ELF 7efec000-7f000000 Deferred wow64cpu<elf> -PE 7eff0000-7f000000 \ wow64cpu ELF f7af0000-f7af7000 Deferred libxdmcp.so.6 ELF f7af9000-f7afe000 Deferred libdl.so.2 ELF f7afe000-f7cda000 Deferred libc.so.6 ELF f7cda000-f7cf9000 Deferred libpthread.so.0 ELF f7cfc000-f7d00000 Deferred libxau.so.6 ELF f7d1b000-f7eef000 Dwarf libwine.so.1 ELF f7ef1000-f7f19000 Deferred ld-linux.so.2 ELF f7f1c000-f7f1e000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) 0000000e services.exe 00000025 0 00000022 0 0000001d 0 00000015 0 00000012 0 0000000f 0 00000010 explorer.exe 00000029 0 00000028 0 00000027 0 00000011 0 00000013 winedevice.exe 0000001a 0 00000019 0 00000018 0 00000014 0 0000001b plugplay.exe 0000001f 0 0000001e 0 0000001c 0 00000020 winedevice.exe 00000026 0 00000024 0 00000023 0 00000021 0 00000032 Steam.exe [S:\Steam\Steam.exe -no-cef-sandbox -applaunch 584400] 000000a6 0 00000090 0 0000007c 0 00000053 0 00000050 0 0000004f 0 0000004e 0 0000004d 0 0000004c 0 0000004b 0 0000004a 0 00000049 0 00000047 2 00000046 2 00000043 0 00000041 0 00000040 0 0000003d 0 0000003b 0 0000003a 0 00000037 0 00000036 0 00000035 0 00000034 0 00000033 0 00000038 steamwebhelper.exe 000000d8 0 000000d1 0 000000b0 0 000000af 0 00000097 0 00000096 -2 00000091 0 0000007b 0 0000007a 0 00000079 0 00000078 0 00000076 0 00000074 0 00000073 0 00000072 0 00000071 -2 00000070 0 0000006f 0 0000006c 0 0000006b 0 0000006a -2 00000069 0 00000068 0 00000067 0 00000066 0 00000065 -2 00000064 -2 00000063 0 00000062 0 00000061 0 00000060 0 0000005f 0 0000005e 0 0000005d 0 00000039 0 0000003e steamwebhelper.exe 000000bb 0 000000ba 0 000000b9 0 0000009a 0 00000099 0 00000098 0 0000007e 0 0000007d 0 0000005c 0 0000005b 0 0000005a 0 00000059 0 00000058 0 00000057 0 00000056 0 00000055 0 00000054 0 0000003f 0 0000006d steamwebhelper.exe 000000b7 0 000000b6 0 000000b5 -2 000000b2 0 000000b1 0 0000008f 0 0000008e 0 0000008d 0 0000008c 0 0000008b 0 0000008a 0 00000089 0 00000088 -2 00000087 -2 00000086 0 0000007f 0 0000006e 0 00000094 steamwebhelper.exe 000000d0 0 000000ce 0 000000ab -2 000000aa 0 000000a9 0 000000a8 0 000000a7 0 000000a5 0 000000a4 0 000000a3 0 000000a2 0 000000a1 0 000000a0 0 0000009f 0 0000009e -2 0000009d -2 0000009c 0 0000009b 0 00000095 1 000000b3 steamwebhelper.exe 000000f4 0 000000cf 0 000000cd -2 000000cc 0 000000cb 0 000000ca 0 000000c9 0 000000c6 0 000000c5 0 000000c4 0 000000c3 0 000000c2 0 000000c1 0 000000c0 0 000000bf -2 000000be -2 000000bd 0 000000bc 0 000000b4 0 000000d2 (D) Z:\home\jackobo\Jeux\Steam-Windows\steamapps\common\Sonic Mania\SonicMania.exe ["Z:\home\jackobo\Jeux\Steam-Windows\steamapps\common\Sonic Mania\SonicMania.exe"] 000000ea 0 000000e9 15 000000e8 0 000000e7 0 000000e1 0 000000dc 0 000000d3 0 <== 000000fc explorer.exe 00000100 0 000000ff 0 000000fe 0 000000fd 0 System information: Wine build: wine-4.0 (Staging) Platform: i386 (WOW64) Version: Windows 10 Host system: Linux Host version: 4.15.0-43-generic
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #5 from imbert.jacquesolivier@gmail.com --- I can confirm that the issue / culprit of the regression comes from hid dll code.
Using the command "wintricks hid" permits to launch the game with a gamepad connected on my computer but the gamepad IS NOT detected by Sonic Mania : I have this message on the console "Total HID GamePad Count: 0"
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- Please do not paste logs or backtraces, but rather attach them.
Please attach a log with +xinput,+hid,+module,+loaddll,+seh.
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #7 from imbert.jacquesolivier@gmail.com --- Created attachment 63366 --> https://bugs.winehq.org/attachment.cgi?id=63366 Sonic Mania Wine Data N°1
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #8 from imbert.jacquesolivier@gmail.com --- Comment on attachment 63366 --> https://bugs.winehq.org/attachment.cgi?id=63366 Sonic Mania Wine Data N°1
log with +xinput,+hid,+module,+loaddll,+seh
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #9 from imbert.jacquesolivier@gmail.com --- 3.12 doesn't rawinput.c and other new codes about gamepads. So before the news codes, gamepads worked like a charm.
In some forums, I see that the following flag could be the culprit : DIGCF_PRESENT usage.
https://community.osr.com/discussion/269299
I quote the following text : " For some reason some USB(in my case) devices in not returned by SetupDiGetClassDevs with (DIGCF_ALLCLASSES | DIGCF_PRESENT) falgs. Device is present in system and is showed up as connected by device manager and devcon. And the device is returned without DIGCF_PRESENT flag. I see the same problem for USBDeview prograam it also showed device as not connected. What can be the reason? "
2nd solution : https://stackoverflow.com/questions/12485414/setupdienumdeviceinterfaces-fai...
I quote the following text : "To return devices that support a device interface of any class, set the DIFCF_DEVICEINTERFACE flag, set the DIGCF_ALLCLASSES flag, and set ClassGuid to NULL. The function adds to the device information set a device information element that represents such a device and then adds to the device information element a device interface list that contains all the device interfaces that the device supports.
So fix your SetupDiGetClassDevs call by adding the DIGCF_DEVICEINTERFACE flag like:
hDevInfo = SetupDiGetClassDevs(NULL,0,0, DIGCF_PRESENT | DIGCF_ALLCLASSES | DIGCF_DEVICEINTERFACE); "
I will these solutions. If people can test Sonic Mania in original Wine 4.0 to confirm the issue with the gamepad, it can confirmed the current issue.
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #10 from imbert.jacquesolivier@gmail.com --- Tried to remove DIGCF_PRESENT, still crashes when I connect a gamepad during the game...
A suggestion ?
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #11 from imbert.jacquesolivier@gmail.com --- More informations with WINEDEBUG=+rawinput
I have "error 2" with "Failed to open device file".
00d2:trace:rawinput:GetRawInputDeviceList devices 0x10361dd8, device_count 0x33f234, size 8. 00d2:err:rawinput:find_hid_devices Failed to open device file L"\\?\HID#VID_0006&PID_0007&IM_1#2&03000000060000000700000002000000&1#{4D1E55B2-F16F-11CF-88CB-001111000030}", error 2. 00d2:err:rawinput:find_hid_devices Failed to open device file L"\\?\HID#VID_0006&PID_0007&IM_2#2&03000000060000000700000002000000&2#{4D1E55B2-F16F-11CF-88CB-001111000030}", error 2. 00d2:err:rawinput:find_hid_devices Failed to open device file L"\\?\HID#VID_0006&PID_0007&IM_3#2&03000000060000000700000002000000&3#{4D1E55B2-F16F-11CF-88CB-001111000030}", error 2. 00d2:err:rawinput:find_hid_devices Failed to open device file L"\\?\HID#VID_0026&PID_0027&IM_1#2&03000000260000002700000002000000&0#{4D1E55B2-F16F-11CF-88CB-001111000030}", error 2. 00d2:trace:rawinput:find_hid_devices Found HID device L"\\?\HID#VID_045E&PID_02EA&IG_1#769&030000005E040000EA02000001030000&0#{4D1E55B2-F16F-11CF-88CB-001111000030}". 00d2:trace:rawinput:GetRawInputDeviceList devices 0x10362d00, device_count 0x33f234, size 8. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x1, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x1, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x2, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x2, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x10363000, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x10363000, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceList devices 0x10361dd8, device_count 0x33f234, size 8. 00d2:trace:rawinput:GetRawInputDeviceList devices 0x10362d00, device_count 0x33f234, size 8. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x1, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x1, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x2, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x2, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x10363000, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x10363000, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x1, command 0x2000000b, data 0x33f25c, data_size 0x33f288. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x1, command 0x2000000b, data 0x33f25c, data_size 0x33f288. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x1, command 0x20000007, data 0x33f2a0, data_size 0x33f284. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x1, command 0x20000007, data 0x33f2a0, data_size 0x33f284. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x2, command 0x2000000b, data 0x33f25c, data_size 0x33f288. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x2, command 0x2000000b, data 0x33f25c, data_size 0x33f288. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x2, command 0x20000007, data 0x33f2a0, data_size 0x33f284. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x2, command 0x20000007, data 0x33f2a0, data_size 0x33f284. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x10363000, command 0x2000000b, data 0x33f25c, data_size 0x33f288. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x10363000, command 0x2000000b, data 0x33f25c, data_size 0x33f288. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x10363000, command 0x20000007, data 0x33f2a0, data_size 0x33f284. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x10363000, command 0x20000007, data 0x33f2a0, data_size 0x33f284. Total HID GamePad Count: 0
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #12 from imbert.jacquesolivier@gmail.com --- Note for the previous comment : Gamepad ( Microsoft Xbox One ) connected with USB cable that worked perfectly on 3.12 ID 045e:02ea Microsoft Corp.
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #13 from Zebediah Figura z.figura12@gmail.com --- (In reply to imbert.jacquesolivier from comment #9)
3.12 doesn't rawinput.c and other new codes about gamepads. So before the news codes, gamepads worked like a charm.
In some forums, I see that the following flag could be the culprit : DIGCF_PRESENT usage.
If the device is present in the system, it should be reported as present by winebus, so removing DIGCF_PRESENT cannot be the solution.
The varying symptoms of the crash, plus the presence of a crash in wine_dbg_printf(), might suggest heap corruption. It may be difficult to narrow that down, however.
Performing a bisect between these versions would be the most helpful thing. If that's not possible, it will have to come down to a matter of searching the code for heap corruption. Adding +rawinput,+heap may help, though I make no guarantees.
(In reply to imbert.jacquesolivier from comment #5)
I can confirm that the issue / culprit of the regression comes from hid dll code.
Using the command "wintricks hid" permits to launch the game with a gamepad connected on my computer but the gamepad IS NOT detected by Sonic Mania : I have this message on the console "Total HID GamePad Count: 0"
There can't be a regression in hid between 3.12 and 4.0-rc2, since the only change to hid during that period (a2ab55381) involves a function that is not called. Rather, I suspect that native hid simply does not report any devices, and so the offending code path is never taken.
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #14 from imbert.jacquesolivier@gmail.com --- There is a regression somewhere after the 3.12 version. I can't launch the game with a gamepad now... --"
If it is not in HID, Raw Input was added on 4.0 : is it not the culprit instead of HID ?? Because rawinput.c in user32 directory never existed in 3.12...
I can't launch wine with +heap flag on my computer : my PC is not a warrior on the specs... Am I the only people who have the game on the world ? Can one of the Team Members and/or developers and/or Wine community people do a test with the game ?
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #15 from imbert.jacquesolivier@gmail.com --- rawinput.c apparently appears in 3.15 version - https://www.winehq.org/news/2018083101
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #16 from Zebediah Figura z.figura12@gmail.com --- (In reply to imbert.jacquesolivier from comment #14)
There is a regression somewhere after the 3.12 version. I can't launch the game with a gamepad now... --"
If it is not in HID, Raw Input was added on 4.0 : is it not the culprit instead of HID ?? Because rawinput.c in user32 directory never existed in 3.12...
Many changes were made along the HID architecture. Improved support for Raw Input was one (and I'd argue the release notes for 4.0 are somewhat misleading: Raw Input was not completely unimplemented previously, and it is not completely implemented now), but there were also significant changes to setupapi and to the pseudo-kernel drivers.
I can't launch wine with +heap flag on my computer : my PC is not a warrior on the specs... Am I the only people who have the game on the world ? Can one of the Team Members and/or developers and/or Wine community people do a test with the game ?
Perhaps warn+heap instead, then?
I don't have the game, nor (currently) any controllers to test with, but logs would certainly be appreciated from anyone who can reproduce the problem.
https://bugs.winehq.org/show_bug.cgi?id=46361
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #17 from imbert.jacquesolivier@gmail.com --- https://bugs.winehq.org/show_bug.cgi?id=45983
Bugs like Sonic Mania with gamepad exists since 3.18. Is it a joke ?
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #18 from Zebediah Figura z.figura12@gmail.com --- (In reply to imbert.jacquesolivier from comment #17)
https://bugs.winehq.org/show_bug.cgi?id=45983
Bugs like Sonic Mania with gamepad exists since 3.18. Is it a joke ?
Please be patient. Remember that WineHQ bugs are primarily fixed in developers' spare time. Complaining that bugs are not fixed after 3½ months is not a good way to encourage people to work on them.
If you'd like to help this bug get fixed, the most helpful thing to do would be to perform a regression test.
https://bugs.winehq.org/show_bug.cgi?id=46361
imbert.jacquesolivier@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |-unknown Product|Wine |Wine-staging
--- Comment #19 from imbert.jacquesolivier@gmail.com --- Yeah you're right. Sorry. Need to shutdown some things on development when things don't work...
I tried something but I need confirmation. I changed the version of the ticket for the moment...
Can you wait before doing any modifications or regressions tests with your team?
https://bugs.winehq.org/show_bug.cgi?id=46361
imbert.jacquesolivier@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |xinput Product|Wine-staging |Wine
--- Comment #20 from imbert.jacquesolivier@gmail.com --- Now I can confirm that.
Sonic Mania boots on Wine 4.0 ( not Wine-Staging ) but crashes few minutes because of an error with xinput module.
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #21 from imbert.jacquesolivier@gmail.com --- https://www.reddit.com/r/wine_gaming/comments/98pxei/controller_input_stoppe...
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #22 from imbert.jacquesolivier@gmail.com --- Like I said, on my Wine-Staging 3.12, Sonic Mania works. What files do I must check between 3.12 and 4.0?
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #23 from imbert.jacquesolivier@gmail.com --- After reboot the game, now Sonic Mania crashes at startup. I can't boot it anymore. There is something really strange...
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #24 from Zebediah Figura z.figura12@gmail.com --- Since the bug is reproducible in upstream Wine, easiest is to bisect between those two commits in a plain Wine tree. See https://wiki.winehq.org/Regression_Testing for details.
(In reply to imbert.jacquesolivier from comment #23)
After reboot the game, now Sonic Mania crashes at startup. I can't boot it anymore. There is something really strange...
With what symptoms? Can you attach logs?
https://bugs.winehq.org/show_bug.cgi?id=46361
imbert.jacquesolivier@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #63366|0 |1 is obsolete| |
--- Comment #25 from imbert.jacquesolivier@gmail.com --- Created attachment 63473 --> https://bugs.winehq.org/attachment.cgi?id=63473 1st run : No crash
1st run : No crash
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #26 from imbert.jacquesolivier@gmail.com --- Created attachment 63474 --> https://bugs.winehq.org/attachment.cgi?id=63474 3rd run : Games Crash
2nd run : No crash when I connected the gamepad before starting Steam/Sonic Mania 3rd run : Games Crash when I connected the gamepad on Sonic Mania Title Screen
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #27 from imbert.jacquesolivier@gmail.com --- Created attachment 63475 --> https://bugs.winehq.org/attachment.cgi?id=63475 4th to 6th run : Game is death
4th to 6th run : Game is death at booting when a gamepad is connected
https://bugs.winehq.org/show_bug.cgi?id=46361
imbert.jacquesolivier@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|4.0 |4.1
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #28 from imbert.jacquesolivier@gmail.com --- Logs done with WINEDEBUG=+xinput,+hid,+module,+loaddll,+seh under Wine 4.1 - 64 bits
1st run : No Gamepad - No crash 2nd run : Gamepad connected from start - No crash ( tested a gameplay with Knuckles on Chemical Plant and Studiopolis ( 2nd and 3th level of the game ) ) 3rd run : Decided to connect the gamepad connected on title screen - Games crashes 4th run to 6th run : Gamepad connected from start - Game is dead - Crash at booting.
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #29 from imbert.jacquesolivier@gmail.com --- I read on https://bugs.winehq.org/show_bug.cgi?id=45732 :
"""Some people report this problem when they leave their game controllers plugged in before starting the game. I'm not sure what Far Cry 5 sees in terms of attached controllers under WINE. One of my thoughts was that WINE may be emulating something that reproduces this behavior."""
Since a certain version of Wine (3.16 or 3.17 or 3.18 ), gamepads in Steam games have critical issues. From my personnal experience : -> Rabi-Ribi doesn't detect the gamepad now -> Sonic Mania crashes at the startup now : https://bugs.winehq.org/show_bug.cgi?id=46361
So the problem concerns not only Sonic Mania but all Steam games apparently...
PS : Curiously, Proton, a Wine fork of Valve, uses 3.16 version of Wine. And Wine gamepads issues appears apparently around version 3.17 of Wine.
Funny coincidence...
https://bugs.winehq.org/show_bug.cgi?id=46361
David Korth gerbilsoft@gerbilsoft.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gerbilsoft@gerbilsoft.com
--- Comment #30 from David Korth gerbilsoft@gerbilsoft.com --- I attempted to bisect this, though haven't been successful in figuring out the exact commit.
wine-3.20 seems to sort of detect the controller, but Sonic Mania doesn't recognize it.
With wine-3.21 and later, Sonic Mania does recognize the controller, but the game crashes at some unspecified point if a controller is connected. (Connecting the controller while the game is running usually crashes.)
https://bugs.winehq.org/show_bug.cgi?id=46361
imbert.jacquesolivier@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|4.1 |4.4
--- Comment #31 from imbert.jacquesolivier@gmail.com --- Still crashes on wine 4.4. Same issue : the game crashes when we connected a gamepad. I got the following messages :
w: 854 h: 505 windowed: 1 Total HID GamePad Count: 0 Timed out waiting for game mapping!
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #32 from Zebediah Figura z.figura12@gmail.com --- (In reply to imbert.jacquesolivier from comment #31)
Still crashes on wine 4.4. Same issue : the game crashes when we connected a gamepad. I got the following messages :
w: 854 h: 505 windowed: 1 Total HID GamePad Count: 0 Timed out waiting for game mapping!
Did those messages appear before?
Can you attach a new log with the same flags?
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #33 from imbert.jacquesolivier@gmail.com --- I will not send again the same thing: you already have the information before. I want to help a community, but there is no writing "idiot" on my forehead. Because there it is not necessary to exaggerate with all that I gave you: -> with the test via packages to install manually because your official repository is poorly built -> with the dependencies of these packages that have no logic -> with the installation, a failure via the binaries of the game launch -> then the attempt to recompile via the sources to not be bad time (1 day of compilation!) -> then the crash of Wine with the sending each time of the log then analyzes but which are not taken into account in the final
The problem comes from changing your "Joystick" API ! And Valve understood it very well in their fork called Proton.
Because yes, I was curiously tested version 4.2-1 of Proton yesterday (https://github.com/ValveSoftware/Proton/releases/tag/proton-4.2-1 - https://github.com/ValveSoftware/Proton/tree/proton-4.2-1 ), and to my surprise, the USB controllers work without issue on Sonic Mania and other games I was concerned about (like the game Rabi-Ribi)
I consulted their sources comparing them with your 4.2 version of Wine. And there is for example a file called joystick_sdl.c and other changes in the folder "dinput" and "dinput8".
Now you can compare the sources of Proton 4.2-1 and your sources of wine-4.2 and correct the support of USB and other controllers. Because just like you, I also have forks and projects to update.
It's still crazy to be forced to use / create forks of an open source software to use it correctly ...
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #34 from Zebediah Figura z.figura12@gmail.com --- There have been many changes to parts of the joystick stack in Wine recently. Many of these improved applications. What distinguishes Proton is that it uses an old Wine version, and therefore does not include some of these changes. Doing exactly what Proton does is therefore not in fact necessarily desirable, as it would mean breaking other applications. Presumably one or more of these changes caused problems for Sonic Mania, but a priori it's not easy to tell which, nor how. If it was that easy we'd never have regressions in the first place. Even from examining logs this is not always possible.
As it happens I did examine logs, and I found a problem which may have been fixed by https://source.winehq.org/git/wine.git/commit/ea7b8ad9241559d5b9a0ab9082a766... (and then https://source.winehq.org/git/wine.git/commitdiff/a0a3b6b90e2d938200bbe86fd1...). The fact that it still crashes means that there must be a second bug hiding behind that, and it's impossible to tell what that could be just from that log. This is why I asked for new logs. Two crashes can have very different causes.
I apologize that compiling Wine is difficult and time-consuming. I've been trying to work on improving our instructions to make is a bit easier. As for packaging, I don't know what distribution you're using, but I suspect the "official repository" is not the one under our direct control. If I'm wrong, please feel free to complain, ideally by filing a bug with the Packaging component.
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #35 from imbert.jacquesolivier@gmail.com --- You said : "What distinguishes Proton is that it uses an old Wine version, and therefore does not include some of these changes."
Is it a joke ? Proton got a version 4.2-1 that uses your Wine version 4.2. Your Wine 4.2 was available the February 15, 2019 (https://www.winehq.org/news/2019021501)
So now i do the following formula : "Avril 02, 2019" - "February 15, 2019" = "46 days" . And you consider Wine 4.2 as an old version... You are in bad faith.
For me an old version of a program is when we have 1 year between the release date of the program and the date today.
As a reminder :
- Wine 4.2 with Steam games ( like Sonic Mania and Rabi-Ribi for instance ) for instance doesn't recognize the controller. In the case of Sonic Mania, the games crashes ! On Wine 3.12-staging, the games worked.
- Proton 4.2-1 that uses Wine 4.2 and some patches recognizes the controller on Steam games. And Sonic Mania doesn't crash, whether it's at startup or during the game, unlike Wine 4.2 !
I advice you to use MELD - http://meldmerge.org/ - ( like Google and some personnal research it can be your friend during development and programmation ) with the modified Wine 4.2 of Proton and your Wine 4.2 to solve the gamepad issues on Steam Games and other issues (indeed the gamepad issue doesn't concern Sonic Mania only for your Wine 4.2+) .
For curious people : -> The fan database for Proton compatibility : https://www.protondb.com/ -> The source code of Proton : https://github.com/ValveSoftware/Proton
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #36 from Zebediah Figura z.figura12@gmail.com --- Yes, Proton uses Wine 4.2. The last released version is Wine 4.5. That's one month and a half old. Whether or not that's "old" according to some arbitrary cutoff point, there are still some changes to the joystick stack that have happened in that month and a half.
Again, it's not difficult to see what's different between Proton and Wine. I can do that just by looking at git logs. What I cannot easily do is determine which of those changes is responsible for causing this bug, or fixing it. This is why I need to ask for help of a different nature.
https://bugs.winehq.org/show_bug.cgi?id=46361
imbert.jacquesolivier@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|4.4 |4.5
--- Comment #37 from imbert.jacquesolivier@gmail.com --- Can someone explain me what is 'gameoverlayrenderer' ?
After some news research on forums, some people with latest Wine got the same symptoms on other games. The solution : add in winecfg in Libraries tab manually the word 'gameoverlayrenderer' and set it to disabled.
Now I can play Sonic Mania with a gamepad without crash (tested on Wine-Staging 4.5). Oh my god... So somewhere in Proton, we have patches that solves the issue about the 'gameoverlayrenderer' ( overlays on Steam ???? )
Can some people confirm the fix ? I will attach a screenshot for people to see where you must add it.
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #38 from imbert.jacquesolivier@gmail.com --- Created attachment 64078 --> https://bugs.winehq.org/attachment.cgi?id=64078 Sonic Mania Fix Crash : Disable gameoverlayrenderer
https://bugs.winehq.org/show_bug.cgi?id=46361
João Ferreira devilj@outlook.pt changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |devilj@outlook.pt
--- Comment #39 from João Ferreira devilj@outlook.pt --- Created attachment 64321 --> https://bugs.winehq.org/attachment.cgi?id=64321 RegisterDeviceNotificationA+0x21 exception backtrace
This exception happens without any controllers attached, for all Steam games, unless Gameoverlayrenderer is disabled in winecfg.
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #40 from João Ferreira devilj@outlook.pt --- Hello,
I've been experiencing a very similar bug since Wine 4.6, though I don't have a gamepad connected.
All of my games, including Sonic Mania, crash on RegisterDeviceNotificationA+0x21(), unless Gameoverlayrenderer is disabled in winecfg.
Tested on Arch Linux.
Check this backtrace for details: https://bugs.winehq.org/attachment.cgi?id=64321
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #41 from Zebediah Figura z.figura12@gmail.com --- That looks like bug 47097; if possible please try with current git (i.e. after https://source.winehq.org/git/wine.git/commitdiff/8039941c52758113955d376bd7b6b6e1e5b5f76c) or with wine 4.8 when it is released.
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #42 from João Ferreira devilj@outlook.pt --- (In reply to Zebediah Figura from comment #41)
That looks like bug 47097; if possible please try with current git (i.e. after https://source.winehq.org/git/wine.git/commitdiff/ 8039941c52758113955d376bd7b6b6e1e5b5f76c) or with wine 4.8 when it is released.
Thanks, yeah, that was a dupe. I couldn't find anything before when I searched. Sorry.
https://bugs.winehq.org/show_bug.cgi?id=46361
João Ferreira devilj@outlook.pt changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #64321|0 |1 is obsolete| | Attachment #64321|RegisterDeviceNotificationA |RegisterDeviceNotificationA description|+0x21 exception backtrace |+0x21 exception backtrace | |(unrelated)
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #43 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- With the joystick changes in 4.8, is this still an issue?
If so, can you please attached a dinput,xinput log?
https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #44 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- I'm unable to reproduce the crash using wine-4.11.
Can you please retest?
https://bugs.winehq.org/show_bug.cgi?id=46361
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #45 from Andrew Eikum aeikum@codeweavers.com --- I can't reproduce this in Wine 5.0-rc5, with Sonic Mania via Steam, with a wired Xbox One gamepad. The game doesn't crash and the gamepad functions in-game. Anyone opposed to closing this?
https://bugs.winehq.org/show_bug.cgi?id=46361
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #46 from Andrew Eikum aeikum@codeweavers.com --- Closing. Based on the stack trace in comment 2, where it's crashing in an innocuous-looking TRACE, it seems plausible that this was some incompatibility with gameoverlayrenderer which has since been fixed.
https://bugs.winehq.org/show_bug.cgi?id=46361
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #47 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.0-rc6.