You are not logged in.

#1 2014-02-19 21:05:37

BenjiW
Member
Registered: 2014-02-19
Posts: 3

Thinkpad T540p Ultra Dock with two external monitors

Hi,

I attached two Full-HD displays to my T540p via the Ultra Dock:

- Display one to DisplayPort1
- Display two to HDMI2

Both give me the same output. But xrandr is not able to detect them as independent displays:

Screen 0: minimum 320 x 200, current 4800 x 1620, maximum 32767 x 32767
eDP1 connected primary 2880x1620+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   2880x1620      60.0*+   50.0  
   2048x1536      60.0  
   1920x1440      60.0  
   1856x1392      60.0  
   1792x1344      60.0  
   1600x1200      60.0  
   1400x1050      60.0  
   1280x1024      60.0  
   1280x960       60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
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 connected 1920x1080+2880+0 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080      60.0*+   59.9  
   3840x1080      60.0  
   2560x1024      60.0  
   1680x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0     59.9  
   720x400        70.1  
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Even if I disconnect a display and use just one display connected by DisplayPort/DVI/HDMI I see the display attached to "DP2". Has anybody an idea why only one display is detected and why it's always attached to "DP2"?
I did deactivate the dedicated graphics, as I only plan to use two displays simultaneously (disable the laptop screen in the dock). Following my understanding the output of xrandr shouldn't be affected by it, right?

At boot I get some errors:

➜  ~  dmesg | grep intel                         
[    0.498465] intel_idle: MWAIT substates: 0x42120
[    0.498466] intel_idle: v0.4 model 0x3C
[    0.498467] intel_idle: lapic_timer_reliable_states 0xffffffff
[    1.346658] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[    1.364364] fb: conflicting fb hw usage inteldrmfb vs EFI VGA - removing generic driver
[    1.612222] fbcon: inteldrmfb (fb0) is primary device
[    4.089953] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
[    4.140395] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    4.181099] snd_hda_intel 0000:00:03.0: irq 49 for MSI/MSI-X

Thanks for your help!

Offline

#2 2014-02-20 11:08:55

uland
Member
Registered: 2014-02-20
Posts: 1

Re: Thinkpad T540p Ultra Dock with two external monitors

I don't have a dock, so I can't test myself anything, but it seems to be an Optimus issue.

1) What drivers do you use?
2) I suppose you have default setting of Optimus enabled. Maybe try changing it in BIOS to only intel or only nvidia (on my T520 it's in Diplay settings).

Some Ubuntu guys appear to have a similar issue: http://ubuntuforums.org/showthread.php?t=1913401

Here's the guy who seem to have succeded after some struggling with an intel-only machine (AFAIK all X230 are intel-only): http://www.linuxquestions.org/questions … ost4905481

Last edited by uland (2014-02-20 11:13:04)

Offline

#3 2014-02-20 21:53:20

BenjiW
Member
Registered: 2014-02-19
Posts: 3

Re: Thinkpad T540p Ultra Dock with two external monitors

uland wrote:

I don't have a dock, so I can't test myself anything, but it seems to be an Optimus issue.

1) What drivers do you use?

The default i915 drivers - see extract from Xorg-log:

[     4.147] (==) Matched intel as autoconfigured driver 0
[     4.147] (==) Matched intel as autoconfigured driver 1
[     4.147] (==) Matched modesetting as autoconfigured driver 2
[     4.147] (==) Matched fbdev as autoconfigured driver 3
[     4.147] (==) Matched vesa as autoconfigured driver 4
[     4.147] (==) Assigned the driver to the xf86ConfigLayout
[     4.147] (II) LoadModule: "intel"
[     4.147] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[     4.149] (II) Module intel: vendor="X.Org Foundation"
[     4.149]    compiled for 1.15.0, module version = 2.99.910
[     4.149]    Module class: X.Org Video Driver
[     4.149]    ABI class: X.Org Video Driver, version 15.0
[     4.149] (II) LoadModule: "modesetting"
[     4.149] (WW) Warning, couldn't open module modesetting
[     4.149] (II) UnloadModule: "modesetting"
[     4.149] (II) Unloading modesetting
[     4.149] (EE) Failed to load module "modesetting" (module does not exist, 0)
[     4.149] (II) LoadModule: "fbdev"
[     4.150] (WW) Warning, couldn't open module fbdev
[     4.150] (II) UnloadModule: "fbdev"
[     4.150] (II) Unloading fbdev
[     4.150] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     4.150] (II) LoadModule: "vesa"
[     4.150] (WW) Warning, couldn't open module vesa
[     4.150] (II) UnloadModule: "vesa"
[     4.150] (II) Unloading vesa
[     4.150] (EE) Failed to load module "vesa" (module does not exist, 0)
[     4.150] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[     4.150] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
[     4.150] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
[     4.150] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
uland wrote:

2) I suppose you have default setting of Optimus enabled. Maybe try changing it in BIOS to only intel or only nvidia (on my T520 it's in Diplay settings).

The T540p does not allow to disable the dedicated graphics in the BIOS. But at runtime only the intel graphics are available:

➜  ~  xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x4a cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 7 associated providers: 0 name:Intel
uland wrote:

Some Ubuntu guys appear to have a similar issue: http://ubuntuforums.org/showthread.php?t=1913401

Here's the guy who seem to have succeded after some struggling with an intel-only machine (AFAIK all X230 are intel-only): http://www.linuxquestions.org/questions … ost4905481

The guy in the second link tries to use three monitors, while I just want to use two of them. But I'm going to try the approach in the other thread and start using Optimus, maybe it l work that way.

Offline

#4 2014-03-04 14:54:57

Fuyuuri
Member
Registered: 2014-03-04
Posts: 1

Re: Thinkpad T540p Ultra Dock with two external monitors

Hello,

did you find a solution? I have the same problem on a t440s with an ultra dock.
If I connect two or three external monitors to the ultradock, xrandr shows only the notebook display (eDP1)
and one external display (DP2) sad.i

Last edited by Fuyuuri (2014-03-04 14:58:18)

Offline

#5 2014-03-04 16:09:53

BenjiW
Member
Registered: 2014-02-19
Posts: 3

Re: Thinkpad T540p Ultra Dock with two external monitors

Fuyuuri wrote:

Hello,

did you find a solution? I have the same problem on a t440s with an ultra dock.
If I connect two or three external monitors to the ultradock, xrandr shows only the notebook display (eDP1)
and one external display (DP2) sad.i

Hi Fuzuuri,

I didn't have any time yet to investigate this further, so at the moment this issue is unresolved  ...

Offline

#6 2014-03-07 07:14:04

emilg
Member
Registered: 2014-03-07
Posts: 1

Re: Thinkpad T540p Ultra Dock with two external monitors

I have the same problem on a docked Dell Latitude E7440. The "failed to train DP" error disappears with the patch submitted at https://bugs.freedesktop.org/show_bug.cgi?id=73694. However, xrandr still reports the output as DP1 independent of physical port and fails to separate dual monitors.

Offline

Board footer

Powered by FluxBB