From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Thu, 12 Nov 2015 18:26:22 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0165897410==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 947946EE32 for ; Thu, 12 Nov 2015 10:26:22 -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 --===============0165897410== Content-Type: multipart/alternative; boundary="1447352782.e585D0.18711"; charset="UTF-8" --1447352782.e585D0.18711 Date: Thu, 12 Nov 2015 18:26:22 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92923 Bug ID: 92923 Summary: SGPR spilling Product: Mesa Version: 11.0 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: freedesktop.org@psycho3d.de QA Contact: dri-devel@lists.freedesktop.org Created attachment 119606 --> https://bugs.freedesktop.org/attachment.cgi?id=119606&action=edit stacktrace from game log file "LLVM triggered Diagnostic Handler: Ran out of VGPRs for spilling SGPR" The game Planet Explorers crashes after a few minutes, the log file is flooded with this error message. Additional error messages: radeon_llvm_compile: Processing Diag Flag LLVM failed to compile shader EE si_state_shaders.c:647 si_shader_select - Failed to build shader variant (type=1) 1 The problem may have started with mesa 11.0 but I'm not sure, I don't play it very often. The game runs on unity 5. Attaching backtrace and stacktrace from the log file. There is also a memory map I could attach. OpenGL info from the log file: Version: OpenGL 3.0 [3.0 Mesa 11.0.5] Renderer: Gallium 0.4 on AMD PITCAIRN (DRM 2.43.0, LLVM 3.7.0) Vendor: X.Org VRAM: 2048 MB Hardware is a Radeon HD 7870 -- You are receiving this mail because: You are the assignee for the bug. --1447352782.e585D0.18711 Date: Thu, 12 Nov 2015 18:26:22 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 92923
Summary SGPR spilling
Product Mesa
Version 11.0
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter freedesktop.org@psycho3d.de
QA Contact dri-devel@lists.freedesktop.org

Created attachment 119606 [details]
stacktrace from game log file

"LLVM triggered Diagnostic Handler: Ran out of VGPRs for spilling SGPR"

The game Planet Explorers crashes after a few minutes, the log file is flooded
with this error message.

Additional error messages:
radeon_llvm_compile: Processing Diag Flag
LLVM failed to compile shader
EE si_state_shaders.c:647 si_shader_select - Failed to build shader variant
(type=1) 1

The problem may have started with mesa 11.0 but I'm not sure, I don't play it
very often. The game runs on unity 5.

Attaching backtrace and stacktrace from the log file. There is also a memory
map I could attach.

OpenGL info from the log file:
Version:  OpenGL 3.0 [3.0 Mesa 11.0.5]
Renderer: Gallium 0.4 on AMD PITCAIRN (DRM 2.43.0, LLVM 3.7.0)
Vendor:   X.Org
VRAM:     2048 MB

Hardware is a Radeon HD 7870


You are receiving this mail because:
  • You are the assignee for the bug.
--1447352782.e585D0.18711-- --===============0165897410== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0165897410==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Thu, 12 Nov 2015 18:27:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1131718227==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9604F6EE36 for ; Thu, 12 Nov 2015 10:27:10 -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 --===============1131718227== Content-Type: multipart/alternative; boundary="1447352830.B5cB0.18892"; charset="UTF-8" --1447352830.B5cB0.18892 Date: Thu, 12 Nov 2015 18:27:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92923 --- Comment #1 from pat --- Created attachment 119607 --> https://bugs.freedesktop.org/attachment.cgi?id=119607&action=edit backtrace from game log file -- You are receiving this mail because: You are the assignee for the bug. --1447352830.B5cB0.18892 Date: Thu, 12 Nov 2015 18:27:10 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 92923 from
Created attachment 119607 [details]
backtrace from game log file


You are receiving this mail because:
  • You are the assignee for the bug.
--1447352830.B5cB0.18892-- --===============1131718227== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1131718227==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Thu, 19 Nov 2015 02:38:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0502074109==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1E4B06E88A for ; Wed, 18 Nov 2015 18:38:38 -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 --===============0502074109== Content-Type: multipart/alternative; boundary="1447900717.c23FA70.32740"; charset="UTF-8" --1447900717.c23FA70.32740 Date: Thu, 19 Nov 2015 02:38:37 +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=3D92923 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tstellar@gmail.com --- Comment #2 from Michel D=C3=A4nzer --- Tom, any ideas? pat, please run the game with the environment variable R600_DEBUG=3Dvs,gs,p= s and attach its stderr output after reproducing the problem. --=20 You are receiving this mail because: You are the assignee for the bug. --1447900717.c23FA70.32740 Date: Thu, 19 Nov 2015 02:38:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = Michel D=C3=A4nzer changed bug 92923<= /a>
What Removed Added
CC   tstellar@gmail.com

