* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
@ 2015-11-12 18:27 ` bugzilla-daemon
2015-11-19 2:38 ` bugzilla-daemon
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2015-11-12 18:27 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 313 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
--- Comment #1 from pat <freedesktop.org@psycho3d.de> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 1154 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
2015-11-12 18:27 ` bugzilla-daemon
@ 2015-11-19 2:38 ` bugzilla-daemon
2015-11-19 17:36 ` bugzilla-daemon
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2015-11-19 2:38 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 604 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
Michel Dänzer <michel@daenzer.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tstellar@gmail.com
--- Comment #2 from Michel Dänzer <michel@daenzer.net> ---
Tom, any ideas?
pat, please run the game with the environment variable R600_DEBUG=vs,gs,ps and
attach its stderr output after reproducing the problem.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1831 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
2015-11-12 18:27 ` bugzilla-daemon
2015-11-19 2:38 ` bugzilla-daemon
@ 2015-11-19 17:36 ` bugzilla-daemon
2015-11-20 9:07 ` bugzilla-daemon
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2015-11-19 17:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 654 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
pat <freedesktop.org@psycho3d.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #119606|0 |1
is obsolete| |
--- Comment #3 from pat <freedesktop.org@psycho3d.de> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 1935 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
` (2 preceding siblings ...)
2015-11-19 17:36 ` bugzilla-daemon
@ 2015-11-20 9:07 ` bugzilla-daemon
2016-01-09 12:12 ` bugzilla-daemon
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2015-11-20 9:07 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 330 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
(In reply to pat from comment #3)
> Steam seems to mess with stderr, I hope this game log has the info you need.
It does, thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1114 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
` (3 preceding siblings ...)
2015-11-20 9:07 ` bugzilla-daemon
@ 2016-01-09 12:12 ` bugzilla-daemon
2016-01-09 16:46 ` bugzilla-daemon
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2016-01-09 12:12 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 564 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
--- Comment #5 from pat <freedesktop.org@psycho3d.de> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 1256 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
` (4 preceding siblings ...)
2016-01-09 12:12 ` bugzilla-daemon
@ 2016-01-09 16:46 ` bugzilla-daemon
2016-01-09 20:09 ` bugzilla-daemon
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2016-01-09 16:46 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 543 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
--- Comment #6 from Nicolai Hähnle <nhaehnle@gmail.com> ---
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 seeing,
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:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1320 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
` (5 preceding siblings ...)
2016-01-09 16:46 ` bugzilla-daemon
@ 2016-01-09 20:09 ` bugzilla-daemon
2016-01-09 23:21 ` bugzilla-daemon
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2016-01-09 20:09 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 534 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
--- Comment #7 from pat <freedesktop.org@psycho3d.de> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 1295 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
` (6 preceding siblings ...)
2016-01-09 20:09 ` bugzilla-daemon
@ 2016-01-09 23:21 ` bugzilla-daemon
2016-01-10 11:11 ` bugzilla-daemon
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2016-01-09 23:21 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 869 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
--- Comment #8 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Created attachment 120923
--> https://bugs.freedesktop.org/attachment.cgi?id=120923&action=edit
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 still
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:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1849 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
` (7 preceding siblings ...)
2016-01-09 23:21 ` bugzilla-daemon
@ 2016-01-10 11:11 ` bugzilla-daemon
2016-01-11 16:47 ` bugzilla-daemon
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2016-01-10 11:11 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 392 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
--- Comment #9 from pat <freedesktop.org@psycho3d.de> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 1084 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
` (8 preceding siblings ...)
2016-01-10 11:11 ` bugzilla-daemon
@ 2016-01-11 16:47 ` bugzilla-daemon
2016-01-12 4:24 ` bugzilla-daemon
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2016-01-11 16:47 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 275 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
--- Comment #10 from pat <freedesktop.org@psycho3d.de> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 968 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
` (9 preceding siblings ...)
2016-01-11 16:47 ` bugzilla-daemon
@ 2016-01-12 4:24 ` bugzilla-daemon
2016-01-12 14:48 ` bugzilla-daemon
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2016-01-12 4:24 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 412 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
--- Comment #11 from Nicolai Hähnle <nhaehnle@gmail.com> ---
With the branch at http://cgit.freedesktop.org/~nh/mesa/log/?h=pub-invalidate
the in-game part of your trace plays back at around 11 FPS on a Carrizo, which
is an integrated GPU (laptop). It may be worth a shot.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1201 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
` (10 preceding siblings ...)
2016-01-12 4:24 ` bugzilla-daemon
@ 2016-01-12 14:48 ` bugzilla-daemon
2016-01-12 18:46 ` bugzilla-daemon
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2016-01-12 14:48 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 463 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
--- Comment #12 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Created attachment 120987
--> https://bugs.freedesktop.org/attachment.cgi?id=120987&action=edit
always add GTT to buffers' initial domain
How much VRAM do you have? Try running the game with
GALLIUM_HUD=num-bytes-moved, with and without the attached patch.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1438 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
` (11 preceding siblings ...)
2016-01-12 14:48 ` bugzilla-daemon
@ 2016-01-12 18:46 ` bugzilla-daemon
2016-01-12 20:16 ` bugzilla-daemon
2016-08-24 21:32 ` bugzilla-daemon
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2016-01-12 18:46 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 505 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
--- Comment #13 from pat <freedesktop.org@psycho3d.de> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 1198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
` (12 preceding siblings ...)
2016-01-12 18:46 ` bugzilla-daemon
@ 2016-01-12 20:16 ` bugzilla-daemon
2016-08-24 21:32 ` bugzilla-daemon
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2016-01-12 20:16 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 377 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
--- Comment #14 from pat <freedesktop.org@psycho3d.de> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 1070 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug 92923] SGPR spilling
2015-11-12 18:26 [Bug 92923] SGPR spilling bugzilla-daemon
` (13 preceding siblings ...)
2016-01-12 20:16 ` bugzilla-daemon
@ 2016-08-24 21:32 ` bugzilla-daemon
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2016-08-24 21:32 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 511 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=92923
Marek Olšák <maraeo@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #15 from Marek Olšák <maraeo@gmail.com> ---
Fixed a long time ago.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1896 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread