[gm45] random flickers on ubuntu lucid desktop

Bug #574449 reported by Saurav
44
This bug affects 10 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu release: Ubuntu 10.04 LTS
Edition: Desktop
Architecture: i386

Expected behaviour: Steady desktop with no flickering during entire session.

Actual behaviour: -
On the platform mentioned above, I experience random flickers on the desktop. The flickering does not occur frequently (time interval of several minutes or sometimes hours between two consecutive occurrences). The flickering has not caused any problems till now apart from the visual interference and it occurs at any time, not just when any particular windowed application is running. I could not find any means of forcing a flicker to reproduce the problem manually and since a flicker lasts only for a fraction of a second and is random, I cannot get a screenshot. From what glimpses I have been able to catch on one or two occasions, the flickers actually appear to be highly distorted snapshots of parts of currently or previously open windows stretching across the whole desktop for a fraction of a second and a few pixels high. However, because of the instantaneous disappearance, I am not sure that they are actually ghosts of windows. Sometimes it is so quick that all I can see is a line or a bar. Also, because of the nature of the problem, I cannot determine its source. It might be xorg, kernel (maybe KMS), GNOME, Metacity, Compiz, Nautilus or something else altogether. My hardware and relevant software specifications are provided below. I am booting with KMS enabled.
Notes: -
1. Searching the bug database, I only found bug #493707 somewhat similar but the two do not appear to be the same and there are no blue dots in my case.
2. I have come back to Ubuntu with GNOME after skipping version 9.10 so I do not know whether this problem exists in 9.10.
3. I have applied all updates that were available in lucid-security and lucid-updates in Software Sources, Updates.

Computer: Dell Inspiron 1545 laptop
CPU: Intel Core 2 Duo T6400 @ 2.0 GHz.
RAM: 3 GB DDR2
Hard disk: 320 GB 5400 RPM SATA
Graphics subsystem: Integrated Intel GM45 Graphics
Kernel: 2.6.32-21-generic (32-bit)
Video driver: intel
Swap space: 4.5 GB
Desktop environment: GNOME with Compiz enabled (System, Preferences, Appearance, Visual Effects: Normal)
---
Architecture: i386
CurrentDmesg:
 [ 20.727072] ppdev: user-space parallel port driver
 [ 21.689126] sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
 [ 21.689324] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 [ 31.756049] eth0: no IPv6 routers present
DistroRelease: Ubuntu 10.04
DkmsStatus:
 bcmwl, 5.60.48.36+bdcom, 2.6.32-22-generic, i686: installed
 bcmwl, 5.60.48.36+bdcom, 2.6.32-21-generic, i686: installed
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: Dell Inc. Inspiron 1545
NonfreeKernelModules: wl
Package: xorg 1:7.5+5ubuntu1
PackageArchitecture: i386
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=42eac28e-5846-43c5-aaf2-9737d30fe1ed ro quiet splash
ProcEnviron:
 LANG=en_IN
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Tags: lucid lucid
Uname: Linux 2.6.32-22-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 02/25/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A05
dmi.board.name: 0J037P
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA05:bd02/25/2009:svnDellInc.:pnInspiron1545:pvr:rvnDellInc.:rn0J037P:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 1545
dmi.sys.vendor: Dell Inc.
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: lucid
 architecture: i686
 kernel: 2.6.32-22-generic

[lspci]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
     Subsystem: Dell Device [1028:02aa]

Revision history for this message
Keith (keithweddell-deactivatedaccount) wrote :

I can confirm that I am seeing the same effect on identical hardware. The problem did not exist in karmic (9.10). I have installed the 64 bit version of Lucid.

Keith Weddell

affects: ubuntu → xorg (Ubuntu)
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi Saurav,

Please run the command 'apport-collect BUGNUMBER', which will attach several files we need for debugging.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-xorglog
tags: added: needs-lspci-vvnn
Changed in xorg (Ubuntu):
status: New → Incomplete
Revision history for this message
Saurav (sauravzone1) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Saurav (sauravzone1) wrote : Dependencies.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : Lspci.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : Lsusb.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : PciDisplay.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : ProcModules.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : UdevDb.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : UdevLog.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : XorgLog.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : XorgLogOld.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : Xrandr.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : setxkbmap.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : xdpyinfo.txt

apport information

Revision history for this message
Saurav (sauravzone1) wrote : xkbcomp.txt

apport information

Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Bryce Harrington (bryce)
tags: added: flicker
Bryce Harrington (bryce)
tags: added: lucid
Revision history for this message
Shanmuhanathan T (shanmuha) wrote : Re: random flickers on ubuntu lucid desktop

I can also confirm the same problem. Is there any additional information required from me. Mine is an acer aspire 5738z laptop with the intel GMA4500 HD graphics card.

Additionally, found this comment on youtube for this problem, I have not tried the solution yet yet:
http://www.youtube.com/comment_servlet?all_comments&v=sSPS7y6MCXc

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

Thanks for the link, Shanmuhanathan T!

The YouTube video for the link provided by Shanmuhanathan T seems to demonstrate the problem at hand. A direct link to the video is http://www.youtube.com/watch?v=sSPS7y6MCXc. Because of the nature of the problem, you need to very carefully observe the lower portion of the screen shown in the video - the area around the blue comment header line - while the clip is playing to see the flicker.

I am now trying out the workaround mentioned in Shanmuhanathan T's link, i.e., adding i915.powersave=0 to GRUB_CMDLINE_LINUX in /etc/default/grub and then sudo update-grub. Of course, I will need a few days to observe the effect and even then I will only be able to check whether the flickers still occur in that time period. It will not be possible to say that the flickers are gone for good because they don't occur with any regularity anyway. I will report back with my findings.

Saurav

Revision history for this message
Saurav (sauravzone1) wrote :

The workaround mentioned in comments no. 20 and 21 seems to be working for me. There has been no flickering in the last four days.

Saurav

Revision history for this message
deibu76 (davebodiford) wrote :

Running 64-bit Ubuntu 10.04 on identical hardware as well.

However, I've had the laptop hooked up to my TV now (via VGA cable) for several hours with "mirror screens" and haven't had the problem at all - the TV does not support 1366x768, so both screens are now set to 1360x768 instead. Nothing else has changed - compiz is still running. I also briefly tested dual monitor mode with the laptop display @ 1366x768/60Hz and TV @ 1360x768 - had browser & terminal windows open on both, and did not notice any flickering.

A quick search online showed a user with a Dell 1545 w/ Intel GM45 integrated gfx was having similar problems using Fedora 12's Intel xorg driver - http://bugzilla.redhat.com/show_bug.cgi?id=519734 . Several other distros showed up w/ similar problems with laptops w/ Intel GM45 GPUs. They also seem to confirm adding "i915powersave=0" to the cmd line in Grub seemed to solve the problem.

Just as that command line configuration seems to work for a lot of people, I wonder if adding the 2nd display stops the flickering for me because it causes power-saving mode for the GPU to be disabled? I have no idea.

Don't recall whether or not I had the problem with Karmic - I bought the laptop in January & installed 9.10 but I upgraded to Lucid Alpha 3 in February. The flickering hasn't been frequent enough to become much of a distraction for me. No problem doing anything graphics-intensive - I can play videos online w/ 64-bit Flash Alpha & I can even watch Netflix movies in a full-screen WinXP box w/ VMWare Player. I can even rotate compiz cylinder while its running and see the video playing behind my other desktops.

The flickering definitely seems to have something to do with the power mgmt. modes on the GPU. In fact, I seem to notice flickering MOST significantly when using a terminal window (terminal w/ ambiance theme w/ transparency, if that helps any). Yesterday, I had to run e2fsck so I put in a Linux Mint 9 live CD (which I assume uses the same Intel drivers?) & opened a terminal and the same problem occurred.

I'll try turning powersave off for a few days and see how it works and what kind of impact that has on the battery life & temperature.

Not a significant problem for me though, but anything I can do to help w/ testing, let me know. This is my first posting on here so sorry if I missed some of the board rules!

Dave

Revision history for this message
Vikram Dhillon (dhillon-v10) wrote : Re: [Ubuntu-x-swat] [Bug 574449] Re: random flickers on ubuntu lucid desktop

