https://bugs.winehq.org/show_bug.cgi?id=20776
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |directx-d3d Summary|3DMark Vantage: your |3DMark Vantage: your |graphics card doesn't |graphics card doesn't |support DirectX 10 |support DirectX 10 (needs | |support for | |'D3D10_QUERY_SO_STATISTICS' | |)
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
Needs 'Windows Vista' mode.
Trace log:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Futuremark/3DMark Vantage
$ WINEDEBUG=+tid,+seh,+relay,+d3d,+dxgi,+snoop wine ./3DMarkVantage.exe
log.txt 2>&1
... 0053:Call KERNEL32.GetProcAddress(03d00000,01a115c0 "benchmark_c_api_check_dx10_support") ret=019e37a5 0053:Ret KERNEL32.GetProcAddress() retval=045002b9 ret=019e37a5 0053:CALL benchmark.benchmark_c_api_check_dx10_support(<unknown, check return>) ret=019e37e9 0053:Call dxgi.CreateDXGIFactory(04035008,00329680) ret=03da9eb0 ... 0053:trace:d3d:wined3d_adapter_init_gl_caps adapter 0x1d0800. 0053:trace:d3d:wined3d_adapter_init_gl_caps GL_RENDERER: "GeForce GTX 850M/PCIe/SSE2". 0053:trace:d3d:wined3d_adapter_init_gl_caps GL_VENDOR: "NVIDIA Corporation". 0053:trace:d3d:wined3d_adapter_init_gl_caps GL_VERSION: "4.5.0 NVIDIA 352.21". 0053:trace:d3d:wined3d_parse_gl_version Found OpenGL version 4.5. ... 0053:Ret dxgi.CreateDXGIFactory() retval=00000000 ret=03da9eb0 ... 0053:Call d3d10.D3D10CreateDevice(0019f660,00000000,00000000,00000000,0000001d,00329214) ret=03dabbc7 ... 0053:Call d3d10core.D3D10CoreCreateDevice(001cfd70,0019f660,00000000,00000000,00329214) ret=7abf6cba 0053:Call d3d11.D3D11CoreCreateDevice(001cfd70,0019f660,00000000,00328f5c,00000001,00328f58) ret=7abd8808 0053:fixme:d3d11:D3D11CoreCreateDevice Ignoring feature levels. ... 0053:Call dxgi.DXGID3D10CreateDevice(7ab80000,001cfd70,0019f660,00000000,00000000,00328ea4) ret=7ab929e2 0053:trace:dxgi:DXGID3D10CreateDevice d3d10core 0x7ab80000, factory 0x1cfd70, adapter 0x19f660, flags 0, unknown0 (nil), device 0x328ea4. ... 0053:trace:dxgi:DXGID3D10RegisterLayers layers 0x7ababf24, layer_count 1 ... 0053:trace:dxgi:DXGID3D10RegisterLayers layer 0: id 0xffffffff, init 0x7ab92606, get_size 0x7ab926b7, create 0x7ab92768 0053:Ret dxgi.DXGID3D10RegisterLayers() retval=00000000 ret=7ab9290e 0053:Ret d3d11.D3D11CoreRegisterLayers() retval=00000000 ret=7af1dd3c ... 0053:Call wined3d.wined3d_get_device_caps(001d07f0,00000000,00000001,00328b60) ret=7af1d738 0053:trace:d3d:wined3d_get_device_caps wined3d 0x1d07f0, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, caps 0x328b60. 0053:Ret wined3d.wined3d_get_device_caps() retval=00000000 ret=7af1d738 ... 0053:trace:d3d:wined3d_get_adapter_display_mode Returning 1920x1080@60 WINED3DFMT_B8G8R8X8_UNORM 0x1. 0 ... 0053:Ret dxgi.DXGID3D10CreateDevice() retval=00000000 ret=7ab929e2 ... 0053:Ret d3d11.D3D11CoreCreateDevice() retval=00000000 ret=7abd8808 ... 0053:Ret d3d10core.D3D10CoreCreateDevice() retval=00000000 ret=7abf6cba ... 0053:Ret d3d10.D3D10CreateDevice() retval=00000000 ret=03dabbc7 ... 0053:trace:d3d:wined3d_query_create device 0x1db5c0, type 0x8, query 0x205628. ... 0053:trace:d3d:query_init Event query. ... 0053:trace:d3d:wined3d_query_create Created query 0x205640. 0053:Ret wined3d.wined3d_query_create() retval=00000000 ret=7ab90f9a .... 0053:Call wined3d.wined3d_query_create(001db5c0,00000002,00205680,00205690) ret=7ab90f9a 0053:trace:d3d:wined3d_query_create device 0x1db5c0, type 0x2, query 0x205690. ... 0053:fixme:d3d:query_init Unhandled query type 0x2. 0053:warn:d3d:wined3d_query_create Failed to initialize query, hr 0x8876086a. ... 0053:Call msvcr100._CxxThrowException(003290d4,0407b0d8) ret=03db08de 0053:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,00329054) ret=7ad6d766 0053:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b843bad ip=7b843bad tid=0053 0053:trace:seh:raise_exception info[0]=19930520 0053:trace:seh:raise_exception info[1]=003290d4 0053:trace:seh:raise_exception info[2]=0407b0d8 0053:trace:seh:raise_exception eax=7b832b5d ebx=001d3a54 ecx=0000000c edx=00328fa4 esi=00329050 edi=00329010 0053:trace:seh:raise_exception ebp=00328fe8 esp=00328f84 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200216 0053:trace:seh:call_stack_handlers calling handler at 0x3fcf2b3 code=e06d7363 flags=1 0053:trace:seh:call_stack_handlers handler at 0x3fcf2b3 returned 1 ... 0053:Call gdi32.ExtTextOutA(00600053,00000195,000000db,00000000,00000000,05bcfbe0 "Unfortunately your graphics card doesn't support DirectX10.",0000003b,00000000) ret=00ff8689 --- snip ---
Debugger:
--- snip --- Wine-dbg>c Stopped on breakpoint 1 at 0x7e447b71 query_init [/home/focht/projects/wine/wine.repo/src/dlls/wined3d/query.c:710] in wined3d 710 { Wine-dbg>bt Backtrace: =>0 0x7e447b71 query_init(query=0x19e040, device=0x1b69f0, type=WINED3D_QUERY_TYPE_SO_STATISTICS, parent=0x19e3d0) [/home/focht/projects/wine/wine.repo/src/dlls/wined3d/query.c:710] in wined3d (0x00339508) 1 0x7ab2ef9a d3d10_query_init+0xf3(query=0x19e3d0, device=0x189a6c, desc=0x3395cc, predicate=0) [/home/focht/projects/wine/wine.repo/src/dlls/d3d11/async.c:223] in d3d11 (0x00339558) 2 0x7ab38ade d3d10_device_CreateQuery+0xa5(iface=<couldn't compute location>, desc=<couldn't compute location>, query=<couldn't compute location>) [/home/focht/projects/wine/wine.repo/src/dlls/d3d11/device.c:2538] in d3d11 (0x003395a8) 3 0x03d508ba in benchmark (+0xb08b9) (0x0033962c) 4 0x03d4bc21 in benchmark (+0xabc20) (0x003396c8) 5 0x04478ef8 (0x044789f0)
Wine-dbg>n 711 const struct wined3d_gl_info *gl_info = &device->adapter->gl_info; Wine-dbg>n 713 query->parent = parent; Wine-dbg>n 715 switch (type) Wine-dbg>n 797 FIXME("Unhandled query type %#x.\n", type); Wine-dbg>n 797 FIXME("Unhandled query type %#x.\n", type); Wine-dbg>n fixme:d3d:query_init Unhandled query type 0x2. 798 return WINED3DERR_NOTAVAILABLE; Wine-dbg>n 807 } --- snip ---
Source: https://source.winehq.org/git/wine.git/blob/4b35cf730f12f993176be85aa9aabf9b...
$ sha1sum 3DMark_Vantage_v110_installer.exe 67b1b5adbe19736df76904968bc300e904f0f67d 3DMark_Vantage_v110_installer.exe
$ du -sh 3DMark_Vantage_v110_installer.exe 349M 3DMark_Vantage_v110_installer.exe
$ wine --version wine-1.7.51-201-g60d1d6f
Regards