https://bugs.winehq.org/show_bug.cgi?id=57286
Bug ID: 57286 Summary: Dark Age of Camelot - camelot.exe required igd10um32.dll but the .dll file is not found. Product: Wine Version: 9.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: tmwine@pertho.net Distribution: ---
Created attachment 77228 --> https://bugs.winehq.org/attachment.cgi?id=77228 Output of WINEDEBUG=warn+all
Hi,
When running the Dark Age of Camelot's patcher/downloader (camelot.exe) after installing on WINE 9.19 (bug happened on 9.17 and 9.18 too), and I go to run camelot.exe to have it download its files it crashes with:
libc++abi: terminating due to uncaught exception of type std::bad_alloc: std::bad_alloc
Running it with warn+all in WINEDEBUG I see information pointing to the app needing some .dll file that it can't find called igd10umd32.dll. (See attached camelot.log file)
Someone on the #winehq channel on Freenode said that .dll isn't used and WINE pretends to do its function (something to do with Intel graphics), and recommended to copy dcomp.dll to igd10um32.dll. So I copied /usr/lib/wine/x86_64-windows/dcomp.dll from the WINE package to the program's folder as 'igd10umd32.dll' and then it worked. Is there something that can be put into WINE to emulate this .dll without having to resort to copying a physical file and renaming it that?
Thanks, Tom
https://bugs.winehq.org/show_bug.cgi?id=57286
--- Comment #1 from Tom M tmwine@pertho.net --- How to reproduce:
(create unique WINEPREFIX, do not set WINEARCH) cd $WINEPREFIX/drive_c wget https://darkageofcamelot.com/sites/daoc/files/downloads/DAoCSetup.exe wine DAoCSetup.exe (install using defaults) cd "$WINEPREFIX/drive_c/Program Files (x86)/Electronic Arts/Dark Age of Camelot" wine camelot.exe
You'll get:
libc++abi: terminating due to uncaught exception of type std::bad_alloc: std::bad_alloc
https://bugs.winehq.org/show_bug.cgi?id=57286
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- I'm on Arch Linux with wine-9.19 and it seems to work just fine.
I tested on Windows, and it works without that dll there as well, so adding the dll doesn't seem like the correct solution. Sorry, but without being able to reproduce I won't be of much help.
https://bugs.winehq.org/show_bug.cgi?id=57286
--- Comment #3 from Tom M tmwine@pertho.net --- Yeah I'm on Void Linux and have that problem. Do you have a 'igd10um32.dll' file in your WINE package or something?
https://bugs.winehq.org/show_bug.cgi?id=57286
--- Comment #4 from Tom M tmwine@pertho.net --- I think this only affects people with Intel graphics.
My card:
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-UP3 GT2 [UHD Graphics] (rev 0c) (prog-if 00 [VGA controller])
8086:4628 (rev 0c)
I don't believe this bug affects AMD (or Nvidia for that matter)
https://bugs.winehq.org/show_bug.cgi?id=57286
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- No, I don't have 'igd10um32.dll' on my system. Well it could be that it checks the GPU and then tries to load that dll, programs sometimes do weird stuff like that. Not sure how to test without an Intel card though.
https://bugs.winehq.org/show_bug.cgi?id=57286
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #6 from Bernhard Übelacker bernhardu@mailbox.org ---
0114:warn:msvcrt:setlocale 0 Invariant Language_Invariant Country.0 failed libc++abi: terminating due to uncaught exception of type std::bad_alloc: std::bad_alloc
Bug #57250 shows the exact same lines, therefore might be related. If you are setup to build wine on your system, you probably could test the patch in the merge request linked in above bug.
https://bugs.winehq.org/show_bug.cgi?id=57286
--- Comment #7 from Tom M tmwine@pertho.net --- I tried your diff in https://bugs.winehq.org/show_bug.cgi?id=57250 but it didn't help. I still get the same error and also the Invariant line.
https://bugs.winehq.org/show_bug.cgi?id=57286
--- Comment #8 from Tom M tmwine@pertho.net --- I do this copy:
cp /usr/lib/wine/x86_64-windows/dcomp.dll "$WINEPREFIX/drive_c/Program Files (x86)/Electronic Arts/Dark Age of Camelot/igd10umd32.dll"
And rerun: wine camelot.exe and it work.
I'm pretty sure it doesn't have anything to do with locales.
https://bugs.winehq.org/show_bug.cgi?id=57286
Tom M tmwine@pertho.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Dark Age of Camelot - |Dark Age of Camelot - |camelot.exe required |camelot.exe required |igd10um32.dll but the .dll |igd10umd32.dll but the .dll |file is not found. |file is not found.
https://bugs.winehq.org/show_bug.cgi?id=57286
--- Comment #9 from Bernhard Übelacker bernhardu@mailbox.org --- (In reply to Tom M from comment #8)
I'm pretty sure it doesn't have anything to do with locales.
Ok, I was just asking because of the same message as in the other bug, for which the merge request got committed and should arrive in wine-9.20.
I tried to reproduce this issue with this graphics card with current git, but did not get this "std::bad_alloc" message, and could login and start a game.
glxinfo | grep Device Device: Mesa Intel(R) HD Graphics 4400 (HSW GT2) (0xa16)
So I also cannot reproduce this issue with my equipment.
If I read your first message right, you receive the error after starting camelot.exe and before it starts downloading?
https://bugs.winehq.org/show_bug.cgi?id=57286
--- Comment #10 from Tom M tmwine@pertho.net --- Yes that's right. camelot.exe doesn't even bring up the splash screen downloader or download anything. It creates a logs directory and populates some files then dies.
The last thing it looks for before it dies is 'igd10umd32.dll' in various directories (C:\windows, c:\windows\system32 and the game directory itself)
https://bugs.winehq.org/show_bug.cgi?id=57286
--- Comment #11 from Tom M tmwine@pertho.net --- Seems to be fixed now. Now when I run the binary in 9.22 I see:
Crash Annotation GraphicsCriticalError: |[0][GFX1]: Potential driver version mismatch ignored due to missing DLLs 0.0.0.0 and 0.0.0.0 (t=26.4452) [GFX1]: Potential driver version mismatch ignored due to missing DLLs 0.0.0.0 and 0.0.0.0
but the interface now appears and works. I think it was fixed in 9.21. Not sure what it was.
https://bugs.winehq.org/show_bug.cgi?id=57286
--- Comment #12 from Tom M tmwine@pertho.net --- I think this has been fixed... in either 9.21 or 9.22. I don't need to copy the .dll file to run the binary now. Was something changed in the WINE code that fixed this?
Thanks, Tom
https://bugs.winehq.org/show_bug.cgi?id=57286
Tom M tmwine@pertho.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #13 from Tom M tmwine@pertho.net --- Going to mark this as resolved. I can't seem to see any further comments I added to this bug report, but it looks like it was fixed in either 9.21 or 9.22.
I no longer get that message when running the binary and I don't have to copy another stub .dll to the directory to make it run any more.
https://bugs.winehq.org/show_bug.cgi?id=57286
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.0-rc3.