diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-03-13 03:28:03 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-03-13 03:28:03 +0100 |
| commit | 23f56b50b1942d1f99b44b12d726234f3b6299d3 (patch) | |
| tree | c7dbfe4efd929be01cece84980d27d092fe50fd7 | |
| parent | 2fa7dd2eb1a2121d411f9a5d5a31a647af16df74 (diff) | |
Add 98-preventflippingbug.rules
This mitigates the "flipping frames" bug.
| -rw-r--r-- | 98-preventflippingbug.rules | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/98-preventflippingbug.rules b/98-preventflippingbug.rules new file mode 100644 index 0000000..fe3d53d --- /dev/null +++ b/98-preventflippingbug.rules @@ -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" |
