pinephone-scripts/98-preventflippingbug.rules
Xavier Del Campo Romero 23f56b50b1 Add 98-preventflippingbug.rules
This mitigates the "flipping frames" bug.
2023-03-13 03:28:03 +01:00

10 lines
565 B
Plaintext

# 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"