[Bug 93301] ns2_linux32: radeon VM fault on Hawaii (+mmap errors)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 9 06:35:13 PST 2015


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

--- Comment #14 from Marek Olšák <maraeo at gmail.com> ---
No, Hawaii doesn't have DCC.

The issue can indeed be that there is not enough address space. Mesa doesn't
unmap most buffers, because mmap is a very costly operation. Such buffers are
only unmapped when destroyed. This is obviously a problem on 32-bit. Possible
solutions:

1) Always unmap buffers at appropriate places. This can have a significant
performance cost in CPU-bound apps.

2) Clear pb_cache on mmap failure and try mmap again.

(pb_cache typically contains staging buffers, which are always mapped.
Therefore, pb_cache completely hides allocation, GPU mmap, and CPU mmap
overhead, but it also contributes to address space usage.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151209/0334c05e/attachment.html>


More information about the dri-devel mailing list