Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4525

Troubleshooting • Wayland: Switchind display off and on again is not working

$
0
0
Hi,
I am migrating from X11 to Wayland (64bit) with a Waveshare 320x1480 (vertical orientation). Everything is running after I learnt that I have to run it under Wayland in "KMS mode" (config.txt).

Now the display is working in general, but switching it On and Off (later by a proximity sensor) doesn't work, Off works, but On after Off does not:

Code:

pi$pi$ WAYLAND_DISPLAY="wayland-1" wlr-randr --output HDMI-A-1 --offpi$ # display is now offpi$ WAYLAND_DISPLAY="wayland-1" wlr-randr --output HDMI-A-1 --onfailed to connect to displaypi$
I get with On command, always the error "failed to connect to display". What I am doing wrong? What I have to do better?
Many thanks for your help in advance!

Ralf

Statistics: Posted by ralf9000 — Thu Feb 22, 2024 11:01 am — Replies 4 — Views 72



Viewing all articles
Browse latest Browse all 4525

Trending Articles