Page 1 of 1

[0.16.36] Crash when start. Error : 01

Posted: Sat Apr 21, 2018 10:25 am
by Matrop
DirectX crashed.jpg
DirectX crashed.jpg (86.71 KiB) Viewed 2878 times
When I start the game from steam, or from the desktop shurtcut, I simply get the following error:
"Echec de l'initialisation. Code erreur : 01" (french).

It happened yesterday as well and I managed to solve it by:
- Uninstalled the game
- Delete the folder "Factorio" in Roaming
- Restart the PC
- Reinstall the game
(Note: Only uninstall / Reinstall, or only restart the PC didn't work separatly)

These steps didn't work today. However I get a more detailed error message on the first failure only (please find attached "DirectX crashed")

I haven't found anything about RTSS on my PC
I both tryed to turn as TRUE opengl and to use launch option --force-opengl.

the factorio-current. log is:

Code: Select all

 0.001 2018-04-21 11:14:15; Factorio 0.16.36 (build 36253, win64, steam)
   0.001 Operating system: Windows 8.1 
   0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--force-opengl" 
   0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/Matthieu/AppData/Roaming/Factorio [317194/910930MB]
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.026 System info: [CPU: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz, 8 cores, RAM: 4279/8104 MB, page: 4660/9384 MB, virtual: 183/134217727 MB, extended virtual: 0 MB]
   0.027 Display options: [FullScreen: 1] [VSync: 0] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: fr]
   0.028 Available display adapters: 1
   0.028  [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 4600 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.028 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.139 WGL_ARB_pixel_format/WGL_EXT_pixel_format not supported.

   0.141 Allegro requires at least OpenGL version 1.2 to work.
   0.153 Failed to create display (NULL)

   0.153 C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe
   0.153 C:\WINDOWS\SYSTEM32\ntdll.dll
   0.153 C:\WINDOWS\system32\KERNEL32.DLL
   0.153 C:\Program Files\AVAST Software\Avast\x64\aswhooka.dll
   0.153 C:\WINDOWS\system32\KERNELBASE.dll
   0.153 C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\steam_api64.dll
   0.153 C:\WINDOWS\system32\WLDAP32.dll
   0.153 C:\WINDOWS\system32\GDI32.dll
   0.153 C:\WINDOWS\system32\ole32.dll
   0.153 C:\WINDOWS\SYSTEM32\WINMM.dll
   0.153 C:\WINDOWS\system32\PSAPI.DLL
   0.153 C:\WINDOWS\SYSTEM32\OPENGL32.dll
   0.153 C:\WINDOWS\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.18790_none_9333b10747484d36\gdiplus.dll
   0.153 C:\WINDOWS\system32\SHELL32.dll
   0.153 C:\WINDOWS\system32\SHLWAPI.dll
   0.153 C:\WINDOWS\system32\USER32.dll
   0.153 C:\WINDOWS\system32\IMM32.dll
   0.153 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
   0.153 C:\WINDOWS\system32\WS2_32.dll
   0.153 C:\WINDOWS\system32\ADVAPI32.dll
   0.153 C:\WINDOWS\system32\CRYPT32.dll
   0.153 C:\WINDOWS\SYSTEM32\DSOUND.dll
   0.153 C:\WINDOWS\SYSTEM32\VERSION.dll
   0.153 C:\WINDOWS\system32\msvcrt.dll
   0.153 C:\WINDOWS\SYSTEM32\combase.dll
   0.153 C:\WINDOWS\system32\RPCRT4.dll
   0.153 C:\WINDOWS\SYSTEM32\sechost.dll
   0.154 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
   0.154 C:\WINDOWS\SYSTEM32\GLU32.dll
   0.154 C:\WINDOWS\SYSTEM32\DDRAW.dll
   0.154 C:\WINDOWS\system32\MSCTF.dll
   0.154 C:\WINDOWS\system32\NSI.dll
   0.154 C:\WINDOWS\SYSTEM32\WINNSI.DLL
   0.154 C:\WINDOWS\system32\MSASN1.dll
   0.154 C:\WINDOWS\SYSTEM32\POWRPROF.dll
   0.154 C:\WINDOWS\system32\SspiCli.dll
   0.154 C:\WINDOWS\SYSTEM32\cfgmgr32.dll
   0.154 C:\WINDOWS\SYSTEM32\DEVOBJ.dll
   0.154 C:\WINDOWS\SYSTEM32\DCIMAN32.dll
   0.154 C:\Program Files (x86)\Steam\gameoverlayrenderer64.dll
   0.154 C:\WINDOWS\SYSTEM32\secur32.dll
   0.154 C:\WINDOWS\SYSTEM32\SHCORE.dll
   0.154 C:\WINDOWS\SYSTEM32\profapi.dll
   0.154 C:\Program Files (x86)\Steam\steamclient64.dll
   0.154 C:\WINDOWS\system32\imagehlp.dll
   0.154 C:\WINDOWS\system32\SETUPAPI.dll
   0.154 C:\WINDOWS\system32\OLEAUT32.dll
   0.154 C:\Program Files (x86)\Steam\tier0_s64.dll
   0.154 C:\Program Files (x86)\Steam\vstdlib_s64.dll
   0.154 C:\WINDOWS\SYSTEM32\MSWSOCK.dll
   0.154 C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
   0.154 C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll
   0.154 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
   0.154 C:\WINDOWS\system32\uxtheme.dll
   0.154 C:\WINDOWS\system32\dwmapi.dll
   0.154 C:\WINDOWS\SYSTEM32\nvoglv64.DLL
   0.154 C:\WINDOWS\SYSTEM32\WTSAPI32.dll
   0.154 C:\WINDOWS\system32\WINTRUST.dll
   0.154 C:\WINDOWS\SYSTEM32\ntmarta.dll
   0.155 Error Util.cpp:49: Échec de l'initialisation. Code erreur : 01
  51.199 Steam API shutdown.
  51.201 Goodbye

Re: [0.16.36] Crash when start. Error : 01

Posted: Sat Apr 21, 2018 11:01 am
by Matrop
I tried again the steps that worked yesterday, and it worked again. I can play today :)

