Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
There is already a governor switch in there, it doesn’t allow you to select a specific governor but does allow you to switch to a more power saving one.
2. feature request for valve - you'll need to use the feature request sub-discussion to this top level one. Considering the per game performance tuning is available now (no perf profile sharing yet), this would be something that falls into that perf tuning topic.
Search for !!_WRITE_YOUR_PASSWD_HERE_!! in set_core.sh and replace it with your own password.
If you haven't yet set a password, in console run "passwd" to set it. Be aware that there are no '*' shown as you type it, just press enter/return after you inserted it.
You need to create the files (pref in /home/deck/<some_folder)> , copy the content in between the == and make them executable.
To make the scripts executable run in console:
chmod u+x lsc.sh
chmod u+x _set_cores.sh
chmod u+x set_cores.sh
After that you must add them as a non steam game and supply the no of cores as an additional parameter.
Expected console call:
All cores enabled:
./set_cores.sh 8
Only 4 enabled:
./set_cores.sh 4
Only 1 enabled:
./set_cores.sh 1
etc.
Good Luck & Have Fun
---------------------------------------
File name: "lsc.sh" <= prints status
==============
#!/bin/sh
lscpu | grep "line CPU"
==============
File name: "_set_cores.sh" <= set the cores to enabled/disabled state
==============
#!/bin/sh
for ((i=1; i<__SU_SC_PARAMS; i++)); do
echo ENABLE CORE "$i"
echo 1 > /sys/devices/system/cpu/cpu$i/online
done
for ((i=__SU_SC_PARAMS; i<8; i++)); do
echo DISABLE CORE "$i"
echo 0 > /sys/devices/system/cpu/cpu$i/online
done
===============
File name: "set_cores.sh" <= calls _set_console.sh as root
===============
#!/bin/sh
export HISTIGNORE='*sudo -S*'
export __SU_SC_PARAMS=$1
echo !!_WRITE_YOUR_PASSWD_HERE_!! | sudo -E -S -k su -m -c ./_set_cores.sh
export __SU_SC_PARAMS=
./lsc.sh
==============
Hopefully they add that to the system soon. I think they check that forum more than this one as well but I am not positive on that.
and someone already asked for such a feature officialy implemented in the Feature Request section.
I think you are misunderstanding a part of what they are saying. They want to disable the cores for the entire system as well as just for certain games. I would imagine the main interface of the Deck doesn't need all cores and threads at all times. This would allow you to limit the Deck's power overall and not just on a per game basis when they are running. Say you are running a YouTube video and turned off some cores and threads to possibly save battery life.
In windows you would need other programs or boot into the bios to do this as well.