MinFPS Console Command

Moderator: GZDoom Developers

Post Reply
User avatar
Zenon
Posts: 531
Joined: Thu Apr 20, 2006 6:05 pm
Graphics Processor: nVidia with Vulkan support
Location: New Zealand

MinFPS Console Command

Post by Zenon »

The MinFPS console command would ensure that your frames per second won't go below the number you set it as, automatically optimizing the game as you play it by reducing the number of cosmetic special effects automatically on the fly, or asking you if you'd like to change a setting that is causing performance issues.
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: MinFPS Console Command

Post by wildweasel »

Zenon wrote:The MinFPS console command would ensure that your frames per second won't go below the number you set it as, automatically optimizing the game as you play it by reducing the number of cosmetic special effects automatically on the fly, or asking you if you'd like to change a setting that is causing performance issues.
What I would like to ask, is which "cosmetic" elements can GZDoom be smart enough to disable, and are they actually what's causing the performance issues?
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: MinFPS Console Command

Post by Marisa the Magician »

Sounds like what you want is that one Unreal feature, "MinDesiredFrameRate", which actually requires modders to explicitly handle it through the Level.bDropDetail variable.

I'm not sure if something like that would be deterministic in the first place, too.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: MinFPS Console Command

Post by Graf Zahl »

Sorry, but no. This simply cannot be done.

First, only the map can know which elements can be safely discarded, but not the engine.
Second, if it's the renderer that is causing the slowdown things will get even more tricky because it heavily depends on the hardware what part is getting slow. For some it's geometry throughput, for others it's effects.

As an extreme example, take last year's Cacoward winner Ar Luminae. Aside from being so large that dynamic lights become a problem, its main culprit for the poor performance is - all the waggling tables and stuff in the map! So, how to handle this with a generic heuristic?
User avatar
Zenon
Posts: 531
Joined: Thu Apr 20, 2006 6:05 pm
Graphics Processor: nVidia with Vulkan support
Location: New Zealand

Re: MinFPS Console Command

Post by Zenon »

Marisa Kirisame wrote:Sounds like what you want is that one Unreal feature, "MinDesiredFrameRate", which actually requires modders to explicitly handle it through the Level.bDropDetail variable.
Yeah that.
Graf Zahl wrote:Sorry, but no. This simply cannot be done.
Oh, okay. Thanks anyway
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”