Skip to contentSkip to conversation

R600 BARTS radeon: pipe_context->clear with color tiling enabled doesn't immediately affect color buffer

Bug 92236 [email protected] 1 participant 2 messages Oct 2, 2015

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=92236

Bug ID: 92236
Summary: [ColorTiling2D] R600 BARTS radeon: pipe_context->clear
with color tiling enabled doesn't immediately affect color buffer
Product: Mesa
Version: git
Hardware: x86 (IA32)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

There's an open Gallium nine bug: https://github.com/iXit/Mesa-3D/issues/138

It looks like pipe_context->clear called with PIPE_CLEAR_COLOR isn't applied immediately to the buffer.
As nine mimics swap-chains, the buffer is reused after some frames resulting in "delayed" presentation.

The problem doesn't exist with R600_DEBUG=notiling and it doesn't exists when using pipe_context->clear_render_target instead.

Tested with mesa git: https://github.com/iXit/Mesa-3D/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=92236

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
          Component|Drivers/Gallium/r600        |Mesa core
         Resolution|---                         |NOTOURBUG
           Assignee|[email protected] |[email protected].
                   |.org                        |org
         QA Contact|[email protected] |[email protected].
                   |.org                        |org

--- Comment #1 from Michel Dänzer <[email protected]> --- (In reply to Patrick Rudolph from comment #0)

Quoted 4 lines

There's an open Gallium nine bug: https://github.com/iXit/Mesa-3D/issues/138

It looks like pipe_context->clear called with PIPE_CLEAR_COLOR isn't applied immediately to the buffer.

That's correct. nine needs to resolve the clear using the pipe->flush_resource hook.

Quoted 1 line

The problem doesn't exist with R600_DEBUG=notiling

Fast clear only works with tiled surfaces.

Quoted 1 line

and it doesn't exists when using pipe_context->clear_render_target instead.

IIRC that's currently a software fallback.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel