DisplayPort 1.2 MST support is missing in the Intel driver

Bug #1104230 reported by Stéphane Graber
192
This bug affects 34 people
Affects Status Importance Assigned to Milestone
xf86-video-intel
Fix Released
Wishlist
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Dariusz Gadomski

Bug Description

SRU Justification:

Impact: Many users expect the possibility to use the DP1.2 MST feature which
enables them to use a number of different display setups: daisy-chaining
DP1.2 displays, some 4K displays appearing as 2 separate displays, 3D displays.
This however is not supported in Ubuntu stable kernel.

Fix: A series of 18 cherry-picks from v3.17 kernel backported to v3.16 by
the original author of the feature: David Airlie.

Regression Potential: These patches were merged upstream in v3.17 without any
reported regressions.

Original description:

I have two recent DisplayPort monitors, both supporting the 1.2 version of the standard and one containing an MST hub (DELL 2913WM).

I have an Intel Haswell based NUC connected over mini-displayport to the display containing the hub, then the second display is plugged in that one over DisplayPort.

DisplayPort 1.2 is enabled on the display containing the hub and the second display lights up fine but just works as a clone of the first display, without ever showing up in xrandr, dmesg or any other useful logs I could find.

My understanding of MST is that the second display should show up as DP2 on my laptop so I can configure it as I would any other display.

UPDATE: Updated the bug report after it was pointed out that the original test hardware, a Lenovo x230 isn't DP 1.2 capable. The same test on hardware also fails, due to missing support for MST in the driver.

Revision history for this message
Stéphane Graber (stgraber) wrote :
Revision history for this message
Stéphane Graber (stgraber) wrote :

Looks like it could be as simple as a bad cable. I'll be getting a new one next week and retry.

Changed in xorg (Ubuntu):
status: New → Incomplete
Timo Aaltonen (tjaalton)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Chris Wilson (ickle)
Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
ruxkkor (ruxkor) wrote :

stgaber: did you find a solution?

Revision history for this message
Stéphane Graber (stgraber) wrote :

No, MST still isn't supported properly in current trusty.

Revision history for this message
Matthew Ellison (xatt) wrote :

I'm still having the same issue with 13.10 -- my additional monitors are mirrored yet only detected as a single monitor. Is this planned to be fixed in any future version? With there being no support for DL-3x00 or DL-41xx (DisplayLink), it'd be nice to have the ability to run multiple external monitors on laptops with a single (mini-)DP port, as already possible on Windows.

Revision history for this message
Stefan Tauner (stefanct) wrote :

@ickle: could you please respond as to why this is not an xserver-xorg-video-intel bug?

Changed in xserver-xorg-video-intel (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Victor Luft (vluft) wrote :

Intel Gen 3 graphics hardware does not support Displayport 1.2 or MST[1][2]. In addition, the kernel level Intel drivers do not support MST even on hardware that does support it[3].

[1]: http://software.intel.com/en-us/articles/quick-reference-guide-to-intel-processor-graphics
[2]: https://communities.intel.com/thread/38524
[3]: http://lists.freedesktop.org/archives/intel-gfx/2014-February/039491.html

Revision history for this message
Stéphane Graber (stgraber) wrote :

Thanks for those details, it's good to finally see some documentation on what supports MST and what doesn't!

I update the description to reflect the fact that you need 4th gen hardware to get DP 1.2 on Intel.

summary: - DisplayPort 1.2 MST support seems to be broken in the Intel driver
+ DisplayPort 1.2 MST support is missing in the Intel driver
description: updated
Revision history for this message
Victor Luft (vluft) wrote :

Looks like progress is being made on implementing the kernel side of Haswell DP MST support - this is probably a good place to track if you're interested in updates on this: http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-i915-mst-support

My understanding is that once that is complete the xorg side will also need updating to support it as well.

Revision history for this message
Stéphane Graber (stgraber) wrote :

Yep, I've been following David's recent work on this.

Revision history for this message
Vincent Gerris (vgerris) wrote :

According to Phoronix it will not be included untill the 3.16 kernel.
If anyone has some kernel debs with these patches included for 14.04, please share, I am happy to test :).

Revision history for this message
madbiologist (me-again) wrote :

The Displayport MST support is finally being merged. There is a second article on Phoronix describing how the support will be included in the 3.17 kernel - see http://www.phoronix.com/scan.php?page=news_item&px=MTczNzM

Revision history for this message
Michael Schaller (misch-9) wrote :

The upstream bug for the MST support has been marked as fixed:
https://bugs.freedesktop.org/show_bug.cgi?id=72795

Can the MST support be backported to 14.10 and possibly 14.04?

Revision history for this message
Michael Schaller (misch-9) wrote :
Changed in xserver-xorg-video-intel (Ubuntu):
assignee: nobody → Dariusz Gadomski (dgadomski)
Changed in xserver-xorg-video-intel (Ubuntu):
assignee: Dariusz Gadomski (dgadomski) → nobody
Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

I have made an attempt to backport this feature to utopic and to trusty (via linux-lts-utopic package).
The problem is I don't have a hardware setup (I have a dp1.2-enabled laptop but lack any dp monitors and hubs).
If anyone would like to test this, the packages are available in ppa:dgadomski/linux-mst.

I will appreciate any feedback.

Changed in xserver-xorg-video-intel (Ubuntu):
assignee: nobody → Dariusz Gadomski (dgadomski)
Revision history for this message
Michael Schaller (misch-9) wrote :

Thank you, Dariusz. I've asked affected users to test your packages. If I don't hear back from them I'll test them myself in a few days.

Revision history for this message
Vincent Gerris (vgerris) wrote :

It would be great if anyone can explain the complete set of steps of how to install the packages needed to test this in 14.04.
I have found no repo with debs to test and the ones I found are not compatible with current xorg and such.
I thought I was fairly experienced with this, but I have not been able to figure it out.
I compiled and installed a 3.14 kernel which should have some patches, and tried the intel installer with it to no avail.
Again, I am happy to test, but I could really help some instructions and help from the people here that seem to be able to install it.
Happy to provide feedback

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Vincent, what you could do is to take a look at this instruction: https://01.org/linuxgraphics/node/358

Based on this you could:

sudo add-apt-repository ppa:dgadomski/linux-mst
sudo add-apt-repository ppa:xorg-edgers/ppa

sudo apt-get update
sudo apt-get install linux-image-3.16.0-19-generic # this will install the patched kernel for trusty
sudo apt-get install xserver-xorg-video-intel # this should get you the xorg-edgers intel driver with all the dependencies needed

Now you can reboot and verify with xrandr (like in the linked instruction) whether your displays are available or not.

Please make sure you have ppa-purge available (sudo apt-get install ppa-purge) so you will be able to revert it later if anything goes wrong with:
sudo ppa-purge ppa:dgadomski/linux-mst ppa:xorg-edgers/ppa

Revision history for this message
Vincent Gerris (vgerris) wrote :

Hi Dariusz,

Thank you very much for your quick reply.
I was about to do this, but what caught my surprise this morning, I rebooted and suddenly got mulit monitor support!
I am not sure why, I do not seem to use xserver-xorg-video-intel know, so not sure why it works now.
It might be because I used the intel installer before and there was a patch enabling my patched kernel to work.
I tried the original ubuntu kernel and with that it doesn't.
I am happy to be using it now (with one VGA, one DVI and the internal laptop screen, running my own compiled 3.14 kernel).
Thank you and let's hope Ubuntu will put those patches in the current kernel or in proposed or something.
cheers!

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Thanks Vincent.

Would you mind giving the patched kernel from ppa:dgadomski/linux-mst a try? That would allow us to confirm whether the cherry-pick works for the trusty backport of utopic kernel.

Thanks!

Revision history for this message
Vincent Gerris (vgerris) wrote :

Hi Dariusz,

I just tried your kernel and rebooted to it but it did not work.
I got no detected external monitors at all.
I think I ran the intel installer 1.06 on the 3.13 so that may not be the issue.
Another issue I have now is not having my kernel source, because I thought it would not work, so now I do not have my virtualbox working :).
If I have time I will try to figure out what I did exactly :).
It is a work laptop so I do not have unlimited time and capabilities.
I am happy to test again, if you have any changes that might make it work and especially when you also have the kernel source deb in the repo :).
Thank you for your work and help!

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Thanks for giving that a try Vincent. I believe that the intel driver needs to be reinstalled for this to work.

Regarding the source code:
Please not that if you uncomment the following line in your /etc/apt/sources.list.d/dgadomski-linux-mst-trusty.list file
# deb-src http://ppa.launchpad.net/dgadomski/linux-mst/ubuntu trusty main

it should allow you to get the kernel source with:
sudo apt-get update
apt-get source linux-image-3.16.0-19-generic

Revision history for this message
Vincent Gerris (vgerris) wrote :

I tried again and used the intel installer after which I could only boot in fallback graphics mode with both your and my custom kernel.
Before I used the installer I could see the screens with your kernel, but there was no signal going to them.
No I do not know how to fix this and why it worked in the first place.
Fortunately the original 3.13 kernel still gives me a working desktop :).
Any clues?
Maybe some dkms stuff, not sure. It would be great if someone could explain exactly which components are responsible, then I can test in a more structured instead of hackish way :).
Thank you

tags: added: cts
Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Vincent, I missed the setup you use in one of your comments. The kernels that I have prepared add only one feature: the Multi Stream Transport (MST) feature of the displayport 1.2, nothing else.

So basically for this to work you need a displayport 1.2 capable device and a displayport 1.2 monitors or a displayport 1.2 hub with displayport (not necessarily 1.2) monitors.

So basically this does not cover your setup and the fact that it did not work for you should have been expected.

Sorry for the confusion.

Revision history for this message
Vincent Gerris (vgerris) wrote :

Hi Dariusz,

I have a Dell E7440 laptop with a docking station with at the moment 2 monitors attached.
1 is using VGA, 1 DVI, but now they are mirrored again.
With the patched kernel I had, I had multiple monitors visible.
With my own kernel, they worked, with yours they just showed the screens but gave no signal.
As far as I understand, this hub support (for MST?) makes sure not 1 but 2 screens are identified.
I still do not understand which parts (kernel, xorg, videodriver) are needed to get it working.
When I have some spare time I will look in to it further.
I cannot afford to bork it, because I work on this machine :).

Greetings Vincent

Revision history for this message
Elvis Morales Fernandez (elvismdev) wrote :

I have a Dell XPS 14 laptop and two Dell U2414H monitors I am trying to make them work as two separate displays using MST under Ubuntu 14.04.

From my laptop outputs a DisplayPort cable to the first monitor DisplayPort input, then from this first monitor, outputs another DisplayPort cable to the second one. All I get is the two U2414H monitors mirrored, and they show up in Ubuntu display settings as a single monitor.

If applicable in my setup I would like to test any patch possible. Here are my devices from lspci (Notice I also have a Nvidia card which appears as 3D Controller device)

VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
 Subsystem: Dell Device 054d
 Flags: bus master, fast devsel, latency 0, IRQ 48
 Memory at d1000000 (64-bit, non-prefetchable) [size=4M]
 Memory at c0000000 (64-bit, prefetchable) [size=256M]
 I/O ports at 4000 [size=64]
 Expansion ROM at <unassigned> [disabled]
 Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
 Capabilities: [d0] Power Management version 2
 Capabilities: [a4] PCI Advanced Features
 Kernel driver in use: i915

3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/820M / GT 620M/625M/630M/720M] (rev a1)
 Subsystem: Dell GeForce GT 630M
 Flags: bus master, fast devsel, latency 0, IRQ 50
 Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
 Memory at a0000000 (64-bit, prefetchable) [size=256M]
 Memory at b0000000 (64-bit, prefetchable) [size=32M]
 I/O ports at 3000 [size=128]
 [virtual] Expansion ROM at b2000000 [disabled] [size=512K]
 Capabilities: [60] Power Management version 3
 Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Capabilities: [78] Express Endpoint, MSI 00
 Capabilities: [b4] Vendor Specific Information: Len=14 <?>
 Capabilities: [100] Virtual Channel
 Capabilities: [128] Power Budgeting <?>
 Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
 Kernel driver in use: nvidia

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Hi Vincent,

If I understand correctly your docking station performs the role of a dp mst hub (can you please confirm this with the documentation of your docking station or provide its model to verify this online?), so it should be a good setup to test.

Ideally to make this working you would need 2 things:
1. Patched kernel (I am hoping the one from my ppa is sufficient)
2. MST-aware intel driver (available from the xorg-edgers repository).

Can you please confirm that both conditions are satisfied in your test case?

Thanks,
Dariusz

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Hi Elvis,

Looks like you have the perfect setup to test this case.

Please make sure you have ppa-purge installed so you can revert the package updates if anything goes wrong.

Please follow these steps:
1. sudo add-apt-repository -y ppa:dgadomski/linux-mst
2. sudo add-apt-repository -y ppa:xorg-edgers/ppa
3. sudo apt-get update
Make sure that the output of:
4. apt-cache policy linux-image-3.16.0-19-generic
states
Candidate: 3.16.0-19.26~14.04hf71858v20141008b1
5. sudo apt-get install linux-image-3.16.0-19-generic
6. reboot to use the new kernel
7. sudo apt-get install xserver-xorg-video-intel
8. reboot to use the new intel driver

Assuming that you are connected to Monitor #1 and it is daisy-chained to Monitor #2 you should see 2 monitors available in the Ubuntu display settings panel.

I would appreciate your feedback.

Thanks,
Dariusz

Revision history for this message
Vincent Gerris (vgerris) wrote : Re: [Bug 1104230] Re: DisplayPort 1.2 MST support is missing in the Intel driver

Hi Dariusz,

I think I have this part:
Manufacturer Part# : XX6F0 | Dell Part# : 331-6307
I am not sure if that is a DP hub, it is beyond my knowledge.
I used your kernel and the xserver-xorg-video intel driver from URI was:
http://ppa.launchpad.net/pool/main/x/xserver-xorg-video-intel/xserver-xorg-video-intel_2.99.916+git20141016.6b98f162-0ubuntu0sarvatt~trusty_amd64.changelog
How does the xorg-edgers repo provide a driver?
I don't see it, while the repo is enabled.
When I had a fully working situation the last time, I did not see any
xserver-xorg-video-intel driver installed.
Is it another driver or package you are referring to?

Kind regards,
Vincent

On Mon, Oct 20, 2014 at 4:48 PM, Dariusz Gadomski <
<email address hidden>> wrote:

> Hi Vincent,
>
> If I understand correctly your docking station performs the role of a dp
> mst hub (can you please confirm this with the documentation of your
> docking station or provide its model to verify this online?), so it
> should be a good setup to test.
>
> Ideally to make this working you would need 2 things:
> 1. Patched kernel (I am hoping the one from my ppa is sufficient)
> 2. MST-aware intel driver (available from the xorg-edgers repository).
>
> Can you please confirm that both conditions are satisfied in your test
> case?
>
> Thanks,
> Dariusz
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1104230
>
> Title:
> DisplayPort 1.2 MST support is missing in the Intel driver
>
> Status in X.org xf86-video-intel:
> Unknown
> Status in “xserver-xorg-video-intel” package in Ubuntu:
> Confirmed
>
> Bug description:
> I have two recent DisplayPort monitors, both supporting the 1.2
> version of the standard and one containing an MST hub (DELL 2913WM).
>
> I have an Intel Haswell based NUC connected over mini-displayport to
> the display containing the hub, then the second display is plugged in
> that one over DisplayPort.
>
> DisplayPort 1.2 is enabled on the display containing the hub and the
> second display lights up fine but just works as a clone of the first
> display, without ever showing up in xrandr, dmesg or any other useful
> logs I could find.
>
> My understanding of MST is that the second display should show up as
> DP2 on my laptop so I can configure it as I would any other display.
>
> UPDATE: Updated the bug report after it was pointed out that the
> original test hardware, a Lenovo x230 isn't DP 1.2 capable. The same
> test on hardware also fails, due to missing support for MST in the
> driver.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/1104230/+subscriptions
>

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

