I own a Librem 5 for one month, it is not my first linuxphone because I’ve had previously Pinephones (which one was stolen, the other damaged).
While Librem 5 is correctly usable, it remains a serious problem of complete crashing of the system. At the beginning my Librem 5 was about stable, sometimes it went off on its own, it’s annoying but at least I just had to turn it back on.
Few weeks after occurs the first crash, so I had to force shutdown and then reboot it. And then the more time progresses the more crashes become frequent. Last week it crashed 3 times in 4 days. So I decided to stop using it until the issue is solved.
I’ve had a similar issue on my Pinephones (which were running Mobian) so it seems to be a global linuxphone issue but I’m surprised to not find other topics about this issue on this forum.
What does “crash” mean? Touchscreen unresponsive? Application unresponsive? Sleep/wake button unresponsive?
When it is in this state, is it responsive on the network? For example, can you ping the phone? (presuming that the phone is normally pingable on the network)
I mean touchscreen stays black, buttons are unresponsive (except force shutdown), I’m thinking it happens when the phone is suspended. Except once the touchscreen was displaying a systemd error message, the other times it just stays black.
I didn’t tried yet because I don’t let ssh permanently active, maybe I should
I would but will this solve the issue ? I’ve had a similar issue on my pinephone some years ago, after a number of crashes and forced shutdown it refused to boot so I reflashed it but the issue occured again and again, so I reflashed it several times. I think that because of all this the eMMC was progressively damaged. I don’t want to live this again
You can ping the phone even if SSH is disabled. However if you are having problems and you find that you canping the phone then, yes, leaving the SSH server enabled would help with troubleshooting. Then you could try to ssh in. Then you might for example be able to kill a process or restart a service.
Have you tried disabling suspend in that case? (I have a feeling that if the problem is that the phone won’t wake from suspend at all then it won’t be responsive on the network, for ping or ssh or anything else. But that will need to be verified as part of the troubleshooting.)
Ok I just started it, disabled suspend and enabled ssh. I’ll keep you informed but disabling suspend can not be a definitive solution to daily drive it
Could you try to disable wifi by hardware kill-switch and keep autosuspend on? It fix the issue with back screen for me. Other issues still appear sometime after resume, but I can unlock the phone at least.
But the phone becomes unusable for me without suspend as you have to keep it connected to a powerbank all day.
I’ve found at least four issues connected to he suspend/resume bug:
mobile data stop working - may be fixed by preventing modem goes to sleep as it has been done in pmos.
sdcard stop working like in this thread - may be fixed by patching the kernel.
wifi does not go to sleep properly - may be fixed by using kill switches before suspend.
something strange happens during resume - sudo stop working, network connection lost and so on… I have no idea how to debug and about possible workaround :(.
Also I believe that it is much better to keep swap file on the root (mmc) partition as soon as it about ten times faster and free from issue 2.