From 08259c1955caa3099e9deb164b785a1d087d7087 Mon Sep 17 00:00:00 2001 From: galister <3123227-galister@users.noreply.gitlab.com> Date: Sat, 2 Mar 2024 11:14:12 +0000 Subject: [PATCH] improve amdgpu power profile page --- content/docs/performance/_index.md | 36 ++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/content/docs/performance/_index.md b/content/docs/performance/_index.md index a63b4b9..b67d833 100644 --- a/content/docs/performance/_index.md +++ b/content/docs/performance/_index.md @@ -7,6 +7,38 @@ weight: 250 ## Set AMD GPU power profile mode -You can use [CoreCtrl](https://gitlab.com/corectrl/corectrl) to set your power profile mode to VR. - This is important to avoid stuttering. + +### The simple way: Use CoreCtrl + +- Install [CoreCtrl](https://gitlab.com/corectrl/corectrl) +- Select your GPU on the top +- Set Performance mode to Advanced +- Set Power profile to VR +- Set the GPU and Memory sliders to max + +### Enable VR profile using a script + +```bash +#!/usr/bin/env bash + +# Enable manual override +echo "manual" | sudo tee /sys/class/drm/card0/device/power_dpm_force_performance_level + +# Translate "VR" into profile number +vr_profile=$(cat /sys/class/drm/card0/device/pp_power_profile_mode | grep ' VR ' | awk '{ print $1; }') + +# Set profile to VR +echo $vr_profile | sudo tee /sys/class/drm/card0/device/pp_power_profile_mode +``` + +### Disable VR profile using a script +```bash +#!/usr/bin/env bash + +# Disable manual override +echo "auto" | sudo tee /sys/class/drm/card0/device/power_dpm_force_performance_level + +# Set profile to DEFAULT +echo 0 | sudo tee /sys/class/drm/card0/device/pp_power_profile_mode +```