dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 188091] New: Resume with two monitors, second monitor is not resumed until VT switch
@ 2016-11-18 10:27 bugzilla-daemon
  2016-11-21 22:27 ` [Bug 188091] " bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-11-18 10:27 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=188091

            Bug ID: 188091
           Summary: Resume with two monitors, second monitor is not
                    resumed until VT switch
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.9 rc5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: gwhite@kupulau.com
        Regression: No

This is for AMDGPU.  

I have an RX470 with two monitors attached via DP.  After a long suspend, when
one of the monitors has apparently gone into a deeper sleep state, it takes one
of them longer to wake.  When this happens,  the second monitor is not detected
and will not be seen until I switch to a VT and then back again.  Here's what I
see in dmesg before the switch:

18887.893100] [drm:amdgpu_atombios_dp_link_train] *ERROR* displayport link
status failed
[18887.893103] [drm:amdgpu_atombios_dp_link_train] *ERROR* clock recovery
failed
[18888.070075] [drm:amdgpu_atombios_dp_link_train] *ERROR* displayport link
status failed
[18888.070077] [drm:amdgpu_atombios_dp_link_train] *ERROR* clock recovery
failed

Again, after I switch to a VT and then back again, all is well.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
  2016-11-18 10:27 [Bug 188091] New: Resume with two monitors, second monitor is not resumed until VT switch bugzilla-daemon
@ 2016-11-21 22:27 ` bugzilla-daemon
  2016-11-21 22:37 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-11-21 22:27 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=188091

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com

--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
Please attach your xorg log and dmesg output.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
  2016-11-18 10:27 [Bug 188091] New: Resume with two monitors, second monitor is not resumed until VT switch bugzilla-daemon
  2016-11-21 22:27 ` [Bug 188091] " bugzilla-daemon
@ 2016-11-21 22:37 ` bugzilla-daemon
  2016-11-21 22:37 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-11-21 22:37 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=188091

--- Comment #2 from Greg White <gwhite@kupulau.com> ---
Created attachment 245461
  --> https://bugzilla.kernel.org/attachment.cgi?id=245461&action=edit
Xorg log

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
  2016-11-18 10:27 [Bug 188091] New: Resume with two monitors, second monitor is not resumed until VT switch bugzilla-daemon
  2016-11-21 22:27 ` [Bug 188091] " bugzilla-daemon
  2016-11-21 22:37 ` bugzilla-daemon
@ 2016-11-21 22:37 ` bugzilla-daemon
  2016-11-21 22:38 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-11-21 22:37 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=188091

--- Comment #3 from Greg White <gwhite@kupulau.com> ---
Created attachment 245471
  --> https://bugzilla.kernel.org/attachment.cgi?id=245471&action=edit
dmesg

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
  2016-11-18 10:27 [Bug 188091] New: Resume with two monitors, second monitor is not resumed until VT switch bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-11-21 22:37 ` bugzilla-daemon
@ 2016-11-21 22:38 ` bugzilla-daemon
  2016-11-22  0:41 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-11-21 22:38 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=188091

--- Comment #4 from Greg White <gwhite@kupulau.com> ---
Note that those two files were grabbed after I switched to a VT (since the UI
was in a pretty whacked state.)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
  2016-11-18 10:27 [Bug 188091] New: Resume with two monitors, second monitor is not resumed until VT switch bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-11-21 22:38 ` bugzilla-daemon
@ 2016-11-22  0:41 ` bugzilla-daemon
  2016-11-22  0:43 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-11-22  0:41 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=188091

--- Comment #5 from Greg White <gwhite@kupulau.com> ---
I should also note this is easily reproducible but still intermittent.  I'd say
80% of the time, I see this.  It's also not always one monitor - it can be
either of them.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
  2016-11-18 10:27 [Bug 188091] New: Resume with two monitors, second monitor is not resumed until VT switch bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-11-22  0:41 ` bugzilla-daemon
@ 2016-11-22  0:43 ` bugzilla-daemon
  2016-12-04  0:39 ` bugzilla-daemon
  2016-12-04  0:41 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-11-22  0:43 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=188091

--- Comment #6 from Vedran Miletić <vedran@miletic.net> ---
(In reply to Greg White from comment #5)
> I should also note this is easily reproducible but still intermittent.  I'd
> say 80% of the time, I see this.  It's also not always one monitor - it can
> be either of them.

Interesting. I have a very similar issue on Fiji (bug 176311) with two DP
monitors, but in case of Fiji it is always one monitor that will be blank until
the VT switch happens. And the error message is different.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
  2016-11-18 10:27 [Bug 188091] New: Resume with two monitors, second monitor is not resumed until VT switch bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-11-22  0:43 ` bugzilla-daemon
@ 2016-12-04  0:39 ` bugzilla-daemon
  2016-12-04  0:41 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-12-04  0:39 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=188091

--- Comment #7 from Greg White <gwhite@kupulau.com> ---
I have attached a patch which seems to fix the problem here.  Maybe it will be
helpful?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
  2016-11-18 10:27 [Bug 188091] New: Resume with two monitors, second monitor is not resumed until VT switch bugzilla-daemon
                   ` (6 preceding siblings ...)
  2016-12-04  0:39 ` bugzilla-daemon
@ 2016-12-04  0:41 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-12-04  0:41 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=188091

--- Comment #8 from Greg White <gwhite@kupulau.com> ---
Created attachment 246801
  --> https://bugzilla.kernel.org/attachment.cgi?id=246801&action=edit
Patch against atombios_dp.c

Seems to fix the problem locally.  I have no idea if it's correct or not, but
it may help tracking down the actual problem.

On my system, I see one training attempt when the monitors are on, 4-5 when
they are in standby.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-12-04  0:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-18 10:27 [Bug 188091] New: Resume with two monitors, second monitor is not resumed until VT switch bugzilla-daemon
2016-11-21 22:27 ` [Bug 188091] " bugzilla-daemon
2016-11-21 22:37 ` bugzilla-daemon
2016-11-21 22:37 ` bugzilla-daemon
2016-11-21 22:38 ` bugzilla-daemon
2016-11-22  0:41 ` bugzilla-daemon
2016-11-22  0:43 ` bugzilla-daemon
2016-12-04  0:39 ` bugzilla-daemon
2016-12-04  0:41 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).