From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106529] Kernels 4.16+ confuses KDE wrt what the primary display
is when waking up multiple displays
Date: Tue, 15 May 2018 15:00:35 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2059677116=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 4C6706E260
for ; Tue, 15 May 2018 15:00:36 +0000 (UTC)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============2059677116==
Content-Type: multipart/alternative; boundary="15263964360.e690F.10024"
Content-Transfer-Encoding: 7bit
--15263964360.e690F.10024
Date: Tue, 15 May 2018 15:00:36 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D106529
Bug ID: 106529
Summary: Kernels 4.16+ confuses KDE wrt what the primary
display is when waking up multiple displays
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel@lists.freedesktop.org
Reporter: mariusz.g.mazur@gmail.com
Created attachment 139577
--> https://bugs.freedesktop.org/attachment.cgi?id=3D139577&action=3Dedit
ubuntu's 4.15 dmesg with amdgpu.dc_log=3D1
It appears that the display-handling code in 4.15+ (including 4.17-rc5) mar=
ks
any display not fully woken up as disconnected or something to that effect.=
So
when I have multiple monitors and they get woken up from sleep (doesn't mat=
ter
whether the computer was suspended or just idle for a long period), and my
primary display wakes up slower than the any of the other displays (and it
does), then for a few hundred ms KDE tries to change the primary display to=
the
one that first woke up (I'm guessing it thinks that's the only one availabl=
e),
then changes its mind a bit later, when all displays wake up.
End result looks like crap and is not usable, since all my windows get
displaced. Here's how it looks like in practice:
Setup:
Radeon RX 560
Primary display: bottom right, displayport, on
Secondary display 1: left, hdmi, on
Secondary display 2: top right, dvi, off
Video of how it used to work, using 4.4.15:
https://www.youtube.com/watch?v=3Dh7nMYbm5ZxU
Note how even though the left (secondary) display wakes up first, both
instantly display their proper desktops.
Video of how it works with ubuntu 18.04's default 4.15 kernel/4.16.7/4.17-r=
c5:
https://www.youtube.com/watch?v=3DVdVFNXPszSI
Note how when the left (secondary) display wakes up first, KDE decides that
this is probably the only display available, so tries to switch the primary
desktop to it, then a split second later the bottom right wakes up and KDE
knows *that* should be the primary according to the config, so it switches
back.
Attached is dmesg from ubuntu's 4.15 with dc_log=3D1. I put the computer to
sleep, then wake it up and get the behavior like in the video.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15263964360.e690F.10024
Date: Tue, 15 May 2018 15:00:36 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
| Bug ID |
106529
|
| Summary |
Kernels 4.16+ confuses KDE wrt what the primary display is wh=
en waking up multiple displays
|
| Product |
DRI
|
| Version |
unspecified
|
| Hardware |
x86-64 (AMD64)
|
| OS |
Linux (All)
|
| Status |
NEW
|
| Severity |
normal
|
| Priority |
medium
|
| Component |
DRM/AMDgpu
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Reporter |
mariusz.g.mazur@gmail.com
|
Created attachment 139577 [details]=
ubuntu's 4.15 dmesg with amdgpu.dc_log=3D1
It appears that the display-handling code in 4.15+ (including 4.17-rc5) mar=
ks
any display not fully woken up as disconnected or something to that effect.=
So
when I have multiple monitors and they get woken up from sleep (doesn't mat=
ter
whether the computer was suspended or just idle for a long period), and my
primary display wakes up slower than the any of the other displays (and it
does), then for a few hundred ms KDE tries to change the primary display to=
the
one that first woke up (I'm guessing it thinks that's the only one availabl=
e),
then changes its mind a bit later, when all displays wake up.
End result looks like crap and is not usable, since all my windows get
displaced. Here's how it looks like in practice:
Setup:
Radeon RX 560
Primary display: bottom right, displayport, on
Secondary display 1: left, hdmi, on
Secondary display 2: top right, dvi, off
Video of how it used to work, using 4.4.15:
https://www.youtu=
be.com/watch?v=3Dh7nMYbm5ZxU
Note how even though the left (secondary) display wakes up first, both
instantly display their proper desktops.
Video of how it works with ubuntu 18.04's default 4.15 kernel/4.16.7/4.17-r=
c5:
https://www.youtu=
be.com/watch?v=3DVdVFNXPszSI
Note how when the left (secondary) display wakes up first, KDE decides that
this is probably the only display available, so tries to switch the primary
desktop to it, then a split second later the bottom right wakes up and KDE
knows *that* should be the primary according to the config, so it switches
back.
Attached is dmesg from ubuntu's 4.15 with dc_log=3D1. I put the computer to
sleep, then wake it up and get the behavior like in the video.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15263964360.e690F.10024--
--===============2059677116==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============2059677116==--