<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Radeonsi: High GTT usage in Prison Architect large map"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88227#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Radeonsi: High GTT usage in Prison Architect large map"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88227">bug 88227</a>
from <span class="vcard"><a class="email" href="mailto:lothmordor@gmail.com" title="James Harvey <lothmordor@gmail.com>"> <span class="fn">James Harvey</span></a>
</span></b>
<pre>Hello Marek,
My memory info:
[ 1.879493] [drm] radeon: 2048M of VRAM memory ready
[ 1.879494] [drm] radeon: 2048M of GTT memory ready.
I also have 8gb of system memory. I patched radeon_drm_winsys.c as per your
suggestion. This seemed to work well:
- (ws->info.vram_size + ws->info.gart_size) / 8);
+ (ws->info.vram_size + ws->info.gart_size) / 2);
I tried changing the divisor to 4, but that didn't help much.
Divisor at 3 was better but still had some fps drops to zero and trouble
getting above about 40fps.
Divisor at 2 was much better, fps drops only when waiting for data to load in
memory. (such as suddenly zooming out or saving/loading game).
While testing, the maximum GTT usage I saw was 1.82gb, with typical usage
around 1-1.5gb depending on how closely the map was zoomed in. Vram usage is
pretty flat, usually around 450mb.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>