https://bugs.kde.org/show_bug.cgi?id=490720

--- Comment #1 from Oded Arbel <o...@geek.co.il> ---
Created attachment 171974
  --> https://bugs.kde.org/attachment.cgi?id=171974&action=edit
Another system log of waking up and not connecting

The original report here is about a problem disconnecting and reconnecting to
the same Thunderbolt dock, after which the external screens do not turn on
automatically, but do turn on manually (using the DisplayConfiguration KCM or
the kscreen-doctor command line).

I have a more problematic behavior - that is maybe related or may be the same
thing -  that if the laptop is connected to another dock (standard USB-C, non
TB) with an external screen, then is slept, then wakes up and connects to the
Thunderbolt dock - the external screens stay off and there is **no way** to
turn them on other than a system reboot.

Attached is the system log from waking up in the case where the screens cannot
be turned on. They are still visible in the Display Configuration KCM, where
the "enabled" checkbox is unmarked, but trying to enable it fails with no error
messages.

Here's the output of a kscreen-doctor script I use to set the display
configuration for me:

--8<---
+ kscreen-doctor output.1.enable output.1.position.3200,840 output.2.enable
output.2.position.0,0 output.2.mode.3840x2160@60 output.2.scale.1.35
output.2.rotation.left output.3.enable output.3.position.1600,0
output.3.mode.3840x2160@60 output.3.scale.1.35 output.3.rotation.left
Enabling output 1
kscreen.doctor: Set output position QPoint(3200,840)
Enabling output 2
kscreen.doctor: Set output position QPoint(0,0)
kscreen.doctor: Taddaaa! Found mode "0" "3840x2160@60"
kscreen.doctor: Output 2 set mode "3840x2160@60"
Enabling output 3
kscreen.doctor: Set output position QPoint(1600,0)
kscreen.doctor: Taddaaa! Found mode "0" "3840x2160@60"
kscreen.doctor: Output 3 set mode "3840x2160@60"
kscreen.doctor: setop exec returned KScreen::Config( 
KScreen::Output(1, "eDP-1", connected enabled priority 1, pos:
QPoint(3200,840), res: QSize(1920, 1200), modeId: "0", scale: 1, clone: no,
rotation: KScreen::Output::None, followPreferredMode: false) 
KScreen::Output(2, "DP-5", connected enabled priority 2, pos: QPoint(0,0), res:
QSize(3840, 2160), modeId: "0", scale: 1.35, clone: no, rotation:
KScreen::Output::Left, followPreferredMode: false) 
KScreen::Output(3, "DP-6", connected enabled priority 3, pos: QPoint(1600,0),
res: QSize(3840, 2160), modeId: "0", scale: 1.35, clone: no, rotation:
KScreen::Output::Left, followPreferredMode: false) )
+ kscreen-doctor -o
Output: 1 eDP-1
        enabled
        connected
        priority 1
        Panel
        Modes:  0:1920x1200@60*!  1:1920x1200@48  2:1600x1200@60 
3:1280x1024@60  4:1024x768@60  5:1280x800@60  6:1920x1080@60  7:1600x900@60 
8:1368x768@60  9:1280x720@60 
        Geometry: 0,0 1920x1200
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: Automatic
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
Output: 2 DP-5
        disabled
        connected
        priority 0
        DisplayPort
        Modes:  0:3840x2160@60*!  1:3840x2160@60  2:3840x2160@30 
3:2560x1440@60  4:2048x1280@60  5:1920x1200@60  6:2048x1080@24  7:1920x1080@60 
8:1920x1080@60  9:1920x1080@60  10:1920x1080@50  11:1920x1080@24 
12:1920x1080@24  13:1600x1200@60  14:1600x900@60  15:1280x1024@75 
16:1280x1024@60  17:1152x864@75  18:1280x720@60  19:1280x720@60  20:1280x720@50
 21:1024x768@75  22:1024x768@60  23:800x600@75  24:800x600@60  25:720x576@50 
26:720x576@50  27:720x480@60  28:720x480@60  29:720x480@60  30:720x480@60 
31:640x480@75  32:640x480@60  33:640x480@60  34:640x480@60  35:720x400@70 
        Geometry: 0,0 3840x2160
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: Automatic
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
Output: 3 DP-6
        disabled
        connected
        priority 0
        DisplayPort
        Modes:  0:3840x2160@60*!  1:3840x2160@60  2:3840x2160@30 
3:2560x1440@60  4:2048x1280@60  5:1920x1200@60  6:2048x1080@24  7:1920x1080@60 
8:1920x1080@60  9:1920x1080@60  10:1920x1080@50  11:1920x1080@24 
12:1920x1080@24  13:1600x1200@60  14:1600x900@60  15:1280x1024@75 
16:1280x1024@60  17:1152x864@75  18:1280x720@60  19:1280x720@60  20:1280x720@50
 21:1024x768@75  22:1024x768@60  23:800x600@75  24:800x600@60  25:720x576@50 
26:720x576@50  27:720x480@60  28:720x480@60  29:720x480@60  30:720x480@60 
31:640x480@75  32:640x480@60  33:640x480@60  34:640x480@60  35:720x400@70 
        Geometry: 0,0 3840x2160
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: Automatic
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
---8<---

As can be seen, after setting Outputs 2 and 3 to enabled, and kscreen-doctor
acknowledging that it did that - they stay off and the kscreen-doctor output
confirms this.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to