News: 1710523816

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Raspberry Pi OS 5.2 is here, with pleasant tweaks to Wayland-based desktop

(2024/03/15)


The Raspberry Pi Foundation has updated its Debian 12-based OS for the pocket-sized powerhouse, with the newest LTS kernel.

Although there's no version number in the [1]release notes , the new installment of the official Raspberry Pi OS calls itself version 5.2 on the startup splash screen. Like version 5, which we [2]checked out last November , it's still based on Debian 12 "Bookworm", and that's what it calls itself in the /etc/os-release file, but it continues to diverge further from its parent.

If you're not tempted to [3]explore some alternative distros for the pint-sized marvel, there are new goodies here too.

[4]

Pi OS 5.2 uses [5]Linux kernel 6.6 , which late last year became the [6]new LTS version . Specifically, it comes with kernel 6.6.20, alongside Chromium 122 and the optional Firefox 123, as well as a new version of the Pi firmware. The raspi-config program can now also update the Pi 4 and later's [7]onboard EEPROM .

[8]Linux 6.9 will be the first to top ten million Git objects

[9]Venturing beyond the default OS on Raspberry Pi 5

[10]Lightweight Windows-like desktop LXQt makes leap to Qt 6 with version 2.0

[11]India’s homebrew RISC-V CPU goes on sale in new development board

Release 5.2 brings an assortment of small improvements and refinements to the new Wayland-based desktop. The mouse pointer changes during drag-and-drop operations, the network and Bluetooth menus are faster, and when you log out it terminates all user processes.

The release notes also list a number of less-visible improvements and bug fixes, including several relating to headless operation and remote control using VNC. These are relatively small things, but it underlines the amount of work in building a whole new desktop under Wayland: it's very much not just a case of replacing the old X.org display server with a new one.

[12]

[13]

We upgraded our Pi 400's SD card, which worked perfectly – but the OS is getting bigger all the time, as most software tends to do to, and it's a tight fit on a 16GB card these days.

We only had a couple of gigs free before we started, and afterwards, we're down to under 800MB of free space. This is not only a little nerve-wracking, but running flash media at over 95 per cent full like this means that there's little room for the storage card's on-board controller chip to shuffle stuff around. It increases the risk of the medium failure.

An appetite for flash...

This is an aspect of how flash memory works: the computer can read any byte at any time, just like ordinary RAM, but it can't overwrite a byte with new data. Flash can only be rewritten by erasing – formatting – a whole block at a time. The erase block size varies according to the size of the memory chip, but even [14]a decade ago it was between 4MB to 8MB.

All SD cards have a tiny on-board controller chip – typically an Arm core, and yes, [15]it can be hacked and code run on it. This erase block size means your SD card controller has to frantically shuffle blocks of storage around so it can format these blocks all at once.

This was one of the important aspects of [16]Intel's cancelled Optane storage : no erase blocks. It could be written just like RAM. That's why [17]its cancellation was such bad news .

The moral of the story? Don't run your flash storage at more than 75 percent full, kids, or it will wear out much quicker.

To be fair, the Reg FOSS desk's Pi card is not heavily used – and we have installed a few extra things, such as a Markdown editor and Firefox. The latter perhaps eats most of the extra space.

As an experiment, we took the SD card out of our Pi 400 and put it into a Pi 5, and it started perfectly and worked exactly the same – just rather faster. This version has improved support for the Pi 5 hardware.

[18]

On this model, the power indicator LED is also a power button, and if you press it, Pi OS 5.2 displays a dialog box offering to shutdown, reboot, or log out.

We are writing this article in Ghostwriter on Pi OS 5.2, running on an 8GB Pi 5 (using a 1993 IBM Model M keyboard that weighs 20 times as much as the Pi, and is at least 20 times better than the keyboard of the Pi 400) and it's working very well.

Even so, we'd say that a 16GB card isn't really enough for a general-purpose desktop Pi any more. Budget for an extra fiver for a 32GB card, and spare a sigh that a lightweight Linux for schoolkids is now a 2,812MB download, in heavily compressed form. [19]We went badly wrong somewhere.

[20]

The Pi OS 5 desktop is still one of the most pleasant Wayland-based environments to use, in this vulture's humble opinion. We really hope that at some point soon the team can find the time to update [21]the PC version of the software , which hasn't had a major update in nearly two years now.

Get our [22]Tech Resources



[1] https://downloads.raspberrypi.com/raspios_arm64/release_notes.txt

[2] https://www.theregister.com/2023/11/03/raspberry_pi_os_5/

[3] https://www.theregister.com/2024/03/07/alt_pi_5_linux_distros/

