Kubuntu 20.04 how to run script to keep VRAM on P-State 2

Ask Ubuntu Asked by userDepth on August 4, 2020

I want to use AMDGPU overdrive to have the power saving features but I get screen artifacts or distortions because the memory is changing the VRAM frequency.

Arch Wiki says to run this commands:

echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_level
echo "2" >  /sys/class/drm/card0/device/pp_dpm_mclk

So I have made a shell script like this:

echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_level;
echo "2" >  /sys/class/drm/card0/device/pp_dpm_mclk;

However, I don’t know which method is best for the VRAM to always run on P-State 2

Should I use Autostart app to set it or make a service?

Add your own answers!

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP