[Mesa-dev] [Bug 105613] Compute shader locks up within nested "for" loop

2018-06-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105613

Samuel Pitoiset  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Samuel Pitoiset  ---
Fixed with
https://cgit.freedesktop.org/mesa/mesa/commit/?id=135e4d434f622fa1d7275bdb72f859e1c1b1976e

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 105613] Compute shader locks up within nested "for" loop

2018-06-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105613

--- Comment #8 from Samuel Pitoiset  ---
Created attachment 140068
  --> https://bugs.freedesktop.org/attachment.cgi?id=140068=edit
workaround

Not the best solution but that works.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 105613] Compute shader locks up within nested "for" loop

2018-06-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105613

--- Comment #7 from Samuel Pitoiset  ---
This also affects:
- Vampyr
- Tekken 7
- Final Fantasy XIV

and probably more games.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 105613] Compute shader locks up within nested "for" loop

2018-05-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105613

Samuel Pitoiset  changed:

   What|Removed |Added

   Severity|normal  |critical
   Priority|medium  |high

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 105613] Compute shader locks up within nested "for" loop

2018-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105613

--- Comment #6 from Samuel Pitoiset  ---
I can reproduce the hang with mesa-git (893e19efb74) and LLVM-git
(f31b39d494d).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 105613] Compute shader locks up within nested "for" loop

2018-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105613

soredake  changed:

   What|Removed |Added

 CC||fds...@krutt.org

-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 105613] Compute shader locks up within nested "for" loop

2018-03-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105613

--- Comment #5 from Axel Davy  ---
Maybe related to:
https://bugs.freedesktop.org/show_bug.cgi?id=105442

?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 105613] Compute shader locks up within nested "for" loop

2018-03-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105613

--- Comment #4 from Philip Rebohle  ---
Reverting that specific commit did not fix the hang. It also happens with mesa
17.3.6 and LLVM 5.0.1.

Given that moving the loop counter to a separate variable fixes the hang, I
wonder if this is related to
https://bugs.freedesktop.org/show_bug.cgi?id=103743.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 105613] Compute shader locks up within nested "for" loop

2018-03-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105613

--- Comment #3 from Bas Nieuwenhuizen  ---
Random guess based on the title is that it is a regression with the following
LLVM commit:

commit b0efc4fd6672f27ae2cbf28ef290d25a0da1dc08
Author: Alexander Timofeev 
Date:   Fri Dec 1 11:56:34 2017 +

[AMDGPU] SiFixSGPRCopies should not modify non-divergent PHI

Differential revision: https://reviews.llvm.org/D40556

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319534
91177308-0d34-0410-b5e6-96231b3b80d8


Reverting or using LLVM 5 might fix it.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 105613] Compute shader locks up within nested "for" loop

2018-03-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105613

--- Comment #2 from Philip Rebohle  ---
Created attachment 138210
  --> https://bugs.freedesktop.org/attachment.cgi?id=138210=edit
GPU hang report

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 105613] Compute shader locks up within nested "for" loop

2018-03-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105613

--- Comment #1 from Philip Rebohle  ---
Created attachment 138209
  --> https://bugs.freedesktop.org/attachment.cgi?id=138209=edit
Compute shader (GLSL version)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 105613] Compute shader locks up within nested "for" loop

2018-03-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105613

Bug ID: 105613
   Summary: Compute shader locks up within nested "for" loop
   Product: Mesa
   Version: git
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/Vulkan/radeon
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: philip.rebo...@tu-dortmund.de
QA Contact: mesa-dev@lists.freedesktop.org

Created attachment 138208
  --> https://bugs.freedesktop.org/attachment.cgi?id=138208=edit
Compute shader (SPIR-V version)

Hellblade: Senua's Sacrifice (via wine+dxvk) locks up shortly after the intro
videos before reaching the main menu because of an issue with the attached
compute shader.

Tested on an RX 480 with mesa-git (e8d9b7ab0) and LLVM 6.0.0, as well as LLVM
7.0.0-svn.

The attached GLSL version of the shader can also be used to reproduce the hang
when compiling it back to SPIR-V, and it contains a modified but functionally
equivalent code path which works as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev