http://bugs.winehq.org/show_bug.cgi?id=11114
Summary: System capability detection does not work in WiC Product: Wine Version: 0.9.52. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: kde@3danim.de
Created an attachment (id=10150) --> (http://bugs.winehq.org/attachment.cgi?id=10150) World in Conflict startup log (+relay,+snoop)
When starting World in Conflict, the game complains about insufficient system capabilities (Windows Version (no matter what is set in winecfg), available RAM and "appropriate" 3D card). Fortunately the game can be told to start anyway but the graphics options are then severely restricted. This can be mitigated somewhat by using a native dxdiagn.dll but SM3.0 water shaders are still not available then. See the riviera screenshot in the game's AppDb entry and compare it e.g. to http://uk.media.pc.ign.com/media/821/821566/img_4763025.html on Windows.
Attached is a +relay,+snoop log of the game up to the point when it complains.
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #1 from Roderick Colenbrander thunderbird2k@gmx.net 2008-01-14 16:11:23 --- As I pointed out on irc we likely need to generate a bunch of correct GUIDs for various wine components (directdraw, direct3d, display device). And another issue is that the display name contains a lot of backslashes which might not be legal for registry keys.
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #2 from Austin English austinenglish@gmail.com 2008-06-18 14:44:34 --- Is this still an issue in wine 1.0?
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #2 from Austin English austinenglish@gmail.com 2008-06-18 14:44:34 --- Is this still an issue in wine 1.0?
--- Comment #3 from Markus kde@3danim.de 2008-06-18 18:02:17 --- Yes, the graphics card detection does not work yet. My patch was not accepted for 1.0 because of the code freeze.
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #4 from Austin English austinenglish@gmail.com 2008-12-19 16:00:48 --- Is this still an issue in current (1.1.10 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #5 from Markus spam@graph-ix.net 2009-01-01 16:59:05 --- Yes, the required code still does not exist.
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #6 from Austin English austinenglish@gmail.com 2009-01-01 17:47:47 --- Could you attach a copy of that patch please?
http://bugs.winehq.org/show_bug.cgi?id=11114
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #7 from Dan Kegel dank@kegel.com 2009-01-01 19:04:12 --- Does this affect the downloadable demo? http://www.download.com/World-in-Conflict-demo/3000-7483_4-10729172.html
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #8 from Austin English austinenglish@gmail.com 2009-07-08 15:03:33 --- Is this still an issue in current (1.1.25 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=11114
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW CC| |xerox_xerox2000@yahoo.co.uk Ever Confirmed|0 |1
--- Comment #9 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-11-07 15:55:07 --- (In reply to comment #7)
Does this affect the downloadable demo? http://www.download.com/World-in-Conflict-demo/3000-7483_4-10729172.html
yes, confirming , I downloaded the demo from http://download2.gamershell.com/cgi-bin/fhx.pl?auth=d8Juj8w0GB3L.&id=207...
With native dxdiagn.dll the bug is gone. (Also disabled d3d10)
http://bugs.winehq.org/show_bug.cgi?id=11114
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |greg87@online.de
--- Comment #10 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-11-18 15:17:16 --- *** Bug 10872 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=11114
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|System capability detection |System capability detection |does not work in WiC |problem in World in | |Conflict
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #11 from Markus spam@graph-ix.net 2009-11-18 17:06:11 --- Re comment #6: I don't have this code available anymore and basically I've given up contributing to Wine because all I got was code being rejected without any explanation whatsoever. There are much more rewarding things I can do my time than this.
http://bugs.winehq.org/show_bug.cgi?id=11114
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xvachon@gmail.com
--- Comment #12 from Xavier Vachon xvachon@gmail.com 2010-08-20 06:46:44 --- This is still an issue in current git (1.3.0)
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #13 from Robert Walker robert_mt_walker@yahoo.co.uk 2010-10-03 19:01:03 CDT --- Created an attachment (id=31097) --> (http://bugs.winehq.org/attachment.cgi?id=31097) Command Line trace from command: wine wic.exe
I tried running World in Conflict (Steam install) with WINE 1.3.4 (built Ubuntu binaries from WineHQ).
There is a little dialogue box that pops up to say that an appropriate 3D graphics card cannot be found. The game crashes immediately whether I select the OK or cancel buttons.
Any chance this bug could be given a bit more priority!! Since all we need is patch to generate GPU ID strings in the registry, etc. You guys have already had one submitted and dropped the ball on this totally...
System Nvidia 8800 GTX (768Mb) Nvidia driver: 256.53 Core i7 920 @4Ghz 6Gb DDR3 RAM Ubuntu 10.4.1 (x64)
From my xorg.conf file:
Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 8800 GTX" EndSection
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #14 from Robert Walker robert_mt_walker@yahoo.co.uk 2010-10-03 19:02:34 CDT --- Created an attachment (id=31098) --> (http://bugs.winehq.org/attachment.cgi?id=31098) Dialogue box shown by World in Conflict : no appropriate 3D graphics card detected
http://bugs.winehq.org/show_bug.cgi?id=11114
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com Platform|Other |x86 OS/Version|other |Linux
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #15 from ceuntral_processor@2ch.so 2012-07-21 07:00:58 CDT ---
This is still an issue in 1.5.9
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #16 from Berillions berillions@gmail.com 2012-12-03 14:11:59 CST --- Created attachment 42697 --> http://bugs.winehq.org/attachment.cgi?id=42697 Output console for Vista/7 and WiC d3d10
This problem still exist in wine 1.5.18. This is the output console after to set Vista or 7 in winecfg.
There is always the same problem, the game does not find 3d graphic adapter.
http://bugs.winehq.org/show_bug.cgi?id=11114
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.gamefront.com/fi | |les/8391048/World-in-Confli | |ct-Demo/
--- Comment #17 from Austin English austinenglish@gmail.com 2013-02-28 20:47:04 CST --- The demo from http://www.gamefront.com/files/8391048/World-in-Conflict-Demo/
shows the lack of 3d graphics card problem.
austin@aw25 ~ $ sha1sum wic_demo_us.exe e69ee792531332562e3592a3fc6647cb1ce6f849 wic_demo_us.exe austin@aw25 ~ $ du -h wic_demo_us.exe 1.3G wic_demo_us.exe austin@aw25 ~ $ wine --version wine-1.5.24-209-gbb3549f
http://bugs.winehq.org/show_bug.cgi?id=11114
Thomas Stromberg thomas+wine@stromberg.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thomas+wine@stromberg.org
--- Comment #18 from Thomas Stromberg thomas+wine@stromberg.org 2013-07-05 22:20:06 CDT --- Confirmed that this behavior still exists in wine 1.6rc4.
http://bugs.winehq.org/show_bug.cgi?id=11114
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.goosev@gmail.com
--- Comment #19 from Andrey Gusev andrey.goosev@gmail.com 2013-12-07 14:17:34 CST --- Still in 1.7.8
http://bugs.winehq.org/show_bug.cgi?id=11114
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|System capability detection |World in Conflict complains |problem in World in |with "No appropriate 3D |Conflict |graphics card detected" | |(b3DAccelerationExists and | |b3DAccelerationEnabled | |dxdiagn properties missing)
--- Comment #20 from Anastasius Focht focht@gmx.net 2013-12-07 20:28:57 CST --- Hello folks,
confirming, still present.
It's actually a variant of bug 34686 (which needs much more dxdiagn properties).
Relevant part of trace log:
--- snip --- ... 002a:trace:dxdiag:DXDiagCF_CreateInstance (0x7beb3264)->((nil),{9c6b4cb0-23f8-49cc-a3ed-45a55000a6d2},0x19de09c) 002a:trace:dxdiag:DXDiag_CreateDXDiagProvider ((nil), {9c6b4cb0-23f8-49cc-a3ed-45a55000a6d2}, 0x19de09c) ... 002a:trace:dxdiag:IDxDiagProviderImpl_AddRef (0xb8f5fa8)->(ref before=0) 002a:Ret ole32.CoCreateInstance() retval=00000000 ret=0075c368 002a:trace:dxdiag:IDxDiagProviderImpl_Initialize (0xb8f5fa8,0x19de0a0) ... 002a:trace:dxdiag:IDxDiagContainerImpl_GetChildContainer Trying to get container L"0" 002a:Call KERNEL32.lstrcmpW(00175cf0 L"0",0b8ff600 L"0") ret=7bea0413 002a:Ret KERNEL32.lstrcmpW() retval=00000000 ret=7bea0413 002a:trace:dxdiag:DXDiag_CreateDXDiagContainer ({7d0f462f-4064-4862-bc7f-933e5058c10f}, 0x19dd3cc) ... 002a:trace:dxdiag:IDxDiagContainerImpl_GetChildContainer Succeeded in getting the container instance ... 002a:trace:dxdiag:IDxDiagContainerImpl_GetProp (0xb8ff618, L"szDeviceIdentifier", 0x19dd3a0) ... 002a:trace:dxdiag:IDxDiagContainerImpl_GetProp (0xb8ff618, L"dwDDIVersion", 0x19dd3a0) ... 002a:trace:dxdiag:IDxDiagContainerImpl_GetProp (0xb8ff618, L"b3DAccelerationExists", 0x19dd3a0) ... 002a:trace:dxdiag:IDxDiagContainerImpl_GetProp (0xb8ff618, L"b3DAccelerationEnabled", 0x19dd3a0) ... 002a:trace:dxdiag:IDxDiagContainerImpl_GetProp (0xb8ff618, L"bAGPEnabled", 0x19dd3a0) ... 002a:trace:dxdiag:IDxDiagContainerImpl_GetProp (0xb8ff618, L"bAGPExists", 0x19dd3a0) ... 002a:trace:dxdiag:IDxDiagContainerImpl_GetProp (0xb8ff618, L"bAGPExistenceValid", 0x19dd3a0) ... 002a:trace:dxdiag:IDxDiagContainerImpl_GetProp (0xb8ff618, L"szDisplayMemoryEnglish", 0x19dd3a0) ... 002a:trace:dxdiag:IDxDiagContainerImpl_GetProp (0xb8ff618, L"szDriverVersion", 0x19dd3a0) ... 002a:Call user32.MessageBoxW(00000000,0012a4cc L"ERROR: No appropriate 3D graphics card detected. Unable to run World in Conflict.\r\n\r\nIt is highly recommended that you try to fix these problems before running the game. \nPress OK to quit or press Cancel to try to start the game anyway.",019de198 L"Serious problems found when starting World in Conflict",00000011) ret=00aaef25 ... --- snip ---
Apparently only "b3DAccelerationExists" and "b3DAccelerationEnabled" properties are missing to get rid of this message (the AGP ones are not needed).
I tested by switching to one of my feature branches (which adds a couple missing dxdiag props) rebuilt Wine and the message was gone. The game crashes later though (supported dx10 featured).
$ sha1sum wic_demo_us.exe e69ee792531332562e3592a3fc6647cb1ce6f849 wic_demo_us.exe
$ du -sh wic_demo_us.exe 1.3G wic_demo_us.exe
$ wine --version wine-1.7.8-129-g9a55c50
Regards
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #21 from Austin English austinenglish@gmail.com 2013-12-08 14:07:09 CST --- Created attachment 46801 --> http://bugs.winehq.org/attachment.cgi?id=46801 patch
The game won't run on my laptop, even with those properties returning true. It's got a weak onboard card though, so not surprising. Can someone try this?
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #22 from Anastasius Focht focht@gmx.net --- Hello Austin,
your patch adds the required properties to the wrong container.
These belong to the display devices tree -> fill_display_information_d3d() -> display adapter.
Regards
http://bugs.winehq.org/show_bug.cgi?id=11114
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #23 from Jarkko K jarkko_korpi@hotmail.com --- Any update on current wine?
http://bugs.winehq.org/show_bug.cgi?id=11114
--- Comment #24 from Anastasius Focht focht@gmx.net --- Hello Jarkko,
--- quote --- Any update on current wine? --- quote ---
sure, still present.
There is no need to ping bugs in a short cycle. Once a year is ok.
Regards
https://bugs.winehq.org/show_bug.cgi?id=11114
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |7462da1345e1ad9d4cb06339f13 | |00271e658faa0 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #25 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/7462da1345e1ad9d4cb06339f13...
Thanks Markus
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Sierra Entertainment/World in Conflict - DEMO
$ WINEDEBUG=+tid,+seh,+relay,+dxdiag wine ./wic.exe >>log.txt 2>&1 ... 0024:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x81b14c0, L"b3DAccelerationExists", 0x19dd3a0) ... 0024:trace:variant:VariantCopy (0x19dd3a0->(VT_EMPTY),0x8177400->(VT_BOOL)) ... 0024:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x81b14c0, L"b3DAccelerationEnabled", 0x19dd3a0) ... 0024:trace:variant:VariantCopy (0x19dd3a0->(VT_EMPTY),0x81773a0->(VT_BOOL)) ... 0024:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x81b14c0, L"bAGPEnabled", 0x19dd3a0) ... 0024:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x81b14c0, L"bAGPExists", 0x19dd3a0) ... 0024:Call KERNEL32.CreateFileA(019de398 "C:\users\focht\My Documents\World in Conflict - DEMO\Hardware Test.dat",80000000,00000001,00000000,00000003,00000000,00000000) ret=00aa75df 0024:Ret KERNEL32.CreateFileA() retval=00000704 ret=00aa75df ... --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=11114
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #26 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.16.