CW3 locks up if screen saver starts

Started by Sooner, April 22, 2015, 02:26:33 PM

Previous topic - Next topic

Sooner

Windows seven, running CW3 windowed.

If the screen saver comes on, CW3 locks up solid.

I have to use task manager to close it.

Of course, there is no save of the world I was one and I have to start over.

knucracker

That's going to be something somewhere between Unity, your GPU driver, and the screensaver.  You might get some hint by looking at the game's output log after the crash and before you restart the game:
http://knucklecracker.com/forums/index.php?topic=16476.0


Sooner

Here's the log:

Initialize engine version: 4.3.3f1 (c8ca9b6b9936)
GfxDevice: creating device client; threaded=1
Direct3D:
    Version:  Direct3D 9.0c [aticfx64.dll 8.17.10.1132]
    Renderer: ATI Radeon HD 5700 Series
    Vendor:   ATI
    VRAM:     1010 MB (via DXGI)
    Caps:     Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=1 INTZ=1 RAWZ=0 NULL=1 RESZ=1 SlowINTZ=1
Begin MonoManager ReloadAssembly
Platform assembly: C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\UnityEngine.dll (this message is harmless)
Loading C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\UnityEngine.dll into Unity Child Domain
Platform assembly: C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless)
Loading C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\Assembly-CSharp.dll (this message is harmless)
Loading C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
Platform assembly: C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\Assembly-UnityScript-firstpass.dll (this message is harmless)
Loading C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\Assembly-UnityScript-firstpass.dll into Unity Child Domain
Platform assembly: C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\Assembly-UnityScript.dll (this message is harmless)
Loading C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\Assembly-UnityScript.dll into Unity Child Domain
- Completed reload, in  0.056 seconds
<RI> Initializing input.

<RI> Input initialized.

desktop: 1920x1080 60Hz; virtual: 3840x1080 at -1920,0
Platform assembly: C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\System.Xml.dll (this message is harmless)
Platform assembly: C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\System.Core.dll (this message is harmless)
Platform assembly: C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\System.dll (this message is harmless)
Platform assembly: C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\UnityScript.Lang.dll (this message is harmless)
Platform assembly: C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\Boo.Lang.dll (this message is harmless)
Platform assembly: C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\System.Xml.Linq.dll (this message is harmless)
UnloadTime: 0.305769 ms
Using base settings dir: C:\Users\Sooner\AppData\Roaming/creeperworld3/

(Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

Using base game data dir: C:\Users\Sooner\Documents/creeperworld3/

(Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

Shader Quality: 30

(Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

Quality: 0

(Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

Game Version: 2.08

(Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

Checking for Update...

(Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

Checking for News...

(Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

Unloading 3 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 9 unused Assets to reduce memory usage. Loaded Objects now: 6227.
Total: 4.379024 ms (FindLiveObjects: 0.212278 ms CreateObjectMapping: 0.099723 ms MarkObjects: 3.604702 ms  DeleteObjects: 0.057194 ms)

Platform assembly: C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\Mono.Security.dll (this message is harmless)
Platform assembly: C:\Program Files\KnuckleCracker\Creeper World 3\CW3_Data\Managed\Mono.Security.dll (this message is harmless)
Fallback handler could not load library C:/Program Files/KnuckleCracker/Creeper World 3/CW3_Data/Mono/.\/System/Library/Frameworks/Security.framework/Security
Fallback handler could not load library C:/Program Files/KnuckleCracker/Creeper World 3/CW3_Data/Mono/lib/System/Library/Frameworks/Security.framework/Security
Fallback handler could not load library C:/Program Files/KnuckleCracker/Creeper World 3/CW3_Data/Mono/.\lib/System/Library/Frameworks/Security.framework/Security
Fallback handler could not load library C:/Program Files/KnuckleCracker/Creeper World 3/CW3_Data/Mono/lib/System/Library/Frameworks/Security.framework/Security
Fallback handler could not load library C:/Program Files/KnuckleCracker/Creeper World 3/CW3_Data/Mono/.\/System/Library/Frameworks/Security.framework/Security
Fallback handler could not load library C:/Program Files/KnuckleCracker/Creeper World 3/CW3_Data/Mono/lib/System/Library/Frameworks/Security.framework/Security
Fallback handler could not load library C:/Program Files/KnuckleCracker/Creeper World 3/CW3_Data/Mono/.\lib/System/Library/Frameworks/Security.framework/Security
Fallback handler could not load library C:/Program Files/KnuckleCracker/Creeper World 3/CW3_Data/Mono/lib/System/Library/Frameworks/Security.framework/Security
UnloadTime: 9.518805 ms
News: Looking for other CW3 players?  Check out the Knuckle Cracker forums -> |u=http://knucklecracker.com/forums Open_Forums

(Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

Unloading 3 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 242 unused Assets to reduce memory usage. Loaded Objects now: 17080.
Total: 10.862870 ms (FindLiveObjects: 0.949204 ms CreateObjectMapping: 0.495683 ms MarkObjects: 8.138445 ms  DeleteObjects: 0.856813 ms)

Unloading 0 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 16873.
Total: 9.785345 ms (FindLiveObjects: 0.640868 ms CreateObjectMapping: 0.468186 ms MarkObjects: 8.342291 ms  DeleteObjects: 0.028230 ms)

Unloading 1 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 6 unused Assets to reduce memory usage. Loaded Objects now: 17096.
Total: 23.323511 ms (FindLiveObjects: 1.810417 ms CreateObjectMapping: 1.026196 ms MarkObjects: 20.037777 ms  DeleteObjects: 0.038129 ms)

UnloadTime: 8.177674 ms
Unloading 3 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 758 unused Assets to reduce memory usage. Loaded Objects now: 11855.
Total: 77.832909 ms (FindLiveObjects: 0.498982 ms CreateObjectMapping: 0.364796 ms MarkObjects: 75.733589 ms  DeleteObjects: 0.883210 ms)

Unloading 1 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 27 unused Assets to reduce memory usage. Loaded Objects now: 12104.
Total: 91.786102 ms (FindLiveObjects: 0.663599 ms CreateObjectMapping: 0.274972 ms MarkObjects: 90.373482 ms  DeleteObjects: 0.099723 ms)

Unloading 0 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 12121.
Total: 82.807343 ms (FindLiveObjects: 0.691463 ms CreateObjectMapping: 0.321534 ms MarkObjects: 81.420746 ms  DeleteObjects: 0.031163 ms)

HandleD3DDeviceLost
  HandleD3DDeviceLost: still lost
Skipped frame because GfxDevice is in invalid state (device lost)

(Filename:  Line: 1650)

HandleD3DDeviceLost
  HandleD3DDeviceLost: still lost
Skipped frame because GfxDevice is in invalid state (device lost)

(Filename:  Line: 1650)

[A FEW THOUSAND ITERATIONS OF THIS DELETED]


HandleD3DDeviceLost
  HandleD3DDeviceLost: still lost
Skipped frame because GfxDevice is in invalid state (device lost)

(Filename:  Line: 1650)

HandleD3DDeviceLost
  HandleD3DDeviceLost: needs reset, doing it
FullResetD3DDevice
ResetD3DDevice
dev->Reset
D3Dwindow device not lost anymore

Telanir

Hey Sooner, it's probably best if you attach your log as a file to your post as opposed to trying to post it, that way it can be a lot easier to diagnose.

There is an "Attachments and other options" area below when posting.
Want to make genius CRPL? The new top map? You can start here!

Find out more about Creeper World 3 on the wiki!

CW3, The Sleeper Menace!

Own an iOS device? Check out my game Blobivers

knucracker

Looks like your GPU driver is fairly old in GPU driver terms (3+ years old).  You might have some luck with the newest amd gpu driver.

Karsten75

It appears that the screensaver grabbed the GPU away from your game... I seem to recall there were a lot of those  HandleD3DDeviceLost issues, especially with one early tester's machine.

I've just spent a few minutes reading the conversations detailing those issues and it seems to have mostly originated if players played in fullscreen and let some other application (like a screensaver) steal the GPU. Unity cant handle that and sulks.

So consider playing in Windowed mode, or otherwise don't leave the game unattended. :)

Sooner

I do play windowed. :)

But I'll try updating my drivers and see if that helps.

This particular puter has never really liked Unity.

Karsten75

As for the drivers, I don't quite understand how come Windows 8 can have 3-year old drivers...?

Telanir

It doesn't really force updates, Windows 8 has been out for a fairly long time so it's all possible.
Want to make genius CRPL? The new top map? You can start here!

Find out more about Creeper World 3 on the wiki!

CW3, The Sleeper Menace!

Own an iOS device? Check out my game Blobivers

Sooner

Quote from: Karsten75 on April 22, 2015, 07:57:31 PM
As for the drivers, I don't quite understand how come Windows 8 can have 3-year old drivers...?

Windows seven