https://bugs.winehq.org/show_bug.cgi?id=38972
Bug ID: 38972 Summary: unimplemented function OpenAL32.dll.alGenFilters Product: Wine Version: 1.7.29 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: contact@rudloff.pro Distribution: ---
Created attachment 51923 --> https://bugs.winehq.org/attachment.cgi?id=51923 Backtrace
Hello,
I am trying to run the Titan Souls Demo from Steam with Wine, but it crashes with this error:
Unhandled exception: unimplemented function OpenAL32.dll.alGenFilters called in 32-bit code (0x7bc4a9c9).
Regards,
https://bugs.winehq.org/show_bug.cgi?id=38972
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://store.steampowered.c | |om/app/359950/ CC| |focht@gmx.net Component|-unknown |openal32 Summary|unimplemented function |Titan Souls Demo (Steam) |OpenAL32.dll.alGenFilters |crashes on unimplemented | |function | |OpenAL32.dll.alGenFilters Ever confirmed|0 |1
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
--- snip --- $ pwd /home/focht/wine-games/wineprefix-steam/drive_c/Program Files/Steam
$ WINEDEBUG=+tid,+seh,+relay,+module,+openal32 wine ./steam.exe -applaunch 359950 -no-dwrite -allowdebug -nominidumps -nobreakpad -windowed >>log.txt 2>&1 ... 0053:trace:module:load_dll looking for L"OpenAL32.dll" in L"C:\Program Files\Steam\SteamApps\common\Titan Souls Demo;.;C:\windows\system32;C:\windows\system;C:\windows;C:\Program Files\Steam;C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\PhysX\Common;" 0053:trace:module:get_load_order looking for L"C:\Program Files\Steam\SteamApps\common\Titan Souls Demo\OpenAL32.dll" 0053:trace:module:get_load_order got hardcoded default for L"C:\Program Files\Steam\SteamApps\common\Titan Souls Demo\OpenAL32.dll" 0053:trace:module:load_builtin_dll Trying built-in L"C:\Program Files\Steam\SteamApps\common\Titan Souls Demo\OpenAL32.dll" ... 0053:trace:module:load_builtin_callback loaded openal32.dll 0x120e18 0x7e6a0000 0053:Call PE DLL (proc=0x7e6a904c,module=0x7e6a0000 L"openal32.dll",reason=WINE_PREATTACH,res=(nil)) 0053:Ret PE DLL (proc=0x7e6a904c,module=0x7e6a0000 L"openal32.dll",reason=WINE_PREATTACH,res=(nil)) retval=1 0053:trace:module:load_dll Loaded module L"C:\Program Files\Steam\SteamApps\common\Titan Souls Demo\OpenAL32.dll" (builtin) at 0x7e6a0000
0053:warn:module:import_dll No implementation for OpenAL32.dll.alFilterf imported from L"C:\Program Files\Steam\SteamApps\common\Titan Souls Demo\TITAN.exe", setting to 0x240000 0053:warn:module:import_dll No implementation for OpenAL32.dll.alFilteri imported from L"C:\Program Files\Steam\SteamApps\common\Titan Souls Demo\TITAN.exe", setting to 0x24000f 0053:warn:module:import_dll No implementation for OpenAL32.dll.alGenFilters imported from L"C:\Program Files\Steam\SteamApps\common\Titan Souls Demo\TITAN.exe", setting to 0x24001e ... --- snip ---
Tidbit: the game uses OpenGL
On my system it crashes even before getting OpenAL up, due to Mesa/Nouveau insufficiencies (I'll create a separate bug for that).
$ wine --version wine-1.7.47-196-g4e6e9a1
Regards
https://bugs.winehq.org/show_bug.cgi?id=38972
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #2 from Sebastian Lackner sebastian@fds-team.de --- Could you please test the following patch by Michael Müller? https://github.com/wine-compholio/wine-staging/tree/master/patches/openal32-...
https://bugs.winehq.org/show_bug.cgi?id=38972
--- Comment #3 from Andrey Gusev andrey.goosev@gmail.com --- Yes, it works with this patch.
https://bugs.winehq.org/show_bug.cgi?id=38972
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #4 from Andrew Eikum aeikum@codeweavers.com --- (In reply to Sebastian Lackner from comment #2)
Could you please test the following patch by Michael Müller? https://github.com/wine-compholio/wine-staging/tree/master/patches/openal32- EFX_Extension
Patch seems OK to me.
https://bugs.winehq.org/show_bug.cgi?id=38972
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/openal32-EFX_E | |xtension
https://bugs.winehq.org/show_bug.cgi?id=38972
--- Comment #5 from Andrew Eikum aeikum@codeweavers.com --- openal32 now defaults to use the Windows-native version, so I suspect this bug is fixed.
https://bugs.winehq.org/show_bug.cgi?id=38972
jre.winesim@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jre.winesim@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=38972
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=38972
--- Comment #6 from Jens Reyer jre.winesim@gmail.com --- (In reply to Andrew Eikum from comment #5)
openal32 now defaults to use the Windows-native version, so I suspect this bug is fixed.
We have the staged patch in Debian since 1.7.54. But looking at this:
commit 7d6c6025923c039ac6a2458ca466290621238c36 Author: Andrew Eikum aeikum@codeweavers.com Date: Fri Oct 2 09:02:56 2015 -0500
openal32: Prefer native version.
Because openal contexts are global per-process, applications that use openal will conflict with Wine DLLs that use openal like xaudio2_7 now does. Windows does not ship an openal32, so all applications that use openal will ship their own copy of it. According to Chris Robinson, Windows native openal32 works fine in Wine, so we should just use that to avoid the problem.
... I wonder why this patch is still carried in staging at all? If it is still useful, shouldn't it be applied to main Wine?
https://bugs.winehq.org/show_bug.cgi?id=38972
--- Comment #7 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Jens Reyer from comment #6)
(In reply to Andrew Eikum from comment #5)
openal32 now defaults to use the Windows-native version, so I suspect this bug is fixed.
We have the staged patch in Debian since 1.7.54. But looking at this:
[...]
If it is still useful, shouldn't it be applied to main Wine?
Noone has reported yet if the patch is still required. The patch is only correct if those exports are available on most OpenAL32 dlls out there. All the versions I have found so far do not have those exports, which means the game might ship with its own modified version.
https://bugs.winehq.org/show_bug.cgi?id=38972
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #8 from Wylda wylda@volny.cz ---
Noone has reported yet if the patch is still required...
Hi Sebastian, i tested this steam demo. All vanilla wine (non-staging):
1.7.50 ... Unhandled exception: unimplemented function OpenAL32.dll.alGenFilters called in 32-bit code (0x7bc51d30).
1.7.55 ... game demo works
1.9.21-54-g686cfe3 ... game demo works
Thus fixed by 7d6c6025923c039ac6a2458ca466290621238c36? Sure i could do reverse regression test, but seems to be wasting...
https://bugs.winehq.org/show_bug.cgi?id=38972
C0rn3j spleefer90@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spleefer90@gmail.com
--- Comment #9 from C0rn3j spleefer90@gmail.com --- Tested full game on Steam with 1.9.22, works flawlessly.
Why was there no report for the game in AppDB is puzzling.
https://bugs.winehq.org/show_bug.cgi?id=38972
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Wylda from comment #8)
Thus fixed by 7d6c6025923c039ac6a2458ca466290621238c36? Sure i could do reverse regression test, but seems to be wasting...
Why not git revert 7d6c6025923c039ac6a2458ca466290621238c36 instead of reverse regression? It reverts cleanly here in wine-git.
https://bugs.winehq.org/show_bug.cgi?id=38972
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |7d6c6025923c039ac6a2458ca46 | |6290621238c36 Resolution|--- |FIXED
--- Comment #11 from Andrew Eikum aeikum@codeweavers.com --- No need, I'm sure that's the case. Thanks for retesting. Since Windows doesn't ship an openal.dll, there's really no longer a need for Wine to have a built-in openal nor for wine-staging to carry patches to it, but it's also doing no harm.
https://bugs.winehq.org/show_bug.cgi?id=38972
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.23.