[arrandale] Dual screen not working/shows corruption (x86_64)

Bug #750259 reported by Maarten Terpstra
42
This bug affects 9 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned
xserver-xorg-video-intel (Ubuntu)
In Progress
High
Unassigned

Bug Description

Binary package hint: xorg

Dual screen over VGA is no longer working for me under Natty. It used to work fine under maverick, but since the upgrade it just shows corruption/flickering screen. Whenever I'm using one screen it is working fine, and when I plug in my second screen my main (internal laptop) screen turns itself off and the external monitor keeps flickering at high frequency, showing random colours and sometimes little pieces of background. It doesn't matter whether the monitor is plugged in at boot or not. I have reasons to believe that the intel driver or xorg causes the problems because the GRUB and the login screen work both fine on both screens at the same time. As soon as I'm logged in this behaviour shows. It also doesn't matter if I'm using classic GNOME or the Unity interface. Xorg.0.log and dmesg are not showing any errors.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6+4ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
Architecture: amd64
Date: Mon Apr 4 15:00:46 2011
DistroCodename: natty
DistroVariant: ubuntu
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110302)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu1
---
Architecture: amd64
CompizPlugins: [core,composite,opengl,copytex,imgjpeg,decor,text,mousepoll,move,imgsvg,thumbnail,wobbly,regex,place,imgpng,cube,water,gnomecompat,resize,rotate,scale,animation,resizeinfo,scaleaddon,workarounds]
CompositorRunning: None
DistUpgraded: Fresh install
DistroCodename: natty
DistroRelease: Ubuntu 11.04
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Toshiba America Info Systems Device [1179:fd10]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110302)
Lsusb:
 Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: TOSHIBA Satellite L650
Package: xserver-xorg-video-intel 2:2.14.0-4ubuntu6
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.38-8-generic root=UUID=9a4e65f5-5024-41f8-9db4-c72dcbe5c7d7 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Renderer: Unknown
Tags: natty ubuntu
Uname: Linux 2.6.38-8-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 09/01/2010
dmi.bios.vendor: INSYDE
dmi.bios.version: 1.80
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Portable PC
dmi.board.vendor: TOSHIBA
dmi.board.version: Base Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnINSYDE:bvr1.80:bd09/01/2010:svnTOSHIBA:pnSatelliteL650:pvrPSK1EE-05X00FDU:rvnTOSHIBA:rnPortablePC:rvrBaseBoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.name: Satellite L650
dmi.product.version: PSK1EE-05X00FDU
dmi.sys.vendor: TOSHIBA
version.compiz: compiz 1:0.9.4+bzr20110406-0ubuntu1
version.ia32-libs: ia32-libs 20090808ubuntu11
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.1-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu6
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu6

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote :
Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote :
Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote :
Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote :
bugbot (bugbot)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
Bryce Harrington (bryce) wrote : Re: [arrandale] Dual screen not working/shows corruption

Could be a dupe of bug #737891. Please run `apport-collect 750259`

summary: - Dual screen not working/shows corruption
+ [arrandale] Dual screen not working/shows corruption
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

Also, can you try temporarily uninstalling ia32-libs and reproducing the issue, to rule out that as a possible suspect? (We had a bug on arrandale x86_64 recently that we believe was due to an old mesa in ia32-libs, but that should be fixed now.)

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : Dependencies.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : GconfCompiz.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : GdmLog.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : GdmLog1.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : GdmLog2.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : Lspci.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : ProcModules.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : UdevDb.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : UdevLog.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : UnitySupportTest.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : XorgLog.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : XorgLogOld.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : Xrandr.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : drirc.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : monitors.xml.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : peripherals.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : xdpyinfo.txt

apport information

Revision history for this message
Maarten Terpstra (terpstra007-gmail) wrote : xinput.txt

apport information

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → High
status: Incomplete → Confirmed
Revision history for this message
Marius Grigaitis (0-admin-mar-lt) wrote : Re: [arrandale] Dual screen not working/shows corruption

I can also confirm this bug. Hopefully it's the same

Happens on Lenovo T410 with Intel(R) Core(TM) i5 CPU M 520

Some things that are not working:
1. Plugging in external monitor makes primary monitor (laptop) go black and external monitor is a bit shifted + flickers in color similar to background.
2. Pressing ctrl+alt+f1 and then trying to go back with f7 doesn't work, only boot console output is shown.
3. After switching monitors with keyboard shortcut (fn + f7) screen goes black and only mouse is visible or nothing is visible at all.

Bryce Harrington (bryce)
description: updated
summary: - [arrandale] Dual screen not working/shows corruption
+ [arrandale] Dual screen not working/shows corruption (x86_64)
Revision history for this message
pvilela (paulo-m-costa) wrote :

I also have this problem on my Lenovo T410.

Revision history for this message
Bryce Harrington (bryce) wrote :

Marten and Marius, would you mind attaching a photo showing the corruption you see when reproducing this bug?

Also, I have a suspicion this might be dpms related. After reproducing the bug, can you try issuing this command to see if it makes any difference?

xset dpms force on

If it does, I may have an idea for working around this.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Marius Grigaitis (0-admin-mar-lt) wrote :

video of flickering: http://www.youtube.com/watch?v=pK5AfUzg6UA

dpms did not solve the flickering problem.

It may be another bug but after trying to switch modes without dpms screen goes black and only mouse is shown. On laptop monitor, on external monitor, and flickering mouse on external monitor (a little block flickering and everything else is black)

After I did dpms force on I managed to get normal extend view (i guess without dpms on i was able to get it too, but only black screen + mouse). I also did manage to get clone working properly. And next mode (probably external monitor only?) was the flickering one.

Revision history for this message
Marius Grigaitis (0-admin-mar-lt) wrote :

I also want to mention that I got crashed program errors with dpms force on saying that compiz has crashed.

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [Bug 750259] Re: [arrandale] Dual screen not working/shows corruption (x86_64)

On Tue, Apr 19, 2011 at 11:35:52PM -0000, Marius Grigaitis wrote:
> video of flickering: http://www.youtube.com/watch?v=pK5AfUzg6UA
>
> dpms did not solve the flickering problem.
>
> It may be another bug but after trying to switch modes without dpms
> screen goes black and only mouse is shown. On laptop monitor, on
> external monitor, and flickering mouse on external monitor (a little
> block flickering and everything else is black)
>
> After I did dpms force on I managed to get normal extend view (i guess
> without dpms on i was able to get it too, but only black screen +
> mouse). I also did manage to get clone working properly. And next mode
> (probably external monitor only?) was the flickering one.

Mm, alright well that's some progress.

"black screen with mouse" is almost key words for "GPU lockup". Check
your dmesg when it's in that state for error messages (or just post here
and I can look for you). Also snag your
/sys/kernel/debug/dri/0/i915_error_state file, which can have error
codes in this case.

Since the dpms command appears to have some effect (even though not a
full fix), try this PPA which adds a DPMS forcing functionality to the X
driver.

  https://launchpad.net/~bryce/+archive/elderberry

Revision history for this message
Marius Grigaitis (0-admin-mar-lt) wrote :

I can't seem to find any errors in when flickering (i tried switching tty and catting that file)
/sys/kernel/debug/dri/0/i915_error_state

It's probably not gpu lockup because I was able to move mouse and see cursor move.

I attach dmesg output and syslog output after switching screens and restarting gdm.

Revision history for this message
Marius Grigaitis (0-admin-mar-lt) wrote :

syslog

Revision history for this message
Bryce Harrington (bryce) wrote :

Did you get a chance to test the elderberry PPA I posted?

After that, one other thing I'd like you to test before this gets forwarded upstream, please install the drm-intel-next-proposed kernel here:

http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-next-proposed/

Reboot, then reproduce the problem. Run 'dmesg > dmesg.txt' and attach dmesg.txt and /sys/kernel/debug/dri/0/i915_error_state to this bug report.

Marten, I'd particularly like your feedback with this data, since you're the original reporter for this bug report.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Marius Grigaitis (0-admin-mar-lt) wrote :

I tried http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-next-proposed/

I can't reproduce the problem with this kernel.

Revision history for this message
Bryce Harrington (bryce) wrote :

@Marius, thanks. Would you be willing to do some additional testing to help narrow down what patch in that kernel provides the fix? If you do, then there is a chance we can get that patch added to the kernel in an SRU.

Directions on isolating kernel patches via git bisection are documented at https://wiki.ubuntu.com/Kernel/KernelBisection. Report back here if you can narrow it down to a particular git commit id or range of commit ids.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → In Progress
Changed in linux (Ubuntu):
status: New → Confirmed
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.