Bug 32912

Summary: [bisected, r300g] Unigine Sanctuary: r300_emit.c:902:r300_emit_vertex_arrays: Assertion `&buf->b.b' failed with RADEON_HYPERZ=1
Product: Mesa Reporter: Pavel Ondračka <pavel.ondracka>
Component: Drivers/Gallium/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium Keywords: have-backtrace, regression
Version: git   
Hardware: Other   
OS: All   
URL: http://unigine.com/download/#sanctuary
Whiteboard:
i915 platform: i915 features:
Attachments: terminal output with backtrace

Description Pavel Ondračka 2011-01-08 01:39:41 UTC
Created attachment 41767 [details]
terminal output with backtrace

When Unigine Sanctuary is started with RADEON_HYPERZ=1 it asserts almost immediately. This is with all graphic settings set to lowest possible. 

First bad commit: 
be1af4394e060677b7db6bbb8e3301e38a3363da
Author: Marek Olšák <maraeo@gmail.com>
Date:   Sun Dec 26 04:29:44 2010 +0100

    r300g: derive user buffer sizes at draw time
    
    This only uploads the [min_index, max_index] range instead of [0, userbuf si
    which greatly speeds up user buffer uploads.
    
    This is also a prerequisite for atomizing vertex arrays in st/mesa.

BTW I had to also manually apply 96d8a54716d96bd28f0c54a25ca6904fb4321a55, I suppose it doesn't change anything

GPU: RV530
mesa: 7c16a77b0009382e4fa1f2a5e5ee2ad333bc7e78
Kernel: 2.6.37
Comment 1 Marek Olšák 2011-01-08 21:16:04 UTC
Fixed with commit 3332229b3ba7a183a9f120ae4bbf9865e96df110.

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.