#(Resolved) MizManTheFryingP - crashing issue

1 messages ยท Page 1 of 1 (latest)

knotty phoenix
#

Can you please drag and drop your full log into here?

#

MizManTheFryingP - crashing issue

half sequoia
#

Sure thing

#

This is the one under crash_dumps, that alright?

knotty phoenix
#

Thats fine ๐Ÿ™‚

half sequoia
#

Alrighty ๐Ÿ™‚

knotty phoenix
#

okay - First, please turn compatibility mode off. Sadly those videos just go through fixes from other games that worked so they put them in, and many of the fixes have nothing to do with Enshrouded, and can even cause worsening issues.

half sequoia
#

Yeah, I was thinking that as well

#

Let me turn these off and make another crash log. Might be a few minutes. Sorry about that

knotty phoenix
#

First thing I am noticing is that you only have about 8 gigs of ram available even before the game starts up. This means you likely have a lot of stuff running on your computer like a bunch of browser tabs or other software. With only 16gb of ram, I would close out any unnecessary programs - including background applications, as this could be causing issues with your game and causing crashing.

#

Still going to read through though. I'll let you know if I see anything else.

half sequoia
#

We have Electron to have for that don't we ๐Ÿฅฒ
Steam, Whatsapp and Discord are open in the background, all running chromium

knotty phoenix
#

I am also seeing that you have an integrated GPU, and while vulkan will generally selects the better GPU, windows can and does override that when it feels you are using too much power or sometimes "just because"

I would suggest disabling the "Intel(R) Iris(R) Xe Graphics" GPU in device manager - at least temporarily - to see if the crashing persists.

half sequoia
#

Here's a new crash log, though interestingly enough I don't see any information about GPU crashing in this one

half sequoia
#

It was giving me a lot of issues previously as well so I disabled it in the BIOS

knotty phoenix
#

If it's showing up in Vulkan, it's not disabled.

half sequoia
#

Mmm

#

I'll try again with it disabled

knotty phoenix
#

If it continues to crash, I suggest turning off all programs that aren't necessary for the game or windows to run and checking to see if the issue continues. You had even less ram available when the game started up on that last log, and it can certainly be causing crashing.

half sequoia
#

With the exception of maybe discord, I don't really think I can close the rest haha

#

The game is not responding while this is the state of the computer at the moment

#

So RAM might not be the issue I would think

#

At least not this time

#

Well the game is not crashing anymore, it's just not responsive for a few minutes at a time. The RAM usage does not go above 80%, though the computer does become unresponsive also.
I think it's GPU related. Probably VRAM since it's compiling shaders also

#

Also that's pretty interesting hahaha

knotty phoenix
#

The lack of ram is going to cause issues.

I would go into "startup apps" in task manager and close everything that loads automatically that isn't specifically a windows process or steam - including VOIP software and any other background processes. (a quick google search can confirm whether its needed to run your computer) and then restart your system. Don't open up anything except the game and test to see if there is still a crashing issue.

half sequoia
#

Dedicated memory at 6.3 out of 8

half sequoia
knotty phoenix
#

That's the VRAM - I am talking about your system ram.

half sequoia
#

Yes, I know. Just thought I'd share the state of the VRAM too

#

Okay, crashed again though without a dump this time

knotty phoenix
#

but if that is showing while you aren't playing the game, that is an issue as well. As a lot of that is being used

half sequoia
#

That's while the game is running

#

And being unresponsive

knotty phoenix
#

okay, then that is fine. you still have VRAM available even then.

half sequoia
#

There is something a bit weird now that I am looking at it. The task manager is saying that the memory being used at the moment when the game isn't running is at 45%, and yet adding the programs that are running in the background up I can't see how it's using more than a couple gigabytes.. Don't know if related

#

Maybe it's just Windows

knotty phoenix
#

The small numbers add up fast if there are a lot of them. also task manager does have a tendency to be inaccurate. But yeah I am still showing a lot of ram being used in that file before the game starts up.

half sequoia
#

Hmmm

knotty phoenix
#

Did you try disabling everything you can in the startup apps and see if that helped?

half sequoia
#

Yeah, even went to services and put everything that isn't essential into manual startup

knotty phoenix
#

hmm.

half sequoia
#

There are a few things that I need but it's mostly updates for Chrome and drivers for my keyboard and whatnot

knotty phoenix
#

and you didn't open your browser or anything after restarting?

