Page 1 of 1

[0.17.32] "Failed to find the closes matching mode." error on launch

Posted: Tue Apr 30, 2019 2:11 pm
by FlamingCarrot
A clean install of 0.16.51 runs happily. A clean install of 0.17.32 crashes on launch with the error message ""Failed to find the closes matching mode".

My computer is technically under-spec, but normally I get at least the opportunity to put all my hardware settings to minimum.

Code: Select all

   0.065 2019-04-30 14:56:17; Factorio 0.17.32 (build 44530, win64, alpha)
   0.078 Operating system: Windows 7 Service Pack 1
   0.119 Program arguments: "C:\Games\Factorio\bin\x64\factorio.exe" 
   0.120 Read data path: C:/Games/Factorio/data
   0.120 Write data path: C:/Games/Factorio [196071/381451MB]
   0.120 Binaries path: C:/Games/Factorio/bin
   0.253 System info: [CPU: Intel(R) Pentium(R) Dual  CPU  E2160  @ 1.80GHz, 2 cores, RAM: 1464/2004 MB, page: 1768/4009 MB, virtual: 97/8388607 MB, extended virtual: 0 MB]
   0.254 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: 00] [Lang: en]
   0.355 Available displays: 1
   0.355  [0]: \\.\DISPLAY1 - Intel(R) Q35 Express Chipset Family {0x8000005, [0,0], 1920x1080, 32bit, 60Hz}
   0.998 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   1.034 D3D11_ERROR: IDXGIOutput::FindClosestMatchingMode failed in createDeviceAndSwapchain on line 379. Error [0x887a0002] - DXGI_ERROR_NOT_FOUND
   1.159 Error Util.cpp:83: Failed to find the closes matching mode.

Re: [0.17.32] "Failed to find the closes matching mode." error on launch

Posted: Tue Apr 30, 2019 2:25 pm
by boskid
Ref 69482

Re: [0.17.32] "Failed to find the closes matching mode." error on launch

Posted: Tue Apr 30, 2019 4:34 pm
by posila
Thanks for the report.
For 0.17.35, the game will continue to run even if FindClosestMatchingMode returns an error, as it's result is not completely necessary when we don't run in exclusive fullscreen.

However, you won't be able to run the game anyway. According to Intel(R) Q35 Express Chipset specification, it is DirectX 9c capable, but not DirectX 10, which is requirement to run 0.17.