I gave this a try on my Pi 3 Model B, but it turns out this model only supports x11 for now (I tried "raspi-config > Advanced Options > Wayland" and reboot but I think it's still using x11).

Just curious, what application are you running on the Pi?

I mostly use them for digital signage with FullPageOS, so haven't used the screen blanking feature until you mentioned this issue.

chrisa@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"

chrisa@raspberrypi:~ $ cat /proc/cpuinfo | grep Model
Model           : Raspberry Pi 3 Model B Plus Rev 1.3

chrisa@raspberrypi:~ $ echo $XDG_SESSION_TYPE
x11

Relevant KB:
https://www.raspberrypi.com/documentation/computers/configuration.html#wayland
"In the current version of Raspberry Pi OS Bookworm, the Raspberry Pi 4 and Pi 400 use Wayland by default; other models of Raspberry Pi use X11 by default."

On Wed, Oct 18, 2023 at 3:18 PM Gilbert Detillieux <Gilbert.Detillieux@umanitoba.ca> wrote:
And apparently when you disable screen blanking again, you get this
value in .config/wayfire.ini:

dpms_timeout=-1

Gilbert

On 2023-10-18 3:06 p.m., Gilbert Detillieux wrote:
> Answering my own question, it would appear that you can set screen
> blanking (DPMS) in the command-line/TUI tool, raspi-config...
>
> pi@raspberrypi:~ $ sudo raspi-config
> pi@raspberrypi:~ $ tail -2 .config/wayfire.ini
> [idle]
> dpms_timeout=600
> pi@raspberrypi:~ $
>
> In raspi-config, select "2 Display Options", then "D2 Screen Blanking",
> then enable.  The above change to .config/wayfire.ini seems to be the
> net effect.  The timeout is set to 600 seconds, and could probably be
> changed to any reasonable value, and likely 0 would disable it again.
>
> Funny that there wasn't a more obvious way to set this, via GUI screen
> preferences.
>
> Gilbert
>
> On 2023-10-18 1:03 p.m., Gilbert Detillieux wrote:
>> So, with all the hype around the new Raspberry Pi 5 (still waiting for
>> availability), and the new OS version, I thought I'd give the OS a try
>> on my Pi 400, and see how things look with the new Wayland-based GUI.
>>
>> One strange thing I noticed (other than the slight increase in CPU use
>> and slightly higher CPU temperature) is that there's no screen
>> saver/blanker enabled by default.  Stranger still is there doesn't
>> seem to be any way to enable it, at least not that I've been able to
>> find.
>>
>> The old X11/Xorg-based screen savers definitely don't work with
>> Wayland, and I don't want to turn off my monitor (and have to remember
>> to do so) every time I'm done using the Pi.  So, does anyone know how
>> I can enable screen blanking in Wayland?  (Preferably with Pi OS
>> and/or Debian 12 bookworm, but any Wayland-related info would be
>> appreciated.)
>>
>> If that doesn't work, I may find myself reverting back to Xorg.
>>
>> Thanks,
>> Gilbert
_______________________________________________
Roundtable mailing list
Roundtable@muug.ca
https://muug.ca/mailman/listinfo/roundtable