http://bugs.winehq.org/show_bug.cgi?id=27035
Summary: 3DMark Vantage needs unimplemented function d3dx10_43.dll.D3DX10UnsetAllDeviceObjects Product: Wine Version: 1.3.19 Platform: x86-64 URL: http://www.filehippo.com/download_3dmark_vantage/tech/ 7031/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx10 AssignedTo: wine-bugs@winehq.org ReportedBy: the.ideals@gmail.com
3DMark_Vantage_v102_1901.exe MD5 Sum: aace425ffc785dc341099d88b50f076f SHA1 Sum: 3a53a8367d5d67f54fac54c4efc717f04d1673ed
Selected Windows 7 for new wine prefix. Used custom install to deselect DirectX installation.
wine: Call from 0x7b83a932 to unimplemented function d3dx10_43.dll.D3DX10UnsetAllDeviceObjects, aborting
http://bugs.winehq.org/show_bug.cgi?id=27035
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #1 from Artem S. Tashkinov t.artem@mailcity.com 2012-03-25 13:21:17 CDT --- Confirming.
wine: Call from 0x7b839ed2 to unimplemented function d3dx10_43.dll.D3DX10UnsetAllDeviceObjects, aborting wine: Unimplemented function d3dx10_43.dll.D3DX10UnsetAllDeviceObjects called at address 0x7b839ed2 (thread 0009), starting debugger... Unhandled exception: unimplemented function d3dx10_43.dll.D3DX10UnsetAllDeviceObjects called in 32-bit code (0x7b839ed2).
http://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #2 from Artem S. Tashkinov t.artem@mailcity.com 2012-03-25 13:25:01 CDT --- With native d3dx10_43.dll it still crashes:
fixme:win:EnumDisplayDevicesW ((null),0,0x33f70c,0x00000000), stub! fixme:process:WTSGetActiveConsoleSessionId stub fixme:wtsapi:WTSQueryUserToken 0 0xd3da88 fixme:heap:HeapSetInformation (nil) 1 (nil) 0 fixme:win:EnumDisplayDevicesW ((null),0,0x3371bc,0x00000000), stub! fixme:dxgi:dxgi_device_init Ignoring adapter type. fixme:d3d10core:d3d10_device_ClearState iface 0x13e404 stub! fixme:d3d10core:d3d10_device_VSSetConstantBuffers iface 0x13e404, start_slot 0, buffer_count 14, buffers 0x3e2e548 stub! fixme:d3d10core:d3d10_device_PSSetConstantBuffers iface 0x13e404, start_slot 0, buffer_count 14, buffers 0x3e2e548 stub! fixme:d3d10core:d3d10_device_GSSetConstantBuffers iface 0x13e404, start_slot 0, buffer_count 14, buffers 0x3e2e548 stub! fixme:d3d10core:d3d10_device_VSSetSamplers iface 0x13e404, start_slot 0, sampler_count 16, samplers 0x3e2e548 stub! fixme:d3d10core:d3d10_device_PSSetSamplers iface 0x13e404, start_slot 0, sampler_count 16, samplers 0x3e2e548 stub! fixme:d3d10core:d3d10_device_GSSetSamplers iface 0x13e404, start_slot 0, sampler_count 16, samplers 0x3e2e548 stub! fixme:d3d10core:d3d10_device_VSSetShaderResources iface 0x13e404, start_slot 0, view_count 128, views 0x3e2e548 stub! fixme:d3d10core:d3d10_device_PSSetShaderResources iface 0x13e404, start_slot 0, view_count 128, views 0x3e2e548 stub! fixme:d3d10core:d3d10_device_GSSetShaderResources iface 0x13e404, start_slot 0, view_count 128, views 0x3e2e548 stub! fixme:d3d10core:d3d10_device_OMSetRenderTargets iface 0x13e404, render_target_view_count 8, render_target_views 0x3e2e548, depth_stencil_view (nil) fixme:d3d10core:d3d10_device_SOSetTargets iface 0x13e404, target_count 4, targets 0x3e2e548, offsets 0x3e2e508 stub! fixme:d3d10core:d3d10_device_OMSetBlendState iface 0x13e404, blend_state (nil), blend_factor [0.000000 0.000000 0.000000 0.000000], sample_mask 0x00000000 stub! fixme:d3d10core:d3d10_device_OMSetDepthStencilState iface 0x13e404, depth_stencil_state (nil), stencil_ref 0 stub! fixme:d3d10core:d3d10_device_RSSetState iface 0x13e404, rasterizer_state (nil) stub! fixme:d3d10core:d3d10_device_SetPredication iface 0x13e404, predicate (nil), value 0 stub! fixme:win:EnumDisplayDevicesW ((null),0,0x337344,0x00000000), stub! fixme:dxgi:dxgi_output_GetDesc iface 0x140138, desc 0x337948 stub! Unhandled exception: C++ exception(object = 0x00337884, type = 0x03c9b0d8) in 32-bit code (0x7b839ed2).
...
Backtrace: =>0 0x7b839ed2 RaiseException+0x52() in kernel32 (0x00337830) 1 0x78ac7819 in msvcr100 (+0x27818) (0x00337868) 0x7b839ed2 RaiseException+0x52 in kernel32: subl $4,%esp
http://bugs.winehq.org/show_bug.cgi?id=27035
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kgbricola@web.de
http://bugs.winehq.org/show_bug.cgi?id=27035
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=27035
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
http://bugs.winehq.org/show_bug.cgi?id=27035
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|hverbeet@gmail.com, | |kgbricola@web.de, | |stefandoesinger@gmx.at | Severity|normal |minor
--- Comment #3 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-03-25 14:43:45 CDT --- Were you asked to add all those people to CC? Also did you read that you should NOT paste debug output?
As far as this bug, have any of you tried this on Win XP?
http://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #4 from Artem S. Tashkinov t.artem@mailcity.com 2012-03-30 05:20:52 CDT --- (In reply to comment #3)
Were you asked to add all those people to CC? Also did you read that you should NOT paste debug output?
As far as this bug, have any of you tried this on Win XP?
3DMark Vantage requires Windows Vista or later Windows versions in order to run.
I added those people to the CC list because they are active Direct3D developers and I thought they could look into this problem. I won't do that again, if that's Wine's project tacit policy.
http://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #5 from Henri Verbeet hverbeet@gmail.com 2012-03-30 05:38:58 CDT --- We mostly read wine-bugs anyway, but at least personally I don't care much about being CC'd or not. As for the actual bug, I still have some patches for some of the dxgi/d3d10core issues in 3DMark Vantage somewhere, but it still requires lots of other work as well, e.g. for collecting system information.
http://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #6 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-03-30 08:34:41 CDT --- (In reply to comment #5) Henri, do you want to keep all these separate DX10 bugs? AFAIK dx10 is nowhere near working and looking at individual issues doesn't make much sense.
http://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #7 from Henri Verbeet hverbeet@gmail.com 2012-03-30 08:58:19 CDT --- Yeah, it's probably still a bit too early to look at individual bugs for d3d10. On the other hand it doesn't really bother me to have them in bugzilla.
http://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #8 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-03-31 22:02:27 CDT --- Ok, will keep them around.
http://bugs.winehq.org/show_bug.cgi?id=27035
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |20776
http://bugs.winehq.org/show_bug.cgi?id=27035
Zhenya Zenitur@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Zenitur@yandex.ru
--- Comment #9 from Zhenya Zenitur@yandex.ru 2013-05-12 21:49:36 CDT --- Can you retest with Wine 1.5.30? There are many new Direct3D 10 functions in Wine 1.5.19 (thanks to Henri Verbeet).
http://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com 2013-05-13 08:39:00 CDT --- (In reply to comment #9)
Can you retest with Wine 1.5.30? There are many new Direct3D 10 functions in Wine 1.5.19 (thanks to Henri Verbeet).
Its still not implemented as seen in the source code. http://source.winehq.org/search?string=D3DX10UnsetAllDeviceObjects
http://bugs.winehq.org/show_bug.cgi?id=27035
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #11 from hanska2@luukku.com --- Still unimplemented 1.7.22
https://bugs.winehq.org/show_bug.cgi?id=27035
roger@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roger@mailinator.com
--- Comment #12 from roger@mailinator.com --- what does this mean?
http://source.winehq.org/git/wine.git/?a=search&h=799731f4b9e9495181e18a...
https://bugs.winehq.org/show_bug.cgi?id=27035
sacrediou vmerlet@april.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vmerlet@april.org
https://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #13 from Artem S. Tashkinov t.artem@mailcity.com --- It means http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/d3dx10_43/d3dx10_43.sp...
D3DX10UnsetAllDeviceObjects is a stub and it's not yet implemented.
https://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #14 from Artem S. Tashkinov t.artem@mailcity.com --- This bug is now actually resolved and 3DMark wants something else to run.
https://bugs.winehq.org/show_bug.cgi?id=27035
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #15 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Artem S. Tashkinov from comment #14)
This bug is now actually resolved and 3DMark wants something else to run.
The function is still unimplemented though (and native d3dx10_43.dll should still workaround).
https://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #16 from Andrey Gusev andrey.goosev@gmail.com --- (In reply to Matteo Bruni from comment #15)
(In reply to Artem S. Tashkinov from comment #14)
This bug is now actually resolved and 3DMark wants something else to run.
The function is still unimplemented though (and native d3dx10_43.dll should still workaround).
I can't reproduce the issue in 1.7.52
https://bugs.winehq.org/show_bug.cgi?id=27035
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #17 from super_man@post.com --- (In reply to Andrey Gusev from comment #16)
(In reply to Matteo Bruni from comment #15)
(In reply to Artem S. Tashkinov from comment #14)
This bug is now actually resolved and 3DMark wants something else to run.
The function is still unimplemented though (and native d3dx10_43.dll should still workaround).
I can't reproduce the issue in 1.7.52
But I don't see nothing fixed in wine's side.
https://bugs.winehq.org/show_bug.cgi?id=27035
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru
--- Comment #18 from Sergey Isakov isakov-sl@bk.ru --- Created attachment 53268 --> https://bugs.winehq.org/attachment.cgi?id=53268 Stub implementation for d3dx10_43.dll.D3DX10UnsetAllDeviceObjects
This is the simple patch to make stdcall instead of stub and now 3DmarkVantage got further without crash at this point. The bug can be closed just applying this patch. ~~~ fixme:d3d:query_init Statistics query. fixme:d3d:query_init QUERY_TYPE_SO_OVERFLOW stub! fixme:d3dx:D3DX10UnsetAllDeviceObjects stub fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x1e9ea0, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x337ba8, desc 0x0 partial stub! fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x1e9ea0, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x337bac, desc 0x45b8fa0 partial stub! fixme:d3d11:D3D11CoreCreateDevice Ignoring feature levels. fixme:dxgi:dxgi_check_d3d10_support Ignoring adapter type. ...
https://bugs.winehq.org/show_bug.cgi?id=27035
Reiny Nyt razzylaqui@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |razzylaqui@gmail.com
--- Comment #19 from Reiny Nyt razzylaqui@gmail.com --- Created attachment 53289 --> https://bugs.winehq.org/attachment.cgi?id=53289 Implementation (possibly incomplete) of D3DX10UnsetAllDeviceObjects
Hi Sergey, I'm not sure I know what I'm doing, but I had started on this, so I finished it up to post the patch here. You're welcome to modify or build upon it as needed.
https://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #20 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Reiny Nyt from comment #19)
Created attachment 53289 [details] Implementation (possibly incomplete) of D3DX10UnsetAllDeviceObjects
This makes no sense to me. ID3D10DeviceChild does not have these methods you added. Also you don't need to get shader object instances before setting them to NULL.
https://bugs.winehq.org/show_bug.cgi?id=27035
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #21 from Reiny Nyt razzylaqui@gmail.com --- (In reply to Nikolay Sivov from comment #20)
This makes no sense to me. ID3D10DeviceChild does not have these methods you added. Also you don't need to get shader object instances before setting them to NULL.
Thank you for your feedback. I had a feeling I didn't know what I was doing, but it was worth a try. I can try to fix it though if possible. I wasn't sure what needed to be done to set objects to null, since IUnknown has the Release method (https://msdn.microsoft.com/en-us/library/ms682317%28VS.85%29.aspx) that you're supposed to use when unsetting device objects (if I recall correctly). I'll need to browse through again, although some parts of this feel like a headache to understand.
As for the methods in ID3D10DeviceChild, I wasn't entirely sure where to put them, since ID3D10Device has nothing but ID3D10DeviceChild already had a few of the methods from ID3D10Device added (such as GetPrivateData and SetPrivateData) so I put some others from the API page in there: https://msdn.microsoft.com/en-us/library/windows/desktop/bb173528%28v=vs.85%...
https://bugs.winehq.org/show_bug.cgi?id=27035
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |e2da1a4ee1b6d6a1ae01dc8c8b9 | |8f44d5d87722a Resolution|--- |FIXED CC| |leslie_alistair@hotmail.com
--- Comment #22 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by http://source.winehq.org/git/wine.git/?a=commit;h=e2da1a4ee1b6d6a1ae01dc8c8b...
https://bugs.winehq.org/show_bug.cgi?id=27035
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.9.
https://bugs.winehq.org/show_bug.cgi?id=27035
--- Comment #24 from Nikolay Sivov bunglehead@gmail.com --- For the reference, it's implemented now with http://source.winehq.org/git/wine.git/?a=commit;h=ce53cb4a00e395d492c9ef215d....
https://bugs.winehq.org/show_bug.cgi?id=27035
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx10 |directx-d3d-util
https://bugs.winehq.org/show_bug.cgi?id=27035
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|http://www.filehippo.com/do |https://web.archive.org/web |wnload_3dmark_vantage/tech/ |/20210303083416/https://dl. |7031/ |filehorse.com/win/benchmark | |ing/3dmark-vantage/3DMark-V | |antage-1.1.0.exe?st=UzpcDZF | |4yNhQmSVqsk6MFw&e=161484675 | |9&fn=3DMark_Vantage_v110_in | |staller.exe