10-19-2022, 09:13 PM
(09-18-2022, 06:16 AM)zetabeta Wrote: i put it here instead of separate thread.
i mostly likely have to shy away from daily driver (temporarily, i wish), reason what i call flipping frames bug. practically all o.s.'s and u.i.'s are affected. i don't know about pinephone pro, which also uses mali gpu chip. pp pro lima driver may have same bug but it's still slightly different gpu.
if device just randomly crashes within a day, it is just intolerable to me.
https://gitlab.com/postmarketOS/pmaports/-/issues/805
https://gitlab.com/mobian1/issues/-/issues/460
edit: typos
saying as intermediary point, definitely not final.
this bug can be avoided with 95% certainty with following.
Code:
## this could be a battery waster!
## one time
$ echo -1 >/sys/devices/platform/soc/1c40000.gpu/power/autosuspend_delay_ms
## as a udev file, like "/lib/udev/rules.d/98-flipbug.rules"
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/autosuspend_delay_ms}="-1"
## you could try this if concerned about battery life
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/autosuspend_delay_ms}="5000"
however, i think some fishy is going on because this bug has happened with above. definately makes bug more rare. so, i will give more informaton when i find out. one theory is frequency change, as a addition to sleep, frequency change may jam the gpu. suggestion: fix gpu frequency to 120000000, 3120000000 or 432000000.