half sequoia
#

Only Discord, though it's the same isn't it

#

Though on that one, I opened after it crashed to be fair ๐Ÿค”

#

Maybe I have something weird on my PC that's hogging up memory

knotty phoenix
#

Windows generally only uses about 3-4gigs of ram, so you should be showing more than you are.

half sequoia
#

I'll try the memtest and see if it dies on me

half sequoia
#

Well I let it run for about 10 minutes, no errors so far. I know some people go crazy and wait for hours, but my system is otherwise stable. This issue only happens with Enshrouded it seems. Even in my own game I am building with OpenGL where I dynamically allocate a bunch of memory for voxel related stuff I don't crash, and I use more RAM than Enshrouded seems to when it crashes on me.

When I open Enshrouded, it seems that for many phases the game becomes unresponsive, and sometimes freezing my PC with it. On loading, and after entering a game, after a minute or so it becomes unresponsive again.
The weird part is that when this happens, the overall CPU usage is in the 50's, and the RAM usage is at about 75%, while the VRAM is somewhere at around 6.3/8.
No other game or program that I use is causing this type of thing to happen with the only exception is maybe doing a heavy render in Blender..

I am not good with Vulkan, but I hear it's a lot more verbose than DirectX and OpenGL. Maybe it's a configuration issue? I don't know, I'm just spitballing here ๐Ÿ˜…

knotty phoenix
#

The ram being used at the beginning of the log is from before Enshrouded even loads.

half sequoia
#

Where does it take that number from? When I started the game it showed that only around 4-5GB was being used for me.

Even then, I ran a little test right now where I spawn in my own game 300,000 32bit chunks accumulating over 16GB RAM and presumibly reached the swap memory. No crashes and no slowdown in the OS. Unless I am missing something, it just makes me feel like this is not a RAM issue

#

I am not trying to doubt you or anything, I really do appreciate your help. I just am sharing my thoughts

#

The only thing I can think of is that since Vulkan is a low level graphics API compared to OpenGL, maybe something is configured in a way that doesn't work well with my machine and causes all of these crashes and freezes..
Either that or my own badly configured machine haha

Then again, I don't know nearly enough about Vulkan to say with any kind of confidence whether that is the case or not ๐Ÿ˜…

knotty phoenix
half sequoia
#

Definitely! Let me try that

knotty phoenix
#

Task manager has a tendency to be inaccurate when reporting resource usage.

half sequoia
#

Yeah..

#

Another crash, this time with nearly 10GB available

#

System memory used was at 8GB* That's what I wanted to show, but it freed that memory already

knotty phoenix
#

were you running the monitor when it happened?

half sequoia
#

Yes

knotty phoenix
#

did anything spike or was anything capped out at the time?

half sequoia
#

Not at all. Everything seemed like it was going fine, just that the game stopped responding and eventually crashed soon after

#

Thankfully it didn't take my PC with it this time haha

knotty phoenix
#

So it's saying the GPU crashed, it's actually specifying a driver crash.

#

It might be necessary for you to use DDU. It's quite safe to use if you follow the video, I have done it myself for a video I am making to counteract those bad videos that were made last year.

#

You can also try rolling back the driver as well, if you really aren't comfortable using it.

half sequoia
#

Already done DDU today ๐Ÿ˜…

knotty phoenix
#

oh. lol. hmm.

half sequoia
#

Right? I'm also stumped haha

#

I can try doing a rollback maybe?

knotty phoenix
#

When you did DDU, did you specifically download the driver from NVidia, or did you use NVidia software to do it?

half sequoia
#

I used the software

#

I can try just downloading the geforce drivers this time but isn't it the same?

#

The newer software they made to replace the other one, I forgot the name admitidly

#

Experience* that's the one

knotty phoenix
#

I am not sure how it works, 100%, but it's possible the software had a cached version of a corrupted download. It's a longshot, though, since I don't know if they cache their downloads.

half sequoia
#

Hmmm

#

Well, second time's the charm? haha
brb

knotty phoenix
#

Also sorry this is happening to you. I know it can be frustrating having stuff not work and just wanting to play. I appreciate you being decent during this process... not everyone is ๐Ÿ˜„

half sequoia
#

Hey, shit happens :p
It's frustrating but it wouldn't do anyone any good to be angry about it, especially not towards an indie studio or its community.
If anything I appreciate that you're taking the time to try and help ๐Ÿ™‚

