Jump to content

SSE FPS Stabilizer (by Shizof)


DoubleYou

Recommended Posts

After much testing, I have discovered that a large portion of the tweaks I have in the config are NOT being applied to the game dynamically. It appears that the author has to add support for some new settings for them to work correctly. This includes the shadow tweaks and the LODFadeOutMult tweaks. You can't verify by pinging the console unfortunately. 

On the bright side, much of this is planned, and there is a new AE version.

Link to comment
Share on other sites

On 11/15/2021 at 2:37 PM, DoubleYou said:

After much testing, I have discovered that a large portion of the tweaks I have in the config are NOT being applied to the game dynamically. It appears that the author has to add support for some new settings for them to work correctly. This includes the shadow tweaks and the LODFadeOutMult tweaks. You can't verify by pinging the console unfortunately. 

On the bright side, much of this is planned, and there is a new AE version.

Is your test file in the OP updated accordingly, or are you keeping that as is and awaiting updates to the mod?

My gut tells me that your 1/100 FPS threshold value is overkill. First, I'm not sure if partial frames are even detectable. Second, if it is detectable, then this mod will be changing values (or trying to) multiple times per second and potentially waste resources. Same goes for the other timers: you are setting things so that changes will be made multiple times per second, potentially.

Link to comment
Share on other sites

  • 3 months later...

I vote to accept this one. It really helps even if settings are sub-optimally limited at this time. Following is a perfect config for my system and arguably a 'good config for others that basically hit 50 FPS about half of the time without this mod active.

Here's how I use all of the mods with INIs that I customize. This way, I am not fussing about too much when I update the mod:

image.png

Here is my "(CONFIG) SSE FPS Stabilizer" file content: 

Spoiler

################################################################################################
# This is the config file for SSE Fps Stabilizer mod - Bethini high to bethini low by pytheian
#
#
# # ->This is the comment character.
#
################################################################################################
[Settings]
EnableLog = 0						#This prints the current config change action in the log file. May be used for testing if the config setting is applied. Config file is located at: "My Documents\My Games\Skyrim Special Edition\SKSE\SSEFpsStabilizerPlugin.log"

FPSStabilizerEnabled = 1			#Set this to 0 if you only want to use console feature of this mod.

TargetFps = 52						#This is the target fps we are trying to achieve. Decimal value.

FPSChangeThreshold = 1				#This is the fps change required for checking if a different level setting is more suitable. Decimal value.

LevelChangeBackUpWait = 3			#This is the duration in terms of seconds to wait before changing the level back up.
LevelChangeBackDownWait = 3		    #This is the duration in terms of seconds to wait before changing the level back down.
LevelChangeBackUpAngle = 45			#This is the player heading angle change required in degrees to change the level back down.

# Enter lines to be run on console in this area
[DataLoaded]    #Runs after the game opened and menu is loaded
#taa hf 0.100000
#taa ps 1.000000
#taa po 0.675000

[PostLoadGame]  #Runs after a saved game is loaded


###################################################################
# Enter the ini setting under each level from best to worst.
 
[PostLoadGame]  #Runs after a saved game is loaded
setgs fBumpReactionSmallDelayTime 0.5
setgs fBumpReactionSmallWaitTimer 0.5
setgs fBumpReactionMinMoveDist 150
setgs fBumpReactionIdealMoveDist 250
setgs iArrowInventoryChance 50
setgs fAIMinGreetingDistance 60
setgs fArrowSpeedMult 2100
setgs iCrimeAlarmRecDistance 1800
setgs fFastTravelSpeedMult 3.4
setgs fCombatDodgeChanceMax 0.75
set timescale to 15

###################################################################
# Enter the ini setting under each level from best to worst.

[Level0] #Config settings for good fps (Fps is above TargetFps)
fBlockLevel0Distance:TerrainManager=53248
fBlockLevel1Distance:TerrainManager=159744
fShadowDistance:Display=10860
iShadowMapResolution:Display=8192
fPoissonRadiusScale:Display=1
fFirstSliceDistance:Display=5430
fMeshLODLevel1FadeDist:Display=16384
fMeshLODLevel2FadeDist:Display=20272
fMeshLODLevel1FadeTreeDistance:Display=16384
fMeshLODLevel1FadeTreeDistance:Display=20272
fTreesMidLODSwitchDist:Display=20272
fLightLODStartFade:Display=6144
fLightLODRange:Display=57568
fLODFadeOutMultActors:LOD=15
fLODFadeOutMultItems:LOD=6
fLODFadeOutMultObjects:LOD=30
fDecalLODFadeStart:LightingShader=1.0
fDecalLODFadeEnd:LightingShader=1.0
fEnvmapLODFadeStart:LightingShader=1.0
fEnvmapLODFadeEnd:LightingShader=1.0

