https://bugs.winehq.org/show_bug.cgi?id=41267
Bug ID: 41267 Summary: Black ops 2 crashes with "Unhandled exception caught" Product: Wine Version: 1.9.18 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: spleefer90@gmail.com Distribution: ---
Created attachment 55567 --> https://bugs.winehq.org/attachment.cgi?id=55567 crash log when trying to launch the game(BO2:MP) from Steam
Game crashes on startup with the message: "Error during initialization: Unhandled exception caught"
https://bugs.winehq.org/show_bug.cgi?id=41267
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #1 from fjfrackiewicz@gmail.com --- (In reply to C0rn3j from comment #0)
Could this line
err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
be part of the problem?
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #2 from C0rn3j spleefer90@gmail.com --- (In reply to fjfrackiewicz from comment #1)
Highly doubt it, that's because I'm using proprietary Nvidia drivers and I get that with absolutely every program.
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #3 from C0rn3j spleefer90@gmail.com --- Created attachment 55574 --> https://bugs.winehq.org/attachment.cgi?id=55574 launching game directly
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #4 from C0rn3j spleefer90@gmail.com --- Running strace shows this. Will attempt to install everything in 32bit arch and try installing dotnet45.
stat64("/home/c0rn3j/.wineSteam/dosdevices/c:/Program Files (x86)/Steam/steamapps/common/Call of Duty Black Ops II/mscoree.dll", 0x32f46c) = -1 ENOENT (No such file or directory)
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #5 from C0rn3j spleefer90@gmail.com --- Created attachment 55575 --> https://bugs.winehq.org/attachment.cgi?id=55575 launching the game with 32 bit prefix and "winetricks dotnet45"
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #6 from C0rn3j spleefer90@gmail.com --- So I've tried with 64 bit prefix at first(fail)
Tried with 32 bit prefix and winetricks dotnet40 - fail, mscoree.dll didn't even get installed to the game folder. When I copied it manually it still fails.
Tried with another 32 bit prefix and winetricks dotnet45 - mscoree.dll is present in the game folder but it still fails in the same fashion.
https://bugs.winehq.org/show_bug.cgi?id=41267
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #7 from winetest@luukku.com --- (In reply to C0rn3j from comment #5)
Created attachment 55575 [details] launching the game with 32 bit prefix and "winetricks dotnet45"
I think you are doing it wrong.
It gives you a gui. But if you do winetricks -q dotnet45 it should install just fine. You need to use clean prefix.
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #8 from C0rn3j spleefer90@gmail.com --- Still crashes with the same unhelpful output log on staging 2.8
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #9 from C0rn3j spleefer90@gmail.com --- Crashes in the same way when trying to launch the Zombie portion of the game using wine staging 2.9
https://bugs.winehq.org/show_bug.cgi?id=41267
Anthony Jagers noonetinone@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |noonetinone@gmail.com
--- Comment #10 from Anthony Jagers noonetinone@gmail.com --- It works for me. I gave it a Platinum rating.
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #11 from C0rn3j spleefer90@gmail.com --- Can you describe your setup? GPU and driver used, how exactly you set up the wine bottle from scratch, is it 32 bit or 64 bit prefix?
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #12 from Anthony Jagers noonetinone@gmail.com --- Wine is compile in a shared WoW fashion. It's a 64-bit prefix. It is set to emulate Win 7. My Card is an RX 460 with Mesa 17.1-git.
CSMT is enabled
At this key I have HKEY_CURRENT_USER\Software\Wine\Direct3D MaxVersionGL 0x00040005
This key is loaded. HKEY_CURRENT_USER\Software\Wine\DllOverrides Go to this link. There I export that key. https://forum.winehq.org/viewtopic.php?f=8&t=28338#p108912
To jumpstart my prefix, I tried to get DE:HR going. I used winetricks to install my dll's. Instructions were given at the link directly below by 'an anoymous user' on Dec 05 2015. He installs about 21 winetricks verbs. Those were what feed my dll overrides. https://appdb.winehq.org/objectManager.php?sClass=version&iId=26695
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #13 from C0rn3j spleefer90@gmail.com --- That's a lot of overrides, I'll try getting it to run a bit later.
Just a question, are you using wine-devel or wine-staging?
Btw, the rating would be Gold as you have to use these overrides/regedit hacks for the game to run.
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #14 from Anthony Jagers noonetinone@gmail.com --- I'm no longer sure that key is even necessary. I deleted it when I switched to mesa, just to see what would happen. I didn't notice any thing different. But I put it back just for keepsake.
That key was generated by winetricks. The main thing to try is to install those 21 verbs.
I am using the staging patches.
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #15 from C0rn3j spleefer90@gmail.com --- I've tried using Staging 2.8 and 2.9, both don't result in the same error as before.
Would you please create a new wine bottle and try taking step-by-step instructions? Here's what I tried:
First I've tried on my current prefix, along with creating the key and setting the overrides according to the pages you posted, that didn't work. Then I tried a new prefix and did this, step by step.
WINEARCH=win64 WINEPREFIX=~/wine/SteamBO2 winecfg ^ check CSMT on
WINEPREFIX=~/wine/SteamBO2 winetricks d3dcompiler_43 d3dx10 d3dx11_43 d3dx9_26 d3dx9_28 d3dx9_31 d3dx9_35 d3dx9_36 d3dx9_39 d3dx9_42 d3dx9_43 d3dx9 directx9 gfw physx steam vcrun2008 xact_jun2010 xact xinput
WINEPREFIX=~/wine/SteamBO2 winetricks dotnet40
WINEPREFIX=~/wine/SteamBO2 winecfg ^Set prefix to W7
WINEPREFIX=~/wine/SteamBO2 wine ~/wine/SteamBO2/drive_c/Program\ Files\ (x86)/Steam/Steam.exe
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #16 from Anthony Jagers noonetinone@gmail.com --- What your're asking me to do will take some time. I haven't updated winetricks in a while. I'm still using the same prefix. Hell, I've even made several backups!
But if your instructions doesn't work for you then they won't work for me. I just simply installed those 21 winetricks verbs.
I could give you a copy of my registry keys as an attachment.
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #17 from C0rn3j spleefer90@gmail.com --- Could you provide your output of `WINEPREFIX=yourprefix winetricks list-installed` ? Perhaps there's something else you installed.
Could you also dump this key, maybe it's different from what you posted HKEY_CURRENT_USER\Software\Wine\DllOverrides
If you somehow manage to get the game running on a clean prefix, that'd be awesome.
Also the whole registry dump probably won't hurt.
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #18 from Anthony Jagers noonetinone@gmail.com --- corefonts d3dcompiler_43 d3dx10_43 d3dx10 d3dx11_43 d3dx9_26 d3dx9_28 d3dx9_31 d3dx9_35 d3dx9_36 d3dx9_39 d3dx9_42 d3dx9_43 d3dx9 directx9 dotnet40 dotnet452 dotnet45 dotnet46 msasn1 physx steam uplay vcrun2008 vcrun2010 vcrun2012 vcrun2013 vcrun2015 xact xinput
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #19 from Anthony Jagers noonetinone@gmail.com --- Created attachment 58374 --> https://bugs.winehq.org/attachment.cgi?id=58374 my HKCU\Software\Wine\DllOverrides key
for C0rn3j
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #20 from C0rn3j spleefer90@gmail.com --- Still can't replicate, even though I replaced the overrides registry key with exactly what you have :/
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #21 from Anthony Jagers noonetinone@gmail.com --- All I can tell you is I followed the instructions here. That's how I jumpstarted my prefix.
https://appdb.winehq.org/objectManager.php?sClass=version&iId=26695
What is the console telling you? Which of my registry keys would be helpful to you?
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #22 from C0rn3j spleefer90@gmail.com --- Created attachment 58376 --> https://bugs.winehq.org/attachment.cgi?id=58376 crash BO2 Zombies
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #23 from C0rn3j spleefer90@gmail.com --- I get the same useless log as always, if you can get step-by-step instructions how to set up the wineprefix, I'll try again and try to eliminate steps that are not needed.
I'm not sure what registry from you could possibly help me get this running
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #24 from fjfrackiewicz@gmail.com --- Does this application crash or behave differently with CSMT disabled?
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #25 from Anthony Jagers noonetinone@gmail.com --- That's not a whole lot of output have you tried turning on some debugging channels?
If you are a forum member on GamingOnLinux send me a piece of email, today.
https://www.gamingonlinux.com/profiles/1284
https://bugs.winehq.org/show_bug.cgi?id=41267
Max Qian public@maxqia.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |public@maxqia.com
--- Comment #26 from Max Qian public@maxqia.com --- (In reply to fjfrackiewicz from comment #24)
Does this application crash or behave differently with CSMT disabled?
No...
https://bugs.winehq.org/show_bug.cgi?id=41267
BieHDC byi5000@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |byi5000@gmail.com
--- Comment #27 from BieHDC byi5000@gmail.com --- Use the same nvidia-to-amd pci vendor trick from gta to get it started, but once in game you see only blur
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #28 from C0rn3j spleefer90@gmail.com --- Would you please describe how to do the PCI trick? Or at least link the thing you're talking about? Thanks!
Wasn't able to find anything in GTA V bug reports.
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #29 from winetest@luukku.com --- (In reply to C0rn3j from comment #28)
He means changing device and vendor ids from wine regedit. I don't know where to find such info fast. CSGO was one of the games that required such a trick before. Maybe even now, I haven't tested.
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #30 from C0rn3j spleefer90@gmail.com --- (In reply to winetest from comment #29)
Thanks, was able to google my way around with that info.
https://wiki.winehq.org/Useful_Registry_Keys
http://pcidatabase.com/reports.php?type=csv
Looks like you need to change these 2 values as described in the registry keys wiki page.
VideoPciDeviceID VideoPciVendorID
I tried spoofing R9 290X with this trick but it didn't change anything in BO2 zombies. (VENDOR = 0x1002, DEVICE= 0x67b0)
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #31 from winetest@luukku.com --- (In reply to C0rn3j from comment #30)
I am not completely sure but I think wine doesn't have such card recognize code.
Picking some of these should work I quess.
https://source.winehq.org/git/wine.git/blob/4005e6e659107c29f93e7a35a3bb933b...
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #32 from C0rn3j spleefer90@gmail.com --- Tried 2 of those and neither worked.
@BieHDC Which GPU do you have and which GPU did you try to spoof?
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #33 from BieHDC byi5000@gmail.com --- (In reply to C0rn3j from comment #32)
Tried 2 of those and neither worked.
@BieHDC Which GPU do you have and which GPU did you try to spoof?
I have a Nvidia Geforce GTX 980Ti and i simulate an AMD RX480.(I just reused the same registry hack as we used for GTA5 https://bugs.winehq.org/show_bug.cgi?id=38436#c27)
CSMT was enabled and i only got the Single Player to work, Multiplayer and Zombies wont connect. (Are the servers still up btw?)
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #34 from Max Qian public@maxqia.com --- Tested it again with the RX480's pci id
BO2 SP crashes halfway into intro video into a blurry mess BO2 MP/ZM crashes right away
All with the same error : "Error during initialization: Unhandled exception caught"
Using a gtx970 with the Nvidia driver on Arch Linux
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #35 from Max Qian public@maxqia.com --- Grabbed my 7950 out of the closet and tested with that. It crashes with both the radeon and amdgpu drivers.
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #36 from BieHDC byi5000@gmail.com --- Followup: My previous setup was that the game was actually installed by a windows multiboot environment and it was also launched in windows. Later on i linked steam in wine to the same location where windows installed the files and it worked. Now i have a new set-up linux distro and installed the game through wine-steam and it does not work anymore. Same wine version 2.17-staging where it first worked and now not anymore. And every time i check the game files, it downloads a 3,4mb file. Ideas?
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #37 from BieHDC byi5000@gmail.com --- (In reply to BieHDC from comment #36)
After some testings, i suspect Steam CEG. I tried to make it accurate to my old setup, but what changed is that steam now always regenerates the exe without checking the game files, which it did not do before.
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #38 from C0rn3j spleefer90@gmail.com --- Retested with 3.5 staging, still same issue as previously.
https://bugs.winehq.org/show_bug.cgi?id=41267
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #39 from C0rn3j spleefer90@gmail.com --- Created attachment 62541 --> https://bugs.winehq.org/attachment.cgi?id=62541 DXVK
Trying in 64 bit prefix with Nvidia 410.57 and DXVK 0.81.
Wine-staging built from today's git. (3.18)
Still getting "Error during initialization:Unhandled exception caught", so no progress. I guess I'll try copying the game over from Windows now that I have a windows machine accessible.
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #40 from C0rn3j spleefer90@gmail.com --- Launching the game (BO2 zombies) to the main menu on the game generates three extra files in its root folder over the clean steam install -
./installscript.vdf ./players/hardware_zm.chp ./runasadmin.vdf
Copying those 3 over doesn't seem to make a difference.
WINE only ever creates the installscript.vdf one.
Additionaly, it seems impossible to activate the game (first steam run) over wine-staging, it needs to be run through wine-devel one time first, otherwise this error will keep happening:
"The Steam servers are too busy to handle your request for Call of Duty: Black Ops II - Zombies. Error Code (55)"
I'll report the activation bug on the wine-staging bugtracker.
https://bugs.winehq.org/show_bug.cgi?id=41267
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=41267
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #41 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 62688 --> https://bugs.winehq.org/attachment.cgi?id=62688 very sad hack
From you crashlog:
005d:fixme:win:GetDisplayConfigBufferSizes (0x2 0x23ed04 0x23ed00): stub
Could that maybe be the problem? This is just a shot in the dark/guess but I saw this causing error for another app I tested. I attach very sad hack here that helped for that app, might be worth a try
https://bugs.winehq.org/show_bug.cgi?id=41267
C0rn3j spleefer90@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #55574|0 |1 is obsolete| | Attachment #62541|0 |1 is obsolete| |
--- Comment #42 from C0rn3j spleefer90@gmail.com --- Created attachment 62689 --> https://bugs.winehq.org/attachment.cgi?id=62689 Nvidia, DXVK. Launching BO2 Zombies through steam.
Tried that patch, but I'd think that line is there after the game already crashed.
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #43 from Louis Lenders xerox.xerox2000x@gmail.com ---
Tried that patch, but I'd think that line is there after the game already crashed.
Yeah I guess so then, maybe a WINEDEBUG=+relay,+tid,+seh log would reveal something? (add to bugreport)
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #44 from C0rn3j spleefer90@gmail.com --- result was 1.3GB, I cut it down to 300MB and made sure the relevant lines should still be there, and after compression it's still 10MB so I can't upload it here in one go, so here's a link to my own server instead -
https://cloud2.rys.pw/s/Zs6HRxdFKtbrm4o
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #45 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 62690 --> https://bugs.winehq.org/attachment.cgi?id=62690 extracted part of previous debuglog to shrink debuglog
Hi, the debuglog is indeed huge. I attach here part of it in the thread where the errormessage appears but i don`t know if it` relevant. Maybe related to lines below? No idea really. Maybe, but that`s just another shot in the dark this bug is affected by bug 32515? (There`s a patch there that is claimed to get some other COD games working)
00a8:Call KERNEL32.Wow64DisableWow64FsRedirection(0033f5a0) ret=00461e64 00a8:Ret KERNEL32.Wow64DisableWow64FsRedirection() retval=00000001 ret=00461e64 00a8:Call KERNEL32.CreateFileW(047f5350 L"C:\windows\system32\mui",80000000,00000007,00000000,00000003,00000000,ffffffff) ret=0099544f 00a8:Ret KERNEL32.CreateFileW() retval=ffffffff ret=0099544f 00a8:Call KERNEL32.CreateFileW(047f5350 L"C:\windows\system32\mui",80000000,00000007,00000000,00000003,02000000,ffffffff) ret=0099546e 00a8:Ret KERNEL32.CreateFileW() retval=00000160 ret=0099546e 00a8:Call KERNEL32.Wow64RevertWow64FsRedirection(00000000) ret=0099548d 00a8:Ret KERNEL32.Wow64RevertWow64FsRedirection() retval=00000001 ret=0099548d 00a8:Call KERNEL32.GetFileInformationByHandle(00000160,0033f5ac) ret=009954a2 00a8:Ret KERNEL32.GetFileInformationByHandle() retval=00000001 ret=009954a2 00a8:Call KERNEL32.CloseHandle(00000160) ret=009954c0 00a8:Ret KERNEL32.CloseHandle() retval=00000001 ret=009954c0 00a8:Call ntdll.RtlFreeHeap(00110000,00000000,047f5350) ret=009954d0 00a8:Ret ntdll.RtlFreeHeap() retval=00000001 ret=009954d0 00a8:trace:seh:raise_exception code=c0000005 flags=0 addr=0xa6c847 ip=00a6c847 tid=00a8 file
https://bugs.winehq.org/show_bug.cgi?id=41267
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41267
--- Comment #46 from Ken Sharp imwellcushtymelike@gmail.com --- Does this still occur with Wine 7.9 (or later)?
https://bugs.winehq.org/show_bug.cgi?id=41267
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=41267
Neros contact@neros.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |contact@neros.fr