On Sat, May 29, 2010 at 06:02:56AM -0000, deibu76 wrote:
> Running 64-bit Ubuntu 10.04 on identical hardware as well.
>
> However, I've had the laptop hooked up to my TV now (via VGA cable) for
> several hours with "mirror screens" and haven't had the problem at all -
> the TV does not support 1366x768, so both screens are now set to
> 1360x768 instead. Nothing else has changed - compiz is still running.
> I also briefly tested dual monitor mode with the laptop display @
> 1366x768/60Hz and TV @ 1360x768 - had browser & terminal windows open on
> both, and did not notice any flickering.
>
> A quick search online showed a user with a Dell 1545 w/ Intel GM45
> integrated gfx was having similar problems using Fedora 12's Intel xorg
> driver - http://bugzilla.redhat.com/show_bug.cgi?id=519734 . Several
> other distros showed up w/ similar problems with laptops w/ Intel GM45
> GPUs. They also seem to confirm adding "i915powersave=0" to the cmd
> line in Grub seemed to solve the problem.
>
> Just as that command line configuration seems to work for a lot of
> people, I wonder if adding the 2nd display stops the flickering for me
> because it causes power-saving mode for the GPU to be disabled? I have
> no idea.
>
> Don't recall whether or not I had the problem with Karmic - I bought the
> laptop in January & installed 9.10 but I upgraded to Lucid Alpha 3 in
> February. The flickering hasn't been frequent enough to become much of
> a distraction for me. No problem doing anything graphics-intensive - I
> can play videos online w/ 64-bit Flash Alpha & I can even watch Netflix
> movies in a full-screen WinXP box w/ VMWare Player. I can even rotate
> compiz cylinder while its running and see the video playing behind my
> other desktops.
>
> The flickering definitely seems to have something to do with the power
> mgmt. modes on the GPU. In fact, I seem to notice flickering MOST
> significantly when using a terminal window (terminal w/ ambiance theme
> w/ transparency, if that helps any). Yesterday, I had to run e2fsck so
> I put in a Linux Mint 9 live CD (which I assume uses the same Intel
> drivers?) & opened a terminal and the same problem occurred.
>
> I'll try turning powersave off for a few days and see how it works and
> what kind of impact that has on the battery life & temperature.
>
> Not a significant problem for me though, but anything I can do to help
> w/ testing, let me know. This is my first posting on here so sorry if I
> missed some of the board rules!
>
> Dave
>
>
>

Thanks for the help Dave, yeah and logically it makes sense that the power management is causing the flickering, will look more into the bug report upstream,and will try to document that as soon as possible :)

--
Regards,
Vikram Dhillon

Revision history for this message
Sorin (trimbitassorin) wrote : apport information

Architecture: amd64
DistroRelease: Ubuntu 10.04
DkmsStatus: Error: [Errno 2] No such file or directory
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
MachineType: Acer Aspire 5738
Package: xserver-xorg-video-intel 2:2.9.1-3ubuntu5
PackageArchitecture: amd64
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=0d8dbac9-a305-4247-929c-288bcfa0986c ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Tags: lucid lucid
Uname: Linux 2.6.32-22-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/08/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: V1.25
dmi.board.name: JV50
dmi.board.vendor: Acer
dmi.board.version: Rev
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.25:bd12/08/2009:svnAcer:pnAspire5738:pvr0100:rvnAcer:rnJV50:rvrRev:cvnAcer:ct10:cvrN/A:
dmi.product.name: Aspire 5738
dmi.product.version: 0100
dmi.sys.vendor: Acer
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-22-generic

Revision history for this message
Sorin (trimbitassorin) wrote : BootDmesg.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : Dependencies.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : GdmLog.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : GdmLog1.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : GdmLog2.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : Lspci.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : Lsusb.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : PciDisplay.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : ProcModules.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : UdevDb.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : UdevLog.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : XorgLog.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : XorgLogOld.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : Xrandr.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : glxinfo.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : setxkbmap.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : xdpyinfo.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : xkbcomp.txt

apport information

Revision history for this message
Sorin (trimbitassorin) wrote : Re: random flickers on ubuntu lucid desktop

The issue appears on Acer 5738Z too and I confirm that doing the grub mod fixed it :)

Revision history for this message
Patrick Dickey (pdickeybeta) wrote :

I noticed this whenever I started a virtual machine inside of VMWare Player. I'm on a Toshiba Satellite A105-S2194 laptop with a 32-bit processor and 1.5G RAM (running Kubuntu 10.04 32-bit).

I'm not entirely sure if the issue is the same, but I posted a video of it on YouTube at http://www.youtube.com/watch?v=ILfuQYkRZx4 and will be rebooting with the i1915.powersave=0 line in my GRUB file. Hopefully it will work. I should note that my video card is an ATI Radeon x200 Mobile.

Thanks, and have a great day:)
Patrick.

bugbot (bugbot)
description: updated
bugbot (bugbot)
summary: - random flickers on ubuntu lucid desktop
+ [gm45] random flickers on ubuntu lucid desktop
Revision history for this message
Chris Wilson (ickle) wrote :

The descriptions all point towards a FIFO underrun which should have been fixed by corrections to the WM calculations.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.