Skip to contentSkip to conversation

DVI-D monitor connected to DVI-I output not detected (regression from kernel 4.14.32 to kernel 4.16.0 using graphic core)

Bug 105911 [email protected] 1 participant 10 messages Apr 6, 2018 – Nov 19, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=105911

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
            Product|xorg                        |DRI
          Component|Driver/AMDgpu               |DRM/AMDgpu
         QA Contact|[email protected]       |
            Version|7.4 (2008.09)               |unspecified
           Assignee|[email protected] |[email protected]
                   |                            |.org

--- Comment #5 from Michel Dänzer <[email protected]> ---
Note that with the 4.16 kernel, Xorg doesn't use the xorg.conf Section Monitor for the second DVI output, because it has a different name. But it looks like the real problem is that DC doesn't detect the monitor connected to it, reassigning.

BTW, does it still work with the 4.16 kernel and amdgpu.dc=0?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=105911

--- Comment #6 from Matthias Nagel <[email protected]> --- (In reply to Michel Dänzer from comment #5)

Quoted 2 lines

Note that with the 4.16 kernel, Xorg doesn't use the xorg.conf Section Monitor for the second DVI output, because it has a different name.

I know, but that's unimportant. The xorg.conf section for the second DVI output only exists such that the default layout of the monitors matches their physical arrangement on my desk. (From left to right, DVI-I tilted upwards, DP and then DVI-D).

Quoted 3 lines

But it
looks like the real problem is that DC doesn't detect the monitor connected to it, reassigning.

That's it.

Quoted 1 line

BTW, does it still work with the 4.16 kernel and amdgpu.dc=0?

Yes it does. (But of course with a wrong layout, because DVI-I is renamed to DVI-D-1)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=105911

--- Comment #7 from Michel Dänzer <[email protected]> --- (In reply to Matthias Nagel from comment #6)

Quoted 4 lines
Quoted 1 line

BTW, does it still work with the 4.16 kernel and amdgpu.dc=0?

Yes it does. (But of course with a wrong layout, because DVI-I is renamed to DVI-D-1)

Really? It's surprising that the output name would change even with DC disabled.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=105911

--- Comment #8 from Matthias Nagel <[email protected]> ---

Quoted 2 lines

Really? It's surprising that the output name would change even with DC disabled.

Sorry, my fault. I tampered with the xorg.conf to match it the new naming with DC enabled.

BTW, another interesting point:

I use dual-boot with Win10. I have never got the third monitor working with Win10, because the Windows driver does not detect the monitor neither. Initially, it does not appear in the monitor list, if I press the button "Identify" the third monitor pops up as an "Unknown, Not PnP, VGA monitor", but is greyed out. In other words the new Linux DC code behaves more similar to the Windows driver (which of course is not a real advantage).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=105911

--- Comment #9 from Harry Wentland <[email protected]> --- Can you capture the 4.16 dmesg with DC again with the amdgpu.dc_log=1 module option?

Do you see any activity on dmesg with dc_log=1 when you hotplug the non-detected display?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=105911

--- Comment #10 from Matthias Nagel <[email protected]> --- Created attachment 138677
--> https://bugs.freedesktop.org/attachment.cgi?id=138677&action=edit
dmesg output of kernel 4.16.0 with dc_log=1

Created new dmesg with amdgpu.dc_log=1, but I do not see any changes in output.

And there no kernel message, if I plug/unplug the monitor.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=105911

--- Comment #11 from [email protected] ---
I can confirm the bug ( in my case I have a DVI-I to VGA adapter)
https://bugs.launchpad.net/bugs/1762259

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=105911

--- Comment #12 from [email protected] ---
I appear to have a similar issue, like comment #11, where the DVI-I port on my 380X seems to be detected as DVI-D when DC is on and I don't get display over my DVI-I to VGA adapter (it works fine with amdgpu.dc=0). I'm also on Ubuntu 18.04 and I also still experience this with the latest mainline kernel. The Xorg log (extracts below) does still list the EDID for my display, identifies it as analog, and lists the new DVI-D port as connected when DC is on, but the display doesn't turn on.

DC on:

[     7.312] (II) AMDGPU(0): EDID for output DisplayPort-1
[     7.312] (II) AMDGPU(0): EDID for output HDMI-A-1
[     7.313] (II) AMDGPU(0): EDID for output DVI-D-2
[     7.313] (II) AMDGPU(0): EDID for output DVI-D-3
[     7.313] (II) AMDGPU(0): Manufacturer: SAM  Model: 4e5  Serial#: 1297691186

DC off:

[     7.399] (II) AMDGPU(0): EDID for output DisplayPort-1
[     7.400] (II) AMDGPU(0): EDID for output HDMI-A-1
[     7.402] (II) AMDGPU(0): EDID for output DVI-D-1
[     7.440] (II) AMDGPU(0): EDID for output DVI-I-1
[     7.440] (II) AMDGPU(0): Manufacturer: SAM  Model: 4e5  Serial#: 1297691186

The system still works as expected with both keyboard and mouse, so X does start properly otherwise.
This also happens with AMDGPU-PRO on Ubuntu 18.04 LTS.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=105911

--- Comment #13 from [email protected] ---
I now booted with amdgpu.dc_log=1 and found the following in my log when DC is on (I'm currently on 4.15.0.36):

[    1.479998] [drm] DC: create_links: connectors_num: physical:4, virtual:0
[    1.480001] [drm] Connector[0] description:signal 32
[    1.480029] [drm] Connector[1] description:signal 4
[    1.480031] [drm] dce110_link_encoder_construct: Failed to get
encoder_cap_info from VBIOS with error code 4!
[    1.480046] [drm] Connector[2] description:signal 2
[    1.480048] [drm] dce110_link_encoder_construct: Failed to get
encoder_cap_info from VBIOS with error code 4!
[    1.480064] [drm] Connector[3] description:signal 2
[    1.480066] [drm] dce110_link_encoder_construct: Failed to get
encoder_cap_info from VBIOS with error code 4!
[    1.492083] [drm] Display Core initialized
[    1.492091] [drm] Display Core initialized!
[    1.492427] [drm] link=0, dc_sink_in=          (null) is now Disconnected
[    1.492555] [drm] link=1, dc_sink_in=          (null) is now Disconnected
[    1.492683] [drm] link=2, dc_sink_in=          (null) is now Disconnected
[    1.505440] [drm] SADs count is: -2, don't need to read it
[    1.505453] [drm] [Detect]   [DDVI][ConnIdx:3] EDID goes here
[    1.505455] [drm] dc_link_detect: EDID decoded goes here
[    1.505456] [drm] link=3, dc_sink_in=        (ptrval) is now Connected

This does seem to show that connector 3 is incorrectly identified as dual link DVI-D, or at least missing/not using the analogue part.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=105911

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #14 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/343.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel