Bug 91049 - [Intel HD Graphics 4600] Output to external display causes issues
Summary: [Intel HD Graphics 4600] Output to external display causes issues
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-22 06:50 UTC by Sami Haahtinen
Modified: 2015-06-22 13:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.log showing the various state changes before getting the display mirroring going. (115.16 KB, text/plain)
2015-06-22 06:50 UTC, Sami Haahtinen
no flags Details
Related kernel log with drm.debug=0x06 (2.39 MB, text/plain)
2015-06-22 06:51 UTC, Sami Haahtinen
no flags Details
xrandr output of the system with two displays connected (5.28 KB, text/plain)
2015-06-22 06:51 UTC, Sami Haahtinen
no flags Details

Description Sami Haahtinen 2015-06-22 06:50:46 UTC
Created attachment 116639 [details]
Xorg.log showing the various state changes before getting the display mirroring going.

When using an external display on a HP ProBook 640 G1, the external works only partially. The external display can reliably only be used as a mirrored display. Switcing to any other mode is a hit and miss. Also disconnecting or connecting external displays when X is running causes X to crash.

How to reproduce:

Example case 1:
- Connect an external display to the Docking station through DP port
- Start the computer
- Try to switch display mode from the keyboard (fn+F4)
- Observe the display state changes, the external display works only in a mirrored mode

Example case 2:
- Start the computer (and allow it to boot to X)
- Connect an external display
- X Crashes

In the logs I used a Docking station to reproduce the problem, but the same issue presents itself on the built in connectors as well.

Guesswork:
The reason why I reported this as a single issue and not 2 separate issues, is that it looks like the Display identifiers are crossed somewhere. If I try to turn off the internal display with xrandr, the external display will turn off etc. This would cause the X server to get confused when a new display is connected and cause it to crash. But this is just guesswork on my behalf.


The issue was reproduced with the following environment:

chipset: Intel HD Graphics 4600 (Integrated in the CPU I5-4200M)
system architecture: x86_64
xf86-video-intel/xserver/ version: 2:2.99.917-1~exp1ubuntu2build1 (From Ubuntu 15.04)
kernel version: 3.19.0-21-generic (From Ubuntu 15.04)
Linux distribution: Ubuntu 15.04
Machine or mobo model: HP ProBook 640 G1
Display connector: eDP and DP
Comment 1 Sami Haahtinen 2015-06-22 06:51:28 UTC
Created attachment 116640 [details]
Related kernel log with drm.debug=0x06
Comment 2 Sami Haahtinen 2015-06-22 06:51:53 UTC
Created attachment 116641 [details]
xrandr output of the system with two displays connected
Comment 3 Chris Wilson 2015-06-22 07:19:56 UTC
Disable Mir.
Comment 4 Sami Haahtinen 2015-06-22 13:11:09 UTC
Wow, disabling Mir solves a lot of other problems as well.

Sorry for the invalid report..


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.