i have a Raspberry PI 400.
I installed Raspberry PI OS 64 Bit wth Desktop.
In my config.txt i have the standard:
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2
I added
hdmi_blanking=1
In cmdline.txt i added:
consoleblank=120
This works perfect on console TTY1 - TTY6.
After 120 seconds the console goes blank.
Monitor says that he will go to power safe mode and backlite switches off.
Monitor goes to deep sleep and uses < 2 Watt.
When i press a key the Monitor wakes up again with a short delay.
That's perfect.
On the Desktop i can not get this to work.
DISPLAY=:0 xset dpms 0 0 5
DISPLAY=:0 xset +dpms
or
xset dpms force off
just makes the screen black, i can even see the cursor still.
No sleeping of the monitor

So i installed xscreensaver.
I tried all power settings in xscreensaver.
Xscreensaver blanks the monitor.
And the monitor backlight goes off.
But the monitor is not in deep sleep.
The monitor still uses >12 Watt.
So i am seraching a way to get the same behaviour on the dektop as on the console.
Monitor should go to deep sleep with using < 2 Watt.
I read a lot of forum posts and tried all commands mentioned but with non of the ommands i get this behaviour as it is working on console.
Since it works on console, the hardware is capable of doing this. There must be a way to get this also working for the desktop.
I do not need a screensaver, i just want the monitor going to deep sleep from desktop.
Xset Information:
I hope someone can help me.pi@raspberrypi:~ $ xset -q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 33
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 20/10 threshold: 10
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 0
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/X11/Type1,built-ins
DPMS (Energy Star):
Standby: 0 Suspend: 0 Off: 60
DPMS is Enabled
Monitor is On
Thanks and best regards,
Stefan