Add 98-preventflippingbug.rules

This mitigates the "flipping frames" bug.
This commit is contained in:
Xavier Del Campo Romero 2023-03-13 03:28:03 +01:00
parent 2fa7dd2eb1
commit 23f56b50b1

View File

@ -0,0 +1,9 @@
# https://forum.pine64.org/showthread.php?tid=17771&pid=115220
# udev rule. this prevent flipping frames bug
# example file location /lib/udev/rules.d/98-preventflippingbug.rules
# powersaving part
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/autosuspend_delay_ms}="-1"
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/control}="on"
# frequency part, may not be needed
KERNEL=="1c40000.gpu", SUBSYSTEM=="devfreq", ATTR{min_freq}="432000000"
KERNEL=="1c40000.gpu", SUBSYSTEM=="devfreq", ATTR{max_freq}="432000000"