PC Alpha 20 Dev Diary

Status
Not open for further replies.
Victor.19 said:
I think this video better illustrates the problem.
There were big changes to block entity LOD culling after that video was made, so the numbers they got are old.

 
There were big changes to block entity LOD culling after that video was made, so the numbers they got are old.
Not to mention he was running a 3080 on 1080p and wondering why there was little difference.  The video is really flawed. well done, but flawed big time. 
 

 
Ok, this is annoying me.

I put a temporary wall around my horde base after horde night to do some repairs so the day's predictable and inevitable 'wandering' horde would not see me.

I did my repairs, then took the wall down.

Now every time I approach from a distance I see the wall appear then disappear around the horde base.  This isn't the first time I've noticed that the distant view implementation seems more able to handle additive changes and less able to cope with subtractive changes.

Any way to force it to update that information to be more current and accurate?  Going on 2 in game weeks now (took far less damage after the upgrade to steel).

 
Last edited by a moderator:
(P.S. I can't live without the parkour perk anymore. I put two points each into sexy rexy and pummel pete, then my next points are all going into getting parkour to level 2. It just makes everything faster what with being able to jump up places or hop fences, and it is VERY handy in a pinch too, if you get cornered by something nasty. One of my top 2 or 3 favorite perks in the game.)
Parkour level 4 is OP, jumping 2M high is just sweet.  /hug AGI

 
Ok, this is annoying me.

I put a temporary wall around my horde base after horde night to do some repairs so the day's predictable and inevitable 'wandering' horde would not see me.

I did my repairs, then took the wall down.

Now every time I approach from a distance I see the wall appear then disappear around the horde base.  This isn't the first time I've noticed that the distant view implementation seems more able to handle additive changes and less able to cope with subtractive changes.

Any way to force it to update that information to be more current and accurate?  Going on 2 in game weeks now (took far less damage after the upgrade to steel).
The default for dynamic mesh changed right before stable. Maybe it's at the new default (LCB) and your horde base doesn't have an LCB? Or maybe you disabled it at some point?

 
palikkamaa said:
I don't get how he got so bad performance on rtx 3080 1080p. I have 2070s /9600k /16gb ram and I'm matching/exceeding his performance at 1440p. 
(Sorry for the late reply - catching up on this thread.)

It's because the game is more CPU bound @ 1080p versus 1440p. This game is heavily CPU bound, and appears to be worse in A20 than A19 (I am having MUCH worse framerate issues in this version versus past versions). I'm sure they'll get to the bottom of the issues, but for right now there are times where the game is unplayable for me, and altering graphical settings has minimal effect because it's not a GPU issue but a CPU issue.

FWIW - I run a 9700k OCed @ 5.0GHz, 32GB of RAM (3200MHz, very tight timings), RTX 3080 (EVGA FTW), and multiple SSDs (OS on an M.2, games off a SATA SSD), running on a 1440p UltraWide G-Sync monitor.

 
..............(P.S. I can't live without the parkour perk anymore. I put two points each into sexy rexy and pummel pete, then my next points are all going into getting parkour to level 2. It just makes everything faster what with being able to jump up places or hop fences, and it is VERY handy in a pinch too, if you get cornered by something nasty. One of my top 2 or 3 favorite perks in the game.)
100% agree. I've never even given this perk a 2nd look until I started watching Guns, Nerds, & Steel.

Now it's a totally useful perk that I too find almost a necessity.

 
The default for dynamic mesh changed right before stable. Maybe it's at the new default (LCB) and your horde base doesn't have an LCB? Or maybe you disabled it at some point?
Checked my settings:

Dynamic Mesh Enabled: Yes

Mesh Distance: 1000

Mesh Quality: yes

Land Claim Only: No

Land Claim Buffer: 3

Max Region Loads: 1

Max Mesh Processing: 3

 
Ok, this is annoying me.

I put a temporary wall around my horde base after horde night to do some repairs so the day's predictable and inevitable 'wandering' horde would not see me.

I did my repairs, then took the wall down.

Now every time I approach from a distance I see the wall appear then disappear around the horde base.  This isn't the first time I've noticed that the distant view implementation seems more able to handle additive changes and less able to cope with subtractive changes.

Any way to force it to update that information to be more current and accurate?  Going on 2 in game weeks now (took far less damage after the upgrade to steel).
I did a quick test and it is easy to reproduce in an unmodded game on Navezgane.

Built a quick little test.

https://steamcommunity.com/sharedfiles/filedetails/?id=2708089678

Moved far away to confirm distant mesh created

https://steamcommunity.com/sharedfiles/filedetails/?id=2708084461

Removed the center structure

https://steamcommunity.com/sharedfiles/filedetails/?id=2708084512

Moved far away and still see center structure

https://steamcommunity.com/sharedfiles/filedetails/?id=2708084587

Still showing 3 buildings as I get closer

https://steamcommunity.com/sharedfiles/filedetails/?id=2708084660

Cross the threshold and the middle one disappears to reflect reality of the game universe

https://steamcommunity.com/sharedfiles/filedetails/?id=2708084695

Take a few steps backward and like magic the removed/destroyed structure re-appears.

https://steamcommunity.com/sharedfiles/filedetails/?id=2708084748

Dynamic Mesh Options

https://steamcommunity.com/sharedfiles/filedetails/?id=2708086979

test structures were built with shape Cube 3x3x1 in a configuration of only 4 per building.

 
Last edited by a moderator:
Been searching for some info the on the structural integrity not recalculating on it's onw bug to no avail. Have  the pimps responded to this and is it being looked into?

 
Blake_ said:
@faatal I've been testing performance like crazy these days and I found out that trees are still a big problem after all these years. They drop my frames a ~25% for every 100 animated trees on view, so there's that (from 81 to 50 fps avg in a normal place with my lowest settings)

-The GPU options in 7dtd are quite good and allow for downgrading all the way down to 4 gigs of total memory( 3.x gigs + garbage collection for a while) in 6k maps which is very nice. Trees are cheap in the distance, but their animations are expensive for the cpu when they are close.

-Is there a way to make an option to make the tree animations OFF-SIMPLE-FULL in order to significantly boost performance on every CPU-bottlenecked system? (Most of them) . And I'm not finished, lol:

-About the occluder: can you make it so the occluder reads the player's location and turns off when the  player is outside POIs (and outside player bases if possible)? That way you will instafix the sneaky " vanishing trees bug " and even increase CPU performance outdoors for us.

More feedback:

The most damaging situation for my PC right now is a 64 entity horde hitting on walls. It drops to 14 fps and averages at 20fps. I can't think of a way to fix that though. I would love to hear your ideas on the subject.

Meshes perform good, the problem is that they don't. I'll be honest: they hit RAM and clog the system hard enough that players are experiencing what I was experiencing in a19 with a single channel 8gig ram and an hdd: instability, HUGE disk writting times and noticeable freezes with ssd too, most noticeable in larger worlds but also frequent in smaller ones. (plz check that if you own a potato) and other distance-related glitches (destroyed structures like a bunch of frames occasionally remaining visible when reentering the area)  that also points to inadecuate memory clearing.

Edit I believe a good Hotfix would be: just reducing the default mesh options for below- medium presets would be ok, aside from mesh options' bugs of course.

Having an opposite thought on that memory clearing.... Precaching more data would be crazy..... wouldn't it be? Can it be done with other things aside from textures, like animations, spawns, block damage or pathing or am I saying nonsense here?  

Thanks for reading. I hope this feedback helps if just a bit.
Trees need optimization work, but the last programmer who tried did not find any good solutions. We have some new programmers coming on that may get tasked with it.

Occlusion needs a tree bug fix, not a hack. POI come in all shapes and sizes.

Zeds banging on nearby blocks could maybe use a delayed/combined mesh update.

Precaching works in some cases, but can be a lot of overhead itself. Animations are already loaded. Block damage is way too dynamic. Individual pathing is threaded and not expensive.

Meshes? You mean dynamic mesh (the far ones)?

Thanks

Been searching for some info the on the structural integrity not recalculating on it's onw bug to no avail. Have  the pimps responded to this and is it being looked into?
There is a bug ticket for it. I will get to it at some point, but am currently working on ground collision bugs (player/zeds falling into, vehicles falling into and getting moved. Turrets falling into may also be related).

 
Trees need optimization work, but the last programmer who tried did not find any good solutions. We have some new programmers coming on that may get tasked with it.

Occlusion needs a tree bug fix, not a hack. POI come in all shapes and sizes.

Zeds banging on nearby blocks could maybe use a delayed/combined mesh update.

Precaching works in some cases, but can be a lot of overhead itself. Animations are already loaded. Block damage is way too dynamic. Individual pathing is threaded and not expensive.

Meshes? You mean dynamic mesh (the far ones)?
Yes. Dynamic meshes.  After further testing, I believe I might be wrong about disk writting. I found out that dynamic meshes generate lots of freezes and frame drops due to bloated garbage collection handling, bottlenecking CPU,  so it actually decreases performance on most systems, it being more significant with few CPU cores and 3ghz or lower (bad news). Better systems just see occasional abnormal drops in fps and micro stutters, common in a20.

About trees: Further testing revealed that shadow size and minimum quality are the real culprits for performance drops. 

Zds also have shadows of significant quality even on lowest (near) setting.

How big of an impact do shadows make? Turn them off and you will see. You can even plant 100 zds and they are stable without sudden drops.

Zds and trees (in lower settings) should have a simpler shadow. Like a simple small circular one at their feet, or a slightly deformed circle. Same for trees, they need simple shadows, light processing ones either bia option or by default. In higher settings, shadow LOD could also do good stuff for fps.

Big oak trees and some others should have their ridiculously ginormous shadow reduced like 10 to 30%, in any option. Eye aberration will make their shadows look ok, as we can't really appreciate the whole area of the tree from most angles anyway.

These shadow hacks should in theory increase performace by around 20% in worse systems, as I'm seing a 50% boost when turning shadows off from just "near" (every other shadow option off) in any part of the world.

A lighter way to process shadows for blocks would be amazing too, but I don't know if that's possible, and simpler hack circles wouldn't work, nor a pregenerated shadow texture due to the voxel nature of the game.

 
Been searching for some info the on the structural integrity not recalculating on it's onw bug to no avail. Have  the pimps responded to this and is it being looked into?


I have a post on this issue with fix instructions back on page 276.  (I added a link.  Use the arrow top right.)




 
Last edited by a moderator:
Khalagar said:
Do you test with AMD equipment as well? With a 5600x cpu and 6900xt GPU I still get pretty rough frame drops sometimes at 1440p, especially in cities. Turning off dynamic mesh etc hasn't helped it for me.
Many of us have AMD CPUs. AMD GPUs is another story. I have a 570 and a really old 5770. I'd have a recent AMD GPU if they weren't hard to find and stupidly expensive.

 
DEATH MECHANIC said:
i didn't think that vulkan was "fully supported" yet, so i just figured that was probably the reason it has issues. i have some log files if you want them to go along with your report

I use Linux as well.
We don't really do anything to support Vulkan other than enable it. Unity does what it does. The only way we improve our Vulkan support, is update Unity, which we only do when we feel a Unity version is at a stable point for us to upgrade and then lock into some bug fix version of that before we release. I've been looking at our next Unity update, with their next LTS probably in 3-4 months, but I can try 2021.2 sooner as the next LTS is just a version of it with bugs fixed.

 
- Reinstalled the game. But I noticed that the game does still know all your game settings, like controls, video and how you want to run your 'server'. For some reason all of this is not removed when you uninstall the game.

- Started the pregen 10k map with a new save.

- Went into dev mode and went to the closest big city and found overlaps within seconds.

So my question was, is everybody having this problem? And if so, I guess this is known bug or am I for some reason the only one?

ps.

I also have sometimes trees disappearing. They are still there because I can't walk in those spots. But I had this problem also in A19.
Game options on Windows are stored in the registry.

I have not seen the overlaps you had in your picture.

Disappearing trees is a bug with occlusion. The tree is there, but it looks like trees can get in the wrong occlusion group or multiple groups.

 
I know I'm about a week late to the party, but what glitches are you running into? i definitely feel like Vulkan is having issues for me at times. I've got the 6700 XT and even at high-ultra it can go through 1 second freezing intervals and I've got artifacts everywhere at times.
AMD and nVidia each have to support Vulkan in their drivers, so one could be having problems while the other does not. It may also vary by GPU model.

 
Status
Not open for further replies.
Back
Top