[GM45,Intrepid] Screen corruption when enabling/disabling external monitor with compiz

Bug #316000 reported by Paul Jones
4
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Steps to reproduce
1) Start laptop (Lenovo T400) with external monitor disconnected.
2) Log into Gnome with compiz enabled
3) Plug in external monitor
4) Enable external monitor (Mirror Screens is unchecked) in the Screen Resolutions Utility and click apply.

When this happens I expect my desktop to be extended to the external monitor. Instead the screen is corrupted (photo attached). In this state the mouse pointer moves, but the rest of the screen is frozen. Further I'm unable switch tty. By killing X (ctrl-alt-bksp) I return to GDM. When I log in again, my desktop is extended across both monitors properly with compiz enabled.

Further Information
This bug does not occur if compiz is not enabled. To get compiz working with dual monitors I applied the patch found in bug 146859. I installed the drivers found in http://ppa.launchpad.net/intel-gfx-testing/ubuntu, but the bug had manifested itself BEFORE those drivers were installed.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 8.10
Package: xserver-xorg-video-intel 2:2.5.1-1ubuntu5~intrepid
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersion: Linux version 2.6.27-11-generic (buildd@crested) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Thu Jan 8 08:38:38 UTC 2009

SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.27-11-generic x86_64
UnreportableReason: This is not a genuine Ubuntu package
xkbcomp:

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
     Subsystem: Lenovo Device [17aa:20e0]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
     Subsystem: Lenovo Device [17aa:2112]

Revision history for this message
Paul Jones (pajones) wrote :
Revision history for this message
Paul Jones (pajones) wrote :

This is a picture of the corrupted display. Notice how the top part of each monitor has a black strip across it. The corruption can manifest itself in other ways as well. Sometimes the entire picture on the external monitor is garbled.

Revision history for this message
Paul Jones (pajones) wrote :

Update: I tried to do some debugging by attaching gdb to the /usr/bin/Xorg but I didn't get anything useful with the backtrace. Since X doesn't actually crash, I would need to find a reasonable breakpoint, but I was unable to do so. Does anyone have any ideas?

More interestingly, I can enable the external monitor using the command:
xrandr --output VGA --auto --right-of LVDS
with no problems. This suggests the bug occurs because of the difference in the way xrandr is called from the command line and how it is called in gnome-display-properties. Any ideas?

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel:
status: New → Confirmed
Bryce Harrington (bryce)
description: updated
Revision history for this message
Bryce Harrington (bryce) wrote : Re: [iGM45,Intrepid] Screen corruption when enabling/disabling external monitor with compiz

This sort of sounds like another GM45 lockup error that was recently fixed:
https://bugs.freedesktop.org/show_bug.cgi?id=17292

Please test with latest updates to Jaunty and see if the bug still exists.

Changed in xserver-xorg-video-intel:
status: Confirmed → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xserver-xorg-video-intel:
status: Incomplete → Invalid
Revision history for this message
Paul Jones (pajones) wrote :

Sorry about the long silence. My laptop is my production machine and I didn't want to install a development version of Ubuntu on it. I realized this week that I should be able to get it working with the Live CD. So I just tested with Jaunty Flight 5. The bug still exists in this version with the same symptoms as before. Suggestions?

As a side note, I had a few other problems that didn't exist in Intrepid. I'm not sure if they were because I was working with a Live CD, or they are regressions from Ubuntu. When I used the xrandr utility it seemed like it only wanted to support a screen size of 2048x2048. I also experienced a hard lockup when the Screen Resolutions Utility wanted to changed the screen size from 1440x1440 (with only my laptop screen) to 2880xsomething for dualhead. I'll file bugs if I can replicate this issues.

Changed in xserver-xorg-video-intel:
status: Invalid → Confirmed
Bryce Harrington (bryce)
summary: - [iGM45,Intrepid] Screen corruption when enabling/disabling external
+ [GM45,Intrepid] Screen corruption when enabling/disabling external
monitor with compiz
Bryce Harrington (bryce)
tags: added: corruption
tags: added: dual-head
Geir Ove Myhr (gomyhr)
tags: removed: external
Revision history for this message
Bryce Harrington (bryce) wrote :

Well, next I'd like to forward this issue upstream, but first it must be retested on latest development version of Karmic to make sure the issue still happens there with the latest code. ISO images are available at http://cdimages.ubuntu.com/releases/karmic/. If you can reproduce it in the LiveCD environment, you shouldn't need to modify your installed system. Also please attach a fresh Xorg.0.log and dmesg from this testing.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Paul Jones (pajones) wrote :

This issue appears to be resolved in Karmic Alpha 2.

There is another bug that needs to be resolved. Desktop doesn't extend across both of my 1440x900 monitors. So half of one monitor is unusable. I'm guessing the desktop size is limited to 2048. I'll file a bug when / if I have time.

Paul

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

Thanks for letting us know the issue is resolved. Yes, there is a 2048 limit, however it was recently increased for this chip, so going forward you may have better results in karmic.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Fix Released
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.