[Bug 105509] SIGBUS, Bus error during command buffer recording

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 15 17:11:00 UTC 2018


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

--- Comment #3 from Vyacheslav <ytriffy at gmail.com> ---
So the root cause is the anv_allocator. Command buffer takes up a lot of maped
memory: 2320+4096+16384 bytes for anv_cmd_buffer and surface state, dynamic
state. Then allocator rounds this to be power of 2 - 32KB. So one command
buffer takes up 32KB. And maximum amount of maped memory per device is 1GB.
It's enough for ~32000 command buffers. After that mmap fails.

So default allocator was designed for small number of command buffers.

-- 
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/20180315/08f5eb7b/attachment.html>


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