#

That aside, sadly I still couldn't get it to work. I managed to get into the game but it froze my PC this time so ๐Ÿ˜…

Oh well :/ Maybe someone will find a solution to this but I am out of ideas haha

#

Still, thanks for trying ๐Ÿ˜„

knotty phoenix
half sequoia
#

Sure! It didn't crash this time, it just froze so I hope it will contain relevant information

knotty phoenix
#

Okay so I am still seeing a lot more memory usage than should be being used by just a couple of programs, but it did seem to go up a bit - now sitting at around 9gigs instead of 7.

#

Also - Nvidia did have a driver update yesterday that you might want to try out, just in case your issue was being caused by drivers.

#

Also your vulkan runtime version is pretty old as well. Head over here and download the latest version of the runtime installer for windows (should be in the left column of the page) https://vulkan.lunarg.com/sdk/home

half sequoia
#

Unfortunately the driver update didn't fix it either.

When you say the vulkan runtime is old, do you mean the api version being used by the graphics card or the actual runtime?

I am asking because I have downloaded and installed the newest runtime and even the SDK for Vulkan and extra monitoring tools to figure out why my graphics card wasn't using the 1.4 version. Turns out notebook geforce drivers didn't use version 1.4 (until today with the new Nvidia drivers) so I have installed beta drivers which did use [graphics] - api version : 1.4.303 but that also sadly hasn't worked either :/

#

And I want to say that it is okay if you are stumped -- I am too ๐Ÿ˜…

knotty phoenix
#

Okay - can you toss the latest log file in here?

half sequoia
#

Absolutely

#

In the meantime, I'm going to try one more thing. I am seeing the temperatures are really high when the game is open. I don't think they were that high in other games so let me open up my laptop and see if it needs cleaning

knotty phoenix
#

Okay interesting. That log is showing the integrated card being active again, it's also showing a SuperDisplay Virtual Adapter - associated with a software that can use your android as a display (which I didn't notice before). Did that one crash or tell you it couldn't run due to incompatible hardware?

half sequoia
#

Yeah, I've re-enabled the integrated one again, thought it might help with the hard crashes and it did a bit (or maybe its just placebo honestly). Also yeah I am using a new driver for a second screen through my tablet, but I don't think either of these are the culprit since Vulkan does recognize and use the correct GPU (4060).
It was the same crash as before when I had it disabled

half sequoia
#

Interesting. It seems that when the whole computer freezes it might have something to do with multithreading as it's happening due to a CPU spike on all cores (as you can see from the spike).
It could also be system interrupts though so its hard to tell without proper profiling

Maybe there's some kind of multithreading issue that is causing the freezes?

half sequoia
#

Tried disabling all efficiency cores through the BIOS too, though sadly that didn't work either

knotty phoenix
half sequoia
#

Oh damn, hope you're doing alright

#

No worries, I appreciate it ๐Ÿ™‚
I'm just going to keep updating this thread with things I tried if that's alright

knotty phoenix
half sequoia
#

Glad to hear it ๐Ÿ™

half sequoia
#

Looking at the .info file, I see that on every crash I had so far, the callstack seems to be the same --

#

I looked up the NVSDK_NGX_UpdateFeature function and it turns out to be a function from Nvidia's SDK which allows the program to recieve over-the-air updates for certain features like DLSS. Digging a bit deeper it seems that this function must be run from a separate thread. Seeing as it gets called from BaseThreadInitThunk that could explain the crashes

#

Maybe for whatever reason the function fails and just ends up crashing the entire thing

half sequoia
#

Turns out it's not that either. I removed the NGX dll and the issues still occurred.

#

I managed to fix it though!
I had moved the game's installation from my fast NVMe drive to my slower external drive and now the game runs without issues and without freezing my computer or crashing

#

I'm going to have to try stress testing my NVMe ssd because this is super odd. Either that or maybe the game doesn't run well with it for some reason (maybe driver issues?)

#

Either way, thanks for your help! ๐Ÿ™‚

#

It's super weird though since it's a new drive.. I literally bought it less than a year ago and it is mostly unused..

knotty phoenix
half sequoia
#

I did run diagnostics and everything came back very positive. Also the drive is like 10% used xd

knotty phoenix
#

Yeah. not too sure. I am glad you got it working though ๐Ÿ˜„ Even if we may never know why ๐Ÿ˜„