http://bugs.winehq.org/show_bug.cgi?id=35345
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello Vincent,
it seems another log is needed, same way as previous one but with additional +setupapi channel.
Relevant part of trace log. Unfortunately the interesting information - the class guid - is not printed (setupapi channel needed).
--- snip --- ... 0035:Call KERNEL32.CreateProcessW(0191d800 L"C:\Program Files (x86)\Steam\steamapps\common\Evoland\Evoland.exe",0191da40 L""C:\Program Files (x86)\Steam\steamapps\common\Evoland\Evoland.exe"",00000000,00000000,00000000,00000004,00000000,01e96ba0 L"C:\Program Files (x86)\Steam\steamapps\common\Evoland",060db6fc,060db7b8) ret=38204763 ... 000d:Call KERNEL32.__wine_kernel_init() ret=7bc5b2c3 ... 0035:Ret KERNEL32.CreateProcessW() retval=00000001 ret=38204763 ... 000d:trace:d3d9:d3d9_QueryInterface iface 0x1e7728, riid {02177241-69fc-400c-8ff1-93a44df6861d}, out 0x33d9b4. 000d:warn:d3d9:d3d9_QueryInterface Application asks for IDirect3D9Ex, but this instance wasn't created with Direct3DCreate9Ex. 000d:trace:d3d9:d3d9_GetAdapterCount iface 0x1e7728. ... 000d:trace:d3d:wined3d_get_adapter_display_mode Returning 1680x1050@60 WINED3DFMT_B8G8R8X8_UNORM 0x1. ... 000d:trace:d3d:swapchain_update_render_to_fbo Backbuffer 16x16, window 1680x1050. 000d:trace:d3d:swapchain_update_render_to_fbo Multisample type 0, quality 0. 000d:trace:d3d:swapchain_update_render_to_fbo Rendering to FBO. 000d:trace:d3d:swapchain_init Creating front buffer. 000d:trace:d3d9:device_parent_create_swapchain_surface device_parent 0x1a3394, container_parent 0x17e3d8, desc 0x33d4b8, surface 0x18d290. ... 000d:trace:d3d:context_choose_pixel_format device 0x8603e28, dc 0x5c0032, color_format WINED3DFMT_B8G8R8X8_UNORM, ds_format WINED3DFMT_D24_UNORM_S8_UINT, aux_buffers 0, find_compatible 0. 000d:trace:d3d:getColorBits format WINED3DFMT_B8G8R8X8_UNORM. 000d:trace:d3d:getColorBits Returning red: 8, green: 8, blue: 8, alpha: 0, total: 24 for format WINED3DFMT_B8G8R8X8_UNORM. 000d:trace:d3d:getDepthStencilBits format WINED3DFMT_D24_UNORM_S8_UINT. 000d:trace:d3d:getDepthStencilBits Returning depthSize: 24 and stencilSize: 8 for format WINED3DFMT_D24_UNORM_S8_UINT. 000d:trace:d3d:context_choose_pixel_format Found iPixelFormat=1 for ColorFormat=WINED3DFMT_B8G8R8X8_UNORM, DepthStencilFormat=WINED3DFMT_D24_UNORM_S8_UINT 000d:trace:d3d:context_enter Entering context 0x172ae0, level 1. ... 000d:Call KERNEL32.LoadLibraryW(10f84f94 L"setupapi.dll") ret=103d5822 ... 000d:Ret KERNEL32.LoadLibraryW() retval=7cd40000 ret=103d5822 ... 000d:Call user32.EnumDisplayDevicesW(00000000,00000000,0033d79c,00000000) ret=103d595a 000d:fixme:win:EnumDisplayDevicesW ((null),0,0x33d79c,0x00000000), stub! 000d:Ret user32.EnumDisplayDevicesW() retval=00000001 ret=103d595a ... 000d:Call setupapi.SetupDiGetClassDevsW(10f84e6c,0033cbfc,00000000,0000000a) ret=103d5972 ... 000d:Call advapi32.RegCreateKeyExW(80000002,7cd801a0 L"System\CurrentControlSet\Enum",00000000,00000000,00000000,00020019,00000000,0033c26c,00000000) ret=7cd585b3 000d:Ret advapi32.RegCreateKeyExW() retval=00000000 ret=7cd585b3 000d:Call advapi32.RegOpenKeyExW(0000012c,0033cbfc L"PCI\VEN_0000&DEV_0000",00000000,00020019,0033c278) ret=7cd585ef 000d:Ret advapi32.RegOpenKeyExW() retval=00000002 ret=7cd585ef 000d:Call advapi32.RegCloseKey(0000012c) ret=7cd5860e 000d:Ret advapi32.RegCloseKey() retval=00000000 ret=7cd5860e 000d:Ret setupapi.SetupDiGetClassDevsW() retval=001a2f30 ret=103d5972 000d:Call setupapi.SetupDiEnumDeviceInfo(001a2f30,00000000,0033cdfc) ret=103d59ae 000d:Ret setupapi.SetupDiEnumDeviceInfo() retval=00000000 ret=103d59ae 000d:Call setupapi.SetupDiDestroyDeviceInfoList(001a2f30) ret=103d5b53 ... 000d:Ret setupapi.SetupDiDestroyDeviceInfoList() retval=00000001 ret=103d5b53 000d:Call KERNEL32.FreeLibrary(7cd40000) ret=103d5b5c ... 000d:Ret KERNEL32.FreeLibrary() retval=00000001 ret=103d5b5c ... 000d:Call wined3d.wined3d_device_uninit_3d(08603e28) ret=7c95ba52 000d:trace:d3d:wined3d_device_uninit_3d device 0x8603e28. ... 000d:Call gdi32.GetTextExtentPoint32A(000b0031,001a3020 "(null): Error: Error #3694",0000001a,0033e23c) ret=10349ae5 000d:Ret gdi32.GetTextExtentPoint32A() retval=00000001 ret=10349ae5 --- snip ---
Maybe the game is looking for display monitor information and tries out different ways in attempt to compare them.
- EnumDisplayDevices - EnumDisplayMonitors - IDXGIFactory::EnumAdapters, IDXGIAdapter::EnumOutput - SetupDiGetClassDevs, SetupDiEnumDeviceInfo - WMI ...
Regards