Comment= # 2 on bug 92923<= /a> from Michel D=C3=A4nzer
Tom, any ideas?

pat, please run the game with the environment variable R600_DEBUG=3Dvs,gs,p=
s and
attach its stderr output after reproducing the problem.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1447900717.c23FA70.32740-- --===============0502074109== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0502074109==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Thu, 19 Nov 2015 17:36:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1082642577==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E2F516E982 for ; Thu, 19 Nov 2015 09:36: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 --===============1082642577== Content-Type: multipart/alternative; boundary="1447954575.305Ef0.12983"; charset="UTF-8" --1447954575.305Ef0.12983 Date: Thu, 19 Nov 2015 17:36:15 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92923 pat changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #119606|0 |1 is obsolete| | --- Comment #3 from pat --- Created attachment 119948 --> https://bugs.freedesktop.org/attachment.cgi?id=119948&action=edit Game log file Steam seems to mess with stderr, I hope this game log has the info you need. -- You are receiving this mail because: You are the assignee for the bug. --1447954575.305Ef0.12983 Date: Thu, 19 Nov 2015 17:36:15 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 92923
What Removed Added
Attachment #119606 is obsolete   1

Comment # 3 on bug 92923 from
Created attachment 119948 [details]
Game log file

Steam seems to mess with stderr, I hope this game log has the info you need.


You are receiving this mail because:
  • You are the assignee for the bug.
