From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Fri, 09 Jan 2015 09:16:09 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1622518046==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 34F496E861 for ; Fri, 9 Jan 2015 01:16:09 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1622518046== Content-Type: multipart/alternative; boundary="1420794969.A25eA0.20448"; charset="UTF-8" --1420794969.A25eA0.20448 Date: Fri, 9 Jan 2015 09:16:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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. -- You are receiving this mail because: You are the assignee for the bug. --1420794969.A25eA0.20448 Date: Fri, 9 Jan 2015 09:16:09 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
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 [details]
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.


You are receiving this mail because:
  • You are the assignee for the bug.
--1420794969.A25eA0.20448-- --===============1622518046== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1622518046==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Fri, 09 Jan 2015 09:17:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1715316927==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A421D6E861 for ; Fri, 9 Jan 2015 01:17:28 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1715316927== Content-Type: multipart/alternative; boundary="1420795048.aFD7D4b50.21030"; charset="UTF-8" --1420795048.aFD7D4b50.21030 Date: Fri, 9 Jan 2015 09:17:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=88227 --- Comment #2 from James Harvey --- Created attachment 111994 --> https://bugs.freedesktop.org/attachment.cgi?id=111994&action=edit Game log with R600_DEBUG=cs -- You are receiving this mail because: You are the assignee for the bug. --1420795048.aFD7D4b50.21030 Date: Fri, 9 Jan 2015 09:17:28 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 88227 from
Created attachment 111994 [details]
Game log with R600_DEBUG=cs


You are receiving this mail because:
  • You are the assignee for the bug.
--1420795048.aFD7D4b50.21030-- --===============1715316927== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1715316927==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Fri, 09 Jan 2015 09:18:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0484566201==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A8C636E862 for ; Fri, 9 Jan 2015 01:18:08 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0484566201== Content-Type: multipart/alternative; boundary="1420795088.3Fa6ce0.21338"; charset="UTF-8" --1420795088.3Fa6ce0.21338 Date: Fri, 9 Jan 2015 09:18:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=88227 --- Comment #3 from James Harvey --- Created attachment 111995 --> https://bugs.freedesktop.org/attachment.cgi?id=111995&action=edit Gallium hud on small map -- You are receiving this mail because: You are the assignee for the bug. --1420795088.3Fa6ce0.21338 Date: Fri, 9 Jan 2015 09:18:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 88227 from
Created attachment 111995 [details]
Gallium hud on small map


You are receiving this mail because:
  • You are the assignee for the bug.
--1420795088.3Fa6ce0.21338-- --===============0484566201== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0484566201==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Fri, 09 Jan 2015 09:16:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1449227230==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 947BF6E860 for ; Fri, 9 Jan 2015 01:16:52 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1449227230== Content-Type: multipart/alternative; boundary="1420795012.27Dec18b0.20723"; charset="UTF-8" --1420795012.27Dec18b0.20723 Date: Fri, 9 Jan 2015 09:16:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=88227 --- Comment #1 from James Harvey --- Created attachment 111993 --> https://bugs.freedesktop.org/attachment.cgi?id=111993&action=edit xorg.log -- You are receiving this mail because: You are the assignee for the bug. --1420795012.27Dec18b0.20723 Date: Fri, 9 Jan 2015 09:16:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"


You are receiving this mail because:
  • You are the assignee for the bug.
--1420795012.27Dec18b0.20723-- --===============1449227230== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1449227230==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Fri, 09 Jan 2015 09:18:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1033652261==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id EC8756E863 for ; Fri, 9 Jan 2015 01:18:53 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1033652261== Content-Type: multipart/alternative; boundary="1420795133.1b3d1280.21658"; charset="UTF-8" --1420795133.1b3d1280.21658 Date: Fri, 9 Jan 2015 09:18:53 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=88227 --- Comment #4 from James Harvey --- Created attachment 111996 --> https://bugs.freedesktop.org/attachment.cgi?id=111996&action=edit Gallium hud on large map -- You are receiving this mail because: You are the assignee for the bug. --1420795133.1b3d1280.21658 Date: Fri, 9 Jan 2015 09:18:53 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 88227 from
Created attachment 111996 [details]
Gallium hud on large map


