Bump the GPU frequency floor to 400MHz to improve UI response on RK3566 devices.

This commit is contained in:
fewtarius 2024-01-31 18:35:30 +00:00
parent fe78528938
commit a2c07009c5
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 8 additions and 2 deletions

View file

@ -4,11 +4,14 @@
. /etc/profile.d/001-functions
### Set the minimum GPU frequency to reduce UI latency.
echo 400000000 >${GPU_FREQ}/min_freq
### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast n64 ports psp psx saturn gba pcfx cdi
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
if [ -z "${SETTING}" ]
then
set_setting ${SYSTEM}.cpugovernor performance
set_setting ${SYSTEM}.gpuperf profile_peak

View file

@ -4,11 +4,14 @@
. /etc/profile.d/001-functions
### Set the minimum GPU frequency to reduce UI latency.
echo 400000000 >${GPU_FREQ}/min_freq
### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast n64 ports psp psx saturn gba pcfx cdi
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
if [ -z "${SETTING}" ]
then
set_setting ${SYSTEM}.cpugovernor performance
set_setting ${SYSTEM}.gpuperf profile_peak