[Intel-gfx] i915_gem_evict_something in sysprof trace using VBOs

Peter Clifton pcjc2 at cam.ac.uk
Fri Nov 5 15:30:35 CET 2010


On Fri, 2010-11-05 at 11:44 +0000, Peter Clifton wrote:

> I take bets its "something I've done wrong", as usually seems to be the
> way, but for now - if I just use glBufferSubData to upload changed data
> only, I get rendering corruption. It works fine with
> LIBGL_ALWAYS_SOFTWARE=1 though, so there is perhaps a small possibility
> of a driver bug?

Does this look correct? Forcing the Gen6 fallback for BufferSubData
fixes my corruption. Seems as if the blit is going wrong. The PRM
suggests the pitch needs to be DWORD aligned,


The attached patch fixes it. What I can't quite fathom is how this has
escaped until now.. am I doing something unusual by calling
glBufferSubData with large buffers?

Could someone with access to MESA repositories review and commit it
please?


-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-intel-Fix-emit_linear_blit-to-use-DWORD-aligned-widt.patch
Type: text/x-patch
Size: 1479 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20101105/cd096297/attachment.bin>


More information about the Intel-gfx mailing list