Revamped Raspberry Pi OS boasts Wayland desktop and improved imager tool
- Reference: 1699012869
- News link: https://www.theregister.co.uk/2023/11/03/raspberry_pi_os_5/
- Source link:
You might have missed it in the excitement over the [1]announcement of the Raspberry Pi 5 at the end of September, but a couple of weeks later, the Raspberry Pi Foundation also updated [2]Raspberry Pi OS . The new release is quite significantly different from previous versions, so we thought we should take it for a spin.
Raspberry Pi OS 5.0 is based on Debian 12 "Bookworm," with a completely new Wayland desktop environment replacing [3]PIXEL , the older desktop based on LXDE and X.org, [4]augmented with Mutter in its previous release. There's also a new version of the Raspberry Pi [5]Imager available for Windows, Linux, and macOS, which not only writes to SD cards but can also download the OS image for you as well.
[6]
Raspberry Pi OS desktop
Like many a techie with a modest toy budget, The Reg FOSS desk has multiple Raspberry Pis lying around, but, oddly enough, none run the official OS.
This isn't because we don't like it. The x86 [7]Raspberry Pi Desktop is this vulture's [8]recommended lightweight distro for low-end PCs . It just so happens that we had various specific projects in mind, and used suitable OSes for them. So, among others, we have a Pi 3 running [9]XBian that works as a streaming music player, a Pi 4 running [10]Ubuntu Server which used to run a NAS, and a Pi 400 running [11]RISC OS Direct . (Setting up a [12]Pi-hole is on our to-do list, too.)
[13]
The differences in the updated OS made it sound worth a look, but we must confess that the initial steps are intimidating. There are now no fewer than [14]12 different downloads available (plus the PC version, which hasn't been updated to Debian 12 yet). There is both a 32-bit version, described as suitable for all versions of the Pi – which we think excludes the [15]Raspberry Pi Pico models – and a 64-bit one for the Pi 3A+, 3B, and later. Each of these comes in three variants: Standard, Light, and Full. What's more, all six are also available in "Legacy" versions, the older Debian 11-based release. Sadly, the [16]old NOOBS tool , which offered a choice of distros and OSes, is no more. Its [17]GitHub page says it's deprecated, replaced by the third-party [18]PINN .
[19]
[20]
If you're lucky enough to have a Pi 4 with 8 GB of RAM, the 64-bit edition is probably what you want. This vulture is not among that select crew, but it's what we picked anyway. We decided to reuse the Pi 4's 16 GB card, replacing Ubuntu Server 20.04, since that box has been replaced with an old HP Microserver running TrueNAS Core now.
[21]
The Imager app's download process is menu-driven, making it difficult to pick something your Pi won't be able to run – and maybe saving you large wasted downloads
The rather overwhelming choice of downloads led us to the Imager tool, which downloaded and installed in seconds on a laptop running Ubuntu 23.10. The new Imager lets you choose your target device first and uses that to restrict the choice of suitable OS images. Once you've picked a version, the tool lets you preset various configuration options: Hostname, username, whether to enable the SSH server, locale settings, and so on. All that worked very smoothly for us, even picking up the username of our Ubuntu account and proposing it. The sole exception was Wi-Fi configuration: We entered our network name and passphrase, but the newly imaged Pi 400 didn't connect. Doing it manually was easy, though.
[22]
Although NOOBS is no more, you can still download some alternative Pi OSes through the official app. For more outré things like the BSDs, though, you should go it alone
The new desktop looks very much like the old one we know from its PC incarnation. The compositor (Waylandese for "window manager") is [23]Wayfire , and there's a new panel, derived from Wayfire's [24]wf-shell which replaces the LXDE panel. We were sad to find that this new panel can't be relocated to be vertical any more. There are no fancy features like window-snapping, but there weren't before. Although the OS isn't using LXDE any more, the distro still uses some of its accessories, such as the PCManFM file manager, LXTerm terminal emulator, LXTask task manager, and so on.
RPi OS always offered Chromium as its default browser. That was a good choice. About six years ago, testing Lubuntu 16.04 on a Pi 3B, we found that thanks to its multithreading support, Chromium was noticeably faster than Firefox, whose [25]Electrolysis multithreaded rendering engine wasn't ready yet. Well, Firefox [26]deemed Electrolysis complete in 2018 and now the Pi OS includes Firefox 118.
[27]Mozilla treats Debian devotees to the raw taste of Firefox Nightly
[28]Linux will soon offer switchable x86-32 binary support
[29]Wayland heading for default status as Mint devs mix it into Cinnamon 6 bun
[30]Ubuntu LTS kernels will get one decade of fixes … still
The desktop works well. It both reproduces the PC version's combination of OpenBox and LXPanel adequately, and adds snazzy touches like a 3D-effect switcher on Alt-Tab. It's especially good given Wayland's relative paucity of full desktop environments. You can have GNOME, KDE Plasma, or build your own around Enlightenment. Those aside, you have a wide choice of tiling window managers and terminal emulators. There are other, less-visible changes under the hood, including NetworkManager handling LAN connections and Pipewire for audio. We'd still prefer a more complete environment such as Xfce, but we'd already take the Pi environment in preference to either GNOME or KDE Plasma.
We did hit some teething troubles. As always, the first thing we did after a new installation was to update the OS, but this process crashed out when trying to update the wolfram-engine component of Mathematica. Despite repairing the package database, this repeatedly failed to update. In the end, we had to remove the package and reinstall it, which worked fine and resolved the issue. Easy enough to work around for a moderately skilled user, but not at all beginner-friendly.
On our Pi 400, Pi OS 5 idled at about 450 MB of RAM in use, and it used about 12 GB of a 16 GB card. It's not as lightweight as it used to be – those numbers are nearly twice the freshly updated PC version. Saying that, it has a lot more bundled apps than the PC version, notably including Mathematica, which is a handsome freebie – the standalone [31]home/hobby edition starts at some $385/£315.
[32]
The differences from the previous version are not as visible on the surface as they are under it, which is a good thing. It's been substantially reworked, and the announcement ends with a stern warning not to try to upgrade from the Bullseye-based version:
This time, because the changes to the underlying architecture are so significant, we are not suggesting any procedure for upgrading a Bullseye image to Bookworm; any attempt to do this will almost certainly end up with a non-booting desktop and data loss. The only way to get Bookworm is either to create an SD card using Raspberry Pi Imager, or to download and flash a Bookworm image from here with your tool of choice.
Even so, several more intrepid types have already published how-to guides, including [33]9to5 Linux and [34]Iustin Pop . The latter even covers cross-grading from 32-bit to 64-bit for the brave.
Pi OS 5 works well, and it shows that it is possible to make a lightweight Wayland-based desktop that's still easy to use. ®
Get our [35]Tech Resources
[1] https://www.theregister.com/2023/09/28/raspberry_pi_5_revealed/
[2] https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/
[3] https://www.theregister.com/2016/09/28/raspberry_pi_adds_pixel_eye_candy_to_desktop_to_please_users/
[4] https://www.theregister.com/2021/11/08/raspberry_pi_os_bullseye/
[5] https://www.raspberrypi.com/software/
[6] https://regmedia.co.uk/2023/11/02/raspberrypios5.png
[7] https://www.raspberrypi.com/software/raspberry-pi-desktop/
[8] https://www.theregister.com/2022/07/11/raspberry_pi_desktop_update/
[9] https://xbian.org/
[10] https://ubuntu.com/download/raspberry-pi
[11] https://www.riscosdev.com/direct/
[12] https://pi-hole.net/
[13] 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=2ZUUnOxi@o95907XX2my5ewAAAMU&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[14] https://www.raspberrypi.com/software/operating-systems/
[15] https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html
[16] https://www.theregister.com/2013/06/06/raspberry_pi_dumbs_down_to_target_worlddog/
[17] https://github.com/raspberrypi/noobs
[18] https://github.com/procount/pinn
[19] 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=44ZUUnOxi@o95907XX2my5ewAAAMU&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[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=33ZUUnOxi@o95907XX2my5ewAAAMU&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[21] https://regmedia.co.uk/2023/11/02/piimager1.png
[22] https://regmedia.co.uk/2023/11/02/piimager2.png
[23] https://github.com/WayfireWM/wayfire
[24] https://github.com/WayfireWM/wf-shell
[25] https://www.theregister.com/2016/08/03/firefox_electrolysis_reaches_the_one_per_cent/
[26] https://wiki.mozilla.org/Electrolysis
[27] https://www.theregister.com/2023/11/01/official_mozilla_debian_firefox/
[28] https://www.theregister.com/2023/10/30/linux_kernel_6_7_rundown/
[29] https://www.theregister.com/2023/10/27/mint_wayland_cinnamon6/
[30] https://www.theregister.com/2023/10/26/ubuntu_10y_kernel_life/
[31] https://www.wolfram.com/mathematica/pricing/home-hobby/
[32] 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=44ZUUnOxi@o95907XX2my5ewAAAMU&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[33] https://9to5linux.com/how-to-upgrade-raspberry-pi-os-to-debian-bookworm-from-bullseye
[34] https://k1024.org/posts/2023/2023-10-31-raspberry-pi-upgrade-crossgrade/
[35] https://whitepapers.theregister.com/
Re: Not all PI hardware works with Bookworm yet
There looks to be quite a lot of stuff which Wayland doesn't do yet. There was an experimental option for Bullseye two years ago so it's rather surprising they haven't got everything working yet.
Re: Not all PI hardware works with Bookworm yet
"There looks to be quite a lot of stuff which Wayland doesn't do yet"
Indeed, and the following quote comes from another forum:
"You failed to read the fine print at the bottom of all the wayland promises over the past 12 years:
"It will improve your performance. Next year. Or the year after that. Or maybe the year after that. If you have the right hardware. And the right desktop. On certain tasks with certain apps. Maybe. Depends on the alignment of the stars and the moon, and if Jupiter is in the 2nd house"."
Re: Not all PI hardware works with Bookworm yet
the touch interface would not work under Wayland.
At least you CAN "switch back" to XOrg. For now.
[this helps to prove that Wayland on RPi, which would interfere with the BEST feature that using Linux for an embedded OS can offer, i.e. running GUI applications via the network on a remote computer, would be a HUGE mistake and any workaround kludge that CLAIMS to still work is just going to create even MORE problems]
How many "native Wayland applications" had to be uninstalled and replaced with Xorg compatible ones? Or was it just the GUI toolkits?
Huh?
The imager has downloaded the OS for quite some time now . . .
Neatly summaries ...
> work around for a moderately skilled user
... the Linux experience
Moved all of my 1B and 2Bs across to Bookworm w/o a problem and w/o requiring a new installation, also had it on Zero 2W w/o a problem.
My only Pi4 runs Ubuntu, and Pi5 only arrived today, so haven't decided how I'm going to use the new hardware, yet.
I also moved four of my RPi4s across to Bookworm without a problem. However, OpenMediaVault doesn't work with Bookworm yet, so there are still a couple of RPis to do.
I'm told my Pi5 has just been delivered at home! Look forward to playing with that later - I have a 64-bit bookworm SD card ready to roll...
embedded stystem development
(put on your gravelly 'movie trailer guy' voice for this one)
"In a world, where embedded developers use the Raspberry Pi hardware to create awesome devices, something is brewing underneath..."
'"I used to be able to do my code editing on my Xorg-based Linux desktop, with the DISPLAY environment variable pointing to it on the RPi. But NOW, Wayland is PREVENTING THIS from WORKING! The RPi touch screen is just WAY TOO SMALL! And I can't even work with HEADLESS systems any more! What am I going to do?'
PFF dit dit dit dit dit dit dit dit BOOM dit dit dit BAM dit dit dit *PWAAAH*
"Embedded developers, forced to work on a small RPi-compatible screen, lose their patience... and their SANITY"
'I cannot TAKE this any more! WAYLAND has RUINED MY CAREER!!! DAMN YOU, Raspnerry OS!!!'
"Coming this year, to an engineering lab near you: NIGHTMARE on WAYLAND STREET!"
Not all PI hardware works with Bookworm yet
I mentioned this before, when Bookworm first came out for the PI I tried it on a PI4.
It worked fine, except for the attached official touch screen which would display but the touch interface would not work under Wayland. Switching it back to XOrg allowed the touch screen to work fully.
So as I mentioned back then, Wayland has a long way to go for some setups, even with official Raspberry PI hardware