https://bugs.winehq.org/show_bug.cgi?id=40418
Bug ID: 40418 Summary: Doom 4 requires bcrypt AES provider Product: Wine Version: 1.9.7 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: bcrypt Assignee: wine-bugs@winehq.org Reporter: 00cpxxx@gmail.com CC: charles.gorand.dev@gmail.com Distribution: ---
Continuation of bug 40406.
fixme:bcrypt:BCryptOpenAlgorithmProvider algorithm L"AES" not supported
https://bugs.winehq.org/show_bug.cgi?id=40418
--- Comment #1 from charles.gorand.dev@gmail.com --- Created attachment 54232 --> https://bugs.winehq.org/attachment.cgi?id=54232 Wine logs
https://bugs.winehq.org/show_bug.cgi?id=40418
--- Comment #2 from charles.gorand.dev@gmail.com --- The issue still occurs on the new Doom 4 Open Beta version. The game requires RNG (Bug 40406) and AES. Log attached (Wine 1.9.7 + 1a50b8974a9d288020f4d7f9ebdb653367239c41).
https://bugs.winehq.org/show_bug.cgi?id=40418
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte@systemsaviour.com
--- Comment #3 from Adam Bolte abolte@systemsaviour.com --- Confirming the same console warnings in the Doom 4 Open Beta on a clean Wine 1.9.8.
https://bugs.winehq.org/show_bug.cgi?id=40418
--- Comment #4 from Hans Leidekker hans@meelstraat.net --- Created attachment 54233 --> https://bugs.winehq.org/attachment.cgi?id=54233 patch
Can you try this patch? Please attach a +bcrypt trace if it still fails.
https://bugs.winehq.org/show_bug.cgi?id=40418
--- Comment #5 from charles.gorand.dev@gmail.com --- Created attachment 54234 --> https://bugs.winehq.org/attachment.cgi?id=54234 Modified patch from Hans Leidekker
https://bugs.winehq.org/show_bug.cgi?id=40418
--- Comment #6 from charles.gorand.dev@gmail.com --- Created attachment 54235 --> https://bugs.winehq.org/attachment.cgi?id=54235 Doom 4 logs with patch
https://bugs.winehq.org/show_bug.cgi?id=40418
--- Comment #7 from charles.gorand.dev@gmail.com --- Thank you for the patch. I add missing definitions in bcrypt.h. Please find the new patch attached.
Unfortunatly, there're still an issue. I attached log with this patch.
https://bugs.winehq.org/show_bug.cgi?id=40418
Johannes Brandstätter jbrandst@2ds.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jbrandst@2ds.eu
https://bugs.winehq.org/show_bug.cgi?id=40418
Mathieu Comandon strider@strycore.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |strider@strycore.com
https://bugs.winehq.org/show_bug.cgi?id=40418
Crusader kreuzader@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kreuzader@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40418
--- Comment #8 from Hans Leidekker hans@meelstraat.net --- (In reply to charles.gorand.dev from comment #7)
Thank you for the patch. I add missing definitions in bcrypt.h. Please find the new patch attached.
Unfortunatly, there're still an issue. I attached log with this patch.
Can you try the improved patch from bug 40692?
https://bugs.winehq.org/show_bug.cgi?id=40418
--- Comment #9 from charles.gorand.dev@gmail.com --- I cannot test it as I need to buy the game.
I will buy the game if by chance it can run with Wine AND support my GFX card.
Moreover, there are issues with Wine and Denuvo the DRM system of the game...
https://bugs.winehq.org/show_bug.cgi?id=40418
David Gámiz Jiménez david.gamiz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |david.gamiz@gmail.com
--- Comment #10 from David Gámiz Jiménez david.gamiz@gmail.com --- Are exits a Demo to chech the patch:
http://store.steampowered.com/app/379720
The error in lauch looks the same.
Thanks! :D
https://bugs.winehq.org/show_bug.cgi?id=40418
roman@hargrave.info roman@hargrave.info changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roman@hargrave.info
https://bugs.winehq.org/show_bug.cgi?id=40418
Luke Bratch luke@bratch.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |luke@bratch.co.uk
https://bugs.winehq.org/show_bug.cgi?id=40418
david@tpflug.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |david@tpflug.com
https://bugs.winehq.org/show_bug.cgi?id=40418
thesaxophonist@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thesaxophonist@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40418
Anton Romanov theli.ua@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |theli.ua@gmail.com
--- Comment #11 from Anton Romanov theli.ua@gmail.com --- Reportedly denuvo was removed from the latest version on Steam. Can anyone provide relay logs from that version here?
https://bugs.winehq.org/show_bug.cgi?id=40418
--- Comment #12 from Mathieu Comandon strider@strycore.com --- Created attachment 56343 --> https://bugs.winehq.org/attachment.cgi?id=56343 Wine 1.9.24 (+bcrypt) log for DOOM without Denuvo
This is the same log as in bug #41951 as both bugs are related to bcrypt.dll.
https://bugs.winehq.org/show_bug.cgi?id=40418
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |41951
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com --- The game is stopping much earlier compared to the original AES problem so bug 41951 has to be fixed first so this bug will appear again.
https://bugs.winehq.org/show_bug.cgi?id=40418
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sa@whiz.se
https://bugs.winehq.org/show_bug.cgi?id=40418
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
https://bugs.winehq.org/show_bug.cgi?id=40418
psikobare@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |psikobare@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40418
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/bcrypt-Improve | |ments Status|NEW |STAGED
https://bugs.winehq.org/show_bug.cgi?id=40418 Bug 40418 depends on bug 41951, which changed state.
Bug 41951 Summary: Unimplemented function bcrypt.dll.BCryptDuplicateHash prevents DOOM from running https://bugs.winehq.org/show_bug.cgi?id=41951
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=40418
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #14 from winetest@luukku.com --- (In reply to Bruno Jesus from comment #13)
The game is stopping much earlier compared to the original AES problem so bug 41951 has to be fixed first so this bug will appear again.
The bug is marked fixed now. Could someone retest this? I don't own this game.
https://bugs.winehq.org/show_bug.cgi?id=40418
--- Comment #15 from charles.gorand.dev@gmail.com --- The steam game is working perfectly in solo mode with wine 2.3-staging. (Opengl and Vulkan)
I didn't test multiplayer yet.
https://bugs.winehq.org/show_bug.cgi?id=40418
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gijsvrm@gmail.com
--- Comment #16 from Gijs Vermeulen gijsvrm@gmail.com --- Is this bug still valid in wine 2.18 (non-staging)? A lot of AES stuff was added in August (so starting from wine 2.15) by Hans Leidekker.
https://bugs.winehq.org/show_bug.cgi?id=40418
--- Comment #17 from Johannes Brandstätter jbrandst@2ds.eu --- Created attachment 59483 --> https://bugs.winehq.org/attachment.cgi?id=59483 Wine-2.18 +bcrypt,+winhttp,+secur32
I ran Doom using wine-2.18 with:
WINEDEBUG="+bcrypt,+winhttp,+secur32" wine DOOMx64.exe +r_RenderAPI 0
It started up showed the intro videos. Once it was about to enter the main menu it just freezes.
There were some fixme's about winhttp and secur32 right before the freeze.
Wine-staging 2.18 does not have this issue.
https://bugs.winehq.org/show_bug.cgi?id=40418
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED CC| |thunderbird2k@gmail.com
--- Comment #18 from Roderick Colenbrander thunderbird2k@gmail.com --- Doom these days works fine. The issue was resolved somewhere just before Wine 3.0.
https://bugs.winehq.org/show_bug.cgi?id=40418
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #19 from fjfrackiewicz@gmail.com --- (In reply to Roderick Colenbrander from comment #18)
Doom these days works fine. The issue was resolved somewhere just before Wine 3.0.
Would this be the initial commit that resolved the issue?
https://source.winehq.org/git/wine.git/commit/b677b58b608212c21fd1f6d2be8b77...
https://bugs.winehq.org/show_bug.cgi?id=40418
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.1.