Ryzenadj integration complete.

This commit is contained in:
fewtarius 2022-09-04 12:57:55 -04:00
parent a499ee5fb8
commit 88214de544
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
3 changed files with 62 additions and 1 deletions

View file

@ -0,0 +1,14 @@
#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
# If there is no defined overclock, make sure it's "off".
OVERCLOCK=$(get_setting system.overclock)
if [ -z ${OVERCLOCK} ]
then
set_setting system.overclock off
fi
/usr/bin/overclock boot

View file

@ -0,0 +1,47 @@
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
if [ $# -eq 0 ] || [ "$1" == "boot" ]
then
PROFILE=$(get_setting system.overclock)
else
PROFILE=$1
fi
### Default clocks when not using OC.
WATTS="12000"
case ${PROFILE} in
2w)
WATTS="2000"
;;
4w)
WATTS="4000"
;;
6w)
WATTS="6000"
;;
8w)
WATTS="8000"
;;
10w)
WATTS="10000"
;;
12w)
WATTS="12000"
;;
14w)
WATTS="14000"
;;
16w)
WATTS="16000"
;;
18w)
WATTS="18000"
;;
esac
ryzenadj --tctl-temp=97 --stapm-limit=${WATTS} --fast-limit=${WATTS} --stapm-time=500 --slow-limit=${WATTS} --slow-time=30 --vrmmax-current=70000

View file

@ -3,7 +3,7 @@
# Copyright (C) 2020-present Fewtarius
PKG_NAME="emulationstation"
PKG_VERSION="eb48dd2"
PKG_VERSION="6e6fdff"
PKG_GIT_CLONE_BRANCH="main"
PKG_REV="1"
PKG_ARCH="any"