You are not logged in.

#1 2015-11-10 16:11:51

cdngrep
New Member
Registered: 2015-11-10
Posts: 4

[Solved] Multiple Displays on Intel Haswell notebook.

I'm having some trouble getting multiple displays to detect in hydrogen.

I have a Dell Latitude 7240 (haswell), and 2 Dell P2213 plugged into the 2 DVI ports on a docking station.

# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)

The built in display works, and the 2 monitors will both display the same image, but X will not detect them as separate monitors to configure an extended desktop:

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
eDP1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
   1366x768      59.99 +  39.99  
   1360x768      59.80    59.96  
   1024x768      60.00* 
   800x600       60.32    56.25  
   640x480       59.94  
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
   1680x1050     59.95 +
   3360x1050     60.00  
   2560x1024     60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1024x768      75.08    60.00* 
   800x600       75.00    60.32  
   640x480       75.00    60.00  
   720x400       70.08  
HDMI2 disconnected (normal left inverted right x axis y axis)

You can see that eDP1 is the built in display, and DP1 detects the P2213, but it's essentially controlling both of them at the same time.

I fired up an Ubuntu 14 live cd, and the monitors work properly there:

Screen 0: minimum 8 x 8, current 3360 x 1050, maximum 32767 x 32767
eDP1 connected (normal left inverted right x axis y axis)
   1366x768       60.0 +   40.0  
   1360x768       59.8     60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
DP1 disconnected (normal left inverted right x axis y axis)
DP1-1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
   1680x1050      60.0*+
   1280x1024      75.0     60.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DP1-2 connected 1680x1050+1680+0 (normal left inverted right x axis y axis) 473mm x 296mm
   1680x1050      60.0*+
   1280x1024      75.0     60.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DP1-3 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)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

So I wanted to see what was different in X between Ubuntu 14 and BL, taking a look at the Xorg log, the biggest thing that stands out to me is the loaded intel driver version being newer (2.99.917) on Ubuntu:

~$ grep -i -A3 "module intel" disp/Xorg.0.log  
[    32.827] (II) Module intel: vendor="X.Org Foundation"
[    32.827] 	compiled for 1.17.1, module version = 2.99.917
[    32.827] 	Module class: X.Org Video Driver
[    32.827] 	ABI class: X.Org Video Driver, version 19.0

... and older (2.21.15) on BL:

~$ grep -i -A3 "module intel" Xorg.0.log  
[    14.666] (II) Module intel: vendor="X.Org Foundation"
[    14.666] 	compiled for 1.15.99.904, module version = 2.21.15
[    14.666] 	Module class: X.Org Video Driver
[    14.666] 	ABI class: X.Org Video Driver, version 18.0

I tried the obvious:

root@jesse-debian:/home/jgalley# apt-get install xserver-xorg-video-intel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
xserver-xorg-video-intel is already the newest version.
xserver-xorg-video-intel set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

...but the newer one seems to not be in the jessie repo which is the 2.21.15 version.

The backports repo, however, has the same 2.99.917 version as was in the Ubuntu install.

So one would assume that I should add the backports repo and install the 2.99 driver to resolve this issue.

I'm going to try it, but if anyone else has any warnings/suggestions/etc, please let me know.



----
Full BL Xorg.log: http://qopgxrpm.site.aplus.net/bunsen-d … .0.log.txt
Full Ub Xorg.log: http://qopgxrpm.site.aplus.net/bunsen-d … .0.log.txt
Verbose BL Xrandr: http://qopgxrpm.site.aplus.net/bunsen-d … andr-v.txt
Verbose Ub Xrandr: http://qopgxrpm.site.aplus.net/bunsen-d … andr-v.txt

Last edited by cdngrep (2015-11-10 17:35:42)

Offline

#2 2015-11-10 16:27:50

cdngrep
New Member
Registered: 2015-11-10
Posts: 4

Re: [Solved] Multiple Displays on Intel Haswell notebook.

Updated the driver:

$ grep -i -A3 "module intel" /var/log/Xorg.0.log  
[    13.215] (II) Module intel: vendor="X.Org Foundation"
[    13.215] 	compiled for 1.16.4, module version = 2.99.917
[    13.215] 	Module class: X.Org Video Driver
[    13.215] 	ABI class: X.Org Video Driver, version 18.0

to no avail...

$ xrandr
Screen 0: minimum 8 x 8, current 1680 x 1050, maximum 32767 x 32767
eDP1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
   1366x768      59.99*+  39.99  
   1360x768      59.80    59.96  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
DP1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
   1680x1050     59.95*+
   3360x1050     60.00  
   2560x1024     60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1024x768      75.08    60.00  
   800x600       75.00    60.32  
   640x480       75.00    60.00  
   720x400       70.08  

Offline

#3 2015-11-10 17:02:44

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: [Solved] Multiple Displays on Intel Haswell notebook.

What packages did the install pull in?
Did they all install successfully?
You can check in /var/log/apt/history.log and /var/log/dpkg.log if everything went OK.

Offline

#4 2015-11-10 17:08:57

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [Solved] Multiple Displays on Intel Haswell notebook.

I have very very very little experience of this,as i'm still wrapping my head around X and the vast eco system that is the display architecture, desktops, gui's, and displays in general. Anyway have you tried looked to see if you have an /etc/X11/xorg.conf  file?  I hear that this file is sort of a 'direct' way to tell xorg the screen layout... I know I had to create and modify that file for my previous nVidia quad monitor setup at work... Could be worth a shot, there's templates online I believe.

For the completely low down: xorg.conf

You maybe better off using a template or running:

Xorg :1 -configure

"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#5 2015-11-10 17:17:04

cdngrep
New Member
Registered: 2015-11-10
Posts: 4

Re: [Solved] Multiple Displays on Intel Haswell notebook.

xaos52 wrote:

What packages did the install pull in?
Did they all install successfully?
You can check in /var/log/apt/history.log and /var/log/dpkg.log if everything went OK.

Yeah, packages installed correctly. Looks like it didn't pull in anything except the driver and libc-bin 2.19-18+deb8u1, which is the stable version.

~$ grep intel  /var/log/dpkg.log
2015-11-10 11:20:30 upgrade xserver-xorg-video-intel:amd64 2:2.21.15-2+b2 2:2.99.917-2~bpo8+1
2015-11-10 11:20:30 status half-configured xserver-xorg-video-intel:amd64 2:2.21.15-2+b2
2015-11-10 11:20:30 status unpacked xserver-xorg-video-intel:amd64 2:2.21.15-2+b2
2015-11-10 11:20:30 status half-installed xserver-xorg-video-intel:amd64 2:2.21.15-2+b2
2015-11-10 11:20:31 status half-installed xserver-xorg-video-intel:amd64 2:2.21.15-2+b2
2015-11-10 11:20:31 status unpacked xserver-xorg-video-intel:amd64 2:2.99.917-2~bpo8+1
2015-11-10 11:20:31 status unpacked xserver-xorg-video-intel:amd64 2:2.99.917-2~bpo8+1
2015-11-10 11:20:31 configure xserver-xorg-video-intel:amd64 2:2.99.917-2~bpo8+1 <none>
2015-11-10 11:20:31 status unpacked xserver-xorg-video-intel:amd64 2:2.99.917-2~bpo8+1
2015-11-10 11:20:31 status half-configured xserver-xorg-video-intel:amd64 2:2.99.917-2~bpo8+1
2015-11-10 11:20:31 status installed xserver-xorg-video-intel:amd64 2:2.99.917-2~bpo8+1

And X is picking up the new driver, so it's working.

~$ grep -i -A3 "module intel" /var/log/Xorg.0.log  
[    13.215] (II) Module intel: vendor="X.Org Foundation"
[    13.215] 	compiled for 1.16.4, module version = 2.99.917
[    13.215] 	Module class: X.Org Video Driver
[    13.215] 	ABI class: X.Org Video Driver, version 18.0
Horizon_Brave wrote:

I have very very very little experience of this,as i'm still wrapping my head around X and the vast eco system that is the display architecture, desktops, gui's, and displays in general. Anyway have you tried looked to see if you have an /etc/X11/xorg.conf  file?  I hear that this file is sort of a 'direct' way to tell xorg the screen layout... I know I had to create and modify that file for my previous nVidia quad monitor setup at work... Could be worth a shot, there's templates online I believe.

For the completely low down: xorg.conf

You maybe better off using a template or running:

Yeah, I remember having to manually configure displays in Xorg.conf a few years back on a lenny or a squeeze installation. I'll look into it.

Last edited by cdngrep (2015-11-10 17:19:14)

Offline

#6 2015-11-10 17:34:45

cdngrep
New Member
Registered: 2015-11-10
Posts: 4

Re: [Solved] Multiple Displays on Intel Haswell notebook.

I read in a few other threads about haswell being generally newer than the 3.16 kernel, so I installed the 4.2 kernel from jessie backports:

~$ uname -a
Linux 4.2.0-0.bpo.1-amd64 #1 SMP Debian 4.2.5-1~bpo8+1 (2015-11-02) x86_64 GNU/Linux

Lo, and behold:

~$ xrandr
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
eDP1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
   1366x768      59.99*+  39.99  
   1360x768      59.80    59.96  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
DP1 disconnected (normal left inverted right x axis y axis)
DP1-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
   1680x1050     59.95 +
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1024x768      75.08*   60.00  
   800x600       75.00    60.32  
   640x480       75.00    60.00  
   720x400       70.08  
DP1-2 connected 1024x768+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
   1680x1050     59.95 +
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1024x768      75.08*   60.00  
   800x600       75.00    60.32  
   640x480       75.00    60.00  
   720x400       70.08  
DP1-3 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)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Seems like the 3.16 kernel has some issues with haswell.

I'm going to try another clean install with just the 4.2 kernel, and not the backports intel driver, to see if both are required, but for now it looks solved.

Offline

#7 2015-11-10 20:00:04

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [Solved] Multiple Displays on Intel Haswell notebook.

cdngrep wrote:

I'm going to try another clean install with just the 4.2 kernel, and not the backports intel driver, to see if both are required, but for now it looks solved.

For best performance, both the drivers and kernel are recommended wink

Offline

#8 2017-03-01 09:19:27

PetyrVeliki
Member
Registered: 2016-11-25
Posts: 6

Re: [Solved] Multiple Displays on Intel Haswell notebook.

I did the kernel update too and have finally good graphics experience. But it'd be good if we add some useful resource about it.

So, I did it using the tutorial in this thread - https://forums.bunsenlabs.org/viewtopic.php?id=3125

Offline

Board footer

Powered by FluxBB