Bug 1607087 - power-manager unable to manage display power
Summary: power-manager unable to manage display power
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xfce4-power-manager
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mukundan Ragavan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-21 19:15 UTC by Paul DeStefano
Modified: 2019-07-20 02:33 UTC (History)
2 users (show)

Fixed In Version: xfce4-power-manager-1.6.3-1.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-20 02:33:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Paul DeStefano 2018-07-21 19:15:52 UTC
Description of problem:
For a long time, Xfce power-manager has not had any effect on my display power management; it doesn't do anything.  No mater what settings I choose, my monitor never goes to sleep.

Version-Release number of selected component (if applicable):
xfce4-power-manager-1.6.1-2.fc28.x86_64

How reproducible:
Always

Steps to Reproduce:
As I say, no matter what settings I try in the "Display" tab of Xfce Power Manger, the display never responds.

Additional info:
In the past, xscreensaver has been pretty good at turning off the monitor, but over the last two years, it has failed many times to work properly.  After a few updates, it will start working again for a few months, and then, after some update, it will not work.

Comment 1 Kevin Fenzi 2018-07-22 19:08:47 UTC
How is your monitor attached? VGA? DisplayPort? HDMI?

Is there anything like a kvm in place or is it a direct connection?

What video driver/card do you have there? 

Can you attach the output of: 

xrandr -q --verbose

Comment 2 Paul DeStefano 2018-07-22 21:28:30 UTC
Hey Kevin,

Displayport.

no KVM.

AMD RX480, amdgpu; although, I had the same problem with previous card/driver, Radeon 7870/radeonhd, and with previous monitor.

Screen 0: minimum 320 x 200, current 3440 x 1440, maximum 16384 x 16384
DisplayPort-0 connected primary 3440x1440+0+0 (0x5a) normal (normal left inverted right x axis y axis) 819mm x 346mm
	Identifier: 0x55
	Timestamp:  653276648
	Subpixel:   unknown
	Gamma:      1.0:1.1:1.1
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1 2 3 4 5
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff0006b3513546130100
		291b0104a55223783b62f5aa524ca326
		0f5054bfcf00d1c0b300950081808140
		81c0714f01014ed470a0d0a046502030
		3a00335a3100001ae77c70a0d0a02950
		20303a00335a3100001e000000fd0030
		64979737010a202020202020000000fc
		00415355532058473335560a202001f3
		02031af14d010304131f120211900f0e
		1d1e23090707830100001ab370a0d0a0
		3b5020303a00335a3100001a539d70a0
		d0a0345020303a00335a3100001a0000
		00000000000000000000000000000000
		00000000000000000000000000000000
		00000000000000000000000000000000
		0000000000000000000000000000000e
	TearFree: auto 
		supported: off, on, auto
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
  3440x1440 (0x5a) 543.500MHz +HSync -VSync *current +preferred
        h: width  3440 start 3472 end 3520 total 3600 skew    0 clock 150.97KHz
        v: height 1440 start 1443 end 1453 total 1510           clock  99.98Hz
  3440x1440 (0x5b) 458.500MHz +HSync -VSync
        h: width  3440 start 3472 end 3520 total 3600 skew    0 clock 127.36KHz
        v: height 1440 start 1443 end 1453 total 1499           clock  84.96Hz
  3440x1440 (0x5c) 402.750MHz +HSync -VSync
        h: width  3440 start 3472 end 3520 total 3600 skew    0 clock 111.88KHz
        v: height 1440 start 1443 end 1453 total 1492           clock  74.98Hz
  3440x1440 (0x5d) 319.750MHz +HSync +VSync
        h: width  3440 start 3472 end 3520 total 3600 skew    0 clock  88.82KHz
        v: height 1440 start 1443 end 1453 total 1481           clock  59.97Hz
  1920x1200 (0x5e) 543.500MHz +HSync -VSync
        h: width  1920 start 3472 end 3520 total 3600 skew    0 clock 150.97KHz
        v: height 1200 start 1443 end 1453 total 1510           clock  99.98Hz
  1920x1080 (0x5f) 148.500MHz -HSync -VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0x60) 148.500MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0x61) 148.500MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1920x1080 (0x62) 148.352MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1600x1200 (0x63) 543.500MHz +HSync -VSync
        h: width  1600 start 3472 end 3520 total 3600 skew    0 clock 150.97KHz
        v: height 1200 start 1443 end 1453 total 1510           clock  99.98Hz
  1680x1050 (0x64) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1280x1024 (0x65) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x66) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1440x900 (0x67) 106.500MHz -HSync +VSync
        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock  55.93KHz
        v: height  900 start  903 end  909 total  934           clock  59.89Hz
  1280x960 (0x68) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1280x800 (0x69) 543.500MHz +HSync -VSync
        h: width  1280 start 3472 end 3520 total 3600 skew    0 clock 150.97KHz
        v: height  800 start 1443 end 1453 total 1510           clock  99.98Hz
  1152x864 (0x6a) 108.000MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1280x720 (0x6b) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0x6c) 74.250MHz +HSync +VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1280x720 (0x6d) 74.176MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1440x576 (0x6e) 54.000MHz -HSync -VSync
        h: width  1440 start 1464 end 1592 total 1728 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  1024x768 (0x6f) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x70) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x71) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  1440x480 (0x72) 54.054MHz -HSync -VSync
        h: width  1440 start 1472 end 1596 total 1716 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  1440x480 (0x73) 54.000MHz -HSync -VSync
        h: width  1440 start 1472 end 1596 total 1716 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  800x600 (0x74) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0x75) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x76) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x77) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  720x576 (0x78) 27.000MHz -HSync -VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x480 (0x79) 27.027MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  720x480 (0x7a) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0x7b) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x7c) 31.500MHz -HSync -VSync
        h: width   640 start  664 end  704 total  832 skew    0 clock  37.86KHz
        v: height  480 start  489 end  492 total  520           clock  72.81Hz
  640x480 (0x7d) 30.240MHz -HSync -VSync
        h: width   640 start  704 end  768 total  864 skew    0 clock  35.00KHz
        v: height  480 start  483 end  486 total  525           clock  66.67Hz
  640x480 (0x7e) 25.200MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.50KHz
        v: height  480 start  490 end  492 total  525           clock  60.00Hz
  640x480 (0x7f) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  720x400 (0x80) 28.320MHz -HSync +VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock  31.47KHz
        v: height  400 start  412 end  414 total  449           clock  70.08Hz
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x56
	Timestamp:  653276648
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2 3 4 5
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	TearFree: auto 
		supported: off, on, auto
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x57
	Timestamp:  653276648
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2 3 4 5
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	TearFree: auto 
		supported: off, on, auto
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x58
	Timestamp:  653276648
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2 3 4 5
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	TearFree: auto 
		supported: off, on, auto
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad

Comment 3 Paul DeStefano 2018-07-27 22:02:43 UTC
Okay, so I have some more information, but I don't know what to make of it.

I disabled the screensaver and set the power-manager to blank in three minutes and...it worked!  The screen went blank and looked like it was in sleep.  But, then, about a minute later, it came back to a black screen (not blank) and there was an OSD message saying "display port 1", as if the monitor had woken up, but it video was all black, not the desktop.  It's like the initial "blank" DPMS is working, but then, there is a wake-up DPMS message that spuriously occurs waking the monitor up, or like the video blank mode switches to all black, which is obviously not the same and wakes up the monitor.

Does this make sense?  Any idea what is causing this behavior?

Comment 4 Paul DeStefano 2018-08-06 06:22:34 UTC
I tested again after kernel upgrade and I'm getting the same behavior.

I turned on "quick power off in blank mode" for Xscreensaver and tested.  When initiate xlock, the screen goes blank, and my monitor OSD said "displayport no signal", then it went to sleep.  But, just 5 seconds later, the monitor came back on and said "signal on display port".

Comment 5 Paul DeStefano 2018-11-27 05:03:50 UTC
This is *still* happening in F29.  It's been so long, I cannot remember when this problem started.  Is there anything I can do to help?

Comment 6 Paul DeStefano 2018-11-27 06:07:27 UTC
Aha, I stand corrected.  I keep getting screensaver power management and the power manager mixed up.  I tested with screensaver off, and found that Xfce Power Manager *is* able to put the monitor to sleep.  It looks like Blank, Sleep, and Off all result in power-save mode as the monitor detects no signal and puts itself to whatever state that is.  But, so far, it doesn't come back on like it was before.

On the other hand, Xscreensaver prevents all of that, so either I can lock the computer or have the power management, but not both.  I'll open a different bug for that.  Seems like progress, though.

Comment 7 Paul DeStefano 2018-11-27 15:03:00 UTC
Nope!  I set blank to 25 minutes and it never turned off the monitor last night.  I don't understand how this sort of thing can be intermittent.

Comment 8 Paul DeStefano 2018-11-28 15:07:37 UTC
This morning, I returned to find the monitor on, eventhough Xfce PM was enabled.  I see that xfdesktop crashed twice since I left the computer last night.

Comment 9 Paul DeStefano 2019-04-14 04:57:10 UTC
It seems like xfdesktop is no longer crashing, so I re-enabled PM to manage the monitor power and it still does not work. When PM is told to manage the display power, the monitor never goes to sleep.  Same behavior as before xfdesktop started crashing.  So, we are back to where we started.

Comment 10 Mukundan Ragavan 2019-04-15 00:11:12 UTC

(In reply to Paul DeStefano from comment #9)
> It seems like xfdesktop is no longer crashing, so I re-enabled PM to manage
> the monitor power and it still does not work. When PM is told to manage the
> display power, the monitor never goes to sleep.  Same behavior as before
> xfdesktop started crashing.  So, we are back to where we started.

That's too bad.

With xfce4-screensaver, power management works well on both laptop and desktop for me. Do we have an upstream bug report for this?

Comment 11 Paul DeStefano 2019-05-02 03:14:19 UTC
Not sure, I will have to spend more time checking.  I thought there was, but I cannot find it now.

What do you mean by xfce4-screensaver?  This is not a package in the Xfce Desktop DNF group.  Hmm, okay, I have never seen or used that screensaver.  I've always used xscreensaver, which also fails to control monitor for the last two years.  Think I should try xfce4-screensaver?

Comment 12 Mukundan Ragavan 2019-05-13 21:45:02 UTC
xfce4-screensaver may be worth a try. You can install it from the repos.

It's a rather new package from upstream (fork of mate screensaver) and I have not made it part of xfce group. That might change with 4.14.

Comment 13 Paul DeStefano 2019-05-14 03:07:02 UTC
xfce4-screensaver seems to work as a screensaver, but still no power management that I can see.  I will keep testing though after the upgrade to Fedora 30.

Comment 14 Fedora Update System 2019-07-04 11:44:33 UTC
FEDORA-2019-078370a14b has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-078370a14b

Comment 15 Fedora Update System 2019-07-05 00:45:42 UTC
xfce4-power-manager-1.6.3-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-078370a14b

Comment 16 Fedora Update System 2019-07-20 02:33:23 UTC
xfce4-power-manager-1.6.3-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.