[Bug 55500] [sna gen4] corrupt rendering (and flickering on redraw)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jul 7 02:21:08 PDT 2013


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

--- Comment #96 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to comment #93)
> The bad part is - while before I've been getting 3.7Mchar/s in x11perf
> -aa10text - now it's like 1.3Mchar/s  so significantly slower.

That's the sacrifice, we have to stop sending commands to the GPU and wait for
it complete those in flight (quite frequently). Or else new rectangles
overwrite vertex entries still being used by later entries 

> So the question here would be - isn't the corruption based on  triangle
> surface size ? So i.e. GPU is able to  process a lot of small ones - but has
> bug with bigger ones ?
> 
> Maybe a cheap test would be to flush when some longer triangle edge is
> pushed in ?

Not really, you have to predict when a VUE being used by the end of the
pipeline will be overwritten by a new rectangle at the start of the pipeline.
This is completely internal state - the primitive command we want to feed to
the GPU can contains thousands of rectangles. Instead of counting rectangles,
you want to start counting fragments (actually texel reads since that will be
the ratelimiting factor) and flush if we queue up too much work for the GPU. If
you also model how fast the gpu is retiring fragments so that you can predict
how much work is in flight, you could further reduce flushes...

We still need to stop the gpu and wait for it to complete. No matter how finely
you do it, it will sacrifice throughput and latency.

It's a workaround. I still live in hope that after all these years we missed
some configuration detail required for gen4.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20130707/384e628f/attachment.html>


More information about the intel-gfx-bugs mailing list