[i945gm] [lucid] LCD "flashes" and jumps horizontally quite a lot

Bug #506444 reported by Stefano Rivera
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned
xserver-xorg-video-intel (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Excuse the wishy-washy bug report, but I can't find any logs showing anything out of the ordinary or a way to reliably trigger it.

The LCD flashes-black for a fraction of a second quite often (sometimes multiple times in a minute). It looks like a driver or hardware is resetting. Occasionally a section of the screen is noticeably corrupted during this, before it re-draws.
Sometimes the whole display appears to jump left by something on the order of 10 pixels.

If this happens while playing a video, the GPU locks up (well screen goes black, VTs are inaccessible, and the machine has to be rebooted to get X to start again).

Possibly related to bug #422072

ProblemType: Bug
Architecture: amd64
Date: Tue Jan 12 16:31:04 2010
DistroRelease: Ubuntu 10.04
MachineType: Apple Inc. MacBook2,1
Package: xserver-xorg-video-intel 2:2.9.1-1ubuntu1
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-10-generic root=UUID=3345fa7f-d2c4-456f-8d0d-8fdb515433f7 ro single
ProcEnviron:
 LANGUAGE=en_ZA.UTF-8
 PATH=(custom, user)
 LANG=en_ZA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-10.14-generic
RelatedPackageVersions:
 xserver-xorg 1:7.5+1ubuntu1
 libgl1-mesa-glx 7.7-0ubuntu3
 libdrm2 2.4.17-0ubuntu1
 xserver-xorg-video-intel 2:2.9.1-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20091125.0061c4db-0ubuntu2
SourcePackage: xserver-xorg-video-intel
Tags: lucid
Uname: Linux 2.6.32-10-generic x86_64
dmi.bios.date: 06/27/07
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MB21.88Z.00A5.B07.0706270922
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F4208CAA
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F4208CAA
dmi.modalias: dmi:bvnAppleInc.:bvrMB21.88Z.00A5.B07.0706270922:bd06/27/07:svnAppleInc.:pnMacBook2,1:pvr1.0:rvnAppleInc.:rnMac-F4208CAA:rvrPVT:cvnAppleInc.:ct10:cvrMac-F4208CAA:
dmi.product.name: MacBook2,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
fglrx: Not loaded
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.32-10-generic

Revision history for this message
Stefano Rivera (stefanor) wrote :
description: updated
Revision history for this message
Stefano Rivera (stefanor) wrote :

As of this morning's updates. Starting X results in a GPU hang.
Xorg spends 100% of CPU time in kernel mode, and the kernel starts complaining:

[ 360.480027] INFO: task i915/0:293 blocked for more than 120 seconds.
[ 360.480032] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 360.480034] i915/0 D 00000000ffffffff 0 293 2 0x00000000
[ 360.480039] ffff880097d6dd40 0000000000000046 0000000000015ac0 0000000000015ac0
[ 360.480044] ffff8800981a1ab0 ffff880097d6dfd8 0000000000015ac0 ffff8800981a16f0
[ 360.480048] 0000000000015ac0 ffff880097d6dfd8 0000000000015ac0 ffff8800981a1ab0
[ 360.480052] Call Trace:
[ 360.480063] [<ffffffff81575d17>] __mutex_lock_slowpath+0xe7/0x170
[ 360.480070] [<ffffffff81055200>] ? finish_task_switch+0x50/0xd0
[ 360.480073] [<ffffffff81575c0b>] mutex_lock+0x2b/0x50
[ 360.480111] [<ffffffffa00c691d>] i915_gem_retire_work_handler+0x3d/0xa0 [i915]
[ 360.480120] [<ffffffffa00c68e0>] ? i915_gem_retire_work_handler+0x0/0xa0 [i915]
[ 360.480126] [<ffffffff8107ead7>] run_workqueue+0xc7/0x1a0
[ 360.480129] [<ffffffff8107ec53>] worker_thread+0xa3/0x110
[ 360.480133] [<ffffffff81083680>] ? autoremove_wake_function+0x0/0x40
[ 360.480136] [<ffffffff8107ebb0>] ? worker_thread+0x0/0x110
[ 360.480139] [<ffffffff81083306>] kthread+0x96/0xa0
[ 360.480143] [<ffffffff810141ea>] child_rip+0xa/0x20
[ 360.480146] [<ffffffff81083270>] ? kthread+0x0/0xa0
[ 360.480149] [<ffffffff810141e0>] ? child_rip+0x0/0x20

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Revision history for this message
Steffen Röcker (sroecker) wrote :

I can confirm this, it looks like the screen is shaking up and down very shortly.
I don't know if it's related, but I get this all the time:
Jan 15 15:44:47 helios kernel: [ 1006.048114] Skipping EDID probe due to cached edid
Jan 15 15:44:47 helios kernel: [ 1006.130362] [drm] TV-16: set mode NTSC 480i 0
Jan 15 15:44:47 helios kernel: [ 1006.296284] [drm] TV-16: set mode NTSC 480i 0

It also sometimes crashes and the screen is either black or a single color, but this seems to be another bug.

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e135b]
1: /usr/bin/X (0x8048000+0x60a8d) [0x80a8a8d]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0xbd3410]
3: /usr/bin/X (DisableDevice+0x21f) [0x80790ef]
4: /usr/bin/X (xf86Wakeup+0x3bd) [0x80b406d]
5: /usr/bin/X (WakeupHandler+0x52) [0x809dfd2]
6: /usr/bin/X (WaitForSomething+0x1aa) [0x80a7c9a]
7: /usr/bin/X (0x8048000+0x49da0) [0x8091da0]
8: /usr/bin/X (0x8048000+0x1ecfa) [0x8066cfa]
9: /lib/tls/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0x277bd6]
10: /usr/bin/X (0x8048000+0x1e8e1) [0x80668e1]
Segmentation fault at address 0x4

Caught signal 11 (Segmentation fault). Server aborting

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Linux helios 2.6.32-10-generic #14-Ubuntu SMP Thu Jan 7 17:38:40 UTC 2010 i686 GNU/Linux
xserver-xorg-video-intel 2:2.9.1-1ubuntu1

Revision history for this message
Steffen Röcker (sroecker) wrote :

Sorry, forget the backtrace, it was an old one for another bug.

If I start X with INTEL_DEBUG=1 it seems to take longer to crash.
Unfortunately I was unable to get a batchbuffer dump.

Revision history for this message
Steffen Röcker (sroecker) wrote :

LVDS clockdown could be the cause of this, see:
http://lists.freedesktop.org/archives/intel-gfx/2010-January/005347.html

There is a patch on intel-gfx, I will wait until it's in the drm-intel-next kernel and try if it fixes this.

Revision history for this message
Steffen Röcker (sroecker) wrote :

This bug was fixed for me with the patch for bug #492392. (Which disables powersave for i915)
There is no flicker and it runs stable for hours.

I tried out linux 2.6.33-020633rc5-generic from the kernel-ppa with i915.lvds_downclock=0.
There was no flicker but it crashed (gray screen, but still able to login via ssh) after a few minutes, this time though I was able to get a batchbuffer dump.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Released
importance: Undecided → Low
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Fix Released per comment #6. From my research, I can confirm that the settings addressed in the patch for the bug mentioned are now set to default behavior for i915.

-JFo

Changed in linux (Ubuntu):
status: New → Fix Released
importance: Undecided → Medium
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.