http://bugs.winehq.org/show_bug.cgi?id=32834
Bug #: 32834 Summary: Batman: Arkham Asylum (non-steam) Demo - needs GetVideoMemoryViaWMI Product: Wine Version: 1.5.22 Platform: x86 URL: http://www.shacknews.com/file/14150/batman-arkham-asyl um-demo OS/Version: Linux Status: NEW Keywords: download, Installer Severity: minor Priority: P2 Component: wmi&wbemprox AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com CC: andrey.goosev@gmail.com, hans@meelstraat.net Classification: Unclassified
Still installs, but thinks the computer doesn't meet the minimum spec: fixme:wbemprox:enum_class_object_Next timeout not supported WMI: pEnumVideoControllers uReturned == 0 GetVideoMemoryViaWMI n/a
austin@aw25 ~/oldbugs/32788 $ sha1sum nzd_BMDemo_v12.exe 7582c87cc3983016c7fbf2104999df087ecce7a6 nzd_BMDemo_v12.exe austin@aw25 ~/oldbugs/32788 $ du -h nzd_BMDemo_v12.exe 2.1G nzd_BMDemo_v12.exe austin@aw25 ~/oldbugs/32788 $ wine --version wine-1.5.22-158-g236b4da
http://bugs.winehq.org/show_bug.cgi?id=32834
--- Comment #1 from Hans Leidekker hans@meelstraat.net 2013-01-29 13:50:49 CST --- This may work better after 375dcf799d27ec9d925dab1ad7ba41dadcedaf9f and 22f820533595568daaff773ef21ca7e66f0f12b3.
http://bugs.winehq.org/show_bug.cgi?id=32834
--- Comment #2 from Austin English austinenglish@gmail.com 2013-01-29 14:02:52 CST --- (In reply to comment #1)
This may work better after 375dcf799d27ec9d925dab1ad7ba41dadcedaf9f and 22f820533595568daaff773ef21ca7e66f0f12b3.
No, still in wine-1.5.22-221-g22f8205. I'll attach a log.
http://bugs.winehq.org/show_bug.cgi?id=32834
--- Comment #3 from Austin English austinenglish@gmail.com 2013-01-29 14:28:51 CST --- Created attachment 43376 --> http://bugs.winehq.org/attachment.cgi?id=43376 WINEDEBUG=tid,wbemprox,wmiutils
http://bugs.winehq.org/show_bug.cgi?id=32834
--- Comment #4 from Hans Leidekker hans@meelstraat.net 2013-01-30 02:12:15 CST --- (In reply to comment #3)
Created attachment 43376 [details] WINEDEBUG=tid,wbemprox,wmiutils
It progressed a little because this message is gone:
WMI: pEnumVideoControllers uReturned == 0
It doesn't seem to like the pnp device id though. We may need to make it match the graphics card name and vendor that it detected.
http://bugs.winehq.org/show_bug.cgi?id=32834
--- Comment #5 from Austin English austinenglish@gmail.com 2013-01-30 13:27:21 CST --- (In reply to comment #4)
(In reply to comment #3)
Created attachment 43376 [details] WINEDEBUG=tid,wbemprox,wmiutils
It progressed a little because this message is gone:
WMI: pEnumVideoControllers uReturned == 0
Yeah.
It doesn't seem to like the pnp device id though. We may need to make it match the graphics card name and vendor that it detected.
Actually, partially my fault, the error dialog shows that the failure is not enough graphics memory. It wants at least 128MB, it detects 0MB.
Your 'wbemprox: Build a PNP device ID that better matches the graphics card.' patch neither hurts nor helps it, afaict. The dialog shows my graphics card correctly both with and without the patch (presumably it ships with a listing of device ids). May help other apps though.
https://bugs.winehq.org/show_bug.cgi?id=32834
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |71f0dd6044d6d01f5d274e7fadc | |425116fe73722 Status|NEW |RESOLVED URL|http://www.shacknews.com/fi |http://download.nvidia.com/ |le/14150/batman-arkham-asyl |downloads/nZone/demos/nzd_B |um-demo |MDemo_v12.exe CC| |focht@gmx.net Resolution|--- |FIXED Summary|Batman: Arkham Asylum |Batman: Arkham Asylum |(non-steam) Demo - needs |(non-steam) demo reports |GetVideoMemoryViaWMI |'graphics card doesn't meet | |the minimum spec' (detect | |video adapter memory via | |WMI) Severity|minor |normal
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
looks like this was fixed some time ago.
Although Austin said 71f0dd6044d6d01f5d274e7fadc425116fe73722 didn't help in his case, it helped in my case (there was no other PNP device ID related commit after).
Let's say http://source.winehq.org/git/wine.git/commitdiff/71f0dd6044d6d01f5d274e7fadc... fixed it ;-)
Thanks Hans
--- snip --- $ WINEDEBUG=+tid,+seh,+process,+wbemprox wine ./nzd_BMDemo_v12.exe ... 0027:trace:loaddll:load_native_dll Loaded L"C:\users\focht\Temp\{E0085D81-12BF-46C5-84A5-DAF93C5AC4D7}\{57EF5EE1-E32B-4EDE-9D50-3A82126800EE}\BmSysCheckDll.dll" at 0x3b80000: native 0027:fixme:win:EnumDisplayDevicesW ((null),0,0x3257c0,0x00000000), stub! 0027:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\ddraw.dll" at 0x7b490000: builtin 0027:fixme:win:EnumDisplayDevicesW ((null),0,0x324eb0,0x00000000), stub! 0027:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\iphlpapi.dll" at 0x7d410000: builtin 0027:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\dxgi.dll" at 0x7bf20000: builtin 0027:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\wbemprox.dll" at 0x7d440000: builtin 0027:trace:wbemprox:DllGetClassObject {4590f811-1d3a-11d0-891f-00aa004b2e24} {00000001-0000-0000-c000-000000000046} 0x3257d8 0027:trace:wbemprox:wbemprox_cf_CreateInstance (nil) {dc12a687-737f-11cf-884d-00aa004b2e24} 0x32588c 0027:trace:wbemprox:WbemLocator_create (0x32575c) 0027:trace:wbemprox:WbemLocator_create returning iface 0x1550300 0027:trace:wbemprox:wbem_locator_QueryInterface 0x1550300 {dc12a687-737f-11cf-884d-00aa004b2e24} 0x32588c 0027:trace:wbemprox:wbem_locator_ConnectServer 0x1550300, L"\\.\root\cimv2", (null), (null), (null), 0x00000000, (null), (nil), 0x325888) 0027:trace:wbemprox:WbemServices_create (0x325888) 0027:trace:wbemprox:WbemServices_create returning iface 0x155d1f0 0027:trace:wbemprox:wbem_services_QueryInterface 0x155d1f0 {0000013d-0000-0000-c000-000000000046} 0x3257e0 0027:fixme:wbemprox:client_security_SetBlanket 0x7d467318, 0x155d1f0, 10, 0, (null), 3, 3, (nil), 0x00000000 0027:fixme:wbemprox:client_security_Release 0x7d467318 0027:trace:wbemprox:wbem_services_CreateInstanceEnum 0x155d1f0, L"Win32_VideoController", 000000000, (nil), 0x325894 0027:trace:wbemprox:grab_table returning 0x7d46725c 0027:trace:wbemprox:parse_query wql_parse returned 0 0027:fixme:win:EnumDisplayDevicesW ((null),0,0x325000,0x00000000), stub! 0027:trace:wbemprox:fill_videocontroller created 1 rows 0027:trace:wbemprox:EnumWbemClassObject_create 0x325894 0027:trace:wbemprox:EnumWbemClassObject_create returning iface 0x131b18 0027:trace:wbemprox:enum_class_object_Reset 0x131b18 0027:trace:wbemprox:enum_class_object_Next 0x131b18, 5000, 10, 0x3258b8, 0x325890 0027:fixme:wbemprox:enum_class_object_Next timeout not supported 0027:trace:wbemprox:create_class_object L"Win32_VideoController", 0x3258b8 0027:trace:wbemprox:create_class_object returning iface 0x348eac8 0027:trace:wbemprox:class_object_Get 0x348eac8, L"PNPDeviceID", 00000000, 0x3258a8, (nil), (nil) 0027:trace:wbemprox:class_object_Get 0x348eac8, L"AdapterRAM", 00000000, 0x3258a8, (nil), (nil) 0027:trace:wbemprox:wbem_services_Release destroying 0x155d1f0 0027:trace:wbemprox:wbem_locator_Release destroying 0x1550300 GetVideoMemoryViaWMI dwAdapterRAM: 768 MB (805306368) --- snip ---
$ sha1sum nzd_BMDemo_v12.exe 7582c87cc3983016c7fbf2104999df087ecce7a6 nzd_BMDemo_v12.exe
$ du -sh nzd_BMDemo_v12.exe 2.1G nzd_BMDemo_v12.exe
$ wine --version wine-1.7.11-275-ge0024ff
Regards
https://bugs.winehq.org/show_bug.cgi?id=32834
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #7 from Austin English austinenglish@gmail.com --- (In reply to comment #6)
Hello folks,
looks like this was fixed some time ago.
Although Austin said 71f0dd6044d6d01f5d274e7fadc425116fe73722 didn't help in his case, it helped in my case (there was no other PNP device ID related commit after).
Let's say http://source.winehq.org/git/wine.git/commitdiff/ 71f0dd6044d6d01f5d274e7fadc425116fe73722 fixed it ;-)
Thanks Hans
--- snip --- $ WINEDEBUG=+tid,+seh,+process,+wbemprox wine ./nzd_BMDemo_v12.exe ... 0027:trace:loaddll:load_native_dll Loaded L"C:\users\focht\Temp\{E0085D81-12BF-46C5-84A5-DAF93C5AC4D7}\{57EF5EE1- E32B-4EDE-9D50-3A82126800EE}\BmSysCheckDll.dll" at 0x3b80000: native 0027:fixme:win:EnumDisplayDevicesW ((null),0,0x3257c0,0x00000000), stub! 0027:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\ddraw.dll" at 0x7b490000: builtin 0027:fixme:win:EnumDisplayDevicesW ((null),0,0x324eb0,0x00000000), stub! 0027:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\iphlpapi.dll" at 0x7d410000: builtin 0027:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\dxgi.dll" at 0x7bf20000: builtin 0027:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\wbemprox.dll" at 0x7d440000: builtin 0027:trace:wbemprox:DllGetClassObject {4590f811-1d3a-11d0-891f-00aa004b2e24} {00000001-0000-0000-c000-000000000046} 0x3257d8 0027:trace:wbemprox:wbemprox_cf_CreateInstance (nil) {dc12a687-737f-11cf-884d-00aa004b2e24} 0x32588c 0027:trace:wbemprox:WbemLocator_create (0x32575c) 0027:trace:wbemprox:WbemLocator_create returning iface 0x1550300 0027:trace:wbemprox:wbem_locator_QueryInterface 0x1550300 {dc12a687-737f-11cf-884d-00aa004b2e24} 0x32588c 0027:trace:wbemprox:wbem_locator_ConnectServer 0x1550300, L"\\.\root\cimv2", (null), (null), (null), 0x00000000, (null), (nil), 0x325888) 0027:trace:wbemprox:WbemServices_create (0x325888) 0027:trace:wbemprox:WbemServices_create returning iface 0x155d1f0 0027:trace:wbemprox:wbem_services_QueryInterface 0x155d1f0 {0000013d-0000-0000-c000-000000000046} 0x3257e0 0027:fixme:wbemprox:client_security_SetBlanket 0x7d467318, 0x155d1f0, 10, 0, (null), 3, 3, (nil), 0x00000000 0027:fixme:wbemprox:client_security_Release 0x7d467318 0027:trace:wbemprox:wbem_services_CreateInstanceEnum 0x155d1f0, L"Win32_VideoController", 000000000, (nil), 0x325894 0027:trace:wbemprox:grab_table returning 0x7d46725c 0027:trace:wbemprox:parse_query wql_parse returned 0 0027:fixme:win:EnumDisplayDevicesW ((null),0,0x325000,0x00000000), stub! 0027:trace:wbemprox:fill_videocontroller created 1 rows 0027:trace:wbemprox:EnumWbemClassObject_create 0x325894 0027:trace:wbemprox:EnumWbemClassObject_create returning iface 0x131b18 0027:trace:wbemprox:enum_class_object_Reset 0x131b18 0027:trace:wbemprox:enum_class_object_Next 0x131b18, 5000, 10, 0x3258b8, 0x325890 0027:fixme:wbemprox:enum_class_object_Next timeout not supported 0027:trace:wbemprox:create_class_object L"Win32_VideoController", 0x3258b8 0027:trace:wbemprox:create_class_object returning iface 0x348eac8 0027:trace:wbemprox:class_object_Get 0x348eac8, L"PNPDeviceID", 00000000, 0x3258a8, (nil), (nil) 0027:trace:wbemprox:class_object_Get 0x348eac8, L"AdapterRAM", 00000000, 0x3258a8, (nil), (nil) 0027:trace:wbemprox:wbem_services_Release destroying 0x155d1f0 0027:trace:wbemprox:wbem_locator_Release destroying 0x1550300 GetVideoMemoryViaWMI dwAdapterRAM: 768 MB (805306368) --- snip ---
$ sha1sum nzd_BMDemo_v12.exe 7582c87cc3983016c7fbf2104999df087ecce7a6 nzd_BMDemo_v12.exe
$ du -sh nzd_BMDemo_v12.exe 2.1G nzd_BMDemo_v12.exe
$ wine --version wine-1.7.11-275-ge0024ff
Regards
I think you've got some custom patches Focht, it's still an issue here: fixme:wbemprox:client_security_SetBlanket 0x7c3ff330, 0x1dde4e8, 10, 0, (null), 3, 3, (nil), 0x00000000 fixme:wbemprox:client_security_Release 0x7c3ff330 fixme:win:EnumDisplayDevicesW ((null),0,0x3251b8,0x00000000), stub! fixme:wbemprox:enum_class_object_Next timeout not supported GetVideoMemoryViaWMI n/a
wine-1.7.11-114-g6f498c4 (which matches today's HEAD - https://source.winehq.org/git/wine.git/commitdiff/6f498c4946087337956a60eb49...)
https://bugs.winehq.org/show_bug.cgi?id=32834
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello Austin,
--- quote --- I think you've got some custom patches Focht, it's still an issue here --- quote ---
You probably mean the higher commit number on top of current tag which is different to actual HEAD rev.
The build is based on a git branch that uses explicit merge commits (each creating an own commit), tracking upstream master. That branch contains some additional build scripts 'goodies' but no actual modifications to Wine source itself. My treasure trove lives in many separate feature/bugfix git branches (one branch per bug), rebased when I actually revisit them.
To avoid confusion about the commit number I'll switch to a different scheme (actually I wanted to do this some time ago). My new workspace will be either Google repo or git submodules ('supergit') based which pulls in additional stuff with separate git repos, having the build based on 'pure' master (=matching the HEAD rev commit count).
Anyway, sorry that it still doesn't work for you ... Can you provide a more verbose log with: +tid,+seh,+dxgi,+d3d,+wbemprox
Regards
https://bugs.winehq.org/show_bug.cgi?id=32834
--- Comment #9 from Austin English austinenglish@gmail.com --- Created attachment 47362 --> https://bugs.winehq.org/attachment.cgi?id=47362 +tid,+seh,+dxgi,+d3d,+wbemprox with an intel card
I'll attach two logs. This one is my fedora laptop (intel card).
My gentoo system has an nvidia card, but a semi-broken 32-bit environment. Neither detects any video memory.
https://bugs.winehq.org/show_bug.cgi?id=32834
--- Comment #10 from Austin English austinenglish@gmail.com --- Created attachment 47363 --> https://bugs.winehq.org/attachment.cgi?id=47363 +tid,+seh,+dxgi,+d3d,+wbemprox with nvidia
https://bugs.winehq.org/show_bug.cgi?id=32834
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #11 from Jarkko K jarkko_korpi@hotmail.com --- I believe this bug is related.
http://bugs.winehq.org/show_bug.cgi?id=35860
See attachments, another shows the error in picture.
And another is full log.
WINEDEBUG=+tid,+seh,+process,+wbemprox wine Steam.exe -no-dwrite >> v.log 2>&1
Was used to create the log.
You see at the end of log:
0064:trace:wbemprox:create_class_object L"Win32_VideoController", 0x33e2a0 0064:trace:wbemprox:create_class_object returning iface 0x6097ab8 0064:trace:wbemprox:class_object_Get 0x6097ab8, L"PNPDeviceID", 00000000, 0x33e2c8, (nil), (nil)
Which are similar to this bug.
I didn't see it requesting memory, but it might be there.
From crysis 2 log i can see that it doesn't see my gpu's memory, it's reported
0 megabytes.
So I believe we can fix at least 2 bugs here.
https://bugs.winehq.org/show_bug.cgi?id=32834
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #12 from Teras teras@luukku.com --- *** Bug 38146 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=32834
--- Comment #13 from Teras teras@luukku.com --- Created attachment 50876 --> https://bugs.winehq.org/attachment.cgi?id=50876 screenshot of the issue
https://bugs.winehq.org/show_bug.cgi?id=32834
--- Comment #14 from Teras teras@luukku.com --- the same wine-1.7.37-33-g31d51d4
https://bugs.winehq.org/show_bug.cgi?id=32834
Christopher Larson kergoth@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kergoth@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=32834
Christopher Larson kergoth@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|kergoth@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=32834
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #15 from Wylda wylda@volny.cz --- Still 0MB RAM. Tested under wine-1.9.21-54-g686cfe3.
https://bugs.winehq.org/show_bug.cgi?id=32834
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #16 from joaopa jeremielapuree@yahoo.fr --- Austin, still a bug for you?
https://bugs.winehq.org/show_bug.cgi?id=32834
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=32834
mrdeathjr28@yahoo.es changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mrdeathjr28@yahoo.es
https://bugs.winehq.org/show_bug.cgi?id=32834
--- Comment #17 from Austin English austinenglish@gmail.com --- (In reply to joaopa from comment #16)
Austin, still a bug for you?
Yes (and download is still available). WMI detect 0MB of graphics memory available, which causes the installer to warn user.
wine-3.12, 32-bit prefix.
https://bugs.winehq.org/show_bug.cgi?id=32834
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #18 from Hans Leidekker hans@meelstraat.net --- (In reply to Austin English from comment #17)
(In reply to joaopa from comment #16)
Austin, still a bug for you?
Yes (and download is still available). WMI detect 0MB of graphics memory available, which causes the installer to warn user.
It's a duplicate of 35860. If I hack wbemprox to return a PNP device ID with Vendor ID and Device ID set to 0 it proceeds to query available video ram.
*** This bug has been marked as a duplicate of bug 35860 ***
https://bugs.winehq.org/show_bug.cgi?id=32834
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Batman: Arkham Asylum |Batman: Arkham Asylum |(non-steam) demo reports |(non-steam) demo reports |'graphics card doesn't meet |'graphics card doesn't meet |the minimum spec' (detect |the minimum spec' (crysis |video adapter memory via |engine bug - broken |WMI) |detection of video adapter | |memory via WMI)
https://bugs.winehq.org/show_bug.cgi?id=32834
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate.