All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output
@ 2019-01-13 22:47 bugzilla-daemon
  2019-01-13 22:52 ` bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2019-01-13 22:47 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 3126 bytes --]

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

            Bug ID: 109340
           Summary: HDMI output (DisplayPort-0) stops listing modes after
                    using docking station DP output
           Product: DRI
           Version: XOrg git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: zajec5@gmail.com

Created attachment 143092
  --> https://bugs.freedesktop.org/attachment.cgi?id=143092&action=edit
dmesg

I use following setup:
1) HP EliteBook 745 G5 with Ryzen 5 PRO 2500U
2) Docking station HP HSTNN-I11X
3) Monitor BenQ GW2260 (HDMI and no DisplayPort)
4) openSUSE Tumbleweed 
5) Self compiled kernel 4.20-rc3 from amd-staging-drm-next with patches:
drm/amd/display: Include names of all PP clock types
x86/MCE/AMD: Fix the thresholding machinery initialization order

My problem is that I can't use notebook's HDMI port (visible as DisplayPort-0)
after using DisplayPort output of docking station. HDMI detects monitor & gets
EDID but xrandr doesn't list any modes.


After booting without docking station & connecting monitor using HDMI port:
DisplayPort-0 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +  50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      60.00  
   1280x800      59.91  
   1280x720      60.00    50.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       60.00    59.94

After connecting docking station & monitor using DP port + HDMI adapter:
[drm] DM_MST: starting TM on aconnector: 00000000651bd996 [id: 57]
[drm] DM_MST: added connector: 00000000e1b7686d [id: 90] [master:
00000000651bd996]
[drm] DM_MST: added connector: 0000000078869ed2 [id: 94] [master:
00000000651bd996]
[drm] DM_MST: added connector: 00000000af4e5879 [id: 98] [master:
00000000651bd996]
[drm] amdgpu_dm_irq_schedule_work FAILED src 8
[drm] amdgpu_dm_irq_schedule_work FAILED src 8
[drm] amdgpu_dm_irq_schedule_work FAILED src 8

After disconnecting monitor & docking station:
[drm] DM_MST: stopping TM on aconnector: 00000000651bd996 [id: 57]
[drm] DM_MST: Disabling connector: 00000000e1b7686d [id: 90] [master:
00000000651bd996]
[drm] DM_MST: Disabling connector: 0000000078869ed2 [id: 94] [master:
00000000651bd996]
[drm] DM_MST: Disabling connector: 00000000af4e5879 [id: 98] [master:
00000000651bd996]

After connecting monitor using HDMI port:
xrandr: Output DisplayPort-0 is not disconnected but has no modes
(...)
DisplayPort-0 connected (normal left inverted right x axis y axis)


It's a bit weird since HDMI port (DisplayPort-0) seems to detect monitor being
connected & can get EDID. Is there some bug with enumerating available models
caused by DM_MST / TM?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4560 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output
  2019-01-13 22:47 [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output bugzilla-daemon
@ 2019-01-13 22:52 ` bugzilla-daemon
  2019-01-13 22:53 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2019-01-13 22:52 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 351 bytes --]

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

--- Comment #1 from Rafał Miłecki <zajec5@gmail.com> ---
Created attachment 143093
  --> https://bugs.freedesktop.org/attachment.cgi?id=143093&action=edit
Detailed logs of all connecting/disconnecting operations

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1410 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output
  2019-01-13 22:47 [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output bugzilla-daemon
  2019-01-13 22:52 ` bugzilla-daemon
@ 2019-01-13 22:53 ` bugzilla-daemon
  2019-01-14  8:42 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2019-01-13 22:53 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1015 bytes --]

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

--- Comment #2 from Rafał Miłecki <zajec5@gmail.com> ---
I've noticed that:

1) After connecting monitor to the docking station's DP output following
outputs appear: DisplayPort-3, DisplayPort-4 and DisplayPort-5.
2) After disconnecting monitor from docking stating I can see:
[drm] DM_MST: stopping TM on aconnector: 00000000651bd996 [id: 57]
[drm] DM_MST: Disabling connector: 00000000e1b7686d [id: 90] [master:
00000000651bd996]
[drm] DM_MST: Disabling connector: 0000000078869ed2 [id: 94] [master:
00000000651bd996]
[drm] DM_MST: Disabling connector: 00000000af4e5879 [id: 98] [master:
00000000651bd996]
3) After disconnecting whole docking station I can still see DisplayPort-3,
DisplayPort-4 and DisplayPort-5 in the "xrandr" output.

