Momentary Stuttering

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
User avatar
Enjay
 
 
Posts: 26835
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Momentary Stuttering

Post by Enjay »

Judging by comments in other threads, I don't think this is unique to me/my system, but I also don't think it's a bug as such.

In recent versions of GZDoom, I have noticed that momentary stuttering/pausing happens as the game is doing *something* in the background. It is my impression that it tends to happen when things are being seen for the first time.

I know that the obvious assumption is that resources are loading (and that could well be the case). However, from discussions I've had on the VkDoom Discord, the stutters/pauses feel very much like the ones that can happen with VkDoom when a shader is being compiled as you come across something using it for the first time. The difference being that, with VkDoom, the stutters/pauses are far more severe (for me anyway). I also understand that GZDoom and VkDoom have different principles behind how they cache their shaders. So, I might be barking up the wrong tree entirely.

The thing is, it's quite a new phenomenon. If I go back a few GZDoom versions, I don't experience the problem. I happen to have g4.8pre-69-g5ca3ab3fc installed and I don't get the same issues with it. So, something has changed.

Like I said, I don't think it's a bug. I'm just putting this out here in case there is someone has any insight or a way of reducing the problem. It's not that severe in GZDoom, but it does sometimes cause quite a "lumpy" performance during the game and it can detract from the experience.
User avatar
Ihavequestions
Posts: 178
Joined: Mon Jul 12, 2021 1:45 pm
Graphics Processor: nVidia with Vulkan support

Re: Momentary Stuttering

Post by Ihavequestions »

I have also been seeing this problem lately, on different PCs.

Another thing I am seeing is a general 'stutterness' when using VRR at very high fps that isn't due to any framerate/frametime issues. The animation simply isn't as fluid as it should be at something like 300-400 fps and Hz. I can definitely say that GZDoom's (and VkDoom's) reported framerate often differs significantly from the monitor's reported refresh rate, as if the monitor wasn't able to keep up with the game for some reason.
User avatar
merlin86
Posts: 146
Joined: Tue Jan 29, 2008 4:02 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11 Pro
Graphics Processor: nVidia with Vulkan support

Re: Momentary Stuttering

Post by merlin86 »

I've noticed the latest Nvidia drivers have some problems, using the December 2024 ones, I am using this profile without stuttering on a RTX 4070 and GZD 4.14
https://i.postimg.cc/dt0fn5fh/immagine.png

on previous drivers versions I've noticed the stuttering disappeared setting the DXGI Swapchain on the presentation setting, now seems the setting does nothing

oh and VSync disabled in GZDoom with a FPS cap at 144 FPS (the same as my monitor's refresh rate)
User avatar
Enjay
 
 
Posts: 26835
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Momentary Stuttering

Post by Enjay »

It could well be a driver-related thing, but there is an element of it that is GZDoom related too. I say that because I do not get the same level of stutters/pauses on loading new resources (or whatever is causing it) with an older version of GZDoom (specifically g4.8pre-69-g5ca3ab3fc which i just happen to still have on my HD), loading the exact same files and using an identical ini.

Whether that's because GZDoom is doing something differently itself, or whether it's because it's asking the driver to do something that it didn't previously (and, if so, the driver is presumably being inefficient) I can't tell.

It's not massively problematic, but it is "lumpy" enough to detract from gameplay a bit.

Return to “Technical Issues”