Bug 86004 - DP MST: xrandr doesn't detect new outputs after docking laptop
Summary: DP MST: xrandr doesn't detect new outputs after docking laptop
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.7 (2012.06)
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-07 14:13 UTC by Dmitry Nezhevenko
Modified: 2014-11-09 09:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg.log (46.62 KB, text/plain)
2014-11-07 14:13 UTC, Dmitry Nezhevenko
no flags Details
dmesg (283.86 KB, text/plain)
2014-11-07 14:13 UTC, Dmitry Nezhevenko
no flags Details
new Xorg.log (27.80 KB, text/plain)
2014-11-07 14:37 UTC, Dmitry Nezhevenko
no flags Details

Description Dmitry Nezhevenko 2014-11-07 14:13:06 UTC
Laptop is booted and logged in while undocked. Then once it's docked, no new outputs are added to xrandr:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 175mm
   1920x1080     60.01*+  59.93  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
VGA1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)

Followed lines are added to Xorg.log once docked (I've one display attached to dock's DVI port):

[  3362.188] removing GPU device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-3 (null)
[  3362.189] (II) intel(0): EDID vendor "LGD", prod id 1034
[  3362.189] (II) intel(0): Printing DDC gathered Modelines:
[  3362.190] (II) intel(0): Modeline "1920x1080"x0.0  140.10  1920 1980 2016 2092  1080 1083 1088 1116 +hsync -vsync (67.0 kHz eP)
[  3362.220] removing GPU device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-4 (null)
[  3362.221] (II) intel(0): EDID vendor "LGD", prod id 1034
[  3362.221] (II) intel(0): Printing DDC gathered Modelines:
[  3362.221] (II) intel(0): Modeline "1920x1080"x0.0  140.10  1920 1980 2016 2092  1080 1083 1088 1116 +hsync -vsync (67.0 kHz eP)
[  3362.253] (II) intel(0): EDID vendor "LGD", prod id 1034
[  3362.253] (II) intel(0): Printing DDC gathered Modelines:
[  3362.253] (II) intel(0): Modeline "1920x1080"x0.0  140.10  1920 1980 2016 2092  1080 1083 1088 1116 +hsync -vsync (67.0 kHz eP)
[  3362.284] removing GPU device /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DP-5 (null)
[  3362.285] (II) intel(0): EDID vendor "LGD", prod id 1034
[  3362.285] (II) intel(0): Printing DDC gathered Modelines:
[  3362.285] (II) intel(0): Modeline "1920x1080"x0.0  140.10  1920 1980 2016 2092  1080 1083 1088 1116 +hsync -vsync (67.0 kHz eP)

If x11 is started after docking, xrandr shows both displays.
Comment 1 Dmitry Nezhevenko 2014-11-07 14:13:35 UTC
Created attachment 109084 [details]
xorg.log
Comment 2 Dmitry Nezhevenko 2014-11-07 14:13:59 UTC
Created attachment 109085 [details]
dmesg
Comment 3 Chris Wilson 2014-11-07 14:17:27 UTC
Your DDX is too old to support MST.
Comment 4 Dmitry Nezhevenko 2014-11-07 14:25:27 UTC
It's from current debian unstable.

Tried to update xserver-xorg-video-intel from 2:2.21.15-2+b2 (unstable) to 2:2.99.916-1~exp1 (experimental) and it seems to be ok now.

Thanks
Comment 5 Dmitry Nezhevenko 2014-11-07 14:37:22 UTC
Created attachment 109086 [details]
new Xorg.log

Should these extra DP3-5 outputs disappear from xrandr output once I undock laptop?

Docked:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 175mm
   1920x1080     60.01*+  59.93  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
DP4 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      74.98    59.90  
   1280x720      59.97  
   1024x768      75.08    60.00  
   800x600       75.00    60.32  
   640x480       75.00    72.81    66.67    60.00  
   720x400       70.08  
DP5 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Undocked:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 175mm
   1920x1080     60.01*+  59.93  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
DP4 disconnected (normal left inverted right x axis y axis)
DP5 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Comment 6 Chris Wilson 2014-11-07 16:19:15 UTC
(In reply to Dmitry Nezhevenko from comment #5)
> Created attachment 109086 [details]
> new Xorg.log
> 
> Should these extra DP3-5 outputs disappear from xrandr output once I undock
> laptop?

No. The issue is that clients (for example gnome-shell) died when we removed connectors, so for the time being we keep the connectors around and try to reuse them when they are plugged back in.
Comment 7 Dmitry Nezhevenko 2014-11-08 21:46:43 UTC
Ok, I'm marking this as resolved since I don't see any issues with monitors after upgrading to 2:2.99.916-1~exp1.

Thanks a lot for your help!
Comment 8 Chris Wilson 2014-11-09 09:20:17 UTC
That's good! Let me know if you encounter any issues.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.