Page 1 of 1

[0.16.51] Error: "Direct3D device lost during loading of sprites"

Posted: Fri Sep 21, 2018 3:55 pm
by purdueme91
The issue I have is that maybe 10-15% of the time when I start Factorio, the game will freeze and stop loading. And it always happens at the same point of the loading sequence. It will say either "cropping bitmaps" or "loading sprites" and be stuck at 40% load. The cropping bitmaps is generally the more common occurrence. Generally I have to kill the window through task manager and a restart of the program will get it to load. If it happens 3 or 4 times in a row, I will just do a fresh install.

The CPU and RAM usage when it is locked up is generally very low (<10%).

I am playing outside of Steam and generally heavily modded but this has been happening since February and I have played multiple versions with and without mods with this occurring.

Specs:
Win 10
i5-7400
4GB RX580
8GB Ram (just increased to 16GB)

Re: [16.51] Game freezes on loading prior to main menu

Posted: Fri Sep 21, 2018 4:12 pm
by Loewchen
Post the log after a session with the issue.

Re: [16.51] Game freezes on loading prior to main menu

Posted: Fri Sep 21, 2018 11:28 pm
by purdueme91
Is this what you need?

Re: [16.51] Game freezes on loading prior to main menu

Posted: Fri Sep 21, 2018 11:48 pm
by Loewchen
Post your dxdiag output.

Re: [16.51] Game freezes on loading prior to main menu

Posted: Sat Sep 22, 2018 1:02 am
by purdueme91
Here it is

Re: [16.51] Game freezes on loading prior to main menu

Posted: Sat Sep 22, 2018 1:20 am
by Loewchen
I would try to install the latest graphics driver, if this does not help you can force opengl until the next update: viewtopic.php?f=7&t=9300

Ref.: viewtopic.php?f=7&t=61337

Re: [0.16.51] Error: "Direct3D device lost during loading of sprites"

Posted: Mon Oct 01, 2018 9:34 am
by posila
The error doesn't exist in 0.17 anymore, so it shouldn't cause anymore problems.
Another problem might be that parallel sprite loading failed despite the system having lot of memory. I'll add more memory logging at this error in case it still happens in 0.17

Re: [0.16.51] Error: "Direct3D device lost during loading of sprites"

Posted: Mon Oct 01, 2018 12:54 pm
by purdueme91
Update: I loaded driver dated 9.18.18 and have not seen the lockup since. The qualification is that I haven't played a lot of sessions since I posted and played this weekend without anything else in the background (libre office and brave browser are my most common ones). Did a number of starts then quits this morning with no issues.