SteamDeck Refresh Rate Unlocker

This repository contains the instructions and scripts on how to unlock the Steam Deck under SteamOS to use upto 70Hz refresh rate for the display (do not confuse this with FPS).
Discord user dan2wik for the idea on overclocking the display panel to 70Hz!

NOTE
If you are going to use this script for a video tutorial, PLEASE reference on your video where you got the script! This will make the support process easier! And don't forget to give a shoutout to @10MinuteSteamDeckGamer / ryanrudolf from the Philippines!

If you like my work please show support by subscribing to my YouTube channel @10MinuteSteamDeckGamer.
I'm just passionate about Linux, Windows, how stuff works, and playing retro and modern video games on my Steam Deck!

Monetary donations are also encouraged if you find this project helpful. Your donation inspires me to continue research on the Steam Deck! Clover script, 70Hz mod, SteamOS microSD, Secure Boot, etc.

Scan the QR code or click the image below to visit my donation page.

Disclaimer

  1. Do this at your own risk!
  2. This is for educational and research purposes only!

Video Tutorial

If you prefer a video tutorial then click here.

Screenshot - choose from one of the options

Screenshot - 70Hz Display Refresh Rate

What's New (as of November 12 2024)

  1. SteamOS 3.6.20 support

What's New (as of June 20 2023)

  1. Added 20,60 and 20,70.
  2. Rewrote the systemd service to adhere to best security practices.
  3. Created a simple GUI Toolbox to easily check status, change options or to completely uninstall and revert any changes made.

Old Changelog

March 23 2023

  1. rewrite script to use systemd service
  2. additional logic for the uninstall
  3. optional - check if systemd service is running via game mode

March 21 2023

  1. added 3 options to choose from - 30,60Hz 30,70Hz and 40,70Hz

March 16 2023

  1. initial release

What does this script do?!?

  1. The script checks if the gamescope-session is using the default values 40,60Hz refresh rates.
  2. If it's the default values, the script will create a backup of the file and then "patches" accordingly to what the user has chosen.
  3. The script creates a folder called ~/1RefreshRateUnlocker that contains additional helper scripts. Do not delete this folder!
  4. The script checks the gamescope-session every startup if it needs to be "patched" and applies the patch if needed.
  5. There is an uninstall script if end-user wants to revert any changes made.

Prerequisites for SteamOS

  1. sudo password should already be set by the end user. If sudo password is not yet set, the script will ask to set it up.

Installation Steps

IF YOU ARE USING AN OLDER VERSION OF THIS SCRIPT, UNINSTALL IT FIRST! IF YOU WANT TO SWITCH FROM 30,60 to 40,70 etc etc, MAKE SURE TO UNINSTALL FIRST AND THEN RE-RUN THE SCRIPT! CLICK HERE FOR STEPS ON HOW TO UNINSTALL THE OLD VERSION

  1. Go into Desktop Mode and open a konsole terminal.

  2. Clone the github repo.
    cd ~/
    git clone https://github.com/ryanrudolfoba/SteamDeck-RefreshRateUnlocker.git

  3. Execute the script!
    cd ~/SteamDeck-RefreshRateUnlocker
    chmod +x install-RefreshRateUnlocker.sh
    ./install-RefreshRateUnlocker.sh

  4. The script will check if sudo passwword is already set.
    image

    a. If the sudo password is already set, enter the current sudo password and the script will continue to run. Once you see this screen then the install is done!
    image

    b. If wrong sudo password is provided the script will exit immdediately. Re-run the script and enter the correct sudo password!
    image

    c. If the sudo password is blank / not yet set, the script will prompt to setup the sudo password. Re-run the script again to continue.
    image

  5. Make your selection.
    image

  6. Once the install is done, reboot the Steam Deck for changes to take effect.

  7. After reboot, the custom refresh rate will be available. It can be set as high as 70Hz!
    image

How to Uninstall

  1. Go into Desktop Mode and launch RefreshRateUnlocker Toolbox icon from the desktop. image

  2. Select the option called Uninstall and press OK. image

  3. Once the uninstall is done, reboot the Steam Deck for changes to take effect.

  4. After reboot, the refresh rate will be back to the default 60Hz.
    image

Known Issues

  1. When taking a screenshot in-game, the screen will momentarily go blank as it toggles to 60Hz, and then goes back to the custom refresh rate once the screenshot is done.