Huge Building Cause Lag
Is it my system that can't handle the game or it just haven't optimized yet?
I think the game isn't that demanding compare to RDR2 which my system can run it smoothly without any issue, but why this game so laggy when having a huge building or having a lot of stuff nearby even when running in Vulkan.
I got around 70 to 80 FPS at high settings when on open fields, fight a lot of mobs at once, and even when a boss fight that has their own themes which has a lot of small particles effects etc. The lag only happens when I'm at my base which has a lot of crafting stations, furnaces, furniture, building materials like walls, roofs, etc.
Here's my system
i7 10750H 2.6GHz
GTX 1660 Ti 6GB
16GB of dual channel RAM
2TB SSD (where my Steam games located including Valheim)
512GB NVMe
Yes, it is a gaming laptop, not a desktop PC but like I said I can run RDR2, HZD, PUBG, GTA V, etc just fine.
Is it running fine on a high-end gaming laptop or desktop PC? Like the one with RTX 30 series?
I think the game isn't that demanding compare to RDR2 which my system can run it smoothly without any issue, but why this game so laggy when having a huge building or having a lot of stuff nearby even when running in Vulkan.
I got around 70 to 80 FPS at high settings when on open fields, fight a lot of mobs at once, and even when a boss fight that has their own themes which has a lot of small particles effects etc. The lag only happens when I'm at my base which has a lot of crafting stations, furnaces, furniture, building materials like walls, roofs, etc.
Here's my system
i7 10750H 2.6GHz
GTX 1660 Ti 6GB
16GB of dual channel RAM
2TB SSD (where my Steam games located including Valheim)
512GB NVMe
Yes, it is a gaming laptop, not a desktop PC but like I said I can run RDR2, HZD, PUBG, GTA V, etc just fine.
Is it running fine on a high-end gaming laptop or desktop PC? Like the one with RTX 30 series?
11:13 pm, June 11, 2021
Weaver replied to Huge Building Cause Lag June 11, 2021 @ 4:20:01 pm PDT
All building games are this way, only so much can be built in an area before effecting performance.
With normal games, all the background stuff you see, all the buildings, all the landscape, everything you can't really alter, has been combined into one big object. This means its only one item the game has to keep track of. Then each thing that can be altered, be it an item moved or a door opened or closed, or something that can be blown up, are then separate items.
In a game like Valheim, because everything can be altered and changed at any time, all of it has to be tracked as individual pieces. So every single pole, every single fire, every single decoration you place has to be tracked separately. It can't be combined. So instead of tracking dozens or hundreds of active objects, it now has to track thousands or tens of thousands of different objects, these are you "active instances".
So the performance impact isn't about Graphics, but about the processing needed to actively track all those items in your area.
You can use F2 to view your active instance count. Around 15k is when some people start having performance impact, lower/higher depending on the individual system.
Optimization of the game will only improve this so much, there will always be limits as the game has to track ever single item that is actively loaded.
Note that higher overhead demand items will cause more of a performance hit, such as dynamic light sources and those that can generate smoke.
Lots of little buildings nearby won't be better than a large one if they are in the same area, as they are still all active instances at the same time.
You can however build different bases a distance from each other so they aren't loaded in at the same time just fine.
Note terrain alterations have to be kept track of as well and those up your active instance count in an area as well, just like building. Basically any changes from the default state of the world.
Just keep an eye on your FPS and your active instance count to get an idea of what the upper limit is for your system.
With normal games, all the background stuff you see, all the buildings, all the landscape, everything you can't really alter, has been combined into one big object. This means its only one item the game has to keep track of. Then each thing that can be altered, be it an item moved or a door opened or closed, or something that can be blown up, are then separate items.
In a game like Valheim, because everything can be altered and changed at any time, all of it has to be tracked as individual pieces. So every single pole, every single fire, every single decoration you place has to be tracked separately. It can't be combined. So instead of tracking dozens or hundreds of active objects, it now has to track thousands or tens of thousands of different objects, these are you "active instances".
So the performance impact isn't about Graphics, but about the processing needed to actively track all those items in your area.
You can use F2 to view your active instance count. Around 15k is when some people start having performance impact, lower/higher depending on the individual system.
Optimization of the game will only improve this so much, there will always be limits as the game has to track ever single item that is actively loaded.
Note that higher overhead demand items will cause more of a performance hit, such as dynamic light sources and those that can generate smoke.
Lots of little buildings nearby won't be better than a large one if they are in the same area, as they are still all active instances at the same time.
You can however build different bases a distance from each other so they aren't loaded in at the same time just fine.
Note terrain alterations have to be kept track of as well and those up your active instance count in an area as well, just like building. Basically any changes from the default state of the world.
Just keep an eye on your FPS and your active instance count to get an idea of what the upper limit is for your system.
2:13 am, June 12, 2021
0 comments
0 likes
98 Owls replied to Huge Building Cause Lag June 11, 2021 @ 4:51:59 pm PDT
- but why this game so laggy when having a huge building or having a lot of stuff nearby even when running in Vulkan. -
- So every single pole, every single fire, every single decoration you place has to be tracked separately. It can't be combined. So instead of tracking dozens or hundreds of active objects, it now has to track thousands or tens of thousands of different objects, these are you "active instances".
---
Lots of little buildings nearby won't be better than a large one if they are in the same area, as they are still all active instances at the same time. -
Even if your buildings are loaded at the same time, having them smaller and disconnected should, at least in theory, improve performance. The game is constantly checking if each individual piece of the building is stable. Smaller and disconnected buildings make those calculations easier.
2:13 am, June 12, 2021
0 comments
0 likes
PsychaChi replied to Huge Building Cause Lag June 11, 2021 @ 3:29:01 pm PDT
Systems with 3090's have the same issues as well. Dont worry its not your system and dont let anyone tell you it is.
The game right now hasn't had any big optimizations yet and wont for a little while. So build small and thin for now if you want more frames. Like 1 house with all the crafting things you need and make another building a bit far away for anything else. Spread your stuff apart for the best results.
The game right now hasn't had any big optimizations yet and wont for a little while. So build small and thin for now if you want more frames. Like 1 house with all the crafting things you need and make another building a bit far away for anything else. Spread your stuff apart for the best results.
11:13 pm, June 11, 2021
0 comments
0 likes
Esos replied to Huge Building Cause Lag June 11, 2021 @ 3:32:29 pm PDT
Glad to hear that, thanks! Systems with 3090's have the same issues as well. Dont worry its not your system and dont let anyone tell you it is.
The game right now hasn't had any big optimizations yet and wont for a little while. So build small and thin for now if you want more frames. Like 1 house with all the crafting things you need and make another building a bit far away for anything else. Spread your stuff apart for the best results.
That's a great idea to build a small building separated from one another, I'll try this later.
11:13 pm, June 11, 2021
0 comments
0 likes