Bug 22406 - [regression i965 OGLC] shadow.c make X hang due to commit bd10f0e84f1491363d76d92dcbd410ab5cc43dbe
Summary: [regression i965 OGLC] shadow.c make X hang due to commit bd10f0e84f1491363d7...
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: high critical
Assignee: Eric Anholt
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-21 20:34 UTC by Shuang He
Modified: 2009-08-24 12:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Shuang He 2009-06-21 20:34:56 UTC
System Environment:
--------------------------
Arch:           x86_64
Platform:       G45
Libdrm 	(master)2fa2db138ba989bfa1a8cd9ab66d83fb7369249e
Mesa 	(master)df70d3049a396af3601d2a1747770635a74120bb
Xserver 	(master)ae20e748cd3a656173e1f50109bfd4af0712bb87
Xf86_video_intel 	(master)38d3158dfbc2459ac2a5a1af52b1008bbf083a55 

Bug detailed description:
-------------------------
OGLC case shadow.c will make X hang, this is due to following commit:

bd10f0e84f1491363d76d92dcbd410ab5cc43dbe is first bad commit
commit bd10f0e84f1491363d76d92dcbd410ab5cc43dbe
Author: Eric Anholt <eric@anholt.net>
Date:   Fri Jun 12 08:44:40 2009 -0700

    i965: Fix tiling for FBO depth attachments by making DEPTH_COMPONENT Y tiled.
    
    This may hurt if miptree relayout occurs, since we can't blit Y tiled
    objects.  But it corrects depth tests on FBOs using textures.



Reproduce steps:
----------------
1.xinit&
2. run olgc/shadow.c ...
Comment 1 Eric Anholt 2009-08-03 09:45:05 UTC
Increasing priority on texture tiling work for the next release.
Comment 2 Eric Anholt 2009-08-07 18:35:01 UTC
commit ceb8afcca5b0a52b005a782ea54b301beaee1a15
Author: Eric Anholt <eric@anholt.net>
Date:   Fri Aug 7 18:09:31 2009 -0700

    intel: Align region height as required for tiled regions.
    
    Otherwise, we would address beyond the end of our buffers.  Fixes reliable
    GPU segfault with texture_tiling=true and oglconform shadow.c.
    
    Bug #22406.
Comment 3 Shuang He 2009-08-10 17:52:02 UTC
verified on G45 against:
Libdrm 	(master)d74c67fb13d8c3e8c2e5968d827285d147a5dfc0
Mesa 	(master)b4c95697150b8eb0bb60bb996f04be323bb56332
Xserver 	(master)93d9646c713336e03c135204c061f561d3654e23
Xf86_video_intel 	(master)e8f0763d405a8152c74c28792c52fe12c1d41dd5
Kernel 	(drm-intel-next)819e0064634f580ab618189e657ea58341d214b7
Comment 4 Adam Jackson 2009-08-24 12:32:32 UTC
Mass version move, cvs -> git


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.