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

            Bug ID: 393223
           Summary: DisplayPort detection issues after standby/resume
           Product: KScreen
           Version: 5.12.4
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: common
          Assignee: se...@kde.org
          Reporter: mue...@gmail.com
  Target Milestone: ---

Created attachment 112071
  --> https://bugs.kde.org/attachment.cgi?id=112071&action=edit
kscreen log

Note: I'm not sure if this is a kscreen bug or kwin bug, but I'm leaning
towards the former.

I have two monitors connected to my system, one 1080p per HDMI, one 4k per
DisplayPort. When putting my system to sleep (RAM), the DisplayPort connection
seems to be shutdown in a weird way. Upon resuming from sleep, kscreen detects
the DisplayPort monitor multiple times, which confuses kwin and a bunch of
other applications (like latte-dock). Usually this manifests in the following
ways:

- Only the HDMI monitor shows the lock-screen, the 4k/DP monitor only shows a
black background (no lock-screen controls), but does show a mouse cursor when
moving it to the screen.

- kwin loses window positioning and moves my windows from the HDMI monitor to
the DP monitor.

- latte-dock sets an incorrect screen mask, making the right half of the dock
disappear (see https://github.com/psifidotos/Latte-Dock/issues/941 for the
upstream issue)

This is not happening every time I resume, but more often than not. It makes me
assume this is a timing issues. Maybe the screen first gets initialized with
1080p, then quickly switches over to 4k?

Debug output from kscreen attached!

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

Reply via email to