[Bug 99507] Corrupted frame contents with Vulkan version of DOTA2, Talos Principle and Sascha Willems' demos when they're run Vsynched in fullscreen

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 18 06:27:43 UTC 2017


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

--- Comment #8 from Jason Ekstrand <jason at jlekstrand.net> ---
(In reply to Eero Tamminen from comment #7)
> Is Vulkan using PTE MOCS for buffers that are potentially display surfaces,
> like GL side does in brw_update_renderbuffer_surface() & brw_blorp_init()?

Good question.  Those errors definitely look like a caching problem though I'm
a bit surprised I've never noticed it. :(

Looking at anv_private.h, on BDW, we're using the equivalent of GEN8_MOCS_WB
for everything, not GEN8_MOCS_PTE.  Sky lake is the same story (only the GEN9
equivalents).  That's most likely the problem.  Thanks for pointing it out!

I see a couple of options here.  One would be to do the same thing as the GL
driver does and use PTE for all render targets.  The other would be to only use
PTE if the is_scanout flag is set on the BO.  In the end, I'm not sure there's
actually a huge difference between the two.  We would also need to update the
mocs values we pass to BLORP to also use PTE for render targets.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170218/23aa0a75/attachment.html>


More information about the intel-3d-bugs mailing list