[i965] intel 965 + compiz + suspend -> corrupt alt-tab icons

Bug #285098 reported by Russell Sears
52
This bug affects 6 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

After I suspend/resume my laptop, the compiz icons in the <alt-tab> display are corrupted. Icons in the menubar, and icons for windows created after resume aren't affected.

(See attached screenshot - gimp and synaptic were launched after resume. Sometimes the data comes from icon bitmaps, other times it comes from the mouse cursor icons...)

xserver-xorg-video-intel version:
2:2.4.1-1ubuntu8

kernel version:
2.6.27-7.11

compiz:
1:0.7.8-0ubuntu3

I'm using the intrepid prerelease up to date as of last night.

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
     Subsystem: Lenovo Device [17aa:20b3]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)
     Subsystem: Lenovo Device [17aa:20b5]

Revision history for this message
Russell Sears (sears) wrote :
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Thank you for reporting this bug and providing an illustrative screenshot. Before someone can look into this further, some more information is needed. Can you please upload the output of `lspci --vvnn` and the file /var/log/Xorg.0.log? If you have made any changes to /etc/X11/xorg.conf, that file would be great to have too. Finally, what model is you laptop?

There may be some resume/suspend specific files that could be useful as well, but I don't know which (someone?)

Changed in xserver-xorg-video-intel:
status: New → Incomplete
Revision history for this message
Russell Sears (sears) wrote :
Revision history for this message
Russell Sears (sears) wrote :
Revision history for this message
Russell Sears (sears) wrote :

Note that I've tweaked the AperTexSize option, and had to muck with the virtual desktop size. Otherwise, the rest of the customization for the intel driver is commented out,

The laptop is a lenovo thinkpad x61t.

Revision history for this message
Russell Sears (sears) wrote :

Tested with compiz 1:0.7.8-0ubuntu4 and with AperTexSize commented out. No change.

Suspend/resume was stable before I upgraded, though compiz was very slow. I may have hacked a few things in the suspend/resume scripts under feisty, but I think most of those customizations were blown away a long time ago...

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

> The laptop is a lenovo thinkpad x61t.

Cool! I'll get my hands on one of those soon, so I can try and reproduce then.

Revision history for this message
shmengie (jbrown-podiatrybilling) wrote :

+1 w/a toshiba satellite A105-S4184

Haven't suspended, but video has gone sleep and the icons get toasted.

Revision history for this message
Russell Sears (sears) wrote :

I'd like to add that the mouse cursor now sometimes disappears. Usually it's just one of the cursors, like the animated 'wait' circle. Killing and restarting compiz doesn't fix the mouse cursor, though it does fix the alt-tab icons. I mention it since I've seen the mouse cursor 'wait' bitmap show up in corrupted alt-tab icons.

Revision history for this message
shmengie (jbrown-podiatrybilling) wrote :

After the screen saver becomes active, the alt-tab icons are corrupted.

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

I can confirm this bug using a Thinkpad X61 Tablet and intrepid beta LiveCD (i.e. slightly older than the original report). I attach another screenshot. Note that the active firefox has got the icon of F-spot.

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

i have the same bug on a thinkpad z61t with an Intel Corporation Mobile 945GM

Revision history for this message
Russell Sears (sears) wrote :

Just want to add that I wasn't seeing this with intel's 2.3 drivers (I think I grabbed them out of intrepid's repository a few months ago, or with the 2.2 series from hardy. However, 2.3 was ridiculously slow at running compiz. I don't remember what was wrong with 2.2, but it was something significant.

I manually compiled intel's 2.5.0 version of the driver, and the required libdrm. I still see the bug.

I can also confirm that I see it after the screensaver engages. Finally, the x server has been crashing on me (both with 2.4 and 2.5); usually after suspend/resume. (Perhaps once because of the screensaver, which I have disabled...) It usually restarts and sends me to the login screen, though it occasionally crashes the machine / kernel panics.

This is still with my lenovo x61t.

Revision history for this message
Sebastian Thürrschmidt (thuerrschmidt) wrote :

Also happens on my MacBook 4,1 with Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller, standard driver from Intrepid repository (no special tweaks, no compiling by myself), default xorg.conf.

Alt-tabbing shows wrong icons for applications started before a suspend/resume cycle (can't tell about screensavers, don't use them). Some apps get a cursor icon, some icons looks like noise, sometimes there's no icon at all. This did not happen in Hardy.

Revision history for this message
gushi (ubuntu-gushi) wrote :

Confirming that I'm also getting this under intel video on my Acer Veriton L460 with built in intel video -- if the screensaver's to be blamed, I'm using the "gears" one, which I note uses openGL (not sure if they all do).

I've also noticed but not seen in this thread that occasionally I get an uncorrupted, but WRONG icon (for example, the pidgin "busy" icon for a firefox window).

If there's anything I can do to enable better debugging and help with this, let me know.

-Dan

Revision history for this message
jorge (xxopxe) wrote :

Exactly the same, but with a Intel 945 GM (it's a Sony Vaio). So it's not just the 965.

Revision history for this message
jorge (xxopxe) wrote :
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

I agree - they look the same. The question is if the bug is in compiz or in the intel driver. I'll ask abount video card at bug 282234.

Revision history for this message
John Carlyle-Clarke (jpcc) wrote :

Came here via 282234. I have Intel hardware and suffer the Alt-Tab switcher problem, with both the icons and the previews becoming corrupted. I've had the screensaver cause X server crashes and at one point a total lockup/kernel panic. Switching to a non-GL screensaver seems to help, although I've gone for blank screen for now!

Revision history for this message
John Carlyle-Clarke (jpcc) wrote :

By the way, my hardware is Sony Vaio VGN-FS840W. Since you all have intel hardware and 8.10, does anyone also suffer from either of these? I wonder if they are all connected.

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/290849
https://bugs.launchpad.net/ubuntu/+bug/282374

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

I have set bug 282324 as a duplicate of this (note that John and I mistyped the bug # above). As jorge is writing, this is not just a 965GM bug. From the other bug there are reports of this appearing on 965GM, 945GM and 915GM.

Revision history for this message
jorge (xxopxe) wrote :

John Carlyle-Clarke, you're right, they do look related.

Revision history for this message
gushi (ubuntu-gushi) wrote :

290849 definitely looks like similar stuff for me. The other...didn't get enough into specifics to know whether or not it is.

-Dan

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

[This is an automatic notice.]

We'd like to forward your bug upstream, however upstream requires
that you first test it against their newer driver code.

To save you the effort of building the driver from source, we've built
packages for the driver and its new dependencies.

So you have a couple options:

 1. Download and test .debs for intrepid, from:
     https://edge.launchpad.net/~intel-gfx-testing/+archive

 -or-

 2. Download and test the Jaunty alpha-2 (or newer) Live CD,
     (which includes a beta of the new xserver 1.6 as well).
     See http://cdimage.ubuntu.com/releases/9.04/ for ISOs

Thanks ahead of time! You can simply reply to this email to report your
findings.

P.S., if you wish to forward your bug upstream yourself, please follow
these directions to do so:
  http://intellinuxgraphics.org/how_to_report_bug.html

Changed in xserver-xorg-video-intel:
status: Confirmed → Incomplete
Revision history for this message
jorge (xxopxe) wrote : Re: [Bug 285098] Re: [i965] intel 965 + compiz + suspend -> corrupt alt-tab icons

Hi,

After adding the ppa and doing this:

Upgraded the following packages:
libdrm2 (2.3.1-0build1) to 2.4.1-0ubuntu7~intrepid
linux-headers-generic (2.6.27.10.13) to 2.6.27.11.14
linux-image-generic (2.6.27.10.13) to 2.6.27.11.14
linux-libc-dev (2.6.27-11.21) to 2.6.27-11.22
xserver-xorg-video-intel (2:2.4.1-1ubuntu10.1) to
2:2.5.1-1ubuntu5~intrepid

Installed the following packages:
libdrm-intel1 (2.4.1-0ubuntu7~intrepid)
linux-headers-2.6.27-11 (2.6.27-11.22)
linux-headers-2.6.27-11-generic (2.6.27-11.22)
linux-image-2.6.27-11-generic (2.6.27-11.22)

I still get the alt-tab icon corruption after suspending.

Jorge

On Sat, 2008-12-20 at 02:34 +0000, Bryce Harrington wrote:
> [This is an automatic notice.]
>
> We'd like to forward your bug upstream, however upstream requires
> that you first test it against their newer driver code.
>
> To save you the effort of building the driver from source, we've built
> packages for the driver and its new dependencies.
>
> So you have a couple options:
>
> 1. Download and test .debs for intrepid, from:
> https://edge.launchpad.net/~intel-gfx-testing/+archive
>
> -or-
>
> 2. Download and test the Jaunty alpha-2 (or newer) Live CD,
> (which includes a beta of the new xserver 1.6 as well).
> See http://cdimage.ubuntu.com/releases/9.04/ for ISOs
>
>
> Thanks ahead of time! You can simply reply to this email to report your
> findings.
>
>
> P.S., if you wish to forward your bug upstream yourself, please follow
> these directions to do so:
> http://intellinuxgraphics.org/how_to_report_bug.html
>
>
> ** Changed in: xserver-xorg-video-intel (Ubuntu)
> Status: Confirmed => Incomplete
>

Revision history for this message
Russell Sears (sears) wrote :

Confirmed w/ new drivers. Rebooted; still got corruption.

This is what the upgrade did:

libdrm2-dbg will be removed
libdrm-dev (version 2.3.1-0build1) will be upgraded to version
2.4.1-0ubuntu7~intrepid
libdrm2 (version 2.3.1-0build1) will be upgraded to version
2.4.1-0ubuntu7~intrepid
xserver-xorg-video-intel (version 2:2.4.1-1ubuntu10) will be upgraded to
version 2:2.5.1-1ubuntu5~intrepid
libdrm-intel1 (version 2.4.1-0ubuntu7~intrepid) will be installed

(This is probably all irrelevant, but: For what it's worth, the old
versions were hacked-up backports of drm 2.4 and intel 2.5. Metacity
has been very stable with this configuration, but compiz occasionally
fails to resume, or just hangs, especially when changing screen
resolutions. However, my intel wifi driver causes kernel panics when I
connect to WPA networks, so it's possible I'm seeing an occasionaly
metacity crash, and don't realize it.)

-Rusty

jorge wrote:
> Hi,
>
> After adding the ppa and doing this:
>
> Upgraded the following packages:
> libdrm2 (2.3.1-0build1) to 2.4.1-0ubuntu7~intrepid
> linux-headers-generic (2.6.27.10.13) to 2.6.27.11.14
> linux-image-generic (2.6.27.10.13) to 2.6.27.11.14
> linux-libc-dev (2.6.27-11.21) to 2.6.27-11.22
> xserver-xorg-video-intel (2:2.4.1-1ubuntu10.1) to
> 2:2.5.1-1ubuntu5~intrepid
>
> Installed the following packages:
> libdrm-intel1 (2.4.1-0ubuntu7~intrepid)
> linux-headers-2.6.27-11 (2.6.27-11.22)
> linux-headers-2.6.27-11-generic (2.6.27-11.22)
> linux-image-2.6.27-11-generic (2.6.27-11.22)
>
>
> I still get the alt-tab icon corruption after suspending.
>
> Jorge
>
>
> On Sat, 2008-12-20 at 02:34 +0000, Bryce Harrington wrote:
>> [This is an automatic notice.]
>>
>> We'd like to forward your bug upstream, however upstream requires
>> that you first test it against their newer driver code.
>>
>> To save you the effort of building the driver from source, we've built
>> packages for the driver and its new dependencies.
>>
>> So you have a couple options:
>>
>> 1. Download and test .debs for intrepid, from:
>> https://edge.launchpad.net/~intel-gfx-testing/+archive
>>
>> -or-
>>
>> 2. Download and test the Jaunty alpha-2 (or newer) Live CD,
>> (which includes a beta of the new xserver 1.6 as well).
>> See http://cdimage.ubuntu.com/releases/9.04/ for ISOs
>>
>>
>> Thanks ahead of time! You can simply reply to this email to report your
>> findings.
>>
>>
>> P.S., if you wish to forward your bug upstream yourself, please follow
>> these directions to do so:
>> http://intellinuxgraphics.org/how_to_report_bug.html
>>
>>
>> ** Changed in: xserver-xorg-video-intel (Ubuntu)
>> Status: Confirmed => Incomplete
>>
>

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel:
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Ryan Thompson (rct86) wrote :

Is there any chance that this is related to https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/310228 ?

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

Hi Rusty, it sounds like you're accustomed to building deb packages? If so, you might try Alberto's debdiff to xserver, here:

https://bugs.edge.launchpad.net/ubuntu/+source/xorg-server/+bug/254468/comments/29

Basically, drop patch 107_fedora_dont_backfill_bg_none.patch in the xserver and see if that makes the issue go away.

Changed in xserver-xorg-video-intel:
status: Triaged → Incomplete
Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

I just tried the Jaunty alpha-2 LiveCD. I cannot reproduce this issue there. There's a second of garbage around the mouse pointer on resume, but after that everything looks fine.

Note that I had to work around bug 311362 by killing gnome-screensaver once to test this.

Revision history for this message
mhogerheijde (o-launchpad-hogerheijde-net) wrote :

I have the same bug on a Dell Studio 17

Revision history for this message
mhogerheijde (o-launchpad-hogerheijde-net) wrote :

Hmzz, clicked 'Save Changes' a bit too early....

To summarize:

- i have the same bug
- i also have this one (https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/310228) : Darwin also suspects it to be related. I however run Gnome, this bug is specific about KDE. There is another bugreport (https://bugs.launchpad.net/ubuntu/+bug/282374) which shows the same garbage.
- i use the window decorator emerald
- my xorg.conf is out-of-the-box and i never changed it manually.

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

The 3d corruption issue makes it sound like this is a mesa issue; refiling.

Revision history for this message
Geir Ove Myhr (gomyhr) wrote :

Rereading my last comment, I realize it was a bit vague. I have the corrupt Alt-tab icons after suspend on my computer in Intrepid, but in Jaunty alpha-2 (running as LiveCD) it seems to be fixed. Does anyone with Jaunty still have this problem?

Revision history for this message
mhogerheijde (o-launchpad-hogerheijde-net) wrote :

I seem to be able to confirm that running Jaunty alpha this seems to be fixed.

I downloaded the iso today and when i suspend my laptop and resume it, There are no garbage icons.

I do have another problem: gnome-panel crashes on resume, but i think that is unrelated (comiz still runs, so i don't think it affects it).

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

Thanks for letting us know the issue is resolved.

Changed in mesa (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.