All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 99019] "Star Ruler 2" game will freeze the system
@ 2016-12-07 22:26 bugzilla-daemon
  2016-12-08  2:09 ` bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-12-07 22:26 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1133 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=99019

            Bug ID: 99019
           Summary: "Star Ruler 2" game will freeze the system
           Product: Mesa
           Version: 13.0
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: johnz@lunarg.com
        QA Contact: dri-devel@lists.freedesktop.org

Overview:
"Star Ruler 2" freezes the system immediately after choosing "New Game". This
forces the user to hit the reset on the computer.

Steps to reproduce:
The game will load to the menu screen and as soon as you double click for "New
Game" the system will freeze. 

Linux and Hardware:
This problem has been experienced on Ubuntu 16.10 -- using AMD's R9 Fury,
RX470, and RX470 graphic cards. 

Mesa Builds:
The problem has been reproduced on Mesa 13.0.2 (git-2722144) and Mesa 13.0.1
(git-f2f487e)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2550 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] 10+ messages in thread

* [Bug 99019] "Star Ruler 2" game will freeze the system
  2016-12-07 22:26 [Bug 99019] "Star Ruler 2" game will freeze the system bugzilla-daemon
@ 2016-12-08  2:09 ` bugzilla-daemon
  2016-12-09  7:20 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-12-08  2:09 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 364 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=99019

--- Comment #1 from smoki <smoki00790@gmail.com> ---

 I remember this game has some shader fallback option in settings file, if true
that stopped freezing with radeonsi drivers.

 So seems some issue with shaders by default.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1145 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] 10+ messages in thread

* [Bug 99019] "Star Ruler 2" game will freeze the system
  2016-12-07 22:26 [Bug 99019] "Star Ruler 2" game will freeze the system bugzilla-daemon
  2016-12-08  2:09 ` bugzilla-daemon
@ 2016-12-09  7:20 ` bugzilla-daemon
  2016-12-12 14:32 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-12-09  7:20 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 530 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=99019

--- Comment #2 from smoki <smoki00790@gmail.com> ---
Created attachment 128387
  --> https://bugs.freedesktop.org/attachment.cgi?id=128387&action=edit
Shaders

 Attached those two shaders if someone wanna investigate this.

 "gui_skin_ps.txt" is that default and makes driver freeze, but falback one is
"gui_skin_simple_ps.txt" work fine.

 Both works fine with AMD propertiary drivers.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1437 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] 10+ messages in thread

* [Bug 99019] "Star Ruler 2" game will freeze the system
  2016-12-07 22:26 [Bug 99019] "Star Ruler 2" game will freeze the system bugzilla-daemon
  2016-12-08  2:09 ` bugzilla-daemon
  2016-12-09  7:20 ` bugzilla-daemon
@ 2016-12-12 14:32 ` bugzilla-daemon
  2016-12-13 10:45 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-12-12 14:32 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 293 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=99019

--- Comment #3 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Could you provide an apitrace that reproduces the hang? That'll help track this
down eventually.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1082 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] 10+ messages in thread

* [Bug 99019] "Star Ruler 2" game will freeze the system
  2016-12-07 22:26 [Bug 99019] "Star Ruler 2" game will freeze the system bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-12-12 14:32 ` bugzilla-daemon
@ 2016-12-13 10:45 ` bugzilla-daemon
  2017-01-03 15:20 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-12-13 10:45 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 467 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=99019

--- Comment #4 from smoki <smoki00790@gmail.com> ---
(In reply to Nicolai Hähnle from comment #3)
> Could you provide an apitrace that reproduces the hang? That'll help track
> this down eventually.

 Here we go, just starting app and clicking on New Game:

 https://www.dropbox.com/s/rje3xylvyablt4p/StarRuler2-trace.xz?dl=0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1402 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] 10+ messages in thread

* [Bug 99019] "Star Ruler 2" game will freeze the system
  2016-12-07 22:26 [Bug 99019] "Star Ruler 2" game will freeze the system bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-12-13 10:45 ` bugzilla-daemon
@ 2017-01-03 15:20 ` bugzilla-daemon
  2017-01-04 13:18 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-03 15:20 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 464 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=99019

--- Comment #5 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
Confirmed, it hangs the GPU at draw call 15626. Tested on RX 480 with latest
mesa/llvm.

Replacing gui_skin_ps.txt by gui_skin_simple_ps.txt with qapitrace fixes the
hang.

Not sure yet if the shader is miscompiled or if something is not currently
bound.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1260 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] 10+ messages in thread

* [Bug 99019] "Star Ruler 2" game will freeze the system
  2016-12-07 22:26 [Bug 99019] "Star Ruler 2" game will freeze the system bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-01-03 15:20 ` bugzilla-daemon
@ 2017-01-04 13:18 ` bugzilla-daemon
  2017-01-04 18:22 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-04 13:18 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 619 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=99019

--- Comment #6 from Marek Olšák <maraeo@gmail.com> ---
The shader ends up in an infinite loop because of this:

...
        v_cmpx_le_f32_e32 vcc, 0, v0
        s_branch BB0_30
        s_cbranch_execnz BB0_30
; BB#29:
        exp null off, off, off, off done vm
        s_endpgm
BB0_30:                                 ; %endif110
...

s_branch shouldn't be there. It prevents killing the wave early and the loop
that follows is infinite, because it starts with EXEC=0.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1404 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] 10+ messages in thread

* [Bug 99019] "Star Ruler 2" game will freeze the system
  2016-12-07 22:26 [Bug 99019] "Star Ruler 2" game will freeze the system bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-01-04 13:18 ` bugzilla-daemon
@ 2017-01-04 18:22 ` bugzilla-daemon
  2017-01-05 12:31 ` bugzilla-daemon
  2017-01-24 22:33 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-04 18:22 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 350 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=99019

--- Comment #7 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
Thanks for the info Marek, this helped me to figure out the issue.

I have a fix locally for that hang, will think more before sending it though.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1146 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] 10+ messages in thread

* [Bug 99019] "Star Ruler 2" game will freeze the system
  2016-12-07 22:26 [Bug 99019] "Star Ruler 2" game will freeze the system bugzilla-daemon
                   ` (6 preceding siblings ...)
  2017-01-04 18:22 ` bugzilla-daemon
@ 2017-01-05 12:31 ` bugzilla-daemon
  2017-01-24 22:33 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-05 12:31 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 255 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=99019

--- Comment #8 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
Possible fix is here https://reviews.llvm.org/D28351

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1097 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] 10+ messages in thread

* [Bug 99019] "Star Ruler 2" game will freeze the system
  2016-12-07 22:26 [Bug 99019] "Star Ruler 2" game will freeze the system bugzilla-daemon
                   ` (7 preceding siblings ...)
  2017-01-05 12:31 ` bugzilla-daemon
@ 2017-01-24 22:33 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2017-01-24 22:33 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 614 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=99019

Samuel Pitoiset <samuel.pitoiset@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #9 from Samuel Pitoiset <samuel.pitoiset@gmail.com> ---
Should be fixed by
https://github.com/llvm-mirror/llvm/commit/e8e3365d5266760f3d7ad247f21496bb69cfef39.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2235 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] 10+ messages in thread

end of thread, other threads:[~2017-01-24 22:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-07 22:26 [Bug 99019] "Star Ruler 2" game will freeze the system bugzilla-daemon
2016-12-08  2:09 ` bugzilla-daemon
2016-12-09  7:20 ` bugzilla-daemon
2016-12-12 14:32 ` bugzilla-daemon
2016-12-13 10:45 ` bugzilla-daemon
2017-01-03 15:20 ` bugzilla-daemon
2017-01-04 13:18 ` bugzilla-daemon
2017-01-04 18:22 ` bugzilla-daemon
2017-01-05 12:31 ` bugzilla-daemon
2017-01-24 22:33 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.