Bug 107967 - [SKL] Connector states are not updated after resume
Summary: [SKL] Connector states are not updated after resume
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: Triaged, ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-18 07:04 UTC by MichaelLong
Modified: 2019-11-29 17:52 UTC (History)
1 user (show)

See Also:
i915 platform: SKL
i915 features: power/suspend-resume


Attachments
Xrandr output of the home docking station setup. (1.50 KB, text/plain)
2018-09-18 07:05 UTC, MichaelLong
no flags Details
Xrandr output of the office docking station setup. (1.84 KB, text/plain)
2018-09-18 07:06 UTC, MichaelLong
no flags Details
Suspend/resume cycle: Suspended at home, resumed in the office, done with kernel 4.18.8 (2.78 MB, text/plain)
2018-09-18 07:07 UTC, MichaelLong
no flags Details
Suspend/resume cycle: Suspended at home, resumed in the office, done with drm-tip (1.80 MB, text/plain)
2018-09-18 07:08 UTC, MichaelLong
no flags Details

Description MichaelLong 2018-09-18 07:04:51 UTC
Whenever I switch my work environment with my laptop between my office setup and my home setup within a suspend/resume-cycle, the connector output states are not updated.

The laptop involved, is a Lenovo Thinkpad T460p. On both sites a Lenovo ThinkPad Ultra Dock (type 40A2) is used.

Home monitor setup:
Eizo S2431W 24" in landscape mode, connected to DP3-1

Office monitor setup:
Eizo S2433W 24" in portrait mode, left, connected to DP3-1
Eizo S2431W 24" in landscape mode, right, connected to DP3-2

For details see the attached xrandr outputs.

Lately, at around kernel 4.16, when suspending the laptop in the office setup, carrying to my home and resuming it there, the connector outputs are not updated at all.

In this scenario the system shows a 90° rotated lock screen from KDE on the only connected screen. Presumably the left one of from the office setup. The xrandr tool still shows that DP3-1 and DP3-2 are connected.

The same happens vice versa, when suspend in the home setup and resuming it in the office setup, it only displays one screen (on the one that is physically rotated), probably because the are both connected to DP3-1.

I have attached two kernel outputs showing both suspend/resume cycles, one made with kernel 4.18.8 and the other one already with drm-tip.

The only known workaround to that problem is to let the laptop resume in an un-docked state before docking it again.
Comment 1 MichaelLong 2018-09-18 07:05:57 UTC
Created attachment 141615 [details]
Xrandr output of the home docking station setup.
Comment 2 MichaelLong 2018-09-18 07:06:28 UTC
Created attachment 141616 [details]
Xrandr output of the office docking station setup.
Comment 3 MichaelLong 2018-09-18 07:07:56 UTC
Created attachment 141617 [details]
Suspend/resume cycle: Suspended at home, resumed in the office, done with kernel 4.18.8
Comment 4 MichaelLong 2018-09-18 07:08:19 UTC
Created attachment 141618 [details]
Suspend/resume cycle: Suspended at home, resumed in the office, done with drm-tip
Comment 5 Lakshmi 2019-07-13 18:35:27 UTC
Reporter, if you don't mind can you please verify this issue with (https://cgit.freedesktop.org/drm-tip) with kernel parameters drm.debug=0x1e log_buf_len=4M ? and if the problem persists attach the full dmesg from boot.
Comment 6 Martin Peres 2019-11-29 17:52:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/intel/issues/158.


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.