You are receiving this mail because:
  • You are the assignee for the bug.
--1420795133.1b3d1280.21658-- --===============1033652261== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1033652261==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Fri, 09 Jan 2015 09:20:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0246756060==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 58CC96E854 for ; Fri, 9 Jan 2015 01:20:58 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0246756060== Content-Type: multipart/alternative; boundary="1420795258.dD5ddF30.22451"; charset="UTF-8" --1420795258.dD5ddF30.22451 Date: Fri, 9 Jan 2015 09:20:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D88227 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #111996|text/plain |image/png mime type| | --=20 You are receiving this mail because: You are the assignee for the bug. --1420795258.dD5ddF30.22451 Date: Fri, 9 Jan 2015 09:20:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = Michel D=C3=A4nzer changed bug 88227<= /a>
What Removed Added
Attachment #111996 mime type text/plain image/png


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1420795258.dD5ddF30.22451-- --===============0246756060== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0246756060==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Fri, 09 Jan 2015 09:24:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0721054445==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C324B6E865 for ; Fri, 9 Jan 2015 01:24:47 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0721054445== Content-Type: multipart/alternative; boundary="1420795487.E5cB1bc0.24350"; charset="UTF-8" --1420795487.E5cB1bc0.24350 Date: Fri, 9 Jan 2015 09:24:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D88227 --- Comment #5 from Michel D=C3=A4nzer --- Does radeon.gartsize=3D2048 on the kernel command line help? --=20 You are receiving this mail because: You are the assignee for the bug. --1420795487.E5cB1bc0.24350 Date: Fri, 9 Jan 2015 09:24:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 5 on bug 88227<= /a> from Michel D=C3=A4nzer
Does radeon.gartsize=3D2048 on the kernel command line help?
        


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1420795487.E5cB1bc0.24350-- --===============0721054445== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0721054445==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Fri, 09 Jan 2015 10:13:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1475662273==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 906256E87F for ; Fri, 9 Jan 2015 02:13:12 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1475662273== Content-Type: multipart/alternative; boundary="1420798392.f2130.14702"; charset="UTF-8" --1420798392.f2130.14702 Date: Fri, 9 Jan 2015 10:13:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=88227 --- Comment #6 from James Harvey --- Unfortunately, it did not help. Seems like the fps drops occurs whenever the requested GTT gets above about 515-520mb or so. -- You are receiving this mail because: You are the assignee for the bug. --1420798392.f2130.14702 Date: Fri, 9 Jan 2015 10:13:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 6 on bug 88227 from
Unfortunately, it did not help.
Seems like the fps drops occurs whenever the requested GTT gets above
about 515-520mb or so.


You are receiving this mail because:
  • You are the assignee for the bug.
--1420798392.f2130.14702-- --===============1475662273== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1475662273==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Sat, 10 Jan 2015 12:00:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2134774076==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0C7096E0A1 for ; Sat, 10 Jan 2015 04:00:29 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2134774076== Content-Type: multipart/alternative; boundary="1420891228.d4bDF3b0.6029"; charset="UTF-8" --1420891228.d4bDF3b0.6029 Date: Sat, 10 Jan 2015 12:00:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=88227 --- Comment #7 from James Harvey --- Further testing shows large fps drops from 60 to ~0 whenever used GTT exceeds 550mb. Tested kernels going back to 3.10.63 with no improvement. Installed kernel 3.19.0-rc3 and llvm-3.4.2 to test mesa releases. Confirmed this is a regression in mesa. Mesa-10.0.4, 10.3.5 and 10.3.6 manage at least 30fps or higher with GTT usage over 550mb. Tested Mesa 10.4.1 and Mesa git master, both are effected by this issue. Looks like it was introduced in the 10.4 branch. Attempting to bisect. -- You are receiving this mail because: You are the assignee for the bug. --1420891228.d4bDF3b0.6029 Date: Sat, 10 Jan 2015 12:00:28 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 7 on bug 88227 from
Further testing shows large fps drops from 60 to ~0 whenever used GTT exceeds
550mb.  Tested kernels going back to 3.10.63 with no improvement.

Installed kernel 3.19.0-rc3 and llvm-3.4.2 to test mesa releases.

Confirmed this is a regression in mesa.  Mesa-10.0.4, 10.3.5 and 10.3.6 manage
at least 30fps or higher with GTT usage over 550mb.

Tested Mesa 10.4.1 and Mesa git master, both are effected by this issue.  Looks
like it was introduced in the 10.4 branch.  Attempting to bisect.


You are receiving this mail because:
  • You are the assignee for the bug.
--1420891228.d4bDF3b0.6029-- --===============2134774076== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============2134774076==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Sun, 11 Jan 2015 07:08:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0739056472==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 17D1D6E26F for ; Sat, 10 Jan 2015 23:08:15 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0739056472== Content-Type: multipart/alternative; boundary="1420960094.7cF5C80.13423"; charset="UTF-8" --1420960094.7cF5C80.13423 Date: Sun, 11 Jan 2015 07:08:14 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D88227 --- Comment #8 from James Harvey --- Created attachment 112085 --> https://bugs.freedesktop.org/attachment.cgi?id=3D112085&action=3Dedit large map prior to commit 150ac07b Bisect complete: 150ac07b855b5c5f879bf6ce9ca421ccd1a6c938 is the first bad commit commit 150ac07b855b5c5f879bf6ce9ca421ccd1a6c938 Author: Michel D=C3=A4nzer Date: Wed Jun 25 18:36:43 2014 +0900 r600g/radeonsi: Prefer VRAM for CPU -> GPU streaming buffers Reviewed-by: Marek Ol=C5=A1=C3=A1k Prior to this commit, there is a slight fps drop (60->24) while moving arou= nd the map for the first time, but thereafter it stays at roughly 60fps. --=20 You are receiving this mail because: You are the assignee for the bug. --1420960094.7cF5C80.13423 Date: Sun, 11 Jan 2015 07:08:14 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 8 on bug 88227<= /a> from James Harvey
Created attac=
hment 112085 [details]
large map prior to commit 150ac07b

Bisect complete:

150ac07b855b5c5f879bf6ce9ca421ccd1a6c938 is the first bad commit
commit 150ac07b855b5c5f879bf6ce9ca421ccd1a6c938
Author: Michel D=C3=A4nzer <michel.daenzer@amd.com>
Date:   Wed Jun 25 18:36:43 2014 +0900

    r600g/radeonsi: Prefer VRAM for CPU -> GPU streaming buffers

    Reviewed-by: Marek Ol=C5=A1=C3=A1k <marek.olsak@amd.com>

Prior to this commit, there is a slight fps drop (60->24) while moving a=
round
the map for the first time, but thereafter it stays at roughly 60fps.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1420960094.7cF5C80.13423-- --===============0739056472== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0739056472==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Sun, 11 Jan 2015 14:40:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0081189133==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A0296E2DE for ; Sun, 11 Jan 2015 06:40:20 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0081189133== Content-Type: multipart/alternative; boundary="1420987220.620E8d800.26862"; charset="UTF-8" --1420987220.620E8d800.26862 Date: Sun, 11 Jan 2015 14:40:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D88227 --- Comment #9 from James Harvey --- Reverting the above commit against mesa git master did not solve the proble= m. Performed another bisection and got result: commit b419c651fbbf3660d7b53623dfa2e5a4c9bd3b98 Author: Marek Ol=C5=A1=C3=A1k Date: Wed Aug 20 23:53:40 2014 +0200 gallium/pb_bufmgr_cache: limit the size of cache This should make a machine which is running piglit more responsive at times. e.g. streaming-texture-leak can easily eat 600 MB because of how fast it creates new textures. Reverting this commit (to remove the cache limit) returned the game to full performance. Tested against git-ff1948a. --=20 You are receiving this mail because: You are the assignee for the bug. --1420987220.620E8d800.26862 Date: Sun, 11 Jan 2015 14:40:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 9 on bug 88227<= /a> from James Harvey
Reverting the above commit against mesa git master did not sol=
ve the problem.
Performed another bisection and got result:

commit b419c651fbbf3660d7b53623dfa2e5a4c9bd3b98
Author: Marek Ol=C5=A1=C3=A1k <marek.olsak@amd.com>
Date:   Wed Aug 20 23:53:40 2014 +0200

    gallium/pb_bufmgr_cache: limit the size of cache

    This should make a machine which is running piglit more responsive at
