Skip to contentSkip to conversation

DVI port is not detecting connected monitor with 4.16.0+ kernel and amdgpu.dc=1 set

Bug 105971 [email protected] 1 participant 10 messages Apr 10, 2018 – May 7, 2018

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 105971
           Summary: DVI port is not detecting connected monitor with
                    4.16.0+ kernel and amdgpu.dc=1 set
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 138731
--> https://bugs.freedesktop.org/attachment.cgi?id=138731&action=edit
dmesg output from amdgpu.dc=0 switch

Hello. I'm trying to get 4 monitors working on the same desktop. Video card is a Radeon RX560.

root@nope:/tmp# lsb_release -a
LSB Version:   
core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04
Codename:       xenial
root@nope:/tmp# uname -a
Linux nope 4.16.0+ #1 SMP Mon Apr 2 15:52:14 CEST 2018 x86_64 x86_64 x86_64
GNU/Linux

With kernel switch amdgpu.dc=1, DVI port doesn't detected connected monitor, but displayport MST is detected and utilized properly, allowing me to output video to three monitors from a single displayport.

With kernel switch amdgpu.dc=0, DVI port properly detects connected monitor, but displayport MST is not detected. Instead, displayport MST acts as a single output, and video output is mirrored to all three connected monitors.

This appears to be a kernel issue. Kernel was retrieved from git repo github.com/M-Bab/linux-kernel-amdgpu-binaries

I'm running the AMDGPU.UBUNTU kernel on that repo.

I'll attach dmesg, xrandr and Xorg.0.log output from both kernel switches.

I'm running amdgpu.dc_log=1 kernel switch for verbose logging.

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

#1 lore raw

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

--- Comment #1 from Joel Sass <[email protected]> --- Created attachment 138732
--> https://bugs.freedesktop.org/attachment.cgi?id=138732&action=edit
Xorg.0.log with 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 [email protected]

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

--- Comment #2 from Joel Sass <[email protected]> --- Created attachment 138733
--> https://bugs.freedesktop.org/attachment.cgi?id=138733&action=edit
xrandr with 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

#3 lore raw
In reply to [email protected]

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

--- Comment #3 from Joel Sass <[email protected]> --- Created attachment 138734
--> https://bugs.freedesktop.org/attachment.cgi?id=138734&action=edit
lshw output

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 [email protected]

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

--- Comment #4 from Joel Sass <[email protected]> --- Created attachment 138735
--> https://bugs.freedesktop.org/attachment.cgi?id=138735&action=edit
Xorg.0.log with amdgpu.dc=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

#5 lore raw
In reply to [email protected]

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

--- Comment #5 from Joel Sass <[email protected]> --- Created attachment 138736
--> https://bugs.freedesktop.org/attachment.cgi?id=138736&action=edit
dmesg output with amdgpu.dc=1 switch

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 [email protected]

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

--- Comment #6 from Joel Sass <[email protected]> --- Created attachment 138737
--> https://bugs.freedesktop.org/attachment.cgi?id=138737&action=edit
xrandr with amdgpu.dc=1 switch

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 [email protected]

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

--- Comment #7 from Joel Sass <[email protected]> --- A note about the Xorg.0.log with amdgpu.dc=0,

I see that the amdgpu module doesn't appear to be loaded. X came up just fine without the driver being loaded, and GPU desktop acceleration still worked just fine with compiz in gnome-flashback.

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 [email protected]

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

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

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

 Attachment #138731|text/x-log                  |text/plain
          mime type|                            |
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 [email protected]

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

Joel Sass <[email protected]> changed:

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

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #8 from Joel Sass <[email protected]> --- Update:

looks like the DVI output detection of the monitor has been fixed in drm-fixes-4.17 from agd5f here:
https://cgit.freedesktop.org/~agd5f/linux/?h=drm-fixes-4.17

had to compile it myself, but works relatively well. When plugging in a new monitor, the size was not properly detected, but it's better than freezing.

Thanks!

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