ryanrudolfoba / SteamDeck-RefreshRateUnlocker

Unlock the display panel to use upto 70Hz refresh rate!
https://youtu.be/YUf-ot1t0PM
168 stars 9 forks source link

New refresh rate is not shown in SteamOS 3.5's unified frame limit management slider #10

Open veryrealwildcat opened 1 year ago

veryrealwildcat commented 1 year ago

if you opt into the preview update channels you'll see that the refresh rate and fps sliders got merged into one which makes it a tonne better, but it only shows up 60 fps/hz instead of 70. While a workaround is to enable the old 2 sliders in settings -> display advanced, the script should just be updated.

new slider: steamuserimages-a akamaihd2 old sliders: steamuserimages-a akamaihd

snormonster commented 12 months ago

Interestingly enough, I am also on the preview update and while I do not have the new OLED SD with the latest update my slider goes all the way up to 90Hz so I can now choose 70Hz for my screen without the need for external scripts.

ryanrudolfoba commented 12 months ago

Interestingly enough, I am also on the preview update and while I do not have the new OLED SD with the latest update my slider goes all the way up to 90Hz so I can now choose 70Hz for my screen without the need for external scripts.

That is true and the limit is from 45-90. Its wide open outside the ranges of LCD and kinda dangerous when you inadvertently set the refresh above 70. I want to make an update on this script once i have my hands on the OLED. Ideally this is what i want the script to behave -

  1. Perform sanity check if OLED / LCD.
  2. If OLED no further action needed exit immediately.
  3. If LCD change the limit to 30-70.
ryanrudolfoba commented 12 months ago

Just updated to 3.5.3 and refresh rate is back to 40-60.

RedSoul001 commented 12 months ago

Steam OS 3.5.5 was released to the Stable channel a few hours ago which is unfortunate because I just found out about this project today and installed it immediately to get 30hz to 40hz referesh rate support. Now it no longer works. I tested setting it up with this new update and as expected nothing happened. Looking forward to any future updates.

ryanrudolfoba commented 12 months ago

Go to Settings > Developer Options Disable the Unified Frame Limit Management

Reboot and you will get the unlocked refresh rates back 20-70Hz.

1basti1 commented 12 months ago

Interestingly enough, I am also on the preview update and while I do not have the new OLED SD with the latest update my slider goes all the way up to 90Hz so I can now choose 70Hz for my screen without the need for external scripts.

That is true and the limit is from 45-90. Its wide open outside the ranges of LCD and kinda dangerous when you inadvertently set the refresh above 70. I want to make an update on this script once i have my hands on the OLED. Ideally this is what i want the script to behave -

  1. Perform sanity check if OLED / LCD.
  2. If OLED no further action needed exit immediately.
  3. If LCD change the limit to 30-70.

OLED goes down to 45Hz? I actually would love to see it go lower than that. Because half refresh gives input lag. I'm really worried setting the OLED to 40fps has huge input lag..

martindmtrv commented 11 months ago

On latest stable SteamOS 3.5.5 LCD steam deck seems that they have removed the option to disable unified frame limit management

I don't see it under display nor dev options

martindmtrv commented 11 months ago

Actually after a reboot it now shows up under settings > display > advanced the option is there

PS2ClassicsVault commented 11 months ago

Same.issuenherenand im on stabls

LhymeFruit commented 11 months ago

if you opt into the preview update channels you'll see that the refresh rate and fps sliders got merged into one which makes it a tonne better, but it only shows up 60 fps/hz instead of 70. While a workaround is to enable the old 2 sliders in settings -> display advanced, the script should just be updated.

new slider: steamuserimages-a akamaihd2 old sliders: steamuserimages-a akamaihd

Thanks for showing how to fix it, I thought it was worked in the new update and I had no idea about that display setting.

DreamboxMinerva commented 4 months ago

With the latest update (the one that adds recording feature) they've now completely removed the option to revert to the old theme, it force the unified style, what a bummer.

So the mod is now basically unusable..

jrouzies-fr commented 4 months ago

