New: Resume with two monitors, second monitor is not resumed until VT switch
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: [email protected]
Reporter: [email protected]
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.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
https://bugzilla.kernel.org/show_bug.cgi?id=188091
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Alex Deucher <[email protected]> --- Please attach your xorg log and dmesg output.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=188091
--- Comment #2 from Greg White <[email protected]> --- Created attachment 245461
--> https://bugzilla.kernel.org/attachment.cgi?id=245461&action=edit
Xorg log
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=188091
--- Comment #3 from Greg White <[email protected]> --- Created attachment 245471
--> https://bugzilla.kernel.org/attachment.cgi?id=245471&action=edit
dmesg
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=188091
--- Comment #4 from Greg White <[email protected]> ---
Note that those two files were grabbed after I switched to a VT (since the UI was in a pretty whacked state.)
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=188091
--- Comment #5 from Greg White <[email protected]> ---
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.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=188091
--- Comment #6 from Vedran Miletić <[email protected]> --- (In reply to Greg White from comment #5)
Quoted 3 lines
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.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=188091
--- Comment #7 from Greg White <[email protected]> ---
I have attached a patch which seems to fix the problem here. Maybe it will be helpful?
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 188091] Resume with two monitors, second monitor is not resumed until VT switch
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=188091
--- Comment #8 from Greg White <[email protected]> --- 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.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel