Jump to content

DCS crashing repeateadly.


Recommended Posts

I'm experiencing repeated crashes with

2021-01-07 21:30:18.619 ERROR   DX11BACKEND: failed to create structed buffer. Reason: E_OUTOFMEMORY
2021-01-07 21:30:18.619 ERROR   DX11BACKEND: CreateShaderResourceView FAILED. Reason: E_INVALIDARG

I'm on a not-overclocked 5950x, using a G1, and a non-overclocked MSI 3090. Current OS, drivers and DCS openbeta.

Logs attached, and an gpu-z log as well, that shows memory usage growth.

Windows is a fresh install (Sunday, 3rd Jan).

 

Help appreciated.

 

gpuz_log2020g.7z

dcs.7z dcs.log.old.7z

VR, i9, Winwing, TM and VKB.

Link to post
Share on other sites

Hi seeing a few issues. 

 

first NET: Failed to decode network.vault: either hardware ID or OS username are different. Saved login data will be reset.

 

It maybe worth renaming your dcs folder in saved games, create a backup, then restart DCS login, and redo settings. 

 

Also ensure you have removed your unofficial mods, some of them are creating errors.

 

then run a full cleanup and repair of dcs

 

ensure windows and your display driver are also up to date. 

 

let us know if it helps, if not please attach your fresh dcs log

 

thank you

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 10 Pro x64, NVIDIA MSI RTX 2080Ti VENTUS GP, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 32GB DDR @3000, ASUS ROG Strix Z490-F Gaming, HP Reverb G2

Link to post
Share on other sites

Hi ags. It seems DCS had write permission issues during the crash. This associated with the memory issue the firs time makes me think of a storage/pagefile issue.

 

2021-01-08 00:58:44.511 INFO    EDCORE: CreateFile failed. Error: 32 
2021-01-08 00:58:44.512 INFO    EDCORE: CreateFile failed. Error: 32 
2021-01-08 00:58:44.513 INFO    EDCORE: MiniDumpWriteDump failed. Error: 2147943855 
2021-01-08 00:58:44.773 ERROR   VFS: VFS_open_write: CreateFile(C:\Users\ags\Saved Games\DCS.openbeta\Tracks\Multiplayer\Gildiansky_Range_v1_7_3_lite-20210107-233947.trk): The process cannot access the file because it is being used by another process.
2021-01-08 00:58:44.774 ERROR   VFS: VFS_open_write: CreateFile(C:\Users\ags\Saved Games\DCS.openbeta\Logs\dcs.log-20210108-005843.zip): The process cannot access the file because it is being used by another process.
2021-01-08 00:58:44.774 ERROR   DCS: can not create zip 'C:\Users\ags\Saved Games\DCS.openbeta\Logs\dcs.log-20210108-005843.zip'

 

Please send the result of this command (open the "cmd" utility and run the command into it) :

wmic pagefile list /format:list

Also please attach your dxdiag log. Here's how to obtain one.

 


Edited by Flappie
Link to post
Share on other sites
  • 2 weeks later...
C:\Users\ags>wmic pagefile list /format:list


AllocatedBaseSize=32768
CurrentUsage=227
Description=C:\pagefile.sys
InstallDate=20210108133840.734843+000
Name=C:\pagefile.sys
PeakUsage=1476
Status=
TempPageFile=FALSE

 

And dxdiag is attached.

VRAM usage still keeps climbing.

image.png

 

DxDiag.7z


Edited by ags
added chart

VR, i9, Winwing, TM and VKB.

Link to post
Share on other sites

Thank you.

I see you have a 32 GB pagefile stored on an NVMe disk, which has 550 GB of free space, and DCS is stored on that same disk: there shouldn't be any bad file access timings.

 

I'm still trying to figure out what caused the file access error messages. Maybe it's something with your antivirus. Please add these folders as exceptions in your antivirus:

  • C:\Users\your-name\Saved Games\DCS.openbeta
  • C:\dcsOpenBeta\
Link to post
Share on other sites

OK.

I see in your dcs.log DCS only detects 8 GB of pagefile. Please try manually setting your pagefile size:

  • initial size: 32768 (32 GB)
  • max size: 65536 (64 GB)

Now, your dcs.log file should always show at least a 32 GB pagefile. If DCS keeps crashing after this, it won't be because of a lack of memory (except if it's a hardware RAM issue of course).

Link to post
Share on other sites

0. First dcs.log correctly picks up an 8GB pagefile, this has been increased to 32GB.

1. Running long-lasting tests for CPU, memory, and ovearall stress is something I have already done, no faults.

I’ve increased amount of pagefile since the original post, it is now set at 32GB permanenty - what would you expect to change if dynamic sizing would be allowed?
I’ll start logging these values from other software then.

To my eye, which lacks insight into DCS under the hood, scenario to trigger an overflow is rather simple - fly in a vanilla (as in, no mods) multiplayer server, keep shooting at things, die multiple times. DCS crash ensues.

 

I so far hold my opinion DCS is too aggressive in how VRAM is being used, and releasing this resource is not happening as expected.

 

As a sidenote, log sometimes mentions polygon gc cycles going into 10s of ms. I’d say this is „long”, and should be faster, or ceased after a smaller threshold value.

VR, i9, Winwing, TM and VKB.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...