Jump to content

SOLVED: Gzdoom stuttering and lag spikes?


Recommended Posts

Posted (edited)

I’ve never had this issue until about a few days ago. Even playing vanilla gzdoom becomes choppy and framerate drops when doing anything or having more than a few enemies nearby at once. At its worst the game has micro lag spikes every 3 seconds. 
 

My laptop has an Intel I7-12700H and an RTX 4060. Performance hasn’t changed at all in any other games, it’s not a hardware issue. Graphics drivers are up to date. I was getting capped frame rates pretty much constantly on heavily modded playthroughs until recently and haven’t been able to get that performance back since, despite nothing about my settings seeming to have changed. 
 

Anyone else have these issues? I seriously can’t find any explanation for what is happening and nothing I’ve read up on so far has worked. 
 

EDIT: after quite a bit of testing LuciferSam86’s suggestion seems to have worked. Even on heavily modded builds the framerate is stable. 
 

Thank you LuciferSam86 and everyone else who helped me figure this out. 

Edited by Bowerranger444

Share this post


Link to post

R7 5700X, RTX 3060 12GB, 32GB RAM user here. It happens to me either since v4.11 so I rolled back to 4.10, must be a lot of bugs they obtained when added code from so many developers and while 4.12 required Win 10 and could work through kernelx, 4.12.3 restored support for Win7. I know it's 2024 and Win7 is almost a garbage but how about so many great games of the 00s flying like rockets and looking slick and requiring hardware that can be found in dumpster. A fact that it's optimized and runs thousands of FPS would warm my heart so much.

 

The problem is nobody except the actual developers who make commercial games based of GZDoom support the team financialy as there's too much work to be done for free and not burn out. I think it's a matter of time for them to catch and fix it, some zscript games like blade of agony not working too currently too. It's not the best optimizied engine out there tbh but it has features I need, otherwise I'd prefer to support a project like lzdoom but made to be compatible with Windows XP, run via DirectX9, have a couple of shaders so that we wouldn't need any others on the top of it, some optimized actor behavior or a good optimizing script + that mesh constructor optimization instead of BSP to run any maps crazily fast like Helion but it's easier said than to be done unfortunately.

Share this post


Link to post
Posted (edited)

I fixed the stuttering problems with my 4070 and my 5900x CPU.

First, use the Vulkan renderer, it helps. Consider OpenGL "deprecated" especially with a 4060.

Then update your Nvidia drivers and stay on that version, sometimes, some Nvidia drivers release sucks (for me was like December 2023 version had problems, April 2024 is good)

 

Then on your Nvidia control panel make a profile for GZDoom enabling:

- GSync if your monitor supports it (mine is GSync compatible)

- Vulkan/OpenGL present method: Prefer layered on DXGI swapchain

- Low latency mode: On

- Power management mode: prefer maximum performance ( this one looks important)

- Monitor technology: G-SYNC compatible (for this one you must have a G-SYNC or a G-SYNC compatible monitor)

- Vertical sync: fast

 

for me, this helped me a lot, and right now I can play with GZdoom 4.12.2 or the GIT version without problems

Edited by LuciferSam86

Share this post


Link to post
On 5/25/2024 at 12:52 PM, Bowerranger444 said:

I’ve never had this issue until about a few days ago. Even playing vanilla gzdoom becomes choppy and framerate drops when doing anything or having more than a few enemies nearby at once. At its worst the game has micro lag spikes every 3 seconds. 
 

My laptop has an Intel I7-12700H and an RTX 4060. Performance hasn’t changed at all in any other games, it’s not a hardware issue. Graphics drivers are up to date. I was getting capped frame rates pretty much constantly on heavily modded playthroughs until recently and haven’t been able to get that performance back since, despite nothing about my settings seeming to have changed. 
 

Anyone else have these issues? I seriously can’t find any explanation for what is happening and nothing I’ve read up on so far has worked. 

Laptop, Intel and Nvidia card?

 

Check if Nvidia Optimus is enabled and if its not running on the Intel IGP instead of your dedicated GPU.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...