From: bugzilla-daemon@freedesktop.org
Subject: [Bug 107333] Display Not Detected If Powered Off When amdgpu.dc=1
Date: Wed, 26 Sep 2018 21:46:23 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0764956452=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 235D96E065
for ; Wed, 26 Sep 2018 21:46:23 +0000 (UTC)
In-Reply-To:
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
--===============0764956452==
Content-Type: multipart/alternative; boundary="15379983831.c0AA.19543"
Content-Transfer-Encoding: 7bit
--15379983831.c0AA.19543
Date: Wed, 26 Sep 2018 21:46:23 +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=3D107333
--- Comment #3 from Matias N. Goldberg ---
I think I'm having the same problem.
I'll first describe my symptoms (all of them happening with DC=3D1):
Case 1:
1. Boot System
2. Monitors must be off by the time GRUB inits the kernel.
3. Wait until everything's up
4. Turn on monitor(s)
5. Monitor(s) will go to sleep because they're not receiving any signal
Workaround:
Ctrl+Alt+F1 to go into terminal, monitor now goes on. Type: sudo service
lightdm restart
Case 2:
1. Suspend the system
2. Turn off the monitors
3. Resume the system
4. Turn on monitor(s)
5. Monitor(s) will go to sleep
6. Trying Ctrl+Alt+F1 then Ctrl+Alt+F7 will show the dreaded "Session is Lo=
cked
You'll be redirected to the unlock dialog in a few seconds" but after a few
seconds the monitors go to sleep again and lightdm never unlocks.
Workaround:
Ctrl+Alt+F1 to go into terminal, monitor now goes on. Type: sudo loginctl
unlock-sessions
Case 3:
1. Login to XFCE
2. Set "Extend Displays"
3. Turn off the secondary monitors (I have 2). All is OK. The extended desk=
top
still works even though I cannot see it (expected behavior)
4. Turn off the main monitor too.
5. After turning on main monitor, now xfce will be set to "Mirror Displays"
instead
Workaround:
Super Key + P then select "Extend to the right" again.
Except for case 3 in which a secondary monitor is needed, it doesn't seem l=
ike
having 2 monitors affects the symptoms.
It's as if the kernel changes something that makes xfce & lightdm go nuts w=
hen
all monitors go off.
My environment:
Xubuntu 18.04
XFCE 4.12
Kernel 4.18.9
libdrm-2.4.94
Device: Radeon RX 560 Series (POLARIS11, DRM 3.26.0, 4.18.9, LLVM 7.0.0)
(0x67ff)
Version: 18.2.0
Radeon RX 560 2GB Gigabyte
Main LG FLATRON E2342 Monitor connected via HDMI
Secondary LG FLATRON E2341 Monitor connected via DVI
Booting with amdgpu.dc=3D0 fixes these issues.
This is the output of xrandr when both monitors are off and amdgpu.dc=3D0
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 connected primary 1920x1080+0+0 (normal left inverted right x axis=
y
axis) 510mm x 290mm
1920x1080 60.00*+ 50.00 59.94=20=20
1920x1080i 60.00 50.00 59.94=20=20
1680x1050 59.88=20=20
1400x1050 59.95=20=20
1600x900 60.00=20=20
1280x1024 60.02=20=20
1440x900 59.90=20=20
1280x800 59.91=20=20
1152x864 75.00=20=20
1280x720 60.00 50.00 59.94=20=20
1024x768 60.00=20=20
800x600 60.32=20=20
720x576 50.00=20=20
720x480 60.00 59.94=20=20
640x480 60.00 59.94=20=20
DVI-D-0 connected (normal left inverted right x axis y axis)
1920x1080 60.00 +
1680x1050 59.88=20=20
1280x1024 75.02 60.02=20=20
1280x960 60.00=20=20
1152x864 75.00=20=20
1024x768 75.03 60.00=20=20
832x624 74.55=20=20
800x600 75.00 60.32 56.25=20=20
640x480 75.00 59.94=20=20
This is the output of xrandr when both monitors are off and amdgpu.dc=3D1
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 disconnected primary (normal left inverted right x axis y axis)
DVI-D-0 connected (normal left inverted right x axis y axis)
1920x1080 60.00 +
1680x1050 59.88=20=20
1280x1024 75.02 60.02=20=20
1440x900 60.00=20=20
1280x960 60.00=20=20
1280x800 60.00=20=20
1152x864 75.00=20=20
1280x720 60.00=20=20
1024x768 75.03 60.00=20=20
832x624 74.55=20=20
800x600 75.00 60.32 56.25=20=20
640x480 75.00 59.94=20=20
720x400 70.08=20
Notice the HDMI monitor is now listed as disconnected.
Perhaps this is a case of "not our bug" and software should accommodate for
"hotpluggable monitors".
However if that's the case, this is still a problem when the new behavior
breaks basic desktop system software on boot and resume-from-suspend; and I=
'd
suggest either DRM should report a state of connected-but-off (if it's not
already there, then this is a driver bug), or there should be an extra kern=
el
param to not list powered-off monitors as disconnected, without having to
disable amdgpu.dc.
Cheers
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15379983831.c0AA.19543
Date: Wed, 26 Sep 2018 21:46:23 +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
Commen=
t # 3
on bug 10733=
3
from Matias N. Goldberg
I think I'm having the same problem.
I'll first describe my symptoms (all of them happening with DC=3D1):
Case 1:
1. Boot System
2. Monitors must be off by the time GRUB inits the kernel.
3. Wait until everything's up
4. Turn on monitor(s)
5. Monitor(s) will go to sleep because they're not receiving any signal
Workaround:
Ctrl+Alt+F1 to go into terminal, monitor now goes on. Type: sudo service
lightdm restart
Case 2:
1. Suspend the system
2. Turn off the monitors
3. Resume the system
4. Turn on monitor(s)
5. Monitor(s) will go to sleep
6. Trying Ctrl+Alt+F1 then Ctrl+Alt+F7 will show the dreaded "Session =
is Locked
You'll be redirected to the unlock dialog in a few seconds" but after =
a few
seconds the monitors go to sleep again and lightdm never unlocks.
Workaround:
Ctrl+Alt+F1 to go into terminal, monitor now goes on. Type: sudo loginctl
unlock-sessions
Case 3:
1. Login to XFCE
2. Set "Extend Displays"
3. Turn off the secondary monitors (I have 2). All is OK. The extended desk=
top
still works even though I cannot see it (expected behavior)
4. Turn off the main monitor too.
5. After turning on main monitor, now xfce will be set to "Mirror Disp=
lays"
instead
Workaround:
Super Key + P then select "Extend to the right" again.
Except for case 3 in which a secondary monitor is needed, it doesn't seem l=
ike
having 2 monitors affects the symptoms.
It's as if the kernel changes something that makes xfce & lightdm go nu=
ts when
all monitors go off.
My environment:
Xubuntu 18.04
XFCE 4.12
Kernel 4.18.9
libdrm-2.4.94
Device: Radeon RX 560 Series (POLARIS11, DRM 3.26.0, 4.18.9, LLVM 7.0.0)
(0x67ff)
Version: 18.2.0
Radeon RX 560 2GB Gigabyte
Main LG FLATRON E2342 Monitor connected via HDMI
Secondary LG FLATRON E2341 Monitor connected via DVI
Booting with amdgpu.dc=3D0 fixes these issues.
This is the output of xrandr when both monitors are off and amdgpu.dc=3D0
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 connected primary 1920x1080+0+0 (normal left inverted right x axis=
y
axis) 510mm x 290mm
1920x1080 60.00*+ 50.00 59.94=20=20
1920x1080i 60.00 50.00 59.94=20=20
1680x1050 59.88=20=20
1400x1050 59.95=20=20
1600x900 60.00=20=20
1280x1024 60.02=20=20
1440x900 59.90=20=20
1280x800 59.91=20=20
1152x864 75.00=20=20
1280x720 60.00 50.00 59.94=20=20
1024x768 60.00=20=20
800x600 60.32=20=20
720x576 50.00=20=20
720x480 60.00 59.94=20=20
640x480 60.00 59.94=20=20
DVI-D-0 connected (normal left inverted right x axis y axis)
1920x1080 60.00 +
1680x1050 59.88=20=20
1280x1024 75.02 60.02=20=20
1280x960 60.00=20=20
1152x864 75.00=20=20
1024x768 75.03 60.00=20=20
832x624 74.55=20=20
800x600 75.00 60.32 56.25=20=20
640x480 75.00 59.94=20=20
This is the output of xrandr when both monitors are off and amdgpu.dc=3D1
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 disconnected primary (normal left inverted right x axis y axis)
DVI-D-0 connected (normal left inverted right x axis y axis)
1920x1080 60.00 +
1680x1050 59.88=20=20
1280x1024 75.02 60.02=20=20
1440x900 60.00=20=20
1280x960 60.00=20=20
1280x800 60.00=20=20
1152x864 75.00=20=20
1280x720 60.00=20=20
1024x768 75.03 60.00=20=20
832x624 74.55=20=20
800x600 75.00 60.32 56.25=20=20
640x480 75.00 59.94=20=20
720x400 70.08=20
Notice the HDMI monitor is now listed as disconnected.
Perhaps this is a case of "not our bug" and software should accom=
modate for
"hotpluggable monitors".
However if that's the case, this is still a problem when the new behavior
breaks basic desktop system software on boot and resume-from-suspend; and I=
'd
suggest either DRM should report a state of connected-but-off (if it's not
already there, then this is a driver bug), or there should be an extra kern=
el
param to not list powered-off monitors as disconnected, without having to
disable amdgpu.dc.
Cheers
You are receiving this mail because:
- You are the assignee for the bug.
=
--15379983831.c0AA.19543--
--===============0764956452==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0764956452==--