--1447954575.305Ef0.12983-- --===============1082642577== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1082642577==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Fri, 20 Nov 2015 09:07:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1407591716==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8CCE46EA73 for ; Fri, 20 Nov 2015 01:07:56 -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 --===============1407591716== Content-Type: multipart/alternative; boundary="1448010475.03Ba40.25977"; charset="UTF-8" --1448010475.03Ba40.25977 Date: Fri, 20 Nov 2015 09:07:55 +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=3D92923 --- Comment #4 from Michel D=C3=A4nzer --- (In reply to pat from comment #3) > Steam seems to mess with stderr, I hope this game log has the info you ne= ed. It does, thanks. --=20 You are receiving this mail because: You are the assignee for the bug. --1448010475.03Ba40.25977 Date: Fri, 20 Nov 2015 09:07:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 4 on bug 92923<= /a> from Michel D=C3=A4nzer
(In reply to pat from c=
omment #3)
> Steam seems to mess with stderr, I hope this gam=
e log has the info you need.

It does, thanks.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1448010475.03Ba40.25977-- --===============1407591716== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1407591716==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Sat, 09 Jan 2016 12:12:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1206689408==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 973B66E030 for ; Sat, 9 Jan 2016 04:12:02 -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 --===============1206689408== Content-Type: multipart/alternative; boundary="1452341522.c15FB0.25964"; charset="UTF-8" --1452341522.c15FB0.25964 Date: Sat, 9 Jan 2016 12:12:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92923 --- Comment #5 from pat --- Version: OpenGL 3.0 [3.0 Mesa 11.2.0-devel (git-bca1805)] Renderer: Gallium 0.4 on AMD PITCAIRN (DRM 2.43.0, LLVM 3.8.0) No more crashes with the current game version and mesa git/llvm svn, but it runs with 1 FPS (with very rare boosts to 45-60 FPS) on lowest settings. The log file still looks like before as far ar I can tell. This was probably my last test with AMD/mesa. -- You are receiving this mail because: You are the assignee for the bug. --1452341522.c15FB0.25964 Date: Sat, 9 Jan 2016 12:12:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 92923 from
Version:  OpenGL 3.0 [3.0 Mesa 11.2.0-devel (git-bca1805)]
Renderer: Gallium 0.4 on AMD PITCAIRN (DRM 2.43.0, LLVM 3.8.0)

No more crashes with the current game version and mesa git/llvm svn, but it
runs with 1 FPS (with very rare boosts to 45-60 FPS) on lowest settings. The
log file still looks like before as far ar I can tell.

This was probably my last test with AMD/mesa.


You are receiving this mail because:
  • You are the assignee for the bug.
--1452341522.c15FB0.25964-- --===============1206689408== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1206689408==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Sat, 09 Jan 2016 16:46:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0319603962==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 64CB36E00B for ; Sat, 9 Jan 2016 08:46: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 --===============0319603962== Content-Type: multipart/alternative; boundary="1452357988.635880.11533"; charset="UTF-8" --1452357988.635880.11533 Date: Sat, 9 Jan 2016 16:46: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=3D92923 --- Comment #6 from Nicolai H=C3=A4hnle --- Sorry for your pain. We did make some changes to make LLVM more robust recently, so that's something. As for the performance problems you're seein= g, I'd really appreciate if you could provide an apitrace, see https://github.com/apitrace/apitrace/wiki/Steam if you're running the game under Steam. That should allow us to reproduce the issue. --=20 You are receiving this mail because: You are the assignee for the bug. --1452357988.635880.11533 Date: Sat, 9 Jan 2016 16:46:28 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 6 on bug 92923<= /a> from Nicolai H=C3=A4hnle
Sorry for your pain. We did make some changes to make LLVM mor=
e robust
recently, so that's something. As for the performance problems you're seein=
g,
I'd really appreciate if you could provide an apitrace, see
https://github.=
com/apitrace/apitrace/wiki/Steam if you're running the game
under Steam. That should allow us to reproduce the issue.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1452357988.635880.11533-- --===============0319603962== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0319603962==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Sat, 09 Jan 2016 20:09:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1944873135==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2D05B6E127 for ; Sat, 9 Jan 2016 12:09:30 -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 --===============1944873135== Content-Type: multipart/alternative; boundary="1452370169.8ECEfE0c0.10878"; charset="UTF-8" --1452370169.8ECEfE0c0.10878 Date: Sat, 9 Jan 2016 20:09:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92923 --- Comment #7 from pat --- llvm svn version 257076 (32bit: 257085) OpenGL 3.0 [3.0 Mesa 11.2.0-devel (git-040e314)] apitrace: http://www.psycho3d.de/temp/PlanetExplorersApitrace.7z (300MB 7zipped) Apitrace should include a few minutes of gameplay, 2x freeze for several seconds. I disabled the steam overlay for the trace but I think I had probably 1-3 FPS during the test. -- You are receiving this mail because: You are the assignee for the bug. --1452370169.8ECEfE0c0.10878 Date: Sat, 9 Jan 2016 20:09:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 7 on bug 92923 from
llvm svn version 257076 (32bit: 257085)
OpenGL 3.0 [3.0 Mesa 11.2.0-devel (git-040e314)]
apitrace: http://www.psycho3d.de/temp/PlanetExplorersApitrace.7z (300MB
7zipped)

Apitrace should include a few minutes of gameplay, 2x freeze for several
seconds. I disabled the steam overlay for the trace but I think I had probably
1-3 FPS during the test.


You are receiving this mail because:
  • You are the assignee for the bug.
--1452370169.8ECEfE0c0.10878-- --===============1944873135== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1944873135==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Sat, 09 Jan 2016 23:21:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1229742090==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0F7B36E0F9 for ; Sat, 9 Jan 2016 15:21:13 -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 --===============1229742090== Content-Type: multipart/alternative; boundary="1452381671.610feA00.11640"; charset="UTF-8" --1452381671.610feA00.11640 Date: Sat, 9 Jan 2016 23:21:11 +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=3D92923 --- Comment #8 from Nicolai H=C3=A4hnle --- Created attachment 120923 --> https://bugs.freedesktop.org/attachment.cgi?id=3D120923&action=3Dedit fix long buffer wait times observed in trace Hi pat, thanks for following up with this! On Tonga, this trace runs into a variant of the compiler error you mentioned earlier in the bug report due to limited SGPRs. This is something we still = need to address. On Carrizo, I can run the trace and I notice an obvious buffer wait time problem. Please try the quick-and-dirty patch I've attached. The trace is s= till slow for me, but (a) it's a trace and (b) it's not a dGPU part, so I'd be interested to hear how the in-game performance is for you with the patch. --=20 You are receiving this mail because: You are the assignee for the bug. --1452381671.610feA00.11640 Date: Sat, 9 Jan 2016 23:21:11 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 8 on bug 92923<= /a> from Nicolai H=C3=A4hnle
Created attachment 120923 [details] [review]
fix long buffer wait times observed in trace

Hi pat, thanks for following up with this!

