You are not logged in.

#1 2022-12-04 23:00:51

TadaenSylvermane
Member
Registered: 2014-01-24
Posts: 34

Screen doesn't go into power saving when time runs out.

Running Arch with Pantheon & LightDM.

Dec 04 13:21:07 archwrecker io.elementary.w[1659]: Device.vala:190: Updating the upower device parameters failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method Refresh is not implemented on interface org.freedesktop.UPower.Device

This line repeats every 10-20 seconds as per the system.journal

I noticed the power not switching off / suspending on the screen when I first discovered elementary linux. decided i preferred pantheon on arch. same problem followed so it's definitely in their stuff. For reference my screen power saving is set to 10 minutes with a system suspend at 60 minutes. The monitor will go sleep mode only when the whole system suspends.

System:
  Kernel: 6.0.11-arch1-1 arch: x86_64 bits: 64 Desktop: Pantheon
    Distro: Arch Linux
Machine:
  Type: Desktop System: NCSTECH product: CT1-A402 v: N/A serial: <filter>
  Mobo: ASUSTeK model: P8H61-M LE/CSM v: Rev x.0x serial: <filter>
    UEFI: American Megatrends v: 4501 date: 05/10/2013
CPU:
  Info: quad core model: Intel Core i7-3770 bits: 64 type: MT MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 1771 min/max: 1600/3900 cores: 1: 2124 2: 2014 3: 1683
    4: 1600 5: 1614 6: 1941 7: 1596 8: 1596
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    driver: amdgpu v: kernel

Offline

#2 2022-12-05 01:33:09

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: Screen doesn't go into power saving when time runs out.

Moved to Newbie Corner.

Can you post the output of `xset q`?

All the best,

-HG

Offline

#3 2022-12-05 02:27:41

TadaenSylvermane
Member
Registered: 2014-01-24
Posts: 34

Re: Screen doesn't go into power saving when time runs out.

$  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:  2/1    threshold:  4
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/TTF,/usr/share/fonts/100dpi,/usr/share/fonts/75dpi,built-ins
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Enabled
  Monitor is On

Offline

#4 2022-12-05 07:09:23

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Screen doesn't go into power saving when time runs out.

Do you have some X.org related .conf somewhere around?

Also, if I'm not mistaken, your timeout value is set to zero. Dunno if that's "fighting" against monitor not turning off in 10 minutes.

$  xset -q

[...]

Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0

<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2022-12-05 09:14:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,411

Re: Screen doesn't go into power saving when time runs out.

The relevant part for the "monitor turns off" is

DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0

And "0" means never.

Is this a wayland session?

loginctl session-status

If not you can eg. "xset dpms 360 420 480" to enter the states after 6/7/8 minutes.

The upower dbus error out of context isn't helpful, because we don't know which device it's talking about.

Offline

#6 2022-12-05 15:07:31

TadaenSylvermane
Member
Registered: 2014-01-24
Posts: 34

Re: Screen doesn't go into power saving when time runs out.

Loginctl

2 - jason (5004)
           Since: Sun 2022-12-04 12:09:20 MST; 19h ago
          Leader: 752 (lightdm)
            Seat: seat0; vc7
         Display: :0
         Service: lightdm; type x11; class user
         Desktop: pantheon
           State: active
            Unit: session-2.scope

I have not made an xorg.conf anywhere, just whatever was provided with the packages.

DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0

After was suggested to run xset -q I did a bit of playing about. I tried various values. What would happen is after the given value the screen would suspend, then come back up 30 seconds later. The xset values returned to 0 after it came back up. I didn't touch the screensaver values.

Offline

#7 2022-12-05 15:13:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,411

Re: Screen doesn't go into power saving when time runs out.

Some session processs is gonna interfere and it's most likely whatever pantheon uses as screenlocker/saver.
Try to disable that.

Offline

#8 2022-12-16 02:06:00

TadaenSylvermane
Member
Registered: 2014-01-24
Posts: 34

Re: Screen doesn't go into power saving when time runs out.

Sorry for the delay. I've been messing with it, trying all kinds of stuff. At this point it's not limited to Pantheon. It happens on XFCE Arch, Debian with Gnome, and Elementary OS as it comes. I think it may be my screen. I have looked through it's settings and can find nothing on power saving however I do know that it suspends itself promptly on Windows 10. Once I hit that it works on Windows and seems to fail with any Linux I try then I'm at a standstill. I'll keep digging but at the moment I've got nothing.

Offline

#9 2022-12-16 09:17:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,411

Re: Screen doesn't go into power saving when time runs out.

Issues w/ the output cannot explain

The xset values returned to 0 after it came back up.

I'd suspect the output to un- and re-register w/ DPMS, applying some bogus xorg.conf setting - but that doesn't explain the behavior of other distros™

Still, please post your xorg.log, https://wiki.archlinux.org/title/Xorg#General
wrt "it suspends itself promptly on Windows 10" please see the 3rd link below.

As a workaround you could try

xautolock -time 5 -locker "xset dpms force off"

Offline

Board footer

Powered by FluxBB