With the latest update (the one that adds recording feature) they've now completely removed the option to revert to the old theme, it force the unified style, what a bummer.

So the mod is now basically unusable..

Sad, I was about to ask, how can I set my Hz to 30, to have proper frame pacing for 30 FPS games, even on OLED Screen

linyihai commented 2 weeks ago

With the latest update (the one that adds recording feature) they've now completely removed the option to revert to the old theme, it force the unified style, what a bummer.

So the mod is now basically unusable..

This is Why I downgrade to 3.5.x stable , but tody the stable channel had update to 3.6.x, so this mod won't take affect anymore.

To be honest, really need 35/70hz setting for some game due to the poor steam deck performance. Anyone can stand up to fix this or guide us to workaround it?

snormonster commented 2 weeks ago

I haven't been using my Steam Deck much lately, but I am hesitant now to update, because I can still use 35 fps / 70 Hz in games.

I am really hoping for a fix for this on the latest SteamOS, too.

enamul6m commented 2 weeks ago

Just now updated to 3.6.19 and there is no option for unified frame limit management. So I rolled back to 3.5.19. Please find a fix.

lostgoat commented 2 weeks ago

Gamescope supports config files now, which allow for overriding default display parameters.

This should allow overclocking the display without removing the read only lock and it allows the change to be preserved across OS updates.

ryanrudolfoba commented 1 week ago

Gamescope supports config files now, which allow for overriding default display parameters.

This should allow overclocking the display without removing the read only lock and it allows the change to be preserved across OS updates.

Do you have a link for this i can read on? The one that shows up for me is gamescope plus from ChimeraOS.

I've started patching gamescope to override the default values. Here it shows my OLED can go upto 100Hz -

PXL_20241106_214135481 MP

But if config file is an option that will be better and easier.

lostgoat commented 6 days ago

Some details here:

https://github.com/ValveSoftware/gamescope/tree/master/scripts

lostgoat commented 6 days ago

In particular, this is the config file you’d want to override:

https://github.com/ValveSoftware/gamescope/blob/7dd1bcd9102a17e039970ccd9a324a9fe8365d6d/scripts/00-gamescope/displays/valve.steamdeck.lcd.lua#L17

ryanrudolfoba commented 6 days ago

wow that's awesome and way easier than patching and building gamescope from source! Thanks for those links i have an idea how to proceed now

Koanrade commented 5 days ago

I've made new valve.steamdeck.lcd.lua file at ~/.config/gamescope/ with less dynamic refresh rates including 30hz but nothing seems to have changed. SD UI still allows for changes in refresh rates even to those not specified in .lua file and the lower limit stays at 40hz. Also, where does exactly modegen get 'refresh' variable from? example 'gamescope.modegen.calc_max_clock(mode, refresh)'. Found some leads at https://github.com/ValveSoftware/gamescope/blob/master/src/steamcompmgr.cpp#L2500

ryanrudolfoba commented 5 days ago

i haven't tried using the config file. What im using is the longer method - building gamescope from source with new values for the refresh rate limit. That one is a success for me - PXL_20241107_153914955 MP

I'll tinker around later with the config file as that one is more promising and more easier

ryanrudolfoba commented 5 days ago

And this one is worrisome for me -

`Gamescope scripting/configuration is currently experimental and subject to change massively.

Scripts and configs working between revisions is not guaranteed to work, it should at least not crash... probably.`

Looking forward if there is a new SteamOS update and it is not compatible with the modified config then the risk of crashing not able to get to Game Mode will be an issue.

But if we use a patched gamescope (built from source with new values), a SteamOS update will be safe as it will be overridden and no remnant of incompatible config.

With that I'm leaning towards a modified / patched gamescope instead of config files.

Baz4r4 commented 3 days ago

Will it be possible to set 35fps and 70hz?

ginpigin commented 2 days ago

i haven't tried using the config file. What im using is the longer method - building gamescope from source with new values for the refresh rate limit. That one is a success for me - PXL_20241107_153914955 MP

I'll tinker around later with the config file as that one is more promising and more easier

How can a regular user do this?