Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Operating Systems Hardware

Raspberry Pi OS Now Using Wayland By Default (phoronix.com) 36

Phoronix's Michael Larabel reports: Over the past year we have seen Raspberry Pi working a lot on Wayland support for the Raspberry Pi OS desktop and using it on their latest Raspberry Pi models. With today's new Raspberry Pi OS update, Wayland is being used by default across all Raspberry Pi devices. The new Raspberry Pi OS update shipping today is using Wayland across all Raspberry Pi models. Labwc is also now the Wayland compositor of choice and those upgrading their existing Raspberry Pi OS installation will be prompted whether to switch to Labwc or keep using the prior Wayfire compositor. Raspberry Pi developers feel that the Labwc Wayland compositor offers the best experience on their single board computers. You can learn more about the update and download it via the RaspberryPi.com blog.

Further reading: Raspberry Pi Launches Its Own Branded SD Cards and SSDs - Plus SSD Kits
This discussion has been archived. No new comments can be posted.

Raspberry Pi OS Now Using Wayland By Default

Comments Filter:
  • I tried the Wayland version of Raspberry Pi OS about six months ago and it sucked. Even just moving the mouse around consumed 40% of CPU resources.

    Went back to the old version (Bookworm?) and things went back to normal.

    • The article is pretty nonsensical. It starts by claiming that Wayland in more efficient, then halfway through, says they couldn't switch to Wayland because it consumed too many resources on their older models.

      X was designed in the 1980s. It's going to be more efficient than most things designed in the 2010s.
      • Silly desktop effects take fewer passes on Wayland than X11. But making every window into a GL/Vulkan context with two or three dedicated buffers is not appropriate for a resource constrained system.

        Also, screwing around with hot config files to adjust display settings and rendering options is a huge step backwards from having X11's RandR protocols.
        Wayland also took a step backwards with input methods editors, somehow doing a worse job than X11 at it. Almost would have been better to do nothing at all (whic

        • by dskoll ( 99328 )

          I have X driving four monitors... two at 1920x1080, one at 1920x1200 and one at 3200x1800 (scaled in software to 1600x900). I assume it uses GPU acceleration, but it's plenty fast.

          This is obviously not on a Pi. It's on a very fast workstation with a pretty decent video card.

          • Things like twinview help. Where GL contexts can live on one GPU but access different display controllers. When I ran a 2x2 screen configuration I really only had to deal with two GPU contexts.

            Try playing one video expanded to 4 screens at once in X11 (I'm assuming you're using Xinerama, obviously won't work if you aren't). That tends to side step the acceleration fast paths, and you'll start setting some heavy GPU usage. The same thing can be done in Wayland without leaving the acceleration path.

            The Pi sho

        • by serviscope_minor ( 664417 ) on Tuesday October 29, 2024 @03:11AM (#64902097) Journal

          I didn't think Wayland is very good.

          I do agree with your point that just because X was from the 80s it just be more efficient. However... It's not from the 80s of home computers you are thinking of. Back when X was new, none of the high end machines were fast enough to push pixels on the CPU, so the entire design was around hardware acceleration.

          X is all about opaque pixmaps which you hand off to the rendering system. It was designed from day 1 for acceleration. Now that's not to say that the model matches today's hardware well, but that's a different fish to fry. It's funny to hear GLX as hacked in. It arrived in 1994 with sgi, a scant 7 years after X was new, and we've now had it for 30.

          Anyways Wayland shouldn't be worse, or fundamentally less efficient, but... Wayland is what you get when you ignore 30 years of experience and reckon you know best.

          • It's not from the 80s of home computers you are thinking of. Back when X was new, none of the high end machines were fast enough to push pixels on the CPU, so the entire design was around hardware acceleration.

            Not true. We were pushing them on 68K without acceleration. Only in the SGI era was X11 seeing real improvements for acceleration. But it was also wrestling with weird framebuffer designs that vendors like Sun and HP were using on some machines. X11 quickly became about broad compatibility. The back end became much more flexible in the X11R4 era, with extensions to match what some of the vendors were already doing at the time.

            X is all about opaque pixmaps which you hand off to the rendering system. It was designed from day 1 for acceleration.

            They were designed for efficient BitBlt. And you can see that in how the bits are

        • I could never get ibus to work on Wayland.
      • by DrXym ( 126579 )

        X of the 80s is barely even being used. Modern apps running on Qt or Gtk aren't rendering using X primitives, they're rendering the entire application through hardware acceleration into a surface or pixmap via Qt Quick or Cairo. Then an X extension attempts to composite this pixmap / surface with some other surfaces to make a desktop. X is the bottleneck all the way through since it is clueless to all this and introduces various unnecessary context switches and problems for the compositor. It also has vario

        • I have no idea what Raspberry Pi's issue was in its Wayland implementation in the past but I can well imagine that hardware acceleration wasn't being fully utilised for whatever reason in the past and now it is.

          Yeah, you don't know.

          And Wayland has less context switching and a more efficient protocol between client and display server so it should yield a far more responsive and memory efficient local desktop.

          Did you profile it, or are you making things up?

          • Re: (Score:2, Interesting)

            by DrXym ( 126579 )

            If you bothered to read the technical write up of Wayland you would know it has less context switching. You would also know issues inherent to X and why nobody, including the X maintainers saw any way to fix them. You would also know that Wayland is a protocol, not an implementation of a client / display server and there are a lot of things that could impact performance that have nothing to do with context switching. And I'm sorry for dare speculating a likely cause for RPi enabling Wayland now. If you're s

            • People who know about efficiency always profile. People who don't profile, always write inefficient code and design inefficient protocols.

              Don't be the latter.
      • by Askmum ( 1038780 )
        "on their older models". I just installed a Pi Zero. Single core. It just froze for seconds on end for no apparent reason. Then I say journalctl spitting out messages galore about this Wayland crap. And I mean every second multiple messages.
        Couldn't get rid of it quickly enough. I can't even understand why you have a VNC enabled by default. Elitist comment: if you can't do it remotely using the shell, you have no business doing it at all.
    • by Locutus ( 9039 )
      But X is so inefficient and Wayland's design is so much better because it's new how can it possibly be slower than X?
      What a joke Wayland is if only because it's being pushed by someone/someorg with an agenda which doesn't sold water but distro's are believing the scam.
      I remember way back when IDEs were multi-windows with separate debugger windows from the code/source window, separate step and program control window and on multi-display systems it was great and even on a single display system which had multi
  • Why would you run a GUI on a Pi? Admittedly, I haven't tried the Pi 5, but I did try using a Pi 4 as a desktop machine just for kicks, and it wasn't great. Pretty slow, terrible YouTube playback. This is not what the Pi is meant for. Even the cheapest mini-PC will outperform a Pi as a desktop machine.

    I have two Pi Zeros, an ASUS TInkerboard, a Pi 3 and three Pi 4s running various services for me. Only the Pi 3 even has a display and it's a custom thing I wrote to scroll weather and news in my living r

    • You run a GUI on a Pi if you are writing Pi-specific applications. Anything that uses the camera or the GPIO for example. A Pi 5 will run VS Code reasonably well, even through VNC. It is way better than a Pi 4.

    • Why wouldn't you? Pis have literally had screens available for them since the very first one hit the market. There's countless reasons or projects which require a GUI or at the very least a window manager to run underneath and even the older Pis were very capable of that. Be that digital picture frames, interfaces for 3D printers, media players, arcade machines, or heck even the Pi I used as a basic NAS for a few years had a GUI that fired up X and displayed a window to show available disk space and network

    • Actually, it makes a lot of sense. Pis are used as controllers for CNC machines, for example. CNC machines make a lot of dust, and you don't want your expensive laptop to suck that in. A Pi with a touchscreen and a few buttons works fine as a controller.

      There are enough machines that are controlled via a graphical environment, and Pis are suitable computers to make that possible.

      • by Locutus ( 9039 )
        Yes but now they are defaulting to a windowing system which is slower and doesn't have the same capabilities so it requires more performance to run. That is not something you want on a CNC machine. I understand the post was in response to 'why would a user want a GUI on an rPi" but the reasons I'm seeing are also reasons why Wayland, nor a reduced featured Wayland, should not be defaulted on rPiOS.

        LoB
    • Kodi runs well enough in 1080p on a pi4, did too on a pi3. The same holds for retropie.

  • by rickb928 ( 945187 ) on Tuesday October 29, 2024 @09:17AM (#64902691) Homepage Journal

    0) Dual 4K HDMI outs, on an SBC. Why?
    1) They caution you on not expecting desktop performance, but offer desktop video. Uh, Why?
    2) Single-lane PCI is great. But dual lane would make SSD Raid simpler.
    3) GPIO really doesn't seem, to me, to be a feature that makes sense with the dual 4K HDMI...
    4) You're thinking about now that I'm confused about including dual 4K HDMI outs on the Raspberry 5. Right you are.
    6) At least they added a power button. Consistent with the desktop use. Not much with the embedded goals, maybe.

    And yet, in all this, I have RPIs 3,4 and 5 running. And a Zero 2W and a Nano, all doing things from helpful to unnecessary.

    • by Locutus ( 9039 )
      And while they are at it lets throw in a performancing eating display system which might have a security benefit but otherwise works worst than X.

      LoB

/earth: file system full.

Working...