News for hackers. Stuff that matters.
Re:Raspberry Pi 5 by foggywin on Thursday September 28, 2023 @02:26AM (#37686013)
Did you read the blog post? :)

"Raspberry Pi 5 consumes significantly less power, and runs significantly cooler, than Raspberry Pi 4 when running an identical workload. However, the much higher performance ceiling means that for the most intensive workloads, and in particular for pathological “power virus” workloads, peak power consumption increases to around 12W, versus 8W for Raspberry Pi 4."

Re:Raspberry Pi 5 by moffkalast on Thursday September 28, 2023 @04:05AM (#37686702)
Alright so 27W with heavy peripheral draw then? But 12 W still means it'll be drawing 2.4 amps instead of 1.6 when a random process decides to 100% it. I guess we can always underclock it.

The real unanswered question is, does it finally have a damn sleep mode so it can save power when idle.

Re:Raspberry Pi 5 by pja on Thursday September 28, 2023 @04:10AM (#37686733)
Jeff Geerling measured 1.8W idle power draw.

Based on my experience with previous Pis, I bet you’ll be able to drop that even further by turning off unused board components at boot time.

Re:Raspberry Pi 5 by moffkalast on Thursday September 28, 2023 @04:15AM (#37686775)
True, I've gotten my Pi 4 pretty low (< 1W), disabling the LEDs, Ethernet, HDMI, and USB controller, but it's never gonna equal a proper suspend.
Re:Raspberry Pi 5 by Fnoord on Thursday September 28, 2023 @04:39AM (#37686949)
[delayed]
Re:Raspberry Pi 5 by pja on Thursday September 28, 2023 @04:49AM (#37687007)
Add

    # Disable Power LED after boot
    dtparam=pwr_led_activelow=off
    # Disable SD card activity led
    dtparam=act_led_trigger=none
    dtparam=act_led_activelow=off
    # Disable the ethernet LEDs - these are Pi4 specific values.
    # Look in the docs for the values for other Pi boards.
    dtparam=eth_led0=4
    dtparam=eth_led1=4
to /boot/config.txt
Re:Raspberry Pi 5 by Fnoord on Thursday September 28, 2023 @05:49AM (#37687367)
Thank you!

It appears to depend on firmware or kernel but for recent kernels (recent 6.1 or 6.2) activelow is no longer necessary [1]. It seems to work on CM4.

[1] https://github.com/raspberrypi/firmware/issues/1742

Re:Raspberry Pi 5 by doubled112 on Thursday September 28, 2023 @08:19AM (#37688537)
I've had this drive me crazy.

The required lines were different between the Pi 2 and Pi 4 I was using at the time, and the documentation was not updated (or I'd found old docs).

An exercise in trial and error.

Re:Raspberry Pi 5 by sapiogram on Thursday September 28, 2023 @10:14AM (#37689896)
1W is honestly not that great, though. A smartphone will do 10x that out of the box, and still pling for Facebook notifications.
Re:Raspberry Pi 5 by nine_k on Thursday September 28, 2023 @10:41AM (#37690226)
A smartphone has two entirely separate computers in it, the one that runs Android or iOS, and the baseband controller. The latter is built to be very power-efficient while waiting for a radio signal. It will wake up the dormant application OS computer when a push notification comes in.

The same likely can be built on top of an RPi, using, say, wake-on-LAN signaling, or some GPIO as an interrupt source. You'll have to suspend your OS while idle for a prolonged time though.

Re:Raspberry Pi 5 by pipo234 on Thursday September 28, 2023 @04:54AM (#37687039)
I read that the "PC style" power button allows both soft and hard shutdown, so I suppose suspend and hibernate come into the picture as well. It's mostly a matter of OS support, the firmware seems to be there.
Re:Raspberry Pi 5 by nani8ot on Thursday September 28, 2023 @08:07AM (#37688407)
According to Jeff Geerling the Pi 5 doesn't support suspend in firmware, altough it might be possible with an update.
Re:Raspberry Pi 5 by nfriedly on Thursday September 28, 2023 @01:20PM (#37692738)
> soft and hard shutdown

My reading of that was:

"soft" = trigger an orderly OS shutdown, the same as if you executed `shutdown now` on the command line.

"hard" = cut power immediately, as if you just unplugged the power cable.

Re:Raspberry Pi 5 by rollcat on Thursday September 28, 2023 @11:10AM (#37690709)
> The real unanswered question is, does it finally have a damn sleep mode so it can save power when idle.

I dream of DIY'ing a laptop, and RPi looks like a great platform for prototyping that... until you realize there's just no sensible way to put it to sleep. Hibernate + aggressive boot time optimization?

Re:Raspberry Pi 5 by moffkalast on Thursday September 28, 2023 @06:12PM (#37696566)
You know it's funny, my current laptop has a weird firmware bug (certified Asus moment) where it refuses to go into sleep mode. If sleep is triggered by any OS it will straight up just shut down completely. I've lost some work the first few times I used it out of habit.

Eventually though it didn't turn out to be much of an issue, SSDs boot real fast these days anyway and I can just do a full power cycle.

Re:Raspberry Pi 5 by rollcat on Friday September 29, 2023 @05:44AM (#37701348)
Meanwhile I'm genuinely annoyed that my Thinkpad takes a second or two longer to wake up from sleep than my Mac ;)
Re:Raspberry Pi 5 by ZuLuuuuuu on Thursday September 28, 2023 @07:10AM (#37687939)
Is there a way to limit the processor power so that it never exceeds a certain threshold? Because some people might be okay with slower processor if it means less power usage.
Re:Raspberry Pi 5 by publicmail on Thursday September 28, 2023 @07:33AM (#37688117)
I think at least with the Pi 4, you can limit the CPU clock by editing a config file, which has a power limiting effect.
Re:Raspberry Pi 5 by tetris11 on Thursday September 28, 2023 @02:57PM (#37694025)
If you set the scheduler to powersave, it downclocks all cores and saves power that way.
Re:Raspberry Pi 5 by ballenf on Thursday September 28, 2023 @11:11AM (#37690711)
Yes, there is a low power mode. And you're forced to use that if you startup with an "under"-powered supply.

Jeff Geerling on YT has a great in-depth review of these options in his latest video.

Re:Raspberry Pi 5 by thereisnojesus on Thursday September 28, 2023 @03:26PM (#37694482)
I read a lot of Jeff's blog, but his vlogs put me to sleep. He isn't charismatic and makes the worst jokes. People forget that a visual medium is visual. He channel is an example of great information that is ruined by the visual medium.
Re:Raspberry Pi 5 by s3p on Thursday September 28, 2023 @10:45AM (#37690270)
Can you explain their decision to recommend a 27W power supply then?
Re:Raspberry Pi 5 by daveoc64 on Thursday September 28, 2023 @11:31AM (#37691071)
The new board supports more power hungry IO. If you want to use all of the IO available and push the new SoC then you're going to need a beefier power supply.
Re:Raspberry Pi 5 by Dah00n on Thursday September 28, 2023 @12:31PM (#37692019)
What happens if you use those beef options without a powerful PSU?