I am still looking forward a better solution to start my game ;)

Re: [0.16.36] Crash when start. Error : 01

Posted: Sat Apr 21, 2018 11:12 am
by posila
Hello, I believe there is some problem with graphics drivers on your computer. It seems to me you have a laptop with nVidia Optimus technology, in that case you need both Intel HD Graphics driver and GeForce graphics driver.

When it works - is everything else with your laptop same as when it doesn't work? (ie. the charger is plugged in, you have same applications running, etc.)

I would be also more interested to see the DirectX crash log than OpenGL failure.

Re: [0.16.36] Crash when start. Error : 01

Posted: Sun Apr 22, 2018 5:05 pm
by Matrop
Hello,

Thank you very much for your prompt reply (especially on Saturday). Apologies to respond only today, I was already in the game, online with a friend yesterday (this game is so nice ; can't stop it ^^)

I confirm I have a Lenovo laptop (windows 8.1). I do have NVIDIA technology, and I have just check: windows confirm both HD Graphics driver and GeForce graphic driver are up to date. However, I remember to have turn one of them off then on back to solve an issue a long time ago (I don't remember the issue, but remember it did work ; I will try this if I get the pb again).

Absolutely everything seemed same when it did work or not: PC plugged, same software started (Twitch app and Steam). My PC is always really slow after starting: I can feel it is not at its best during the first 10 - 20 min after starting. Therefore, the only difference I can think about is the time I have waited between the PC start and the Game start.
Note: it has just started properly today ; my PC was on for a long time before start it.

How can I find the DirectX crash log?
screenshot

Re: [0.16.36] Crash when start. Error : 01

Posted: Sun Apr 22, 2018 5:29 pm
by Loewchen
Matrop wrote:How can I find the DirectX crash log?
Remove the --force-opengl argument, produce the crash again and post the log.

Re: [0.16.36] Crash when start. Error : 01

Posted: Sat May 05, 2018 7:29 pm
by Matrop
I haven't reply before as I haven't had the problem again. I am not sure what I did I do to solve it, but it seems solved: I have played nearly every days since the issue without ant problem.

Thank you for your prompt responses.

Thank you for this beautiful game.