I have been getting random (and I do mean random) crashes from the 64-bit client for quite some time. and now that I have a number of logs built up from each time STO crashed, I have been looking for differences and commonalities. the one thing I have found so far, is makeshaderbins log file. (..\startrek online\startrek online\live\logs) everytime the game game crashes it stops at the same point in what I am assuming is compiling the shaders. I will post the last few lines of the log below. it looks like something gets cutoff (by the crash). it looks like STO always runs into trouble when it reaches 308/325. I don't see anything marked error or fail in the log. I have verified, and verified, and verified my sto files till the cows came home, and not once has anything been re-downloaded, or fixed. the crashes keep occurring. naturally when we start talking about shaders and so on, one common suggestion is to reinstall the video drivers, which I have done. I am using the latest released drivers for my video card (dated : 2016.12.4 v. 342.01)
I may have found a way around the issue. though I don't know why it seems to work, or what the option does or how it would effect STO. I went into the NVidia control panel, and went to manage 3D settings and turned shader cache to off.
Star Treking, across the universe. Only going forward because we can't find reverse...
Since disabling this option, STO has been completely stable (x64 client only). of course STO is running a bit slower than it was previously, but it is no longer crashing. Load times between maps have gone up too. during the elachi alert event, by the time loading of the map was finished, everyone had already started the event, but me. and the loading of Q's wonderland is horrible.
Star Treking, across the universe. Only going forward because we can't find reverse...
well, now I can not even get past the toon selection screen even when I turn shader caching back on. I select my toon, and it looks like I will get in, but a few seconds into the load, the game crashes, and brings up the cryptic error reporter.
Star Treking, across the universe. Only going forward because we can't find reverse...
Some searching reveals that Nvidia keeps a shader cache in C:\Windows\Temp or %TEMP%. It seems that STO keeps its own shader cache in Live\cache. You could try deleting either the Nvidia cache or the STO cache. I have no idea if that will fix your issue or make it worse, so you do so at your own risk.
when I enabled the -console at startup for both the launcher and the game, this is the last thing displayed when the game crashes, it may or may not be related in anyway to the shaders.
ERROR: devassert: handle->debug_in_file_access==1;Shouldn't be in the file critical section if we're
going to try and delete a file
Line: c:\src\libs\UtilitiesLib\file\hoglib.c(723)
don't know what the error means, but I want to find out....
Star Treking, across the universe. Only going forward because we can't find reverse...
Did you find out what it meant? I keep getting the "ERROR: devassert: handle->debug_in_file_access==1;Shouldn't be in the file critical section if we're going to try and delete a file" message as well.
Comments
STO is back to crashing when I goes to compile the same shader that was causing issues once before.
https://forums.geforce.com/default/topic/805794/is-there-a-way-to-clear-refresh-the-nvidia-shader-cache-/
https://forums.gearboxsoftware.com/t/nvidia-cards-and-the-shader-cache-in-windows/1573020
https://www.reddit.com/r/StarWarsBattlefront/comments/8gbwue/psa_delete_nvidia_cache_to_remove_random_stutters/
https://forums.guru3d.com/threads/nvidis-shader-cache-still-again.418111/
when I enabled the -console at startup for both the launcher and the game, this is the last thing displayed when the game crashes, it may or may not be related in anyway to the shaders.
ERROR: devassert: handle->debug_in_file_access==1;Shouldn't be in the file critical section if we're
going to try and delete a file
Line: c:\src\libs\UtilitiesLib\file\hoglib.c(723)
don't know what the error means, but I want to find out....