{"id":19076589,"url":"https://github.com/coderunner5235/steamdeck-auto-tdp","last_synced_at":"2025-04-30T03:39:36.397Z","repository":{"id":212383865,"uuid":"731361725","full_name":"CodeRunner5235/SteamDeck-Auto-TDP","owner":"CodeRunner5235","description":"A service that automatically sets the TDP of the Steam Deck APU to a higher that stock value","archived":false,"fork":false,"pushed_at":"2024-09-08T17:10:41.000Z","size":23,"stargazers_count":4,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T03:39:35.816Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeRunner5235.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-12-13T23:03:55.000Z","updated_at":"2025-03-04T17:09:28.000Z","dependencies_parsed_at":"2023-12-14T01:26:05.020Z","dependency_job_id":"d29140c1-8b0f-45f9-b4a4-0dfd282d2dbf","html_url":"https://github.com/CodeRunner5235/SteamDeck-Auto-TDP","commit_stats":null,"previous_names":["coderuner5235/steamdeck-auto-tdp","coderunner5235/steamdeck-auto-tdp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeRunner5235%2FSteamDeck-Auto-TDP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeRunner5235%2FSteamDeck-Auto-TDP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeRunner5235%2FSteamDeck-Auto-TDP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeRunner5235%2FSteamDeck-Auto-TDP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeRunner5235","download_url":"https://codeload.github.com/CodeRunner5235/SteamDeck-Auto-TDP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251638699,"owners_count":21619659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T02:00:01.190Z","updated_at":"2025-04-30T03:39:36.377Z","avatar_url":"https://github.com/CodeRunner5235.png","language":"Shell","readme":"# No Longer Needed\nThe lastes releases of SteamOS make this hacky fix unnecessary\n\n\n# SteamDeck Auto TDP\n\n**What is it?**\n\nA service that allows the TDP to be set higher than 15w automatically while preserving functionality of the existing TDP control slider in the quick access menu **ON LCD DECKS**. I don't know if the OLED uses different files to control the TDP. You can try, but I don't know what will happen, and don’t recommend it.\n\n**How does it work?**\n\nThe service is started automatically at boot and runs every few seconds to check the current maximum TDP setting. If it is 14w or lower, it does nothing. If it is 16w or higher, it does nothing. If it is exactly 15w, the service will run a script that will set the TDP to your desired maximum TDP setting. The idea being to still have a higher than stock TDP while being able to use the built in SteamOS TDP control slider. Just set the slider to 15w and it will be set to your desired higher-than-stock TDP automatically. \n\n*Note*: You must set the TDP higher than 15w in the deck bios for this to work. Otherwise, the bios will lock the TDP to 15w regardless of SteamOS settings.\n\n**Why not just use PowerTools?**\n\nThe main reason I made this was that PowerTools, while an awesome plugin, has a deal-breaking bug for me. It limits the CPU clock speed to 3.5GHz max. This is no good for people like me who want to overclock the deck CPU. So the solution is to just not install PowerTools. However, that means no TDP control over 15w. Hence, this service. Basic, automatic TDP control while having a higher than stock CPU clock speed.\n\n**Is there a better way?**\n\nDefinitely. This is just the quickest way I could think of.\n\n**Installing**\n\nTo install this on your deck, choose your desired TDP folder (or make your own). I'm going to assume 20 so make sure to change your number if necessary.\n\n\nInstalling the files\n```bash\nsudo cp /path/to/ppt20W.service /etc/systemd/system/ppt20W.service\nsudo cp /path/to/ppt20W.timer /etc/systemd/system/ppt20W.timer\nsudo cp /path/to/ppt20w.sh /usr/bin\n```\nMake sure to take note of the lowercase w in the ppt20w.sh.\n\nMake sure the script is executable\n```bash\nsudo chmod +x /usr/bin/ppt20w.sh\n```\n\nEnable and start the service\n```bash\nsudo systemctl daemon-reload\nsudo systemctl enable ppt20W.timer\nsudo systemctl enable ppt20W.service\n```\n\nThen run\n```bash\nsudo systemctl start ppt20W.timer\n```\nor reboot to start the service.\n\n**FAQ**\n\nQ: Will this work with my deck?\n\nA: It works on my test suit of one LCD deck, so your milage may very. Tested SteamOS versions 3.5.7 through 3.5.17.\n\nQ: Will this survive a major update?\n\nA: Nope.\n\nQ: Why would I use this over PowerTools?\n\nA: No good reason if you’re not overclocking the CPU and trying to set a higher TDP at the same time. Maybe you don't like decky for some reason?\n\nQ: I installed but the slider still says 15w\n\nA: The script will set the TDP, but it wont change what the slider says. I don't know how to make it do that. You can check the current max TDP with\n  ```bash\n  cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power1_cap\n  ```\n  and\n  ```bash\n  cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/hwmon/hwmon5/power2_cap\n  ```\n  both should read your current max TDP in microwatts (six extra zeros).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderunner5235%2Fsteamdeck-auto-tdp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderunner5235%2Fsteamdeck-auto-tdp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderunner5235%2Fsteamdeck-auto-tdp/lists"}