[Level1] #Config settings for just a little worse fps
fBlockLevel0Distance:TerrainManager=53248
fBlockLevel1Distance:TerrainManager=159744
fShadowDistance:Display=8145
iShadowMapResolution:Display=4096
fPoissonRadiusScale:Display=2
fFirstSliceDistance:Display=4072
fMeshLODLevel1FadeDist:Display=12288
fMeshLODLevel2FadeDist:Display=17376
fMeshLODLevel1FadeTreeDistance:Display=12288
fMeshLODLevel1FadeTreeDistance:Display=17376
fTreesMidLODSwitchDist:Display=17376
fLightLODStartFade:Display=6144
fLightLODRange:Display=45984
fLODFadeOutMultActors:LOD=12
fLODFadeOutMultItems:LOD=4.5
fLODFadeOutMultObjects:LOD=15
fDecalLODFadeStart:LightingShader=0.6
fDecalLODFadeEnd:LightingShader=0.7
fEnvmapLODFadeStart:LightingShader=0.6
fEnvmapLODFadeEnd:LightingShader=0.7

[Level2] #Config settings for a little worse fps
fBlockLevel0Distance:TerrainManager=53248
fBlockLevel1Distance:TerrainManager=159744
fShadowDistance:Display=8145
iShadowMapResolution:Display=2048
fPoissonRadiusScale:Display=2.5
fFirstSliceDistance:Display=2896
fMeshLODLevel1FadeDist:Display=10240
fMeshLODLevel2FadeDist:Display=14480
fMeshLODLevel1FadeTreeDistance:Display=10240
fMeshLODLevel1FadeTreeDistance:Display=14480
fTreesMidLODSwitchDist:Display=14480
fLightLODStartFade:Display=6144
fLightLODRange:Display=34400
fLODFadeOutMultActors:LOD=11
fLODFadeOutMultItems:LOD=4.5
fLODFadeOutMultObjects:LOD=14
fDecalLODFadeStart:LightingShader=0.55
fDecalLODFadeEnd:LightingShader=0.65
fEnvmapLODFadeStart:LightingShader=0.55
fEnvmapLODFadeEnd:LightingShader=0.65

[Level3] #Config settings for much worse fps
fBlockLevel0Distance:TerrainManager=53248
fBlockLevel1Distance:TerrainManager=159744
fShadowDistance:Display=8145
iShadowMapResolution:Display=2048
fPoissonRadiusScale:Display=2.5
fFirstSliceDistance:Display=2896
fMeshLODLevel1FadeDist:Display=8192
fMeshLODLevel2FadeDist:Display=14480
fMeshLODLevel1FadeTreeDistance:Display=8192
fMeshLODLevel1FadeTreeDistance:Display=14480
fTreesMidLODSwitchDist:Display=14480
fLightLODStartFade:Display=6144
fLightLODRange:Display=22816
fLODFadeOutMultActors:LOD=10
fLODFadeOutMultItems:LOD=4
fLODFadeOutMultObjects:LOD=13
fDecalLODFadeStart:LightingShader=0.5
fDecalLODFadeEnd:LightingShader=0.6
fEnvmapLODFadeStart:LightingShader=0.5
fEnvmapLODFadeEnd:LightingShader=0.6


[Level4] #Config settings for very much worse fps
fBlockLevel0Distance:TerrainManager=53248
fBlockLevel1Distance:TerrainManager=159744
fShadowDistance:Display=3620
iShadowMapResolution:Display=1024
fPoissonRadiusScale:Display=3
fFirstSliceDistance:Display=2896
fMeshLODLevel1FadeDist:Display=6144
fMeshLODLevel2FadeDist:Display=11584
fMeshLODLevel1FadeTreeDistance:Display=6144
fMeshLODLevel1FadeTreeDistance:Display=11584
fTreesMidLODSwitchDist:Display=14480
fLightLODStartFade:Display=6144
fLightLODRange:Display=19920
fLODFadeOutMultActors:LOD=9
fLODFadeOutMultItems:LOD=3
fLODFadeOutMultObjects:LOD=12
fDecalLODFadeStart:LightingShader=0.45
fDecalLODFadeEnd:LightingShader=0.55
fEnvmapLODFadeStart:LightingShader=0.45
fEnvmapLODFadeEnd:LightingShader=0.55

