Jump to content

Multithreading: Flipping between F10 and F1 Causing intense, and lasting screen-tearing in VR


Magic Zach

Recommended Posts

I had the same issue, so I created this mod to fix it. I believe its caused by the hangar scene loading in background on the F10 map. Which seems to cause some memory leaks after switching forth and back. Disabling this scene fixed the issue for me.

https://www.digitalcombatsimulator.com/en/files/3319867/

  • Thanks 1

DCS Web Editor - New 3D Mission Editor for DCS that runs in your browser

DCS Web Viewer free browser based mission planner / viewer

dcs web editor new(2).png
4090 RTX, 13700KF, water cooled

Link to comment
Share on other sites

  • 2 weeks later...

I have the same problem, but I dont play in VR, I use a track ir and a screen. Sometimes (not each time), after using the F10 map, when I press F1 I have a black screen during sometimes 10-20-30 seconds... If I am not with autopilot on, my planes is crashed on the ground when the screen come back. I have only this problem with the MT, and it appears on any server, like our private dedicated server with only a few players.
I have a RTX 3080, 64 gb ddr5 RAM, i712700KF.


Edited by Schwarzy
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
On 8/30/2023 at 12:50 AM, winghunter said:

I had the same issue, so I created this mod to fix it. I believe its caused by the hangar scene loading in background on the F10 map. Which seems to cause some memory leaks after switching forth and back. Disabling this scene fixed the issue for me.

https://www.digitalcombatsimulator.com/en/files/3319867/

Ah this might explain why I've not run into it. Been using the mod for over a year now, definitely recommend it.

  • Like 1
Link to comment
Share on other sites

15 hours ago, Trison said:

so do i have to install that into every aircraft?

Nope, it's universal. Gets rid of the hanger background with a plane in it when bringing up F10 and switches it with a blank/black screen background.


Edited by MoleUK
Link to comment
Share on other sites

I've just started getting the same thing but so far only with the f-16 on the Syria map over Cyprus (twice now) and f-14 over Marianas (three times). I've had to restart DCS to get rid of the massive decrease in frame rate. I was running msi just now and it recorded a massive increase in VID usage at the time it happened. From about 30% to 100%. I'm wondering if mine is being caused by an unstable GPU overclock. Maybe I should back off a little. 

 

Screenshot 2023-09-21 200802.png


Edited by Qcumber

5800x3drtx407064Gb 3200: 1Tb NVME: Pico 4: Rift S: Quest Pro

Link to comment
Share on other sites

alutations to all
I also noticed a problem of massive loss of fps after using the F 10 key and returning to F 1 with the F15E on all cards my fps goes from 60 to 16/20 fps and I am forced to stop my mission because this do not change.
the change is made and everything returns to normal by starting my mission again and above all no longer touching the F10 key;
Will ED fix this?🤔

Bien sur tout ca se passe qu en MT pour ma part.

Link to comment
Share on other sites

Hi! I wanted to share a very useful discovery that at least in my setup, helps me fix the F10-map-related FPS drops when they happen. This doesn't prevent the FPS from dropping when using the map, but fixes it when that happens.

 

Most of you are probably already aware that doing alt-tab can get your original FPS back, but it's unreliable at best, and sometimes it just won't fix it at all no matter how many times you do it. Well, I think I found out why: even if you alt-tab, if any screen (including the VR headset) is showing any pixels from DCS, there's a high chance the drop in FPS isn't fixed. So you have to make sure absolutely no screen is showing any part of the game at all, including the VR headset if you are using one, to get your FPS back reliably.

In my case, that means doing two steps:

1) Alt-tabbing to another full screen app. Not just any app, but a full screen one. I just use a cmd.exe window in full screen mode with F11, which I always have opened anyway when flying because of some home made scripts I use for a button box.

2) Switching to the desktop mode of Virtual Desktop (which I use for the VR headset), getting out of VR mode, so DCS isn't rendered in the headset anymore. In the case of VD, you can do that with a VR controller or with the Shift+Windows+D keyboard shortcut (while DCS isn't in focus, otherwise DCS "eats" the key presses. But after step 1 DCS is already out of focus, yay).

Those two steps guarantee that no screen, desktop or VR headset, is trying to show any pixels from DCS at all. And that seems to do the trick, I get my high FPSs back every time when doing this, 100% reliable in my case at least. Hope that's the case for others as well!

Link to comment
Share on other sites

This problem is recursively. Not only occurs in F10 map but in "standard" game too. I have constants 70-72 fps normally but when this behavior occurs, the frames goes down to 30-40 and the the game goes unresponsible. Sometimes alt-tab works (sometimes are seconds, sometimes you have to wait one or two minutes,...) but clearly was a problem in dcs engine.

 

