Having low framerate with GZdoom

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.
Post Reply
Plonkett
Posts: 6
Joined: Fri Jun 22, 2018 4:46 pm

Having low framerate with GZdoom

Post by Plonkett »

I just updated GZdoom to its latest version, and now I'm having lower framerate than ever before. It was nowhere near to this level until now. Any way to get better framerate?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Having low framerate with GZdoom

Post by Graf Zahl »

What's your hardware? The latest versions have some known issues with some older hardware, a solution is in the works for the next release.
Plonkett
Posts: 6
Joined: Fri Jun 22, 2018 4:46 pm

Re: Having low framerate with GZdoom

Post by Plonkett »

User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Having low framerate with GZdoom

Post by Graf Zahl »

The important thing is your graphics hardware, especially the OpenGL version.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Having low framerate with GZdoom

Post by wildweasel »

Graf Zahl wrote:The important thing is your graphics hardware, especially the OpenGL version.
Unless OP's installed their own graphics card, that model of HP computer has, at minimum, an ATI Radeon 4200 for integrated graphics (source). But we'd need OP to answer for certain.
Plonkett
Posts: 6
Joined: Fri Jun 22, 2018 4:46 pm

Re: Having low framerate with GZdoom

Post by Plonkett »

Graphics card came with the computer.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Having low framerate with GZdoom

Post by Graf Zahl »

Ok. That card would definitely be slow enough to be negatively affected by the recent change in the renderer. Although it nominally supports OpenGL 3.3, speed wise it is comparable to Intel's integrated GL 2.x chipsets.
Guest

Re: Having low framerate with GZdoom

Post by Guest »

Greetings!

Framerate here also went to shit =(

Running latest GZDoom on Intel HD Graphics (i3 540 - OpenGL 2.1 supported), any workaround for this in the meanwhile?
Guest

Re: Having low framerate with GZdoom

Post by Guest »

Hm... Interesting enough, I'm now messing around with the configurations, and by deactivating a few things (texture filtering, special effects and using Doom rendering), I could get acceptable framerate. But after killing every monster in the level (so that sound effects from demons, gun shots and stuff stop happening), the framerate goes back to shit after a while, and only by producing sound (armor/potion pickup, door opening, etc) gzdoom goes back to normal, and after a while, framerate drops again O.o
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Having low framerate with GZdoom

Post by Graf Zahl »

Can you check a few older versions to see where it started? There was a change to the renderer in 3.4.0 which didn't play well with older hardware, this will be addressed with the next release.
Guest

Re: Having low framerate with GZdoom

Post by Guest »

Ok, the exactly previous version worked wonderfully without any problems. Somehow GZDoom uses sound effects to keep the pace?

Given GZDoom seems to be throttling iItself when there isn't sound effects playing, I went further ahead and restored all settings to default, the application actually plays quite nicely as long as there are sound effects playing (For instance, having the chainsaw selected makes GZdoom to play at constant 60 fps without any drops at all).

Things gets even worse when fluidsynth is selected, maybe loading soundfonts somehow adds extreme overhead to GZDoom? When selecting Microsoft Wavetable, audio seems to work fine, but sometime I experience frame drops.

Finally, using the options from the menu to reset everything to defalt crashes GZDoom O.o

Here it's the Crash Report:
https://bin.smwcentral.net/u/26932/CrashReport.zip
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Having low framerate with GZdoom

Post by Graf Zahl »

If FluidSynth gives you problems with performance your system is simply too weak. Of all the options for MIDI playback it is the one requiring the most CPU power. On old single-core systems this can be enough to affect performance.
User avatar
phantombeta
Posts: 2084
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: Having low framerate with GZdoom

Post by phantombeta »

Doris Pussleville wrote:Ok, the exactly previous version worked wonderfully without any problems. Somehow GZDoom uses sound effects to keep the pace?
It doesn't.
Given GZDoom seems to be throttling iItself when there isn't sound effects playing, I went further ahead and restored all settings to default, the application actually plays quite nicely as long as there are sound effects playing (For instance, having the chainsaw selected makes GZdoom to play at constant 60 fps without any drops at all).
Have you checked if your computer is set to some power saving mode that throttles the CPU?
Guest

Re: Having low framerate with GZdoom

Post by Guest »

[quote]If FluidSynth gives you problems with performance your system is simply too weak.[/quote]

Yeah, that's likely the case. It's just weird that it plays nicely as long as there is sound effects being triggered. As the level gets silent, everything slows down. =(

[quote]Have you checked if your computer is set to some power saving mode that throttles the CPU?[/quote]

Yep, even on BIOS configs I have deactivated any power saving settings such as Speedstep or C# states, definately not a problem from my end in this regard. I've been pretty much using this CPU for months to run intensive tasks like accurate emulators on it. (for instance, higan and mednafen brutally eats CPU power, but I can still keep solid framerate on them with vertical sync on, though admittedly, the CPU literally runs in the limit and a few drops are perceived)

Probably it's just easier to wait for the workaround planned for the next release instead of looking for problems that might simply not exist. =)

Sorry for the condescending statements implying GZdoom throttles itself or that you guys have commited an oversight in this release. =S
I suppose it's easier to believe that rather than to admit the obsoleteness of my hardware :P
Post Reply

Return to “Technical Issues”