mirror of
https://gitlab.com/lvra/lvra.gitlab.io.git
synced 2024-12-25 07:10:25 +01:00
improve amdgpu power profile page
This commit is contained in:
parent
629a9ae18e
commit
08259c1955
1 changed files with 34 additions and 2 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue