(Needs 2.21.10) Problems with dual monitor on Intel HD graphics

Bug #1173557 reported by Bernhard Dick
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After my upgrade to ubuntu 13.04 stable I've got Problems with my dual monitor configuration on an Intel HD 4000 Graphics System. The second monitor blanks and gives an input frequenzy mismatch error (this one is connected using the HDMI Output). Futher the startup Panel of unity gets purple and the whole Session is not responsive. I'm only able to switch into a console using the STRG+ALT+Fx command and do a reboot from there. If I switch back to X the whole System stops responding.
I found a working Configuration using the Gnome3 in Fallback Mode w/o effects, opening the Screen Resolution Applet, switching the second monitor off and on again in this dialog then its working inside that session, but no way to use Unity or Gnome with the full feature set.
It seems that the expired Bug #1155568 tells exactly the same story.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: xserver-xorg-video-intel 2:2.21.6-0ubuntu4
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Sat Apr 27 13:05:50 2013
InstallationDate: Installed on 2012-04-11 (380 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327.1)
MarkForUpload: True
SourcePackage: xserver-xorg-video-intel
UpgradeStatus: Upgraded to raring on 2013-04-25 (1 days ago)
---
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
DistroRelease: Ubuntu 13.04
InstallationDate: Installed on 2012-04-11 (380 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327.1)
MarkForUpload: True
Package: xserver-xorg-video-intel 2:2.21.6-0ubuntu4
PackageArchitecture: amd64
Tags: raring
Uname: Linux 3.9.0-994-generic x86_64
UpgradeStatus: Upgraded to raring on 2013-04-25 (1 days ago)
UserGroups: adm cdrom dialout dip libvirtd lpadmin plugdev sambashare sudo vboxusers video wireshark
---
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
DistUpgraded: 2013-04-25 16:31:13,703 DEBUG enabling apt cron job
DistroCodename: raring
DistroRelease: Ubuntu 13.04
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 4.2.10, 3.6.2-030602-generic, x86_64: installed
 virtualbox, 4.2.10, 3.8.0-19-generic, x86_64: installed
 virtualbox, 4.2.10, 3.9.0-994-generic, x86_64: installed
ExtraDebuggingInterest: No
GraphicsCard:
 Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0162] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
InstallationDate: Installed on 2012-04-11 (384 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327.1)
MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
MarkForUpload: True
Package: xserver-xorg-video-intel 2:2.21.6-0ubuntu4
PackageArchitecture: amd64
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.9.0-994-generic root=/dev/mapper/linux-root ro drm.debug=6
Tags: raring ubuntu
Uname: Linux 3.9.0-994-generic x86_64
UpgradeStatus: Upgraded to raring on 2013-04-25 (5 days ago)
UserGroups: adm cdrom dialout dip libvirtd lpadmin plugdev sambashare sudo vboxusers video wireshark
dmi.bios.date: 08/22/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F15
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z77X-D3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF15:bd08/22/2012:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnZ77X-D3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz 1:0.9.9~daily13.04.18.1~13.04-0ubuntu1
version.ia32-libs: ia32-libs 20090808ubuntu36
version.libdrm2: libdrm2 2.4.43-0ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.1.1-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.1.1-0ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.13.3-0ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2b2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.1.0-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.21.6-0ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.7-0ubuntu1
xserver.bootTime: Tue Apr 30 22:38:10 2013
xserver.configfile: default
xserver.errors: Failed to load module "nvidia" (module does not exist, 0)
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.13.3-0ubuntu6
xserver.video_driver: intel

Revision history for this message
Bernhard Dick (bernhard-2) wrote :
Revision history for this message
Chris Wilson (ickle) wrote :

It would appear that you have two bugs here and no logs...

When unity becomes unresponsive, switch to a vt and run apport-collect 1173557. However, to help get to the bottom of the bad modesetting we will need drm.debug=6 appended to the kernel commandline - and for you to run a more recent kernel (see ppa:mainline drm-intel-nightly).

Revision history for this message
Bernhard Dick (bernhard-2) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Bernhard Dick (bernhard-2) wrote : ProcEnviron.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : Re: Problems with dual monitor on Intel HD graphics

So I installed the new kernel, added drm.debug=6 to its command line and ran apport-collect after the X Session got unresponsive. Additional now I also wasnt able to do anything on the machine after switching to a other VT (it not even showed the login promt, only the last lines from boot process), so I had to run it from an ssh session.
I'm a little bit confused since it seems that it still didn't generate detailed logs?

Revision history for this message
Chris Wilson (ickle) wrote :

@Bryce, any ideas why it is not capturing the complete set of logs?

Revision history for this message
Bernhard Dick (bernhard-2) wrote : BootDmesg.txt

apport information

tags: added: ubuntu
description: updated
Revision history for this message
Bernhard Dick (bernhard-2) wrote : BootLog.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : Dependencies.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : DpkgLog.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : GconfCompiz.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : Lspci.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : Lsusb.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : ProcEnviron.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : ProcModules.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : UdevDb.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : UdevLog.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : XorgLog.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : XorgLogOld.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : xserver.devices.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : xserver.outputs.txt

apport information

Revision history for this message
Bernhard Dick (bernhard-2) wrote : Re: Problems with dual monitor on Intel HD graphics

I found out, why there where no logs attached. The needed apport hooks are part of the xdiagnose package, which is not installed by default.
So now I started and ran into the nonresponding unitysession and ran apport-collect again from ssh.

bugbot (bugbot)
tags: added: dual-head
Revision history for this message
Mathieu Cossette (mcossette) wrote :

When I want to switch off the laptop LCD and keep the external monitor that I have which is 1080P, I get a graphic freeze, it locks up and have to wait de dialog box delay to return to the older configuration before it was setup with the 2 displays

I have a full hd 1080p Sharp

It is doing that in Raring ... and in Saucy

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Revision history for this message
JP Powers (jp-h) wrote :

I've been having the same problem. I thought it was my KVM at first, but after some experimenting I found it's unrelated. I am able to "recover" from the error, however.

Most of my log files look very similar to Bernhard's, so I won't post them unless requested. I will try to describe the situation a bit more thoroughly, though, and my solution, because I feel it might shed some light on the root cause.

My set up is a little different than most. I have a DVI/USB KVM that is plugged into my "main" display, which switches between my Ubuntu 13.04 Shuttle XH61-V box and a Windows 7 gaming desktop. I also use an HDMI-DVI cable to plug in a second monitor to the linux box. The linux box is on 24/7. The problem occurs typically after recovering from the monitors having been turned off automatically after the set time, either over night or after I've been on the Windows side a bit. When bringing it back up, the main display is "on the fritz." It flashes as if it's out of refresh rate range, or the colors are clearly displayed wrong and have severe video artifacting. I can ctrl+alt+F1 to go to terminal, and if it was out of range it's typically back to video artifacting but sometimes stays out of refresh rate. Going back with ctrl+alt+f7 brings me back to out of refresh rate. On a whim I unplugged the DVI from the KVM and plugged it back in. Going between C+A+F1 and C+A+F7, F1 is a terminal as I'd expect but F7 is all black. This forces everything onto my second monitor, though. Going into System Settings and selecting Displays forces a refresh of the monitors and my main monitor is back. I don't even have to "accept" it, it's just back up.

Unplugging the monitor cable from the computer or the KVM has the same results, so I'm quite sure it's just a matter of forcing Xorg to drop the monitor, plug it back in and force it to rescan for it and the problem's "solved." Clearly, it's not an elegant solution. It only occurred to me typing this up, but I'm gonna try disabling the "turn screen off when inactive" option in Brightness & Lock settings to see if it's directly related to that or not. I never really noticed it was after waking the monitors back up before, so I imagine that's the real problem.

Revision history for this message
arielUBA (arielandres-hotmail) wrote :

This issue makes my system unusable at work. Please try to give priority to it.

Revision history for this message
Chris Wilson (ickle) wrote :

You could at least try testing the fixes...

commit 9b52c852aaf42dde3a7f29c065e4d5230eac7a64
Author: Chris Wilson <email address hidden>
Date: Thu Jun 6 16:40:01 2013 +0100

    sna/dri: Handle fast double flips across mode changes

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Bernhard Dick (bernhard-2) wrote :

I installed the latest Version from the xorg-edgers PPA (Version 2:2.21.10+git20130627.60d716b5-0ubuntu0sarvatt~raring) and with this I don't have the problem, so it seems that the bug has been fixed, looking forward to seeing it fixed outside of that ppa.

Chris Wilson (ickle)
summary: - Problems with dual monitor on Intel HD graphics
+ (Needs 2.21.10) Problems with dual monitor on Intel HD graphics
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-intel - 2:2.21.12-1ubuntu1

---------------
xserver-xorg-video-intel (2:2.21.12-1ubuntu1) saucy; urgency=low

  [ Maarten Lankhorst ]
  * Merge from unreleased debian git (LP: #1198409, #1173557, #1199746, #1200766)
    Remaining changes:
    - Use SNA by default.

  [ Robert Hooker ]
  * Cherry-pick 3 commits from upstream git to fix SNA regressions in 2.21.12
    (34c9b759f, 7f76a2bf3, a764a6e69b)

  [ Christopher James Halse Rogers ]
  * Add initial XMir support patch
 -- Christopher James Halse Rogers <email address hidden> Thu, 01 Aug 2013 16:06:42 +1000

Changed in xserver-xorg-video-intel (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Skilly (michael-scheepers) wrote :

No doubt it's a stupid question however, where can one find the PPA with the fix referred to by Chris above?

Also, once I've added the PPA to \etc\apt\sources.list, is it simply a case of doing the following to install the fix?
[1] sudo apt-get remove xserver-xorg-video-intel
[2] sudo apt-get install [whatever the name of the fix is]

Or some other steps?

Revision history for this message
Skilly (michael-scheepers) wrote :

Problem description
-------------------
Once my laptop "locks" due to inactivity, after entering my password my main laptop screen is blank. Only the second monitor, which is connected to the laptop's mini hdmi port via a vga-to-hdmi dongle, is visible. I can enable my laptop screen from the second monitor via System Settings==>Displays, however once the screen locks again due to inactivity, the problem returns. Also, if shutting down while the laptop screen is blank and disconnecting the second monitor and then rebooting, the laptop screen remains blank.

Hardware
--------
I have a Intel(R) Core(TM) i7-3517U CPU @ 1.90GHz, which I believe uses Intel HD Graphics 4000

Software
--------
Stock standard Ubuntu 13.04

Feedback
--------------
After pointing to the xorg-edgers ppa and accepting all changes suggested by the upgrade (apt-get upgrade), which includes version 2:2.99.906+git20131213.f350a136-0ubuntu0sarvatt~raring of xserver-xorg-video-intel, the problem described above persists. The software installed via this ppa has not solved the problem.

Method used to install ppa
--------------------------
Added the following to /etc/apt/sources.list:
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu raring main
deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu raring main

$ sudo apt-get update

$ sudo apt-get upgrade

To post a comment you must log in.
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.