Bug 27258

Summary: [945] compiz crash X with "Assertion `aligned_pitch == pitch * cpp' failed" on mesa 7.8
Product: Mesa Reporter: zhao jian <jian.j.zhao>
Component: Drivers/DRI/i915Assignee: Eric Anholt <eric>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: high    
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: xorg.0.log

Description zhao jian 2010-03-23 02:21:16 UTC
Created attachment 34352 [details]
xorg.0.log

System Environment:
--------------------------
Platform:       945GM
Libdrm:         (master)c1c8bbf80b1f734e23996bf805dc78f32ebaf56f
Mesa:           (7.8)094c6fbc45cee1b53d9f1d7d4123d6da6a8958a3
Xserver:                (master)3083c5d0c4386cdd7083b7a83ac72fdad2f1e61e
Xf86_video_intel:       (master)9c037f61a490c96f9095f7ff3fecbf41f5efe9f7
Kernel_unstable:  (drm-intel-next)38d922ba211c1efdbe00809c899f1ca4979c84c7

Bug detailed description:
-------------------------
With compiz enabled, gnome-session startup fails and will crash X. OS is Fedora 11. If compiz disabled, gnome-session works well. It crashed X with the following message: 
compiz: intel_regions.c:193: intel_region_alloc: Assertion `aligned_pitch == pitch * cpp' failed. 
There is no such issue on mesa master branch. And it may be the same cause with #27030. 

Reproduce steps:
----------------
1.xinit&
2.gnome-session&
Comment 1 Eric Anholt 2010-03-25 17:33:42 UTC
commit fdbe1ca0bd7451c8406795f829d661139d941f27
Author: Eric Anholt <eric@anholt.net>
Date:   Tue Mar 16 16:20:03 2010 -0700

    intel: Rely on allocated region pitch for the miptree pitch.
    
    Bug #26966: 945 miptree pitch disagreement with libdrm.
    (cherry picked from commit da011faf48155a5c02ebc1fe1fa20a4f54b8c657)
Comment 2 zhao jian 2010-03-29 02:06:49 UTC
It works well now. verified. 
Libdrm:         (master)e6b3f906cef26e1efb8625f5dd4e460b4c79a771
Mesa:           (7.8)6abc3501c6c6d99a6e115cd645cec0c94ff00e1e
Xserver:                (master)579715f830fbbca9e1ecb17dc18176132f5969e7
Xf86_video_intel:       (master)df3b26847914557eb3c9c70732d91169b1936d77
Kernel:         v2.6.33.1

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.