What's a good image to use now? [tutorial help as well]
#19
(03-06-2025, 06:28 PM)flynx Wrote:
Quote:
Quote:What's a good OS to put on it now?

The important question to ask: a) does suspend to mem work and b) do webbrowers as well as (some) video players decode in GPU.


I'm also looking for a good image.   I have Kali loaded now, which works GREAT.  Suspend to mem works fine, except its permanent.  Wake from mem doesn't exist.  For me that's a deal breaker if I want to actually use it.

So I'm asking the important question:  Is there an image where suspend to mem and wake from mem both work?

I don't recommend running a non-maintained kernel, but if you are really interested in deep sleep then read on.

(03-07-2025, 10:32 AM)wdt Wrote: >Wake from mem doesn't exist.
Yes, this is the case about 95% of the time (note: all leds off for STR- sleep to ram)
Late 5.7, all 5.8, mrfixit uboot, setting in sleep.conf,
maybe something else, don't remember
in systemsettings lid close - ignore,,, pwr buuton - menu
STR is good for 10+ days, maybe 14
---
most lid magnets are in wrong place, that is why ignore

I am still running Debian from Daniel Thompson's Debian installer https://github.com/daniel-thompson/pineb...-installer and have deep sleep working. This Debian installer exactly installs kernel 5.7 plus Mr. Fixit's uboot. I did not know that this is the only working combination [one needs to make sure not having an alien uboot installed on the spi such as tow-boot otherwise Mr Fixit's uboot on the emmc does not take over].

Nowadays, Daniel Thompson's Debian installer does not work, anymore. I revived it here https://github.com/schaecsn/pinebook-pro...-installer - see the last 4 commits. It installs Debian bookworm.

You will also need to remove  /etc/tmpfiles.d/force-s2idle.config. Perhaps, I should remove that file as part of the debian-installer? Anyway, with that file, the Pinebook Pro will not sleep very deep, so remove it. For this to change to become active, you need to reboot once.


o Suspend to mem works but upon returning from suspend to mem, audio fails and needs to be manually revived with:

Code:
$ sudo tee /sys/bus/i2c/drivers/es8316/{un,}bind <<< `basename /sys/bus/i2c/drivers/es8316/1*`

At that time of running above command, make sure no program is playing audio (webbrowser, mp3 player, ...) or the kernel crashes.


o You may want to disable wake up from suspend on plugging the power supply in or out by creating such an udev rule (this seems to be an anti-feature):

Code:
$ cat /etc/udev/rules.d/90-disablewakeup.rules
SUBSYSTEM=="power_supply", ACTION=="add", RUN+="/bin/sh -c 'echo disabled > /sys/devices/platform/dc-charger/power/wakeup'"


o Closing the lid does not go into suspend for me. I can suspend with "systemctl suspend", only. Perhaps it's a magnet problem? YMMV.


o The 5.7's panfrost kernel driver module is crashing the kernel after 30 min of extensive use of the GPU, say playing videos. Perhaps disable it. I use X's fbturbo driver which does not make use of panfrost. Make sure you do not see Panfrost but LLVM (maybe YMMV):

Code:
$ es2_info | grep RENDERER
GL_RENDERER: Mali-T860 (Panfrost)
  vs
GL_RENDERER: llvmpipe (LLVM 15.0.6, 128 bits)


Without a console cable, you will have a hard time switching to a newer kernel and you will be stuck with this 5.7 kernel, see https://forum.pine64.org/showthread.php?tid=15284. But hey, that's what you want, anyway.
  Reply


Messages In This Thread
RE: What's a good image to use now? [tutorial help as well] - by Der Geist der Maschine - 03-07-2025, 08:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PBP does not start from postmarket OS image burnt to sd card zkajdan 21 2,714 03-10-2025, 01:55 PM
Last Post: wdt
  Pinebook Pro upgrading from the factory image yamsoup 12 6,093 02-22-2024, 04:02 PM
Last Post: tllim
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 3,412 08-08-2023, 04:58 AM
Last Post: moobythegoldensock
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 74 145,459 08-24-2022, 02:06 PM
Last Post: petersen77
  Debian/unstable SD card rescue image vajak 4 5,396 10-28-2021, 02:53 PM
Last Post: vajak
Brick Anyone know of a good firewall? SpaceLord 6 7,849 07-24-2021, 12:04 PM
Last Post: globaltree
  Good i3 Config file to use? User 22018 6 8,012 06-17-2021, 09:38 AM
Last Post: user526
  Recalbox Image is available Luke 8 18,172 01-31-2021, 12:00 PM
Last Post: rimaille
  eMMC Trouble After Flashing WRONG Image balin 7 9,964 12-29-2020, 04:24 PM
Last Post: KC9UDX
  PBP not starting up sometimes / [Firmware Bug]: Kernel image misaligned at boot pato3 8 12,494 10-17-2020, 09:52 AM
Last Post: wdt

Forum Jump:


Users browsing this thread: 2 Guest(s)