[Mesa-dev] [Bug 94561] [llvmpipe] PIPE_CAP_VIDEO_MEMORY reports negative value on 32 bits (with 16GB ram)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 15 23:13:19 UTC 2016


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

--- Comment #2 from Roland Scheidegger <sroland at vmware.com> ---
At a very quick glance I would suspect it's os_get_total_physical_memory()
which isn't working. This has phys_pages * page_size which are both just long
which would overflow. If you use a int64_t for one of them (or long long) it
might work (I think the haiku code in there is broken just the same).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160315/30804178/attachment.html>


More information about the mesa-dev mailing list