Bug 19717

Summary: Crash when playing warcraft on wine because of assertion
Product: Mesa Reporter: Diego Escalante Urrelo <diegoe>
Component: Drivers/DRI/i915Assignee: Ian Romanick <idr>
Status: RESOLVED INVALID QA Contact:
Severity: blocker    
Priority: medium    
Version: 7.2   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Diego Escalante Urrelo 2009-01-24 07:19:15 UTC
While playing warcraft III on wine (or virtualbox), I frequently get a crash on this assertion (get_dirty(state) == 0):

--- mesa-7.2.orig/src/mesa/drivers/dri/i915/i830_vtbl.c
+++ mesa-7.2/src/mesa/drivers/dri/i915/i830_vtbl.c
@@ -551,8 +551,8 @@
    }
 
    intel->batch->dirty_state &= ~dirty;
-   assert(get_dirty(state) == 0);
-   assert((intel->batch->dirty_state & (1<<1)) == 0);
+   //assert(get_dirty(state) == 0);
+   //assert((intel->batch->dirty_state & (1<<1)) == 0);
 }

Commenting the asserts works fine for me, nothing weird happens so far, so I guess either the state believes it's 0 when it isn't.
Anyway, the problem is an ugly crasher, commenting the lines fixes it, of course I'm sure there's a better fix, but that's as far as I got.
Comment 1 Diego Escalante Urrelo 2009-06-08 16:24:43 UTC
Closing since with 7.3 this is no longer valid, will reopen if I see it again.

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.