On Tonga, this trace runs into a variant of the compiler error you mentioned
earlier in the bug report due to limited SGPRs. This is something we still =
need
to address.

On Carrizo, I can run the trace and I notice an obvious buffer wait time
problem. Please try the quick-and-dirty patch I've attached. The trace is s=
till
slow for me, but (a) it's a trace and (b) it's not a dGPU part, so I'd be
interested to hear how the in-game performance is for you with the patch.
        


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1452381671.610feA00.11640-- --===============1229742090== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1229742090==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Sun, 10 Jan 2016 11:11:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1277480235==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5309E6E0F5 for ; Sun, 10 Jan 2016 03:11:46 -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 --===============1277480235== Content-Type: multipart/alternative; boundary="1452424305.d5aBf0.6508"; charset="UTF-8" --1452424305.d5aBf0.6508 Date: Sun, 10 Jan 2016 11:11:45 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92923 --- Comment #9 from pat --- Hey Nicolai, thanks for the fast patch. I've patched rev 5e3edd4 of the 32bit package (lib32-mesa-git, lib32-mesa-git-debug, lib32-mesa-libgl-git) and started the 32bit game binary. It's still at 3-4 FPS. -- You are receiving this mail because: You are the assignee for the bug. --1452424305.d5aBf0.6508 Date: Sun, 10 Jan 2016 11:11:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 9 on bug 92923 from
Hey Nicolai, thanks for the fast patch.

I've patched rev 5e3edd4 of the 32bit package (lib32-mesa-git,
lib32-mesa-git-debug, lib32-mesa-libgl-git) and started the 32bit game binary.
It's still at 3-4 FPS.


You are receiving this mail because:
  • You are the assignee for the bug.
--1452424305.d5aBf0.6508-- --===============1277480235== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1277480235==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Mon, 11 Jan 2016 16:47:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1575677528==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 84ED96E4BE for ; Mon, 11 Jan 2016 08:47:34 -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 --===============1575677528== Content-Type: multipart/alternative; boundary="1452530854.e01D3E70.15397"; charset="UTF-8" --1452530854.e01D3E70.15397 Date: Mon, 11 Jan 2016 16:47:34 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92923 --- Comment #10 from pat --- Any last tests you'd want me to do before I upgrade my hardware and say bye bye to AMD? -- You are receiving this mail because: You are the assignee for the bug. --1452530854.e01D3E70.15397 Date: Mon, 11 Jan 2016 16:47:34 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 10 on bug 92923 from
Any last tests you'd want me to do before I upgrade my hardware and say bye bye
to AMD?


You are receiving this mail because:
  • You are the assignee for the bug.
--1452530854.e01D3E70.15397-- --===============1575677528== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1575677528==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Tue, 12 Jan 2016 04:24:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1662536503==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 158476E87E for ; Mon, 11 Jan 2016 20:24:13 -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 --===============1662536503== Content-Type: multipart/alternative; boundary="1452572652.6b6b2460.4487"; charset="UTF-8" --1452572652.6b6b2460.4487 Date: Tue, 12 Jan 2016 04:24:12 +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=3D92923 --- Comment #11 from Nicolai H=C3=A4hnle --- With the branch at http://cgit.freedesktop.org/~nh/mesa/log/?h=3Dpub-invali= date the in-game part of your trace plays back at around 11 FPS on a Carrizo, wh= ich is an integrated GPU (laptop). It may be worth a shot. --=20 You are receiving this mail because: You are the assignee for the bug. --1452572652.6b6b2460.4487 Date: Tue, 12 Jan 2016 04:24:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 11 on bug 92923<= /a> from Nicolai H=C3=A4hnle
With the branch at http://cgit.freedesktop.org/~nh/mesa/log/?h=
=3Dpub-invalidate
the in-game part of your trace plays back at around 11 FPS on a Carrizo, wh=
ich
is an integrated GPU (laptop). It may be worth a shot.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1452572652.6b6b2460.4487-- --===============1662536503== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1662536503==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Tue, 12 Jan 2016 14:48:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1096697207==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4F19F8A42E for ; Tue, 12 Jan 2016 06:48:00 -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 --===============1096697207== Content-Type: multipart/alternative; boundary="1452610080.edA2736b0.30904"; charset="UTF-8" --1452610080.edA2736b0.30904 Date: Tue, 12 Jan 2016 14:48:00 +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=3D92923 --- Comment #12 from Nicolai H=C3=A4hnle --- Created attachment 120987 --> https://bugs.freedesktop.org/attachment.cgi?id=3D120987&action=3Dedit always add GTT to buffers' initial domain How much VRAM do you have? Try running the game with GALLIUM_HUD=3Dnum-bytes-moved, with and without the attached patch. --=20 You are receiving this mail because: You are the assignee for the bug. --1452610080.edA2736b0.30904 Date: Tue, 12 Jan 2016 14:48:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 12 on bug 92923<= /a> from Nicolai H=C3=A4hnle
Created [details] [review]
always add GTT to buffers' initial domain