[Level5] #Config settings for too much worse fps
fBlockLevel0Distance:TerrainManager=53248
fBlockLevel1Distance:TerrainManager=159744
fShadowDistance:Display=3620
iShadowMapResolution:Display=1024
fPoissonRadiusScale:Display=3
fFirstSliceDistance:Display=2896
fMeshLODLevel1FadeDist:Display=6144
fMeshLODLevel2FadeDist:Display=8688
fMeshLODLevel1FadeTreeDistance:Display=6144
fMeshLODLevel1FadeTreeDistance:Display=8688
fTreesMidLODSwitchDist:Display=14480
fLightLODStartFade:Display=6144
fLightLODRange:Display=17024
fLODFadeOutMultActors:LOD=8
fLODFadeOutMultItems:LOD=3
fLODFadeOutMultObjects:LOD=11
fDecalLODFadeStart:LightingShader=0.4
fDecalLODFadeEnd:LightingShader=0.5
fEnvmapLODFadeStart:LightingShader=0.4
fEnvmapLODFadeEnd:LightingShader=0.5

[Level6] #Config settings for too too much worse fps
fBlockLevel0Distance:TerrainManager=53248
fBlockLevel1Distance:TerrainManager=159744
fShadowDistance:Display=3620
iShadowMapResolution:Display=1024
fPoissonRadiusScale:Display=3
fFirstSliceDistance:Display=2896
fMeshLODLevel1FadeDist:Display=6144
fMeshLODLevel2FadeDist:Display=8688
fMeshLODLevel1FadeTreeDistance:Display=6144
fMeshLODLevel1FadeTreeDistance:Display=8688
fTreesMidLODSwitchDist:Display=14480
fLightLODStartFade:Display=6144
fLightLODRange:Display=14128
fLODFadeOutMultActors:LOD=7
fLODFadeOutMultItems:LOD=3
fLODFadeOutMultObjects:LOD=10
fDecalLODFadeStart:LightingShader=0.35
fDecalLODFadeEnd:LightingShader=0.45
fEnvmapLODFadeStart:LightingShader=0.35
fEnvmapLODFadeEnd:LightingShader=0.45

[Level7] #Config settings for too too too much worse fps
fBlockLevel0Distance:TerrainManager=45056
fBlockLevel1Distance:TerrainManager=135168
fShadowDistance:Display=3620
iShadowMapResolution:Display=1024
fPoissonRadiusScale:Display=3
fFirstSliceDistance:Display=2896
fMeshLODLevel1FadeDist:Display=6144
fMeshLODLevel2FadeDist:Display=8688
fMeshLODLevel1FadeTreeDistance:Display=6144
fMeshLODLevel1FadeTreeDistance:Display=8688
fTreesMidLODSwitchDist:Display=14480
fLightLODStartFade:Display=4096
fLightLODRange:Display=13280
fLODFadeOutMultActors:LOD=6
fLODFadeOutMultItems:LOD=3
fLODFadeOutMultObjects:LOD=8.5
fDecalLODFadeStart:LightingShader=0.3
fDecalLODFadeEnd:LightingShader=0.4
fEnvmapLODFadeStart:LightingShader=0.3
fEnvmapLODFadeEnd:LightingShader=0.4

[Level8] #Config settings for too too too too much worse fps
fBlockLevel0Distance:TerrainManager=36864
fBlockLevel1Distance:TerrainManager=110592
fShadowDistance:Display=3620
iShadowMapResolution:Display=1024
fPoissonRadiusScale:Display=3
fFirstSliceDistance:Display=1810
fMeshLODLevel1FadeDist:Display=6144
fMeshLODLevel2FadeDist:Display=8688
fMeshLODLevel1FadeTreeDistance:Display=6144
fMeshLODLevel1FadeTreeDistance:Display=8688
fTreesMidLODSwitchDist:Display=14480
fLightLODStartFade:Display=3072
fLightLODRange:Display=11408
fLODFadeOutMultActors:LOD=6
fLODFadeOutMultItems:LOD=3
fLODFadeOutMultObjects:LOD=7
fDecalLODFadeStart:LightingShader=0.25
fDecalLODFadeEnd:LightingShader=0.35
fEnvmapLODFadeStart:LightingShader=0.25
fEnvmapLODFadeEnd:LightingShader=0.35

