Black screen (soft restart of the gpu)

Crash Graphics Performance
McRib · 7 months ago

Hi devs, it is about @bryansto [discord] again.

We could located the issue inside the gpu but im still not sure if is related to the game. The issue is from time to time the screen of him goes black and the GPU soft restart. And that only happend in Captain of industry and not in another games. The issue is since update 3 so it is nothing new introduced with update 4.

The game goes black and than the screens comes back but Captain of industry stay black (since the memory got dumped).

Would be nice if you can look over the log i attached here.

The mod is new but the bug is not connected to it.

The system was freshly made new so it is not a corruption inside the data system

1 attachment only for registered users
McRib · 7 months ago

Attached: Leintal_Sandbox.save

1 attachment only for registered users
Captain Matt Captain Matt · 7 months ago

More context: this caused by the numbers of resources on the map.

Toggling underground water resource visualization is a good way to force the crash

X 21:05:50,426 S437044 ~Mai: OutOfMemoryException thrown during game initialization.
 ---> OutOfMemoryException: Out of memory
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
  at System.Array.Resize[T] (T[]& array, System.Int32 newSize) [0x00029]  
  at Mafi.Collections.Lyst`1[T].set_Capacity (System.Int32 value) [0x00018] in Mafi\Collections\Lyst`1.cs:13
bryansto [discord] · 7 months ago

Many thanks to McRib and Captain Matt for their kind help; I will test it thoroughly and hope it no longer crashes.

Captain Marek Captain Marek · 7 months ago

I am looking into opimizing the resources overlay so that it can handle this. In the meantime, don't open the resoruces visualization, or disable all materials except the one you want to see.

5 Showing 1–5 of 5