04-27-2023, 09:52 AM (This post was last modified: 04-27-2023, 09:53 AM by Zebulon Walton.)
Anyone else seeing stability problems with their Pinephone running Mobian and the 6.1 kernel? I'm finding that with 6.1 the phone experiences frequent random crashes, spontaneous reboots, and user interface lockups. On the other hand the phone is very stable if reverted back to the 5.15 kernel. I'm not sure if it's a hardware issue with this particular phone or if maybe the 6.1 kernel is not quite fully-baked yet for this platform. (I've been retrying 6.1 each time it's updated but so far it just won't run reliably.)
Hi,
I have also seen from time to time spontaneous reboots and (much more frequently) lockups of the user interface on my OG PP with Mobian.
IMHO it would be helpful to collect logs and report issues to [1] so that the maintainer of the -sunxi64 kernel package gets aware of those issues with the package they're maintaining. Guess what, if issues do not get reported, it's unlikely they get solved... You have already tracked down that the culprit is some kernel regression between 5.15 and 6.1, then you are halfway there.
E.g. for UI lockups, it seems we've found the root cause, please check issue #74 [2]. There's a workaround reported that, at least on my device, got rid of lockups: maybe you can also help and test that. When more users confirm it to be the solution, it can be fixed for everyone and we can look on to the next issue
just in case, do you have 1.2a hw version or 1.2b version?
i got few crashes on manjaro, which sounds very similar. not in mobian though. i think this is separate bug than flipping frames, both powersaving and frequency change. however, i only used powersaving prevention and not frequency change prevention in manjaro. so it could be distantly related to frequenccy change bug.
log from manjaro:
Code:
Apr 27 09:40:05 manjaro-arm kernel: lima 1c40000.gpu: mmu resume
Apr 27 09:40:05 manjaro-arm kernel: lima 1c40000.gpu: pp task error 1 int_state=0 status=5
Apr 27 09:40:05 manjaro-arm kernel: lima 1c40000.gpu: pp task error 0 int_state=0 status=0
Apr 27 09:40:05 manjaro-arm kernel: lima 1c40000.gpu: mmu page fault at 0x2e01a40 from bus id 0 of type read on ppmmu1
Apr 27 09:39:47 manjaro-arm kernel: lima 1c40000.gpu: pp task error 1 int_state=0 status=5
Apr 27 09:39:47 manjaro-arm kernel: lima 1c40000.gpu: pp task error 0 int_state=0 status=0
Apr 27 09:39:47 manjaro-arm kernel: [drm:lima_sched_timedout_job] *ERROR* lima job timeout
if i recall correctly, mobian kernel 5.15 has static gpu frequency into 432MHz. whereas, later kernel has variable frequencies, 432, 312 120 Mhz.
05-01-2023, 10:49 AM (This post was last modified: 05-01-2023, 10:58 AM by Zebulon Walton.)
I have the 1.2b hardware revision. It may well be the variable GPU frequency causing problems. I just ran updates on the phone and see that the 6.1 kernel was updated so I'll see if anything has improved. I've added the workaround suggested in one of the links provided by @tiol (udev rule to fix gpu frequency), and will also look over the others...
For me, 6.1 remains more stable than 5.15. The fail-to-wake problems are greatly reduced but I have lately seen more instances of fail-to-sleep. (1.2b hardware)
Well it's been a few days now and the phone has been stable so far with the latest 6.1 kernel and GPU frequency scaling disabled. Previously I would have started seeing problems by now but I'll keep an eye on it and see how it works longer term.
i think i found yet another bug in manjaro, maybe other o.s.'s. i don't know is it related to flipping frames bug(s). my guess it is not. so basically i go ... bug hunting.
very premilinary things tell, that using audio, gpu, mobile data and cpu at the same time crashes system.
(05-07-2023, 01:26 PM)zetabeta Wrote: i think i found yet another bug in manjaro, maybe other o.s.'s. i don't know is it related to flipping frames bug(s). my guess it is not. so basically i go ... bug hunting.
very premilinary things tell, that using audio, gpu, mobile data and cpu at the same time crashes system.
Interesting. So far my Mobian installation is still stable running the 6.1 kernel so that problem appears to be solved albeit with a hack to disable GPU frequency scaling. If this new bug is triggered partly by mobile data use I wouldn't see it though, even if present in Mobian, since I don't use mobile data.
i think there is new bug going on, now i have some kind of clue what is going on.
i used fedora phosh with flipping frames bug preventions, both frequency and powersaving.
bug is caused by pipewire/wireplumber and/or ram memory hog. note conditions and and or. could be both or either one. still, this assessment is more or less inaccurate.
there is one possible way to reduce this bug, it is kernel parameter "lima.sched_timeout_ms=3000". however, it won't fix underlying issues.