Bug 26898

Summary: [i945] Intel 82945G/GZ Integrated Graphics Controller Freezes when compiz enabled
Product: xorg Reporter: Bryce Harrington <bryce>
Component: Driver/intelAssignee: Carl Worth <cworth>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: high    
Version: 7.4 (2008.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dri_debug-20100227.tgz none

Description Bryce Harrington 2010-03-04 18:26:24 UTC
Created attachment 33777 [details]
dri_debug-20100227.tgz

Forwarding this bug from Ubuntu reporter takashi torigoe:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/475429

[Problem]
When compiz is enabled and a visual effect such as window movement occurs, the screen freezes.  A recent batchbuffer dump is attached.

A lot more discussion is on the downstream bug that I'm omitting since it looks less relevant.  Suffice it to say the issue has been tested to still occur with recent drm-intel-next kernels.

[Original Description]
Since upgrade to the 9.10 release, my screen freezes after visual effect (window move).
With visual effects disabled, there is no problem.
When freeze occurs, keyboard and mouse are unusable, but ssh login is OK.
So, I got Batchbuffer dump according to https://wiki.ubuntu.com/X/Troubleshooting/Freeze.
Dump is attached with this post.(dri_debug-20091105.tgz)

Operations
1. sudo INTEL_DEBUG=batch /etc/init.d/gdm restart
2. Set visual effects -> extra (compiz)
3. Window move by mouse operation.
4. Window swings (visual effect)
5. freeze occur
6. ssh & get Batchbuffer


I install the latest drm-intel-next kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-next/2010-02-24/ .
And I got batchbuffer dump.
 sudo service apport start force_start=1
 mkdir dri_debug-$datestr
 sudo cp -r /sys/kernel/debug/dri/0/i915* dri_debug-$datestr
 sudo intel_gpu_dump > dri_debug-$datestr/intel_gpu_dump.txt
 dmesg > dri_debug-$datestr/dmesg.txt
 cp /var/log/Xorg.0.log dri_debug-$datestr/
 sudo cp /var/log/gdm/\:0.log dri_debug-$datestr/gdm.log
 sudo tar czf dri_debug-$datestr.tgz dri_debug-$datestr/

The batchbuffer dump is attached.
i915_error_state shows "no error state collected".


Architecture: i386
Date: Thu Nov  5 22:44:34 2009
DistroRelease: Ubuntu 9.10
MachineType: MICRO-STAR INTERNATIONAL CO.,LTD MS-7314
Package: xserver-xorg-video-intel 2:2.9.0-1ubuntu2
ProcCmdLine: root=UUID=82b4912c-da31-4c6d-a6a8-af1f955b874a ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=ja_JP.UTF-8ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu7
 libgl1-mesa-glx 7.6.0-1ubuntu4
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu2
 xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.31-14-generic i686
XsessionErrors:
 (gnome-settings-daemon:2653): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:2653): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (nautilus:2781): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:2824): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
dmi.bios.date: 07/14/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V1.1
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: MS-7314
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV1.1:bd07/14/2008:svnMICRO-STARINTERNATIONALCO.,LTD:pnMS-7314:pvr1.0:rvnMICRO-STARINTERNATIONALCO.,LTD:rnMS-7314:rvr1.0:cvnMICRO-STARINTERNATIONALCO.,LTD:ct3:cvr1.0:
dmi.product.name: MS-7314
dmi.product.version: 1.0
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
system: architecture:       i686kernel:             2.6.31-14-generic
--- 
Architecture: i386
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20091209)
LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MachineType: MICRO-STAR INTERNATIONAL CO.,LTD MS-7314
Package: xserver-xorg-video-intel 2:2.10.0+git20100108.4902f546-0ubuntu0sarvatt
PackageArchitecture: i386
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-7-generic root=UUID=e1d041b6-3b07-4d6f-aae9-5fbce8eee93c ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=ja_JP.UTF-8ProcVersionSignature: Ubuntu 2.6.32-7.10-generic
RelatedPackageVersions:
 xserver-xorg 1:7.5+1ubuntu1
 libgl1-mesa-glx 7.8.0~git20100107.d699b672-0ubuntu0sarvatt
 libdrm2 2.4.17+git20091230.c5c503b5-0ubuntu0sarvatt3
 xserver-xorg-video-intel 2:2.10.0+git20100108.4902f546-0ubuntu0sarvatt
 xserver-xorg-video-ati 1:6.12.99+git20100104.48aa5064-0ubuntu0sarvatt
Tags: lucid
Uname: Linux 2.6.32-7-generic i686
UnreportableReason: これは正式な Ubuntu のパッケージではありません
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XorgConf:
 Section "Device"
  Identifier "my-945G"
  Driver "intel"
  Option "DebugFlushCaches" "1"
 EndSection
dmi.bios.date: 07/14/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V1.1
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: MS-7314
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV1.1:bd07/14/2008:svnMICRO-STARINTERNATIONALCO.,LTD:pnMS-7314:pvr1.0:rvnMICRO-STARINTERNATIONALCO.,LTD:rnMS-7314:rvr1.0:cvnMICRO-STARINTERNATIONALCO.,LTD:ct3:cvr1.0:
dmi.product.name: MS-7314
dmi.product.version: 1.0
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
system: architecture:       i686kernel:             2.6.32-7-generic


[lspci]
00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02)
    	Subsystem: Micro-Star International Co., Ltd. Device [1462:7314]
Comment 1 Bryce Harrington 2010-03-04 18:27:19 UTC
Oops, Geir already forwarded this one.  Nevermind!

*** This bug has been marked as a duplicate of bug 26016 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.