bradharding / doomretro

The classic, refined DOOM source port. For Windows PC.
https://www.doomretro.com
GNU General Public License v3.0
698 stars 88 forks source link

Performance issue: Intermittent stuttering spikes #752

Open RavenMacDaddy opened 2 years ago

RavenMacDaddy commented 2 years ago

Is there any way to produce a log that would help you get to the bottom of the cause?

Things to note:

Although, thanks to the specs below, this doesn't mean that any resources are tanked (e.g., the GPU is running at like 35% utilization tops) which would otherwise be a likely reason to why the issue is occurring.

For reference, the FPS is usually between 600-1100.

Specs

GPU: GeForce GTX 1080 CPU: AMD Ryzen 5 3600 @ 4.2 GHz RAM: 32 GB DDR4 3000 MHz Storage: Samsung 970 EVO Plus 500 GB NVMe PCIe 3.0 SSD (where both DOOM Retro and the WADs are being read from)

bradharding commented 2 years ago

Could you please confirm a few things? Does it happen in both OpenGL and Direct3D (see the vid_scaleapi CVAR)? If you switch to vanilla mode do you still experience the stutter? Any stutter if you go full widescreen without the HUD?

RavenMacDaddy commented 2 years ago

Simply changing to Direct3D as the scaling API stopped any noticeable stuttering, so something weird is going on with OpenGL.