https://bugs.freedesktop.org/show_bug.cgi?id=88227
Bug ID: 88227 Summary: Radeonsi: High GTT usage in Prison Architect large map Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon Assignee: dri-devel@lists.freedesktop.org Reporter: lothmordor@gmail.com
Created attachment 111992 --> https://bugs.freedesktop.org/attachment.cgi?id=111992&action=edit dmesg
Poor performace in Prison Architect (version alpha-28) when trying to play on the large map setting. Small map is smooth, Gallium hud showing 60fps. A new game with a large map (empty, nothing constructed) has about 0fps and high GTT usage while zoomed out. Zooming in fairly close on the large map shows a decrease in GTT use and fps increases.
Kernel is linux-3.19.0-rc3 Running git versions of the following packages (updated Jan 08): libdrm 566c3ce877a4be72697e15cdfc421ce965f7c37d llvm c41acffe2297585ad56aa772de75e82c132070bb xf86-video-ati 04da199231bb3f11cf17f94574a8df05855a7b82 mesa 3d8188d4f898afcf4f181de29e12c5b218bbd393
dmesg shows two errors: [ 5665.586842] [drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to parse relocation -12! [ 5750.747498] [drm:radeon_gem_va_ioctl [radeon]] *ERROR* Couldn't update BO_VA (-512)
R600_DEBUG=cs shows: radeon: The kernel rejected CS, see dmesg for more information. R600_DEBUG=nodma seemed to have no effect.
Logs and gallium hud screenshots attached. Just picked up this game, so not sure if there is a regression involved. Will try some older kernels and mesa.