VIncent, according to [1] this hardware is displayport 1.2 compatible.
"Plus, the Display Port 1.2 adds the ability to daisy chain displays (4 displays via 1 connector)."

However, I have not been able to determine whether this works in such a way that it takes MST output from your laptop's displayport and distributes it via vga and dvi ports.

Do you remember what feature have you been cherry picking to your patched kernel? Maybe you were using another feature.

The perfect setup to test this feature is the one Elvishas - daisy chained Dell monitors.

Regarding your question on the xorg-edgers driver: can you please try
sudo add-apt-repository -y ppa:xorg-edgers/ppa
sudo apt-get update
apt-cache policy xserver-xorg-video-intel

Please provide the output of the last command. Thanks.

[1] http://accessories.us.dell.com/sna/productdetail.aspx?c=us&l=en&s=gen&sku=331-6307

Revision history for this message
Elvis Morales Fernandez (elvismdev) wrote :

Hi Dariusz, will test your ppa asap I get home now. Question just to confirm myself, should I have enabled DisplayPort 1.2 in my both Dell monitors? Or, just the first one which is connected to the laptop.

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Hi Elvis, unfortunately I do not know that. Please consult your user's manual. I haven't got access to those monitors. Thank you!

Revision history for this message
Elvis Morales Fernandez (elvismdev) wrote :

Hi Dariusz,

I did just the first step on a fresh installation of Ubuntu 14.04 installing the kernel from your source, after reboot it leaves me without eth0 and wlan0. No network.

Revision history for this message
Elvis Morales Fernandez (elvismdev) wrote :

I did another installation installing the intel driver from xorg-edgers and your source for the kernel at the same time both and after reboot Ubuntu display settings shows me only the screen from the laptop (Built in screen).

Revision history for this message
Wouter van der Graaf (wouter-dynora) wrote :

Hi Dariusz,

I have a Dell XPS 12-9Q33 and two U2414Hb Dell displays, all DP 1.2 MST
compatible.

Using your instructions, I installed the new kernel and intel driver.

Daisy chaining the two displays to my laptop DOES NOT work. With this
kernel no external display works anymore.

Moreover, my wireless network controller is now no longer working. Even
though it's listed in lspci as a 'Network controller: Intel Corporation
Wireless 7260 (rev 6b)', rfkill list shows nothing.

Also, the touchscreen of my laptop stopped working with this kernel.
It's no longer in the output of xinput list, which should show
'ATML1000:00 03EB:842F'.

Lastly, my brightness keys don't work anymore.

When I reboot with official kernel 3.13, everything works again. Of
course, except for MST.

Can you perhaps explain what's going on?

Kind regards,

Wouter

Op 20-10-14 om 17:02 schreef Dariusz Gadomski:
> Hi Elvis,
>
> Looks like you have the perfect setup to test this case.
>
> Please make sure you have ppa-purge installed so you can revert the
> package updates if anything goes wrong.
>
> Please follow these steps:
> 1. sudo add-apt-repository -y ppa:dgadomski/linux-mst
> 2. sudo add-apt-repository -y ppa:xorg-edgers/ppa
> 3. sudo apt-get update
> Make sure that the output of:
> 4. apt-cache policy linux-image-3.16.0-19-generic
> states
> Candidate: 3.16.0-19.26~14.04hf71858v20141008b1
> 5. sudo apt-get install linux-image-3.16.0-19-generic
> 6. reboot to use the new kernel
> 7. sudo apt-get install xserver-xorg-video-intel
> 8. reboot to use the new intel driver
>
> Assuming that you are connected to Monitor #1 and it is daisy-chained to
> Monitor #2 you should see 2 monitors available in the Ubuntu display
> settings panel.
>
> I would appreciate your feedback.
>
> Thanks,
> Dariusz
>

--
Wouter van der Graaf
Open technologist / Partner

d y n o r a
Innovative software development

+31 6 2893 0615 | <email address hidden>

Burg. de Bruïnelaan 95 | 3331 AC Zwijndrecht | NL
+31 78 843 3139 | <email address hidden> | www.dynora.nl

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Thank you guys for testing this. Unfortunately I do not know the cause with the wireless network problems. I was doing sanity tests of those kernels on my trusty desktop (with a USB WiFi dongle) and my utopic laptop (with built-in wifi). In both cases I was able to use my network.

This kernel is basically a utopic kernel backported to trusty. Maybe there is something missing that is required for your wifi to work. I will try to check out what are the latest changes added to the kernel.

Other case - is there anybody that may test the other kernel from the ppa (on utopic)? If it will not work on utopic then most probably cherry picking of the commit mentioned above is not enough to provide full MST support.

Revision history for this message
Vincent Gerris (vgerris) wrote :
Download full text (4.0 KiB)

Hi Dariusz,

