manjaro-pinephone / phosh

Manjaro Phosh
164 stars 20 forks source link

[Beta 22] [PinePhone Pro] Screen don't turn on after some time remaining in standby #28

Open giancarlolamedica opened 2 years ago

giancarlolamedica commented 2 years ago

it did not happen with the previous release i am forced to take out the battery and start again the phone, because power button don't turn on display it happen sistematically, there is any log i can check?

philmmanjaro commented 2 years ago

Well, you can dowload Beta 21, update all packages except Phosh and check it that works for you. We added https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1016 to have emit WakeUpScreen signal and reset idle timers on resume. However I only had time to test it on a regular PinePhone.

philmmanjaro commented 2 years ago

OK, Beta 21 used the Mobian based Kernel and with Beta 22 we used Megi's Kernel again. Let me try to build an updated Mobian Kernel again.

philmmanjaro commented 2 years ago

Hmm, maybe related: https://gitlab.manjaro.org/manjaro-arm/packages/core/linux-pinephonepro/-/commit/dee7429394b26b4e1dce7579cdf58632be7f1353

giancarlolamedica commented 2 years ago

the problem is the suspension, if i disable automatic suspend from power option it doesn't happen anymore in beta21 with all packages updated except Phosh the issue does not occur, it still doesn't happen even though i update phosh i suspect that in beta21 automatic suspend is not working on pinephone pro, the battery discharges very quickly and i'm able to connect via ssh even 5 minutes after locking the screen, maybe now is working but does not wake up

philmmanjaro commented 2 years ago

Ya it is strange. If you look at the activity you'll notice that I'm currently trying to figure out why that is. So far the 5.16.7-1 cross-distro kernel seems to work, however it doesn't have the latest keyboard and charging patches. Megi's and Mobian branches got more fixes at that stage. What is really odd that the Arch build kinda works with 5.16.8 by Megi. So maybe a deeper debug is needed here.

philmmanjaro commented 2 years ago

https://gitlab.manjaro.org/manjaro-arm/packages/core/linux-pinephonepro/-/jobs/7770/artifacts/download kinda works. It has not all patches applied. So maybe suspend is not working, hence the screen comes back. I might try to add additional patches to see what might break things ...

philmmanjaro commented 2 years ago

Seems other images use a newer uboot. So you may try this: https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-pinephonepro/-/pipelines/6970/builds should work from mSD. EMMC is not tested!

philmmanjaro commented 2 years ago

Seems this Kernel also work with the 2021.01 uboot: https://gitlab.manjaro.org/manjaro-arm/packages/core/linux-pinephonepro/-/jobs/7772/artifacts/download

philmmanjaro commented 2 years ago

OK the linked uboot doesnt boot for me.

khmyznikov commented 1 year ago

Beta 29 also can't do anything after suspend, screen is black. Fresh install.

ghost commented 1 year ago

It happens for me now in Beta 30 on Pinephone Original. What's the easiest way to fix it ? Install another kernel? Where does the problem come from?

philmmanjaro commented 1 year ago

Well, it can be many things actually. With Beta 30 the issue with the Pinephone Pro should be fixed with given new uboot 2023.01 and Phosh 0.25.2 and Phoc 0.25.2. There were fixes added to both of them.

However, the development of the software is always constantly and may have regressions. Each release has a detailed changelog of package changes made to it. Also the releases are more or less snapshots of things happened during development.

Kernels can be downloaded from here:

However not all kernels might work with given images. So you may want to explore daily development builds to see what might have broken things: https://github.com/manjaro-pinephone/phosh-dev.

I might test the original Pinephone, when I find time, if there are any issues with standby and display as I concentrated more on the Pro the last days.