Is that expected? Is that a possible hint for some problem with output
management that also causes the original problem?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1880 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output
  2019-01-13 22:47 [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output bugzilla-daemon
  2019-01-13 22:52 ` bugzilla-daemon
  2019-01-13 22:53 ` bugzilla-daemon
@ 2019-01-14  8:42 ` bugzilla-daemon
  2019-01-14 10:46 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2019-01-14  8:42 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1372 bytes --]

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

--- Comment #3 from Rafał Miłecki <zajec5@gmail.com> ---
This problem also occurs when using drm/drm branch drm-next (5.0.0-rc1) with:
[PATCH v7 00/20] MST refcounting/atomic helpers cleanup
on top of it.

The only difference I've noticed is xrandr complaining about
MIT-MAGIC-COOKIE-1:
> xrandr 
Invalid MIT-MAGIC-COOKIE-1 keyxrandr: Output DisplayPort-0 is not disconnected
but has no modes
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis)
309mm x 174mm
   1920x1080     60.02*+  40.00  
   1680x1050     60.02  
   1280x1024     60.02  
   1440x900      60.02  
   1280x800      60.02  
   1280x720      60.02  
   1024x768      60.02  
   800x600       60.02  
   640x480       60.02  
DisplayPort-0 connected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
DisplayPort-3 disconnected (normal left inverted right x axis y axis)
DisplayPort-4 disconnected (normal left inverted right x axis y axis)
DisplayPort-5 disconnected (normal left inverted right x axis y axis)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2258 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output
  2019-01-13 22:47 [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output bugzilla-daemon
                   ` (2 preceding siblings ...)
  2019-01-14  8:42 ` bugzilla-daemon
@ 2019-01-14 10:46 ` bugzilla-daemon
  2019-01-14 11:15 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2019-01-14 10:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 294 bytes --]

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

--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
Please attach the corresponding Xorg log file, preferably captured after
reproducing the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1150 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output
  2019-01-13 22:47 [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output bugzilla-daemon
                   ` (3 preceding siblings ...)
  2019-01-14 10:46 ` bugzilla-daemon
@ 2019-01-14 11:15 ` bugzilla-daemon
  2019-01-14 12:04 ` bugzilla-daemon
  2019-11-19  9:10 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2019-01-14 11:15 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 381 bytes --]

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

--- Comment #5 from Rafał Miłecki <zajec5@gmail.com> ---
Created attachment 143103
  --> https://bugs.freedesktop.org/attachment.cgi?id=143103&action=edit
Xorg.0.log

I'm attaching Xorg.0.log at requested with my actions commented properly

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1348 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output
  2019-01-13 22:47 [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output bugzilla-daemon
                   ` (4 preceding siblings ...)
  2019-01-14 11:15 ` bugzilla-daemon
@ 2019-01-14 12:04 ` bugzilla-daemon
  2019-11-19  9:10 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2019-01-14 12:04 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 876 bytes --]

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

--- Comment #6 from Rafał Miłecki <zajec5@gmail.com> ---
Created attachment 143104
  --> https://bugs.freedesktop.org/attachment.cgi?id=143104&action=edit
Xorg.0.log using xf86-video-modesetting

Michel has suggested trying xf86-video-modesetting. A difference from user
perspective is minimal.

1) With both drivers I can use HDMI output port just fine after booting
(without a docking station)

2) After that I connect docking station, connect DP, disconnect DP, disconnect
docking station

3) Finally I try connecting monitor to the HDMI output again:
a) With xorg-xf86-video-amdgpu I get "Output DisplayPort-0 is not disconnected
but has no modes"
b) With xf86-video-modesetting I get "xrandr: Configure crtc 1 failed"

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1921 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output
  2019-01-13 22:47 [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output bugzilla-daemon
                   ` (5 preceding siblings ...)
  2019-01-14 12:04 ` bugzilla-daemon
@ 2019-11-19  9:10 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2019-11-19  9:10 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 805 bytes --]

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

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #7 from Martin Peres <martin.peres@free.fr> ---
-- 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/669.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2479 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-11-19  9:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-13 22:47 [Bug 109340] HDMI output (DisplayPort-0) stops listing modes after using docking station DP output bugzilla-daemon
2019-01-13 22:52 ` bugzilla-daemon
2019-01-13 22:53 ` bugzilla-daemon
2019-01-14  8:42 ` bugzilla-daemon
2019-01-14 10:46 ` bugzilla-daemon
2019-01-14 11:15 ` bugzilla-daemon
2019-01-14 12:04 ` bugzilla-daemon
2019-11-19  9:10 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.