ubuntu-rockchip icon indicating copy to clipboard operation
ubuntu-rockchip copied to clipboard

Unable to power off HDMI display in Wayland

Open jsiddall opened this issue 11 months ago • 3 comments

HDMI can be powered off by KDE or Gnome energy saving settings (ex: the "switch off after..." setting in KDE) or by xscreensaver when using X11. However, in Wayland I can't get the display to turn off in KDE or Gnome using the normal display power settings. Of course, being designed for X11, xscreensaver is unable to power off Wayland displays but I also tried wlr-randr with no luck.

Hardware is Orange Pi 5 Kernel is 5.10.160-rockchip #31

Any ideas?

Other than the display power, Gnome on Wayland is very stable, and even KDE 5.27-10 is usable in Wayland or X11. Thanks for the great work on ubuntu-rockchip!

jsiddall avatar Mar 01 '24 14:03 jsiddall

By default the system will use Gnome with Wayland, the display will power off after 5 minutes. This will be the behavior out of the box. If you are having trouble it's likey due to some modification you made to the system.

Joshua-Riek avatar Mar 01 '24 14:03 Joshua-Riek

Ugh, OK, thanks for the info.

Unfortunately nothing in Wayland has ever turned off the display. I confirmed Settings->Power->Power Saving Options->Screen blank is set correctly. I turned it down to 1 minute for testing and nothing happens in any log I can see when the system has been idle for a minute.

I will see if I can head down the path of troubleshooting Wayland to try to figure out what is going on.

jsiddall avatar Mar 01 '24 15:03 jsiddall

One more request: can anyone send the output of these two commands:

swayidle
wlr-randr 

Hopefully knowing what those two say on a working system will help me figure out what is preventing power control from working on my setup.

When I run wlr-randr I get:

compositor doesn't support wlr-output-management-unstable-v1 and for swayidle I get:

Display doesn't support idle protocol Maybe one of those will return something different on a working system

Thanks!

jsiddall avatar Mar 01 '24 16:03 jsiddall