Bug 32634

Summary: [r300g, bisected] Massive corruption in Unigine Sanctuary
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: regression
Version: git   
Hardware: Other   
OS: All   
URL: http://www.unigine.com/download/#sanctuary
Whiteboard:
i915 platform: i915 features:
Attachments: screenshot

Description Pavel Ondračka 2010-12-24 02:15:04 UTC
Starting with commit 4e52e8f746e3565bf3fe9ba8e4e3744ce0302478 rendering is almost completely broken. There are black artifacts all over the screen. 

4e52e8f746e3565bf3fe9ba8e4e3744ce0302478 is the first bad commit
commit 4e52e8f746e3565bf3fe9ba8e4e3744ce0302478
Author: Dave Airlie <airlied@redhat.com>
Date:   Sat Dec 18 10:40:33 2010 +1000

    r300g: add support for color0 writes to all bound color buffers.
    
    Thanks to Marek Olšák for making my initial attempt actually work.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

Reverting this commit makes the problem go away.

My configuration:
Mesa: 876effb0e717e8e64050662f6ffa286c22065f5c
Kernel: 2.6.36
GPU: RV530

To reproduce you need either 2.2 version of the Unigine Sanctuary benchmark or 2.3 version + patch to enable GL_ARB_half_float_pixel.
http://lists.freedesktop.org/archives/mesa-dev/2010-December/004549.html
libtxc_dxtn.so is also required.
Comment 1 Pavel Ondračka 2010-12-24 02:15:38 UTC
Created attachment 41416 [details]
screenshot
Comment 2 Marek Olšák 2011-01-06 10:10:23 UTC
Fixed with c60f1d8b007625f62a53010bb75e70462eb970ae.

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.