Bug 437470 - Screen turning off after reconnecting the docking station
Summary: Screen turning off after reconnecting the docking station
Status: RESOLVED WORKSFORME
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.21.5
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-21 19:27 UTC by jan.claussen10
Modified: 2022-11-09 06:25 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kscreen-console bug (33.22 KB, text/plain)
2021-06-11 06:32 UTC, Cuchac
Details
kscreen.log (99.78 KB, text/x-log)
2021-06-11 06:33 UTC, Cuchac
Details
journalctl (171.03 KB, application/octet-stream)
2021-06-11 06:33 UTC, Cuchac
Details
~/.local/share/kscreen/23e6f2247e0823e661c3f8d7b51e205a (1.48 KB, text/plain)
2021-06-11 06:34 UTC, Cuchac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jan.claussen10 2021-05-21 19:27:20 UTC
SUMMARY
I am not sure if this bug is related to Plasma or my docking station. I have an older ThinkPad dock and when I disconnect and reconnect the dock, the display moves to the external monitor and then turns off. I have to quickly press the button to switch screens, select the laptop screen and then the external screen again. 

I do not have this problem when using a pure HDMI or Display port connection. I also have other problems like that the sleep mode is not activated anymore when closing the laptop lid after I have disconnected the dock. It is a ThinkPad USB-C dock type 40A9.  

STEPS TO REPRODUCE
1. Connect the dock via USB-C with an external monitor connected
2. Unplug the USB connector and reconnect it

OBSERVED RESULT
The display is shown on the external monitor for 1-2 seconds and then turns off. I have to disconnect and try again with the strategy mentioned above. Pressing the button to switch displays doesn't react otherwise.


KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Cuchac 2021-06-11 06:32:57 UTC
Created attachment 139218 [details]
kscreen-console bug
Comment 2 Cuchac 2021-06-11 06:33:27 UTC
Created attachment 139219 [details]
kscreen.log
Comment 3 Cuchac 2021-06-11 06:33:36 UTC
Created attachment 139220 [details]
journalctl
Comment 4 Cuchac 2021-06-11 06:34:07 UTC
Created attachment 139221 [details]
~/.local/share/kscreen/23e6f2247e0823e661c3f8d7b51e205a
Comment 5 Cuchac 2021-06-11 06:35:43 UTC
Hello,
I can reproduce this issue on Dell laptop with Dell docking station. We have many same laptops and docking stations, all having same issue. As a developer, I can provide all required feedback if you like. I've followed bug-reporting guidelines on https://community.kde.org/Solid/Projects/ScreenManagement and attached required logs. After connection, monitors are enabled for one second, blinks and then turns black.

From what I can see from logs, config files are correct, outputs are enabled correctly on plug-in but then both monitors are disabled after few seconds.

I can fix configuration by enabling the outputs from GUI or from console using command:
kscreen-doctor output.DP1-1.enable output.DP1-1.mode.1380 output.DP1-2.enable output.DP1-2.mode.1380

I did not find any reason for disabling DP outputs in any log.

Provided logs are cropped to only include one plug-in of USB-C docking station connector. I can reproduce this behavior almost always.
Comment 6 Joern 2021-06-29 10:53:31 UTC
Same here too. I'm using a Dell XPS7590 with a Dell WD19TB Thunderbolt docking station. Whenever I unplug the dock the screen connected to it turns off. The Monitor itself is correctly reported by kernel and also visible in KScreen, but I've no chance to enable it again neither by GUI nor by kscreen-doctor. A reboot is required then.
Comment 7 Cuchac 2021-07-02 12:09:43 UTC
(In reply to Joern from comment #6)
> Same here too. I'm using a Dell XPS7590 with a Dell WD19TB Thunderbolt
> docking station. Whenever I unplug the dock the screen connected to it turns
> off. The Monitor itself is correctly reported by kernel and also visible in
> KScreen, but I've no chance to enable it again neither by GUI nor by
> kscreen-doctor. A reboot is required then.

Your issue is probably different. This issue is about plugging docking station IN and having disabled outputs. Outputs can be enabled in GUI.
Comment 8 Cuchac 2021-07-02 12:12:14 UTC
Hello,

I upgraded to plasma 5.22 and so far so good. I did not experience the problem yet. Outputs are correctly enabled and do not turn off. Running Arch + Plasma 5.22.2
Comment 9 Nate Graham 2021-07-05 21:37:55 UTC
Jan Claussen, how about you? Are you able to test with Plasma 5.22?
Comment 10 jan.claussen10 2021-07-05 23:43:59 UTC
Yes, it has happened to me just yesterday, but it seems like it happens less often. 

> Am 05.07.2021 um 23:37 schrieb Nate Graham <bugzilla_noreply@kde.org>:
> 
> https://bugs.kde.org/show_bug.cgi?id=437470
> 
> Nate Graham <nate@kde.org> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>         Resolution|---                         |WAITINGFORINFO
>             Status|REPORTED                    |NEEDSINFO
> 
> --- Comment #9 from Nate Graham <nate@kde.org> ---
> Jan Claussen, how about you? Are you able to test with Plasma 5.22?
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 11 Nate Graham 2021-07-05 23:46:06 UTC
OK, thanks.
Comment 12 jan.claussen10 2021-07-27 06:39:51 UTC
Okay, I haven't experienced it anymore. Maybe it was before the update :)
Comment 13 jan.claussen10 2021-07-31 16:31:17 UTC
It just happened again. Reopening.
Comment 14 Nate Graham 2022-11-08 22:09:44 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Plasma 5.25 or 5.26?

If it is, please change the status to CONFIRMED when replying. If not, or if you can't because you no longer use this setup, you can change the status to RESOLVED WORKSFORME. Thanks a lot!
Comment 15 jan.claussen10 2022-11-09 06:25:30 UTC
Yeah it has been gone for a while now. All good.