Page MenuHomeFeedback Tracker

Dayz laggy at high view distance and trees pop in-out (View Distance Lag)
Need More Info, NormalPublic

Description

About 2-3 patches ago this was never an issue, I could easily use 10000 view distance without major stuttering.
Now when I try to turn my object view distance over 1500, the game starts lagging and trees start popping in-out.
Even after resetting the view distance, my game still continues to lag for sometimes up to a minute.

A demonstration of the issue:

  • I increase view distance until the game gets buggy
  • I reduce view distance to minimum (~500)
  • Game still lags
  • After a while laggging stops

Details

Severity
Major
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
  1. Set view distance and object view distance 5000 (or higher)
  2. FPS goes low and game starts lagging
  3. lower view distance
  4. game still lags for like a minute
  5. fps returns to expected levels
Additional Information

Windows 10
CPU:AMD 5600x
GPU:Nvidia 2080
Storage:m.2 SSD 1000gb
Ram:32 gb 3400mhz

This never happened before, about 2-3 patches ago it was fine, but now this lag keeps happening.
I can play other games just fine, such as Arma Reforger or Apex legends.
I updated my drivers and the issue still exists.

This is modded dayz, but the same mod did not cause this issue before.

Event Timeline

Geez changed the task status from New to Assigned.Jun 1 2022, 2:59 PM
Geez changed the task status from Assigned to Need More Info.Jun 1 2022, 6:25 PM
Geez added a subscriber: Geez.

Hello GlutenFreeVapes.
Can you please let us know which mod you are using to do this?
Regards,
Geez

Using my own mod, using the following command to change view distance, you can use the debug console in the workbench to execute the view distance
The command for view distance:

// example 5000 view dsitance)
GetGame().GetWorld().SetViewDistance(5000);
GetGame().GetWorld().SetObjectViewDistance(5000);
Moonny added a subscriber: Moonny.Jun 4 2022, 2:37 PM

You may want to use PreferredViewDistance method before this two (keep it to the same distance). I've got some crashes without doing so.

You may want to use PreferredViewDistance method before this two (keep it to the same distance). I've got some crashes without doing so.

I tried this command and the problem persists.