times.
    e.g. streaming-texture-leak can easily eat 600 MB because of how fast it
    creates new textures.

Reverting this commit (to remove the cache limit) returned the game to full
performance. Tested against git-ff1948a.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1420987220.620E8d800.26862-- --===============0081189133== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0081189133==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Sun, 11 Jan 2015 15:00:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2024565972==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3E9726E2EB for ; Sun, 11 Jan 2015 07:00:28 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2024565972== Content-Type: multipart/alternative; boundary="1420988428.Bddf60.2241"; charset="UTF-8" --1420988428.Bddf60.2241 Date: Sun, 11 Jan 2015 15:00:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D88227 --- Comment #10 from Marek Ol=C5=A1=C3=A1k --- James, can you increase the size of cache manually and see what works bette= r? There is only one formula in radeon_drm_winsys.c:676, so it should be trivi= al. Also please how much VRAM and GTT do you have? --=20 You are receiving this mail because: You are the assignee for the bug. --1420988428.Bddf60.2241 Date: Sun, 11 Jan 2015 15:00:28 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 10 on bug 88227<= /a> from Marek Ol=C5=A1=C3=A1k
James, can you increase the size of cache manually and see wha=
t works better?
There is only one formula in radeon_drm_winsys.c:676, so it should be trivi=
al.

Also please how much VRAM and GTT do you have?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1420988428.Bddf60.2241-- --===============2024565972== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============2024565972==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Mon, 12 Jan 2015 03:31:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0053345871==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 88B3B6E1E0 for ; Sun, 11 Jan 2015 19:31:28 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0053345871== Content-Type: multipart/alternative; boundary="1421033488.FaEdE60.16905"; charset="UTF-8" --1421033488.FaEdE60.16905 Date: Mon, 12 Jan 2015 03:31:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=88227 --- Comment #11 from James Harvey --- 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. -- You are receiving this mail because: You are the assignee for the bug. --1421033488.FaEdE60.16905 Date: Mon, 12 Jan 2015 03:31:28 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 11 on bug 88227 from
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.


You are receiving this mail because:
  • You are the assignee for the bug.
--1421033488.FaEdE60.16905-- --===============0053345871== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0053345871==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 88227] Radeonsi: High GTT usage in Prison Architect large map Date: Tue, 20 Jan 2015 03:35:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1691600078==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 242576E55E for ; Mon, 19 Jan 2015 19:35:45 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1691600078== Content-Type: multipart/alternative; boundary="1421724945.AF44300.2307"; charset="UTF-8" --1421724945.AF44300.2307 Date: Tue, 20 Jan 2015 03:35:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D88227 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #12 from Michel D=C3=A4nzer --- Module: Mesa Branch: master Commit: ccc5b60b06269a5d847b7fe9ebe08dc61b4d2030 URL:=20=20=20 http://cgit.freedesktop.org/mesa/mesa/commit/?id=3Dccc5b60b06269a5d847b7fe9= ebe08dc61b4d2030 Author: Marek Ol=C5=A1=C3=A1k Date: Mon Jan 12 14:35:24 2015 +0100 winsys/radeon: increase the size of buffer cache --=20 You are receiving this mail because: You are the assignee for the bug. --1421724945.AF44300.2307 Date: Tue, 20 Jan 2015 03:35:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = Michel D=C3=A4nzer changed bug 88227<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Commen= t # 12 on bug 88227<= /a> from Michel D=C3=A4nzer
Module: Mesa
Branch: master
Commit: ccc5b60b06269a5d847b7fe9ebe08dc61b4d2030
URL:=20=20=20
http://cgit.freedesktop.org/mesa/mesa/commit/?=
id=3Dccc5b60b06269a5d847b7fe9ebe08dc61b4d2030

Author: Marek Ol=C5=A1=C3=A1k <marek.olsak@amd.com>
Date:   Mon Jan 12 14:35:24 2015 +0100

winsys/radeon: increase the size of buffer cache


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1421724945.AF44300.2307-- --===============1691600078== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1691600078==--