How much VRAM do you have? Try running the game with
GALLIUM_HUD=3Dnum-bytes-moved, with and without the attached patch.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1452610080.edA2736b0.30904-- --===============1096697207== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1096697207==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Tue, 12 Jan 2016 18:46:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1683143163==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 887DF6E8BE for ; Tue, 12 Jan 2016 10:46:51 -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 --===============1683143163== Content-Type: multipart/alternative; boundary="1452624411.DCFCa0.10142"; charset="UTF-8" --1452624411.DCFCa0.10142 Date: Tue, 12 Jan 2016 18:46:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92923 --- Comment #13 from pat --- 2048M VRAM Test 1: Version: OpenGL 3.0 [3.0 Mesa 11.2.0-devel (git-6f898f7)] Patched with both patches you provided. With patch: the graph spikes up to 45.5 MB during the loading screen, later it stays at 0 byte. When I turn around it goes up to KB but not MB. Still around 3 FPS, up to 11 when looking at the sky. -- You are receiving this mail because: You are the assignee for the bug. --1452624411.DCFCa0.10142 Date: Tue, 12 Jan 2016 18:46:51 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 13 on bug 92923 from
2048M VRAM

Test 1:
Version:  OpenGL 3.0 [3.0 Mesa 11.2.0-devel (git-6f898f7)]
Patched with both patches you provided.

With patch: the graph spikes up to 45.5 MB during the loading screen, later it
stays at 0 byte. When I turn around it goes up to KB but not MB. Still around 3
FPS, up to 11 when looking at the sky.


You are receiving this mail because:
  • You are the assignee for the bug.
--1452624411.DCFCa0.10142-- --===============1683143163== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1683143163==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Tue, 12 Jan 2016 20:16:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0358486198==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id AC6E76E48B for ; Tue, 12 Jan 2016 12:16:19 -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 --===============0358486198== Content-Type: multipart/alternative; boundary="1452629779.535d0.27807"; charset="UTF-8" --1452629779.535d0.27807 Date: Tue, 12 Jan 2016 20:16:19 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92923 --- Comment #14 from pat --- Test 1: no noticeable difference between patched and not. Test 2: your repo/branch (git-016eba7), no noticeable improvement (including the GTT patch). Graph also shows minimal bytes moved. -- You are receiving this mail because: You are the assignee for the bug. --1452629779.535d0.27807 Date: Tue, 12 Jan 2016 20:16:19 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 14 on bug 92923 from
Test 1: no noticeable difference between patched and not.

Test 2: your repo/branch (git-016eba7), no noticeable improvement (including
the GTT patch). Graph also shows minimal bytes moved.


You are receiving this mail because:
  • You are the assignee for the bug.
--1452629779.535d0.27807-- --===============0358486198== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0358486198==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92923] SGPR spilling Date: Wed, 24 Aug 2016 21:32:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2019462757==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id ACF5E6E301 for ; Wed, 24 Aug 2016 21:32:52 +0000 (UTC) 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 --===============2019462757== Content-Type: multipart/alternative; boundary="14720743722.1CB1C.30353"; charset="UTF-8" --14720743722.1CB1C.30353 Date: Wed, 24 Aug 2016 21:32:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D92923 Marek Ol=C5=A1=C3=A1k changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #15 from Marek Ol=C5=A1=C3=A1k --- Fixed a long time ago. --=20 You are receiving this mail because: You are the assignee for the bug.= --14720743722.1CB1C.30353 Date: Wed, 24 Aug 2016 21:32:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated = Marek Ol=C5=A1=C3=A1k changed bug 92923<= /a>
What Removed Added
Resolution --- FIXED
Status NEW RESOLVED


You are receiving this mail because:
  • You are the assignee for the bug.
= --14720743722.1CB1C.30353-- --===============2019462757== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2019462757==--