"DFIntTaskSchedulerTargetFps" locks FPS at set point, without having any results by changing fps lock in-experience roblox settings

So, recently i was experimenting about setting custom FPS values as default through “DFIntTaskSchedulerTargetFps” in ClientSettings file in roblox folder.
At first i get Custom fps ( 15 ), which is lower than usual 120 - set as default, however if i try changing the in-experience setting about fps lock, it doesnt change at all.
I’ve attached some screenshots but there’s no graph that shows fps.



As i explained, the fps cap is somehow attached to “DFIntTaskSchedulerTargetFps” value and it can’t be changed if not close roblox and edit ClientSettings file.
I think that is bug, and im still looking for solution, any help is appreciated.
P.S. if some of the screenshots doesn’t load - 1-st screenshot is 60fps( not default, still capped by 15 fps) and other one is default is set to default 15.

1 Like

“there’s no graph that shows fps.”
It might not be a graph, but you can get the current fps like this.

local RunService = game:GetService("RunService")

local currentAverage = 60
local mode = "smooth"

local function RollingAverage(N: number ,avg: number,new_sample: number)
	avg -= avg / N
	avg += new_sample / N
	return avg
end

RunService.PostSimulation:Connect(function(delta)
	if mode == "smooth" then
		print(RollingAverage(60,currentAverage,1/delta))
	end
	if mode == "fast" then
		print(1/delta)
	end
end)

you didn’t get the problem: The roblox app itself cant set desired fps over a value i set in a clientsettings file

Your trying to maintain an acceptable FPS range in your game? Because you want to edit a value that cant be edited by any game, I think it’s currently not possible to be able to solve this problem directly. Otherwise, you can use my code to detect the current fps. If the FPS is something you don’t like, maybe something far from standard values, you can advise the player on how to change their clientsettings file themselves. For FPS values lower than about 55, it could also be triggered by lag, so you could also advise them to use a better device. After the advisement, you can kick them from the game, or disable their ability to play, until it is fixed. I don’t think there will be a better solution until Roblox improves the FPS system a bit (if they don’t just put it off forever). I could be wrong. Maybe there is another way, but right now, I don’t think there is.

yeah i get it, I just want to add a additional Flag/Feature which allows to set custom FPS lock in any game. However developers must have an option to turn that feature off or set it to auto, which allows people to set custom fps lock, or fixed - fps locked by developer at certain value.

Anyway, thank you for trying to help me!