bugzilla-daemon at freedesktop.org
2016-May-28  13:49 UTC
[Nouveau] [Bug 96258] New: [NVC0] Hang when running compute program
https://bugs.freedesktop.org/show_bug.cgi?id=96258
            Bug ID: 96258
           Summary: [NVC0] Hang when running compute program
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/nouveau
          Assignee: nouveau at lists.freedesktop.org
          Reporter: imirkin at alum.mit.edu
        QA Contact: nouveau at lists.freedesktop.org
Created attachment 124145
  --> https://bugs.freedesktop.org/attachment.cgi?id=124145&action=edit
compute shader dump
This happened on GK208, but I assume it'll happen everywhere. This is with
the
trace from bug 94858.
[259564.842264] nouveau 0000:02:00.0: fifo: read fault at 0000000000 engine 00
[GR] client 03 [GPC0/L1_1] reason 02 [PTE] on channel 6 [007f940000 X[1608]]
[259564.842268] nouveau 0000:02:00.0: fifo: gr engine fault on channel 6,
recovering...
[259595.772036] nouveau 0000:02:00.0: X[1608]: failed to idle channel 6
[X[1608]]
[259610.772211] nouveau 0000:02:00.0: X[1608]: failed to idle channel 6
[X[1608]]
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20160528/9a94a951/attachment.html>
bugzilla-daemon at freedesktop.org
2016-May-28  13:53 UTC
[Nouveau] [Bug 96258] [NVC0] Hang when running compute program
https://bugs.freedesktop.org/show_bug.cgi?id=96258 --- Comment #1 from Ilia Mirkin <imirkin at alum.mit.edu> --- Created attachment 124146 --> https://bugs.freedesktop.org/attachment.cgi?id=124146&action=edit compute shader dump - NV50_PROG_OPTIMIZE=1 (fail) -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160528/47f135d1/attachment.html>
bugzilla-daemon at freedesktop.org
2016-May-28  13:54 UTC
[Nouveau] [Bug 96258] [NVC0] Hang when running compute program
https://bugs.freedesktop.org/show_bug.cgi?id=96258 --- Comment #2 from Ilia Mirkin <imirkin at alum.mit.edu> --- Created attachment 124147 --> https://bugs.freedesktop.org/attachment.cgi?id=124147&action=edit compute shader dump - NV50_PROG_OPTIMIZE=0 (success) Looks like one of the "level 1" optimizations cause the fail. Now to figure which one... -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160528/afdb4dbd/attachment.html>
bugzilla-daemon at freedesktop.org
2016-May-28  14:02 UTC
[Nouveau] [Bug 96258] [NVC0] Hang when running compute program
https://bugs.freedesktop.org/show_bug.cgi?id=96258 --- Comment #3 from Samuel Pitoiset <samuel.pitoiset at gmail.com> --- Interesting, let's see if I can reproduce that issue on GF119. Hopefully I will be able to. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160528/b5025d74/attachment.html>
bugzilla-daemon at freedesktop.org
2016-May-28  14:08 UTC
[Nouveau] [Bug 96258] [NVC0] Hang when running compute program
https://bugs.freedesktop.org/show_bug.cgi?id=96258 --- Comment #4 from Samuel Pitoiset <samuel.pitoiset at gmail.com> --- I don't have this read fault on my GF119, but I have lot of: [ 8473.891952] nouveau 0000:01:00.0: gr: DATA_ERROR 00000028 [CP_NO_REG_SPACE_STRIPED] ch 7 [007f9ed000 glretrace[6719]] subc 1 class 90c0 mthd 0368 data 00001000 [ 8473.906657] nouveau 0000:01:00.0: gr: DATA_ERROR 00000028 [CP_NO_REG_SPACE_STRIPED] ch 7 [007f9ed000 glretrace[6719]] subc 1 class 90c0 mthd 0368 data 00001000 Disabling compiler opttimizations doesn't change anything. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160528/5b63df7a/attachment.html>
bugzilla-daemon at freedesktop.org
2016-May-28  17:17 UTC
[Nouveau] [Bug 96258] [NVC0] Hang when running compute program
https://bugs.freedesktop.org/show_bug.cgi?id=96258
--- Comment #5 from Ilia Mirkin <imirkin at alum.mit.edu> ---
OK, I've pushed a fix for the GK208 issue (an issue in unspilling
predicates):
commit c7731a07408c5d4169625d4a78962d2887419080
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sat May 28 13:07:12 2016 -0400
    gk110/ir: fix unspilling of predicates from registers
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96258
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "11.2 11.1" <mesa-stable at lists.freedesktop.org>
However the issue around thread sizes remains for all except the GK10x keplers.
On fermi we have 32K registers, on kepler+ we have 64K (not counting the
mythical GK210). So we have to tell the RA to restrict the number of registers
used based on thread size (or use 1024 as the number of threads when that
information is not provided).
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20160528/5c7771e8/attachment-0001.html>
bugzilla-daemon at freedesktop.org
2016-May-28  17:25 UTC
[Nouveau] [Bug 96258] [NVC0] Hang when running compute program
https://bugs.freedesktop.org/show_bug.cgi?id=96258 --- Comment #6 from Ilia Mirkin <imirkin at alum.mit.edu> --- Also an observation - there's a bit of tearing in the sheet as it falls. Could be synchronization fail, or something else. I see it with NV50_PROG_OPTIMIZE=0 as well. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160528/6ad37c6a/attachment.html>
bugzilla-daemon at freedesktop.org
2016-Jun-01  03:32 UTC
[Nouveau] [Bug 96258] [NVC0] Hang when running compute program
https://bugs.freedesktop.org/show_bug.cgi?id=96258
Ilia Mirkin <imirkin at alum.mit.edu> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
--- Comment #7 from Ilia Mirkin <imirkin at alum.mit.edu> ---
And the fermi issue is fixed now too by (a) fixing the GPR file size to take
the thread count and # of SM regs into account and (b) fixing BitSet to work
with multiple-of-32 numbers of registers (had been all 32n-1 up until now).
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.freedesktop.org/archives/nouveau/attachments/20160601/afdb9680/attachment-0001.html>
Seemingly Similar Threads
- [Bug 90567] New: Display freeze when starting League of Legends (Wine)
- [PATCH] nv50, nvc0: don't base decisions on available pushbuf space
- [Mesa-dev] [PATCH] nvc0: fix geometry program revalidation of clipping params
- [mesa v2 8/9] nvc0: remove allocation of unused sw class
- [PATCH] nvc0: fix geometry program revalidation of clipping params