From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107390] [BISECTED] EDID read failure breaks display mirroring Date: Thu, 26 Jul 2018 18:10:27 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0859289151==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id F34006E3C4 for ; Thu, 26 Jul 2018 18:10:26 +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 --===============0859289151== Content-Type: multipart/alternative; boundary="15326286260.CEeFe.19231" Content-Transfer-Encoding: 7bit --15326286260.CEeFe.19231 Date: Thu, 26 Jul 2018 18:10:26 +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=3D107390 Bug ID: 107390 Summary: [BISECTED] EDID read failure breaks display mirroring 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: junaru@gmail.com Created attachment 140839 --> https://bugs.freedesktop.org/attachment.cgi?id=3D140839&action=3Dedit Boot log showing EDID read failure Two displays are connected to a POLARIS 10 GPU: DVI-D-1 BenQ G2420HDBL (monitor) HDMI-A-1 Philips 55PUS6401 (4k TV) The displays worked fine in mirror mode on 1920x1080@60 until commit ac916c914c3156e53505e9ea3a9d1495518bf873: see 416.png - gnome display setti= ngs working as expected on mainline 4.16.9 kernel. As far as i can tell ac916c914c3156e53505e9ea3a9d1495518bf873 introduces 3 issues (listing the later two because they are probably side effects of the first one): #### 1st issue #### ac916c914c3156e53505e9ea3a9d1495518bf873 and later builds only allow deskto= p to be extended and not mirrored leaving the impression AMDGPU thinks the displ= ays have no compatible output modes for mirroring: see 417.png - gnome display settings on mainline 4.17+ no longer allowing the two displays to be mirror= ed, the tabline present at the top of 416.png is missing in 417.png. Grepping through kernel logs indeed shows AMDGPU failing to read EDID (full boot log attached): [drm:dm_logger_write [amdgpu]] *ERROR* No EDID read. * The error message is present with only the monitor connected. * The error message is also present with only the TV connected. This leaves me to believe that EDID is bad on both of my displays and AMDGPU was tolerating it until now or there might be some issues on AMDGPU's side = too. #### 2nd issue (probably related) #### If using the "Join Displays" (extended desktop) mode it was previously poss= ible to have have an extended desktop span 3840x2160 on TV and 1920x1080 on moni= tor.=20 After ac916c914c3156e53505e9ea3a9d1495518bf873 gnome display settings no lo= nger allows choosing 3840x2160 on TV when monitor is also plugged in. Both displ= ays are capped to 1920x1080@60. The 4k resolutions return when only TV is connected. #### 3rd issue (probably related) #### After ac916c914c3156e53505e9ea3a9d1495518bf873 a third erroneous "Unknown display" is found and put in 'enabled' state on what appears to be HDMI-A-2. with following modes: $ cat /sys/class/drm/card0-HDMI-A-2/modes=20 1024x768 800x600 800x600 848x480 640x480 There's nothing connected to HDMI-A-2 physically. #### SUMMARY #### Since broken EDID is probably the root cause of all of this i'm attaching b= oth displays EDID dumps as produced by read-edid 3.0.2 I have no experience in kernel development but would gladly test patches if anyone has ideas on what could be wrong. I'll also understand if this will be filed under woun't fix due to display = EDID issues. --=20 You are receiving this mail because: You are the assignee for the bug.= --15326286260.CEeFe.19231 Date: Thu, 26 Jul 2018 18:10:26 +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 107390
Summary [BISECTED] EDID read failure breaks display mirroring
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 junaru@gmail.com

Created attac=
hment 140839 [details]
Boot log showing EDID read failure

Two displays are connected to a POLARIS 10 GPU:

DVI-D-1   BenQ G2420HDBL (monitor)
HDMI-A-1  Philips 55PUS6401 (4k TV)

The displays worked fine in mirror mode on 1920x1080@60 until commit
ac916c914c3156e53505e9ea3a9d1495518bf873: see 416.png - gnome display setti=
ngs
working as expected on mainline 4.16.9 kernel.

As far as i can tell ac916c914c3156e53505e9ea3a9d1495518bf873 introduces 3
issues (listing the later two because they are probably side effects of the
first one):

#### 1st issue ####
ac916c914c3156e53505e9ea3a9d1495518bf873 and later builds only allow deskto=
p to
be extended and not mirrored leaving the impression AMDGPU thinks the displ=
ays
have no compatible output modes for mirroring: see 417.png - gnome display
settings on mainline 4.17+ no longer allowing the two displays to be mirror=
ed,
the tabline present at the top of 416.png is missing in 417.png.

Grepping through kernel logs indeed shows AMDGPU failing to read EDID (full
boot log attached):

[drm:dm_logger_write [amdgpu]] *ERROR* No EDID read.

* The error message is present with only the monitor connected.
* The error message is also present with only the TV connected.
This leaves me to believe that EDID is bad on both of my displays and AMDGPU
was tolerating it until now or there might be some issues on AMDGPU's side =
too.

#### 2nd issue (probably related) ####
If using the "Join Displays" (extended desktop) mode it was previ=
ously possible
to have have an extended desktop span 3840x2160 on TV and 1920x1080 on moni=
tor.=20

After ac916c914c3156e53505e9ea3a9d1495518bf873 gnome display settings no lo=
nger
allows choosing 3840x2160 on TV when monitor is also plugged in. Both displ=
ays
are capped to 1920x1080@60.
The 4k resolutions return when only TV is connected.

#### 3rd issue (probably related) ####
After ac916c914c3156e53505e9ea3a9d1495518bf873 a third erroneous "Unkn=
own
display" is found and put in 'enabled' state on what appears to be HDM=
I-A-2.
with following modes:
$ cat /sys/class/drm/card0-HDMI-A-2/modes=20
1024x768
800x600
800x600
848x480
640x480

There's nothing connected to HDMI-A-2 physically.

#### SUMMARY ####
Since broken EDID is probably the root cause of all of this i'm attaching b=
oth
displays EDID dumps as produced by read-edid 3.0.2
I have no experience in kernel development but would gladly test patches if
anyone has ideas on what could be wrong.
I'll also understand if this will be filed under woun't fix due to display =
EDID
issues.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15326286260.CEeFe.19231-- --===============0859289151== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0859289151==--