Link to comment
Share on other sites

This has been happening to me as well and at first I thought it was just issues brought on by running very close to the limits of my previous CPU and GPU in multiplayer servers. It would mostly show up in the 14 and 15E, especially after switching between the F10 map and cockpit or opening the jester menu. However, I upgraded my system to a 7800X3D with 64GB of ram this past week and I unfortunately am seeing the same issues, especially on the 14. I have turned off ASW in the Oculus Debug Tool and tried the Ctrl+Num 1 method that was posted here to no avail. When looking at the frame times in OpenXR Tool kit I'm consistently under 13ms combined CPU and GPU latency so I should be able to maintain a solid 72fps without tearing. I'd be glad to provide any other info needed to replicate.

Operation_Scarlet_Dawn-20231002-015020.trk

Current system: AMD Ryzen 7800X3D | ASUS TUF Nvidia RTX 4080 16GB | G.Skill 64GB Trident Z Neo DDR5 6000mHz | Quest Pro
Matrix: @seven10:matrix.jointspecialforces.org

 

Link to comment
Share on other sites

Upon recommendation of the DCS Discord I tried ST tonight in MP and did not have the issue, however I did bump up against CPU limits down low. I can post the server tracks if they'd be helpful, but where should I put them since they're over 100MB each?

Current system: AMD Ryzen 7800X3D | ASUS TUF Nvidia RTX 4080 16GB | G.Skill 64GB Trident Z Neo DDR5 6000mHz | Quest Pro
Matrix: @seven10:matrix.jointspecialforces.org

 

Link to comment
Share on other sites

I've been facing this issue since Feb 2023. Sometimes after flying for a few minutes, when I press F2, my FPS drastically drops. Seems the CPU frame time for "Present" is spiking in F2 and GPU usage spikes to 100%. If I switch to F1 view, I get normal, stable FPS.

a.png?ex=651e3752&is=651ce5d2&hm=8c3e336

b.png?ex=651e3752&is=651ce5d2&hm=7750aca

A few observations:

  • The issue occurs in both ST and MT
  • FPS drops + 100% GPU usage whenever I switch to F2/F6/F10 views AFTER a random duration. Initially there is no issue switching views
  • Normal FPS + normal GPU usage when returning to F1 view
  • Happens no matter the graphic settings. Have tried with Low/Med/High presets, always occurs
  • Not a VRAM issue: tried with low textures and monitored VRAM usage in MSI Afterburner, happens even with VRAM <90% full
  • Not a e-core issue: I have a 12400 with no e-cores
  • I've tried with a clean copy of DCS with no mods/scripts. Still occurs.
  • The moment it starts to occur is random: I've tested with the same mission/campaign. Sometimes the issue occurs, sometimes it doesn't

Attached below is the ST log from today.

dcs.log DxDiag.txt


Edited by niru27
Link to comment
Share on other sites

@niru27 Your "Saved Games" folder is stored on a HDD. You should definitely move it to another, faster drive. Also, your system drive is almost full (17 GB left when your DxDiag log was made).

However, the F10>F1 freeze problem does not seem to be caused by a slow drive, since @seven10 stored his Saved Games folder, his Temp folder and his core DCS files on a NVMe drive.

A friend of mine is affected. I've tried to reproduce this issue on a server we were playing on, but my PC is fine (even though I'm affected by the long texture loading time symptom in MP). I'll try to mimic the NVCP + DCS settings above and see if it makes any difference.

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

hace 2 horas, xmudroller dijo:

Did you guys check your Virtual memory, I put at least 16.000gb on my, And it runs very smooth i also used smart game booster.

I have 32gb of RAM and i verify that Windows assigns 12gb more in virtual memory (automatic settings) i doubt that the problem was related to virtual memory, but i try it.

Link to comment
Share on other sites

On 10/6/2023 at 5:12 PM, Flappie said:

@seven10Can you please share your NVCP "Image scaling" global setting? It's not shown in your screenshot (only says "Use global setting").

 

Sure, here you go

Screenshot 2023-10-08 134720.png

On 10/7/2023 at 1:19 AM, xmudroller said:

Did you guys check your Virtual memory, I put at least 16.000gb on my, And it runs very smooth i also used smart game booster.

Yep, I've tried 32GB, 64GB, and system managed all with no change to this issue. Unfortunately the only thing that seems to work for making things run smooth between multiple F10 to F1 switches is to use the non-MT exe.

Current system: AMD Ryzen 7800X3D | ASUS TUF Nvidia RTX 4080 16GB | G.Skill 64GB Trident Z Neo DDR5 6000mHz | Quest Pro
Matrix: @seven10:matrix.jointspecialforces.org

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...