Valheim
Kharol 2023년 1월 1일 오후 4시 49분
Deep freeze/stutter at a couple of minutes with high end hardware
Hi guys; I and a couple of friends came back to Valheim after a long break due to a lack of content. As always I've configured my dedicated server, so all me and my friends we're running version 0.212.9.
Each 5-10min I get a deep stutter like a 500-1500ms hiccup in framerate, which is really annoying. Does anyone else experience this?

My system is on the high-end side (5800X3D, 32gram, RTX4080) and I'm running the latest drivers win11 etc, and I don't experience this issue on any other game.
< >
전체 댓글 12개 중 1~12개 표시 중
Tsukada 2023년 1월 1일 오후 5시 09분 
I get the same thing and it's rather annoying.
FissionChips 2023년 1월 1일 오후 8시 02분 
Same, solo. Started with the Mistlands update. Still no idea if the devs know or care.
Saku 2023년 1월 2일 오후 12시 43분 
I get the same issue, happens with normal launch and vulkan launch option, also on a new empty world walking in same small area every 5min. Since Mistlands was added. Everybody i talked to that plays the game has the same issue since Mistlands, also ppl who play on linux with both vulkan and opengl. I also see it in every single twitch/youtube stream/video/vod since Mistlands was added, 2-5 seconds full freeze of client every couple of minutes. Windows10, 11, amd and nvidia, Linux, every version/client hardware sofar seems to have the same issue.
Saku 님이 마지막으로 수정; 2023년 1월 2일 오후 12시 48분
Saku 2023년 1월 2일 오후 2시 13분 
Seems to be every 10 minutes on our clients now that we timed it; it's not the server auto save, that's every 30 minutes or morning/sleep
Dumbell Dore 2023년 1월 2일 오후 11시 38분 
Same here. Really weird stutters on spawn. Try to get started. Punched one tree, game then crashes. Such a shame, this game was great back in the day but if this is how it performs now then it's had its run
Saku 2023년 1월 3일 오전 11시 22분 
I've never had a crash in the 200+ hours i got in it. Playing on W10 1080ti 64gb some i7 cpu
Still hitting the max 60fps, base still small and no tames helps, but i did mass terrain changes now.
The 2-3 second freezes every 10min have been there since Day 1 already though.
What process was changed with Mistlands that runs every 10 minutes? Respawns? Is the entire server getting updated every 10mins where before just the tiny part of the map you have rendered/loaded?
mega 2023년 1월 3일 오전 11시 32분 
It's just a guess but is it possible that the game is running garbage collection every few minutes? Valheim, as an open-world Unity game, is dependent on Mono which is a language quite like Java. Java has garbage collection that the developer can call whenever they want, which is a memory-saving function. It works by deallocating memory that is no longer in use. As this is a time-consuming process(it must look for and collect a list of unused variables and other things) it could potentially introduce a performance hit while it's running(which is obviously counter-intuitive). As Valheim has no obvious pause time(other than sleeping, which isn't mandatory) it must be run on a schedule. Other games could run this garbage collection on a loading screen between levels, for example.

Of course I'm just speculating here. I think that a garbage collection schedule should run in its own worker thread so as to not hinder gameplay but that might not be viable as the list of unused variables might be changing all the time, requiring the game to pause while the garbage collector runs.
mega 님이 마지막으로 수정; 2023년 1월 3일 오전 11시 36분
FissionChips 2023년 1월 3일 오전 11시 40분 
That's a good explanation, and a likely culprit since Mistlands apparently came with RAM and asset optimisations.

I wonder why they're not running this as part of world save, which already lags anyway and comes with a warning?
mega 2023년 1월 3일 오전 11시 50분 
I mean, really I wish it would just run the GC when memory is running out. I would happily allow Valheim to allocate up to 24 of my PC's 32GB of RAM although that would be absurd.
FissionChips 2023년 1월 3일 오전 11시 59분 
Yip. Introducing a penalty to everyone because they wanted to port this to handhold consoles to... I guess squeeze more profits. Not cool.
eladswerdna 2023년 1월 4일 오후 12시 51분 
Same thing here. What I am experiencing is not save lag, it is frame freeze - it happens every few minutes and it sometimes gets me killed. It can happen in my base or even in the open world, especially mistlands.
vc quer uma máquina minha? 2023년 1월 4일 오후 7시 39분 
Same here.
< >
전체 댓글 12개 중 1~12개 표시 중
페이지당 표시 개수: 1530 50

게시된 날짜: 2023년 1월 1일 오후 4시 49분
게시글: 12