CachyOS / CachyOS-Settings

Settings used for CachyOS
GNU General Public License v3.0
105 stars 24 forks source link

DPMS disabled, yet ON #100

Closed dougg0k closed 1 month ago

dougg0k commented 1 month ago

Hi,

DPMS is known for it's black screen issues and more.

While checking with with xset, it shows disabled, yet On in another way. Maybe xset are for X11 only?

nu ❯ xset -q | grep DPMS
DPMS (Display Power Management Signaling):
  Server does not have the DPMS Extension

nu ❯ cat /sys/class/drm/card0-DP-2/dpms | to text
On
1Naim commented 1 month ago

Maybe xset are for X11 only

It's in the name.

dougg0k commented 1 month ago

?? Sure, point were finding out whether dpms are actually ON or not, and find a way to disable it, if so.

1Naim commented 1 month ago

I don't think you understand what DPMS is. To oversimplify, it's just your screen. So disabling DPMS would turn off the screen which I don't think is what you want. To illustrate

kscreen-doctor --dpms off
dougg0k commented 1 month ago

Display Power Management Signaling (DPMS) enables power saving behaviour of monitors

On popOS, I disabled it to fix black screen issues.

1Naim commented 1 month ago

Fundamentally, the implementation of DPMS in X11 and other operating systems (wayland included) is different. in X11, DPMS is fully implemented in the spec that VESA provides. However, due to lack of details from the standard, wayland and other OS does not implement VESA's DPMS.

dougg0k commented 1 month ago

Right, then why it would return as On?

1Naim commented 1 month ago

Because the screen is on.

dougg0k commented 1 month ago

Yeah.

https://gitlab.gnome.org/GNOME/mutter/-/blob/main/data/dbus-interfaces/org.gnome.Mutter.DisplayConfig.xml#L286 busctl --user set-property org.gnome.Mutter.DisplayConfig /org/gnome/Mutter/DisplayConfig org.gnome.Mutter.DisplayConfig PowerSaveMode i 3