Some info, the output of the command you asked for:
*vincent@vincent-Latitude-E7440:~$ apt-cache policy
xserver-xorg-video-intel*
*xserver-xorg-video-intel:*
* Installed: 2:2.99.916+git20141016.6b98f162-0ubuntu0sarvatt~trusty*
* Candidate: 2:2.99.916+git20141016.6b98f162-0ubuntu0sarvatt~trusty*
* Version table:*
* *** 2:2.99.916+git20141016.6b98f162-0ubuntu0sarvatt~trusty 0*
* 500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/
<http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/> trusty/main amd64
Packages*
* 100 /var/lib/dpkg/status*
* 2:2.99.911-0intel1 0*
* 500 https://download.01.org/gfx/ubuntu/14.04/main/
<https://download.01.org/gfx/ubuntu/14.04/main/> trusty/main amd64 Packages*
* 2:2.99.910-0ubuntu1.1 0*
* 500 http://se.archive.ubuntu.com/ubuntu/
<http://se.archive.ubuntu.com/ubuntu/> trusty-updates/main amd64 Packages*
* 2:2.99.910-0ubuntu1 0*
* 500 http://se.archive.ubuntu.com/ubuntu/
<http://se.archive.ubuntu.com/ubuntu/> trusty/main amd64 Packages*

So I am seem to have the proper driver.

I also tested that driver and your kernel at home on a Dell E6430 with an
Optimus chipset, with Bumblebee set to intel mode.
I got no external monitors recognised (instead of 1, but had 2 connected)
and my external usb from the replicator ports did not work.
Seems like some things are not right on it.

By the way, the source I used to compile my kernel are from the git source
of David Airlie:
commit 91c403ffa85f17b8e349a510f3c32226a025da89
Author: Dave Airlie <email address hidden>
Date: Mon May 12 15:22:27 2014 +1000
 git://people.freedesktop.org/~airlied/linux

Greetings,
Vincent

On Mon, Oct 20, 2014 at 5:28 PM, Dariusz Gadomski <
<email address hidden>> wrote:

> VIncent, according to [1] this hardware is displayport 1.2 compatible.
> "Plus, the Display Port 1.2 adds the ability to daisy chain displays (4
> displays via 1 connector)."
>
> However, I have not been able to determine whether this works in such a
> way that it takes MST output from your laptop's displayport and
> distributes it via vga and dvi ports.
>
> Do you remember what feature have you been cherry picking to your
> patched kernel? Maybe you were using another feature.
>
> The perfect setup to test this feature is the one Elvishas - daisy
> chained Dell monitors.
>
> Regarding your question on the xorg-edgers driver: can you please try
> sudo add-apt-repository -y ppa:xorg-edgers/ppa
> sudo apt-get update
> apt-cache policy xserver-xorg-video-intel
>
> Please provide the output of the last command. Thanks.
>
> [1]
>
> http://accessories.us.dell.com/sna/productdetail.aspx?c=us&l=en&s=gen&sku=331-6307
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1104230
>
> Title:
> DisplayPort 1.2 MST support is missing in the Intel driver
>
> Status in X.org xf86-video-intel:
> Unknown
> Status in “xserver-xorg-video-intel” package in Ubuntu:
> Confirmed
>
> Bug description:
> I have two recent DisplayPort monitors, both supporting the 1.2
> version of the standard and one containing an MST hub (DELL 2913WM).
>
> I have an Intel Hasw...

Read more...

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Thanks Vincent. This confirm that probably what I have backported is not enough to have full MST support. I will try to prepare an updated build after reviewing David Airlie tree.

I will work on providing an update next week.

Thank you all for testing.

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Hello Elvis,

I have came across something that may interest you, here [1]. The Dell support person there states that you should have the DSP 1.2 enabled only on the primary monitor, on the secondary it should be disabled.

[1] http://en.community.dell.com/support-forums/peripherals/f/3529/t/19563839

Revision history for this message
Elvis Morales Fernandez (elvismdev) wrote :

Thanks Dariusz,

So yes, I founded that thread too and cleared my doubts about it. I had my monitors configuration that way while testing the patched kernels mentioned here.

description: updated
54 comments hidden view all 134 comments
Revision history for this message
Ben Hearsum (bhearsum) wrote :

Apologies for the spam, but I just fixed it. Turns out my video adapter was only set to 256MB. Changing it to 512MB in the BIOS has all three monitors working consistently \o/.

Thanks so much Dariusz, it's great to have this set-up going finally!

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

I'm glad it works for you Ben.

To everyone: if we want to get this to the Ubuntu kernel we need more feedback from people testing this.

Please give the Utopic kernel (3.16.0-26.34hf73386v20141126b1) a try and leave a comment here. This is a big feature and it would help us to have it tested.

Thanks!

Revision history for this message
Elvis Morales Fernandez (elvismdev) wrote :

Are there any update for kernel 3.13 on Trusty?

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Elvis, no, sorry, not yet. I was focusing on Utopic as it is the first step to get it accepted to Ubuntu.

