Bug 89431

Summary: Monitor is deactivated after DPMS activates
Product: DRI Reporter: rob
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium CC: rob
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg
none
Xorg log file
none
xrandr output before power event
none
xrandr output after power event
none
possible fix none

Description rob 2015-03-04 22:41:45 UTC
Created attachment 114006 [details]
dmesg

I'm the owner of a AMD FirePro W4100.  I've got that installed on an Ubuntu 14.04 box and I'm using xfce4 with 3 monitors.  Everything is great until dpms powers down the primary monitor.

This seems to have the effect of xrandr disabling the monitor.  Then the only way I can get it back is to run xrandr --output DisplayPort-0 --auto and reconfig where the display is.

Attached are a my dmesg, Xorg.0.log, and the xrandr output before the dpms event.

Thank you,

Rob
Comment 1 rob 2015-03-04 22:42:18 UTC
Created attachment 114007 [details]
Xorg log file
Comment 2 rob 2015-03-04 22:42:51 UTC
Created attachment 114008 [details]
xrandr output before power event
Comment 3 rob 2015-03-04 22:44:49 UTC
Created attachment 114009 [details]
xrandr output after power event
Comment 5 Alex Deucher 2015-03-05 01:57:54 UTC
Seems like your monitor may trigger a hotplug signal when it goes off which the driver interprets as a disconnect.
Comment 6 Alex Deucher 2015-03-05 02:01:44 UTC
Created attachment 114015 [details] [review]
possible fix

Does this kernel patch help?  If not, we might try dropping the hdp stuff from set_irq and just leaving it set all the time.
Comment 7 rob 2015-03-05 17:50:32 UTC
I will give it a try today, thank you
Comment 8 rob 2015-03-06 00:57:55 UTC
building a new linux-image for ubuntu is tricky... might take me a little longer
Comment 9 rob 2015-03-18 18:35:22 UTC
That patch hasn't fix the issue but has changed the behavior.  Now the main screen blanks, then the other two.  After that all the screens come back which is a change as before the main screen would never return.  The screens do not stay in powersave for more than a fraction of a second.  In some events, the windows in the main screen get moved to the other screens but it is not consistent.
Comment 10 rob 2015-03-23 03:05:48 UTC
As an additional data point, monitor power-save seems to work correctly during the login screen, LightDM.
Comment 11 rob 2015-09-11 19:31:04 UTC
I'd like to close this as it seems to be working now.  The issue was that at least one of the 3 monitors attached had to be connected with either an actual Display Port connection or (in my case) an active Display Port to DVI connection.

Without that connection it would seem to trigger that power event that was reported.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.