[Level9] #Config settings for worst fps
fBlockLevel0Distance:TerrainManager=28672
fBlockLevel1Distance:TerrainManager=86016
fShadowDistance:Display=3620
iShadowMapResolution:Display=1024
fPoissonRadiusScale:Display=3
fFirstSliceDistance:Display=1500
fMeshLODLevel1FadeDist:Display=6144
fMeshLODLevel2FadeDist:Display=8688
fMeshLODLevel1FadeTreeDistance:Display=6144
fMeshLODLevel1FadeTreeDistance:Display=8688
fTreesMidLODSwitchDist:Display=14480
fLightLODStartFade:Display=2560
fLightLODRange:Display=8688
fLODFadeOutMultActors:LOD=6
fLODFadeOutMultItems:LOD=3
fLODFadeOutMultObjects:LOD=5
fDecalLODFadeStart:LightingShader=0.2
fDecalLODFadeEnd:LightingShader=0.3
fEnvmapLODFadeStart:LightingShader=0.2
fEnvmapLODFadeEnd:LightingShader=0.3

 

 

Link to comment
Share on other sites

25 minutes ago, TechAngel85 said:

Why in the world are you using 8K shadows? Does that affect performance? I doubt there is an difference in-game. I use 2K and they all look sharp.

I only modified certain aspects of @DoubleYou's config. This must've been one that came with his or the mod default. I will be making tweaks to this so that my level0 matches BethINI Ultra and rework the other levels likewise, but it's the top part of the config that's most important, IMO:

FPSStabilizerEnabled = 1			#Set this to 0 if you only want to use console feature of this mod.

TargetFps = 52						#This is the target fps we are trying to achieve. Decimal value.

FPSChangeThreshold = 1				#This is the fps change required for checking if a different level setting is more suitable. Decimal value.

LevelChangeBackUpWait = 3			#This is the duration in terms of seconds to wait before changing the level back up.
LevelChangeBackDownWait = 3		    #This is the duration in terms of seconds to wait before changing the level back down.
LevelChangeBackUpAngle = 45			#This is the player heading angle change required in degrees to change the level back down.

 

Link to comment
Share on other sites

I have found that this mod does not work correctly on all the settings listed in my config for testing. Therefore, if you want to use this, do not use my config, as it WILL cause problems. The only ones verified to be working for the bottom config are:

fBlockLevel0Distance:TerrainManager=#
fBlockLevel1Distance:TerrainManager=#

Until the mod officially supports any other settings, remove those from the config. And I should redo those two settings to be better optimized.

Link to comment
Share on other sites

1 hour ago, DoubleYou said:

I have found that this mod does not work correctly on all the settings listed in my config for testing. Therefore, if you want to use this, do not use my config, as it WILL cause problems. The only ones verified to be working for the bottom config are:


fBlockLevel0Distance:TerrainManager=#
fBlockLevel1Distance:TerrainManager=#

Until the mod officially supports any other settings, remove those from the config. And I should redo those two settings to be better optimized.

Yeah, I knew it was limited to certain settings but it wasn't clear which ones. Thanks for this.

Link to comment
Share on other sites

5 hours ago, DoubleYou said:

I have found that this mod does not work correctly on all the settings listed in my config for testing. Therefore, if you want to use this, do not use my config, as it WILL cause problems. The only ones verified to be working for the bottom config are:


fBlockLevel0Distance:TerrainManager=#
fBlockLevel1Distance:TerrainManager=#

Until the mod officially supports any other settings, remove those from the config. And I should redo those two settings to be better optimized.

Can you describe your testing or how you know that certain settings aren't working? I'm not familiar with how to check actual values of a given setting during gameplay. My log from this mod claims it is making the adjustments, so I assume you mean that this is largely false reporting accept for the settings you mention?

I read some bug reports on the mod and saw that some settings aren't supported yet for SSE (may never be, since the MA mentioned it over 2.5 months ago and it hasn't been updated). I wish he would post settings that are as yet unsupported (or those that are). Maybe we can assume from what is in the default INI for this mod? It certainly works to keep my FPS where I dictate.

I did verify that it makes some adjustments to the INI files I modified with BethINI. It basically added some unneccessary settings and decimals to the ten thousands (4) ... so 0 becomes 0.0000. I think I may make my INIs RO when running this mod.

The log below is testing using the config I posted above before you posted your warning. What 'problems' will that config cause?

I will test as well once I understand how you want to validate settings.SSEFpsStabilizerPlugin.log

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines, Privacy Policy, and Terms of Use.