What worries me is that the current build for trusty 3.13 worked for Wouter (comment #78) and does not work for you. That makes me wonder if your configuration is even supported by this feature.

Have you been able to make it working on any kernel version? Do you have possibility to give Utopic a try and confirm that your hardware should be supported?

Revision history for this message
Elvis Morales Fernandez (elvismdev) wrote :

Because of work I have no time to upgrade into 14.10 just because of the kernel 3.16, I think in some point soon 3.16 should be available also for 14.04 trough the standard repositories channel. 14.10 is kind of new and I'm aware if will be buggy or not for my particular setup, in the past I had to many bad experiences and time waste keeping my system always in the last release, so I prefer only to upgrade and run the risk of the new release install only when an LTS version comes out.

Anyhow I will make another tryout to this last build you made for kernel 3.16 on your ppa and see if now it works for me still under 14.04.

I'm also on the doubt if my system supports DP 1.2. But, for being a DELL XPS 14 a modern laptop I'm 90% sure it should. I think I will be asking to DELL support if they can provide me a confirmation about this for my particular hardware.

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Elvis, the only thing I was able to do for you right now is to build you an Utopic kernel for Trusty (the same that was working for Ben).

Please find it in my ppa. The version number is 3.16.0-26.34~14.04.1hf73386v20141127b1.

Please remember to use also the extras package.

3 comments hidden view all 134 comments
Revision history for this message
Krzysztof (krzpal) wrote :
Download full text (5.6 KiB)

I've installed

linux-image-3.13.0-39-generic and linux-image-extra-3.13.0-39-generic,

$ sudo apt-get install linux-image-3.13.0-39-generic linux-image-extra-3.13.0-39-generic
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
linux-image-3.13.0-39-generic jest już w najnowszej wersji.
linux-image-extra-3.13.0-39-generic jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 16 nieaktualizowanych.
3.13.0-40-generic

but I dont know how can I switch my 3 X I have 3 X Dell UltraSharp U2414H LED IPS connected form one Display Port in serial

graphic_card_out-1monitor_DisplayPort_in/1monitor_DisplayPort_out-2monitor_DisplayPort_in/2monitor_DisplayPort_out-3monitor_DisplayPort_in

I have still same picture on each monitor.
In setup Ubuntu window I see only one monitor detected.

What should I do nest to have fill MultiPort environment ?

$ uname -r
3.13.0-40-generic

$ lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850]

$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DFP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080 60.0*+ 50.0 59.9 60.1 50.0 24.0 60.0
   1600x1200 60.0
   1776x1000 50.0 59.9 50.0 24.0 60.0
   1680x1050 60.0 50.0 59.9 24.0
   1400x1050 60.0 50.0 24.0
   1600x900 50.0 60.0 24.0
   1280x1024 50.0 75.0 60.0 24.0
   1440x900 50.0 60.0 24.0
   1280x960 50.0 75.0 60.0 24.0
   1152x864 50.0 59.9 75.0 24.0
   1280x768 50.0 75.0 60.0 24.0
   1280x720 60.0 50.0 24.0 59.9
   1024x768 50.0 75.0 24.0 60.0
   1152x648 50.0 59.9
   800x600 50.0 24.0 75.0 60.3
   720x480 50.0 24.0 60.0 59.9
   640x480 50.0 24.0 75.0 59.9
DFP2 disconnected (normal left inverted right x axis y axis)
DFP3 disconnected (normal left inverted right x axis y axis)
DFP4 disconnected (normal left inverted right x axis y axis)
DFP5 disconnected (normal left inverted right x axis y axis)
DFP6 disconnected (normal left inverted right x axis y axis)
DFP7 disconnected (normal left inverted right x axis y axis)
CRT1 disconnected (normal left inverted right x axis y axis)

$ sudo lspci -vv
...
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850] (prog-if 00 [VGA controller])
 Subsystem: ASUSTeK Computer Inc. Device 042c
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 48
 Region 0: Memory at e0000000 (64-bit, prefetchable) [size=256M]
 Region 2: Memory at f7e00000 (64-bit, non-prefetchable) [size=256K]
 Region 4: I/O ports at e000 [size=256]
 Expansi...

Read more...

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Krzysztof, looks like you installed the kernel correctly, you are simply booting into a newer kernel without the feature.

Please make sure you boot using 3.13.0-39.

To do so please choose kernel 3.13.0-39 from the GRUB menu during the boot of your computer.

You can find more information how do display the menu at [1].

[1] http://askubuntu.com/questions/16042/how-to-get-to-the-grub-menu-at-boot-time

Revision history for this message
Krzysztof (krzpal) wrote :

Can you confirm that when from terminal

$ uname -r
3.13.0-40-generic

I'm getting 3.13.0-40-generic is this correct ?
So I have even higher version that you recommend 3.13.0-39. Is this correct?

Second thing is that I have DisplayPort cables which were together with my Dell UltraSharp U2414H LED IPS monitors.
I'm not sure and I don't have any information on cables that they support DP 1.2.
Is there any way to check out if my DP cables are DP 1.0 or 1.2?

Should I instal any other package to see in my ubuntu display config setup more than one monitor ?

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Krzysztof, you should be using 3.13.0-39 patched by me (the newer version is the vanilla Ubuntu kernel which does not support MST).

Regarding your question about cables: you should not worry about that. According to [1]:

> Despite what you may read, there is no such thing as a
> DisplayPort 1.1 cable and DisplayPort 1.2 cable. A standard
> DisplayPort cable, including the so-call DisplayPort 1.1 cables, will
> work for any DisplayPort configuration including the new capabilities
> enabled by DisplayPort 1.2, including 4K and multi-stream capabilities.
> All standard DisplayPort cables support RBR, HBR (High Bit Rate),
> and HBR2 (High Bit Rate 2), which can support 4K at 60Hz, or up to
> four 1080p displays using multi-stream.

So basically any DP cable should be ok.

If you have the intel drivers and the correct kernel up and running nothing else is required to get a working multi-display setup.

[1] http://www.displayport.org/cables/how-to-choose-a-displayport-cable-and-not-get-a-bad-one/

1 comments hidden view all 134 comments
Revision history for this message
Krzysztof (krzpal) wrote :

I have ATI Radeon HD 7850 graphic card and AMD drivers, so I'm not sure what it means form me Intel Drivers.
How can I check this ?

Another also very important in my current situation is how to downgrade kernel from current 3.13.0-40 to yours 3.13.0-39 patched ?
Thx!

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Sorry Krzysztof, this bug is dedicated only to supporting Intel VGAs, so none of the packages here would solve your problem.

Since you use the proprietary AMD drivers you should examine the features their driver support and follow their instructions.

Sorry, I have missed the AMD VGA part in the log you pasted.

Revision history for this message
Krzysztof (krzpal) wrote :

ok, I will downgrade kernel

sudo apt-get install --reinstall linux-image-3.13.0-39-generic linux-image-extra-3.13.0-39-generic
sudo update-grub
sudo reboot now

I have right now ATI Catalyst Drivers v.14.9.
Can you give me some advice what special should I search in my ATI drivers?

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Krzysztof, you don't have to downgrade the kernel. This is only necessary with the open-source Intel drivers.

I'm not sure if AMD drivers support Displayport 1.2 MST feature, but I know that NVIDIA drivers do support it and it does not require anything special about the kernel.

Please browse your drivers documentation or AMD support site and find out how to enable (if possible) multi-display support using DP MST.

Revision history for this message
Ben Hearsum (bhearsum) wrote :

One thing that I've noticed recently is that I can't unplug and then plug back into my monitors without a reboot. This also means that I can't suspend and resume without losing the external monitors. I'm not sure if this issue belongs in here or elsewhere.

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Ben, are you able to compare this behaviour with the 3.17 kernel (e.g. from debs available at [1])?

If the behavior is consistent between the two kernel version - it's another issue.
If 3.17 behaves better than the 3.16 you were using - this is the right place to handle the problem.

[1] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.1-utopic/

Revision history for this message
Ben Hearsum (bhearsum) wrote :

I've got that in progress. In the meantime, I realized there was a newer kernel+driver from yours and the xorg-edgers PPAs, so I did that upgrade, and now unity-control-center only sees one external monitor, with the second being treated as a mirror of the first. This is using:
3.16.0-28-generic
xserver-xorg-video-intel 2:2.99.916+git20141210.04a09d35-0ubuntu0sarvatt

Here's some drm.debug logspam which may or may not be useful.

I'm in the process of updating to the mainline 3.17 - I'll report back soon with results.

Revision history for this message
Ben Hearsum (bhearsum) wrote :

3.17 functions almost 100% correct. I'm able to use both external displays again, and Ubuntu can see them after unplugging/plugging in, and after suspend/wake. The only issue is that I sometimes have to disable and re-enable the monitors to get a picture back after plugging back in or waking back up. The driver seems to know that they are there, but the picture is not always shown until I turn them off, apply, and then back on again in the control center.

Revision history for this message
Krzysztof (krzpal) wrote :

Dariusz,
In the meantime I asked also AMD team.
They told me that there is missing the MST hub support in one of the latest kernels.
I got the information that from 3.17 I should have this MST support.

http://forums.amd.com/game/messageview.cfm?catid=474&threadid=180336

Can you look at this or suggest if I should from Ubuntu trusty I should upgrade kernel to 3.17 or so ?

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

@Ben: if you were using an official Utopic 3.16.0-28-generic kernel, please note that it does NOT contain support for multiple displays using MST, so it will not be possible to have non-mirroring displays.

If it is not from the official Utopic repository, please share the origin of this kernel.

@Krzysztof - if AMD drivers (unlike NVIDIA's) need the MST hub support then booting the 3.13.0-39 kernel should do it.

Revision history for this message
Ben Hearsum (bhearsum) wrote :

Darius - looks like I was, for some reason. I didn't expect that to be the case while still having your PPA active, I guess I misunderstand how that works though.

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Ben, I have updated the kernel version in my ppa. Could you please test version 3.16.0-28.37hf73386v20141212b2 and compare the supsend/resume behavior with what you observer using 3.17?

Thanks!

Revision history for this message
Ben Hearsum (bhearsum) wrote :

Sorry for the long delay response. I just tested the 3.16.0-28 kernel and unfortunately it doesn't even detect all of my displays correctly -- it only shows 1 external monitor in the display settings rather than both. I get picture on both of them, but I can't set them up correctly any more.

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Ben, could you paste the output of:
$ apt-cache policy linux-image-$(uname -r)

We need to be sure that you are using the patched version of the kernel and not the standard Ubuntu kernel.

Thanks!

Revision history for this message
Ben Hearsum (bhearsum) wrote :

Looks like I'm probably running the cached version, d'oh:
 apt-cache policy linux-image-3.16.0-28
linux-image-3.16.0-28-generic:
  Nakaluklok: 3.16.0-28.38
  Kandidato: 3.16.0-28.38
  Talaang Bersyon:
 *** 3.16.0-28.38 0
        500 http://ca.archive.ubuntu.com/ubuntu/ utopic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ utopic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     3.16.0-28.37hf73386v20141212b2 0
        500 http://ppa.launchpad.net/dgadomski/linux-mst/ubuntu/ utopic/main amd64 Packages
linux-image-3.16.0-28-lowlatency:
  Nakaluklok: (wala)
  Kandidato: 3.16.0-28.38
  Talaang Bersyon:
     3.16.0-28.38 0
        500 http://ca.archive.ubuntu.com/ubuntu/ utopic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ utopic-security/main amd64 Packages
     3.16.0-28.37hf73386v20141212b2 0
        500 http://ppa.launchpad.net/dgadomski/linux-mst/ubuntu/ utopic/main amd64 Packages

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Ben, unfortunately this is the default Ubuntu kernel without this feature.

You need to use version 3.16.0-28.37hf73386v20141212b2 to be able to benefit from it.

Do install this version you should do:
sudo apt-get install linux-image-3.16.0-28-generic=3.16.0-28.37hf73386v20141212b2

and then choose this kernel from the GRUB boot menu.

Revision history for this message
Ben Hearsum (bhearsum) wrote :

Unfortunately, I have the same behaviour with your kernel:
➜ ~ uname -a
Linux dib 3.16.0-28-generic #37hf73386v20141212b2-Ubuntu SMP Fri Dec 12 08:30:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
http://people.mozilla.org/~bhearsum/sattap/080347a3.png

Revision history for this message
Ben Hearsum (bhearsum) wrote :

For what it's worth, this kernel seems to be working 100% fine for my set-up:
Linux dib 3.17.1-031701-generic #201410150735 SMP Wed Oct 15 11:36:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

When my laptop woke this morning, both external displays came back.

Revision history for this message
Jace (jace-benson) wrote :

So I was trying to follow this and get this set up on my Lenovo T440P with a pro doc and two monitors (vga and dvi). I finally got it working by taking the following steps, this took me a few days so if anyone finds this maybe it'll help them too.

Initially I was on Trusty 14.04.

* Then I added ther repos here;
sudo add-apt-repository ppa:dgadomski/linux-mst
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get install xserver-xorg-video-intel
sudo reboot

* No success, read more, looked like the stuff was in 14.10 so I upgraded to 14.10.

* To upgrade to 14.10, you navigate to Dash, type "Software & Updates", goto the 3rd tab "Updates", change the bottom option to "For any new version".
* Then opened Dash, and ran "Software Updater" and let it update took a while.
* Rebooted, no success.
* Then I noticed the 3.13 / 3.16 / 3.17 talk and decided I'd try updating my kernal. Followed steps to update my kernal from 3.16 to 3.17 as described here (http://ubuntuhandbook.org/index.php/2014/11/how-to-upgrade-to-linux-kernel-3-17-4-in-ubuntu-14-10/);

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.4-vivid/linux-image-3.17.4-031704-generic_3.17.4-031704.201411211317_amd64.deb
sudo dpkg -i linux-headers-3.17.4-*.deb linux-image-3.17.4-*.deb
* Rebooted
Worked!

Again I'm just sharing how I got this to work for me to help others if they come upon this.

Revision history for this message
Justin Standring (justinstandring) wrote :

I'd like to confirm that Jace's solution (#127) worked for me using a Lenovo T440s on an Ultra Dock with two displays connected on VGA and HDMI. I upgraded to 14.10, updated to the 3.17.4 kernel, and rebooted. Now both external monitors are recognised.

Thanks!

Revision history for this message
Mark Detrick (p-mark-9) wrote :

This environment is not operational:

Dell Latitude e7440 (Gen4 HD Graphics 4400)
Docking station Pro3X with a single DisplayPort 1.2 port
Two Dell U2414H DisplayPort 1.2 capable monitors
Daisy Chain connections from Docking station to Mon1 then to Mon2

Xubuntu 14.10 64 bit
uname -r: 3.19.4-031904-generic
Intel Graphics Installer for Linux 1.0.8 for Ubuntu 14.10 64 bit.

Problem: The external monitors are not recognized, only the laptop monitor.

Am I doing something wrong, or does this environment continue to not be supported?

Revision history for this message
M (mschalkham) wrote :

Like to report the following:
3.17.4-031704-generic
Dell E7250 lattitude running 14.10
Intel gfx
Dual DP Dell docking station. 2x Dell 24"

MST works after updating to the 3.17 kernel. However the following has happened(not sure if it requires a new bug rep)

Fonts on Windows are sporadic. I've attempted to change the fonts however to no avail.
Dragdown of the power button displays no text
Once in System Settings, only hover displays text
Same behavior in Nautilus
It does appear that S, O, M are among the letters that have no problem always appearing.

Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

The current status of this bug is as follows:
- The current xorg stack with intel drivers from ppa:xorg-edgers/ppa is not compatible with the kernel part backported to 3.13 and 3.16
- This feature seems to work seamlessly on my test hardware with Vivid
- It seems that the best solution will be to use Vivid backported kernel with Trusty as soon it becomes available (with 14.04.3?)

Revision history for this message
M (mschalkham) wrote :

Changing Fonts to Waree fixed my issue.

Revision history for this message
Benjamin Tegge (livewirebt) wrote :

I think the status of this this bug should be set to "fix released". The linked freedesktop bug report was already set to status "resolved fixed" and I was able to setup DisplayPort MST with a Dell U2515H and an older U2312HM on my Haswell desktop running 14.04.4.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Dariusz Gadomski (dgadomski) wrote :

Good point Benjamin. It has been released as one of the Trusty HWE updates.

Thanks!

Changed in xserver-xorg-video-intel:
importance: Unknown → Wishlist
status: Unknown → Fix Released
Displaying first 40 and last 40 comments. View all 134 comments or add a comment.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.