Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

DPMS on has no effect on latest versions

Open Cowboylaserkittenjetshark opened this issue 3 years ago • 3 comments

On some monitors, dpms on does not turn the display on. @wuyoli mentioned what sounds like the same issue here #489#issuecomment-1317591810

Expected outcome

hyprctl dispatch dpms off turns the display off hyprctl dispatch dpms on turns the display back on

Noted outcome

hyprctl dispatch dpms off turns the display off as expected hyprctl dispatch dpms on does not turn the display back on

Steps to reproduce

I can only reproduce this on one of my two monitors.

  1. Use v0.18.0beta or the latest git version of Hyprland (installed from the AUR) i. When using v0.17.0beta, everything works as expected
  2. Run hyprctl dispatch dpms off && sleep 10 && hyprctl dispatch dpms on
  3. The display will turn off, but not back on after 10 seconds like expected
  4. Switch to another TTY and back, turning the display on

image

odd. No issues for me on 2 separate PCs.

Does misc:mouse_move_enables_dpms work?

vaxerski avatar Nov 19 '22 16:11 vaxerski

misc:mouse_move_enables_dpms does not work. When I revert back to v0.17.0beta, it does.

I have no issues on my laptop (running latest version), only my desktop monitor.

I get the same output as your screenshot, dpms on just doesn't take effect.

do a git bisect then and let me know which commit broke this.

vaxerski avatar Nov 19 '22 17:11 vaxerski

commit 23cd1b8c66da3e85692891e985567f6f45f6e501
Author: vaxerski <[email protected]>
Date:   Sun Nov 13 11:04:28 2022 +0000

    update wlroots dep

 CMakeLists.txt      | 2 +-
 Makefile            | 8 ++++----
 subprojects/wlroots | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

report to wlroots then

vaxerski avatar Nov 19 '22 19:11 vaxerski

It looks like a fix had already been merged upstream here, so df132e5ff3395a15c1b48461cc588e4222ae1e02 fixes this issue.