Summary: | Black screen after unplugging external monitors when laptop screen is disabled | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Simon B <sbutcher+bugs> |
Component: | multi-screen | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | aleixpol, bhush94, kde, nate, notmart, vlad.zahorodnii, xaver.hugl |
Priority: | NOR | ||
Version: | 5.26.2 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=437471 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Simon B
2022-02-18 22:04:53 UTC
Having disabled the option to lock the screen on sleep, i realised this is not a kscreenlocker_greet issue. Workflow: 1) laptop with 2 monitors attached via usb c to Dell dock (e.g. WD19 but also another Dell monitor with integrated usb c dock) 2) laptop display disabled, monitor display enabled. 3) set computer to sleep 4) remove usb C cable 5) wake laptop from sleep 6) black screen (although ctrl-alt-f2 shows a vty) if i now plug the usb c cable back in, the display returns to the monitors, and i can then remove the usb c dock cable and regain visible screen on the laptop display. so in summary, plasma doesn't recognise the display settings have changed when resuming from sleep, unless i plug the dock back in again and remove it. this is repeatable every time (and obviously an issue if you grab your laptop to go to a meeting or a train journey when it is sleeping attached to the dock) Another observation. This only seems to occur with 2 external monitors. With one external monitor and the laptop screen off, removing the usb C cable to the dock while the laptop is sleeping, results in a working lock-screen on resume. With 2 external monitors and the laptop screen off, the problem occurs. The only way to recover is ctrl-alt-f2 and kill kscreenlocker_greet process, then returning to ctrl-alt-f1 shows the lock screen as usual. This bug persists in plasma 5.26.2 1) 2 external monitors via thunderbolt dock, laptop display off. 2) Set laptop to Sleep 3) unplug the cable to the dock 4) open the laptop lid to wake the laptop, and the screenlocker doesn't revert to using the laptop screen when the external monitors are removed while asleep. Perhaps related, I find this in the dmesg output upon wake-up. [Mon Oct 31 10:09:25 2022] i915 0000:00:02.0: [drm] *ERROR* [ENCODER:338:DDI TC3/PHY TC3][DPRX] Failed to enable link training [Mon Oct 31 10:09:26 2022] i915 0000:00:02.0: [drm] *ERROR* failed to allocate vcpi Pretty sure this is describing the same behaviour as 437471 *** This bug has been marked as a duplicate of bug 437471 *** |