Amdgpu Rx480 Screen Flickering

Apparently, in current versions of the amdgpu driver, there is a bug leading to screen flickering with rx470/480. To workaround, the corresponding bug report suggests switching the power saving performance_level away from auto:

echo 'high' > /sys/class/drm/card0/device/power_dpm_force_performance_level

While this works for me, it is obviously gone on the next reboot. To persist the fix, I created a custom udev rule:

/etc/udev/rules.d/30-radeon-pm.rules
KERNEL=="dri/card0", SUBSYSTEM=="drm", DRIVERS=="radeon", ATTR{device/power_dpm_force_performance_level}="high"
comments powered by Disqus