[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2ZfTTB@kNA7D89yBABjvrKAAAAMg&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[5] https://www.theregister.com/2023/10/30/linux_6_6_debuts/

[6] https://www.theregister.com/2023/12/14/linux_kernel_of_the_beast/

[7] https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-boot-eeprom

[8] https://www.theregister.com/2024/03/11/linux_6_8_arrives/

[9] https://www.theregister.com/2024/03/07/alt_pi_5_linux_distros/

[10] https://www.theregister.com/2024/02/29/lxqt_2_is_coming/

[11] https://www.theregister.com/2024/02/26/asia_tech_news_roundup/

[12] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZfTTB@kNA7D89yBABjvrKAAAAMg&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[13] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ZfTTB@kNA7D89yBABjvrKAAAAMg&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[14] https://flashdba.com/2014/06/20/understanding-flash-blocks-pages-and-program-erases/

[15] https://www.bunniestudios.com/blog/?p=3554

[16] https://www.theregister.com/2022/07/29/intel_optane_memory_dead/

[17] https://www.theregister.com/2022/08/01/optane_intel_cancellation/

[18] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZfTTB@kNA7D89yBABjvrKAAAAMg&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[19] https://www.theregister.com/2024/02/12/drowning_in_code/

[20] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ZfTTB@kNA7D89yBABjvrKAAAAMg&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[21] https://www.raspberrypi.com/software/raspberry-pi-desktop/

[22] https://whitepapers.theregister.com/



No way-land

druck

I'll have to see what the upgrade does for my non Wayland Pi 5, as when I tried a fresh install of Bookworm it was awful, so different to what I've been used to. I couldn't even get Wayland to change resolution from FullHD on a 1440p monitor and rsyslog wasn't installed by default - there is no excuse for that. I tried to install my usual Mate desktop and it completely ignored it, booting back in Pixel, even after configuring X.org. Hopeless.

From my very first Raspberry Pi Model B with 256MB, I've always upgraded the OS in place and moved the card to each new model of Pi I've bought. This worked through every OS version and Pi all the way up to Bullseye on a Pi 4B. I'd had the 64 bit kernel installed for sometime to play with 64 bit containers, but I was still using a 32 userland, then about a year ago I moved from 32 bit to 64 bit by taking a clean install on another partition, getting the same same packages on it as the 32 bit, then copying over the contents of /home and /etc, so not quite an in-place cross-grade but effectively ended acting like one.

After seeing how different a clean install of bookworm was on the Pi 5B, I decided, despite the dire warnings, to do an in place upgrade from the 64 bit bullseye to bookworm on the Pi 4 and I was pleased to find after following the instructions at [1]PiMyLifeUp it worked perfectly. A few more steps than a normal in place upgrade, but I kept a working Mate desktop, rsyslog and all the rest of my setup tuned over the past 12 years, but with no Wayland or the other changes like getting rid of dhcpcd. It was then a simple step take that card out of the Pi 4 and put it in to the new Pi 5, to enjoy the 3x performance increase.

[1] https://pimylifeup.com/raspberry-pi-os-bullseye-to-bookworm/

Re: No way-land

Tom Chiverton 1

> rsyslog wasn't installed by default - there is no excuse for that.

Except it being a systemd based system. So it doesn't need rsyslog.

Re: No way-land

bombastic bob

I think we're gonna need a "Devuan" style makeover on RPi OS

Re: No way-land

Gene Cash

There are unofficial Devuan images. That's what I'm running. I switched to that when I couldn't get USB webcams working with RPi OS.

Edit: there was a review here a while back that said it was a good non-systemd distro for RPis, but damned if I can't find it.

Re: No way-land

bombastic bob

"I tried to install my usual Mate desktop and it completely ignored it, booting back in Pixel, even after configuring X.org. Hopeless."

It sounds like they did TOO much integration of that desktop. I am guessing that deliberately UNINSTALLING the userland and starting from scratch might fix it. Boot to console for a while until it is re-done.

Might be a little difficult to do that though.

Also for EMBEDDED use, Wayland is a SHOW STOPPER. You ABSOLUTELY need to work on programs REMOTELY from a desktop, and that means using DISPLAY and XOrg.

800MB

captain veg

> We only had a couple of gigs free before we started, and afterwards, we're down to under 800MB of free space.

I get this from time to time. My system currently has 2TB of storage, but at the time I set it up the delivered SSD boasted a whole 256GB. Out of which I gave 30GB to the root partition, and loads more to home. Seemed like the right thing at the time.

Haven't yet run out of space on /root, but the periodic warnings are worrying.

Commentards are hereby invited to suggest how much of my 2TB I should dedicate to /root.

Is this the right forum to reminisce about my first 20MB hard drive?

-A.

Re: 800MB

Erik Pedersen

>> Is this the right forum to reminisce about my first 20MB hard drive?

Or about devices like my 1980s-era 64K CP/M machine, which provided only 62K for running WordStar, my text editor, since the OS had gobbled up a massive 2K.

— Erik

werdsmith

"The Raspberry Pi Foundation has updated its Debian 12-based OS for the pocket-sized powerhouse"

Are you sure?

kernel panic: write-only-memory (/dev/wom0) capacity exceeded.