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: [email protected]
Reporter: imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]
QA Contact: [email protected]
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]]
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): bug-96258-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 96258] [NVC0] Hang when running compute program
https://bugs.freedesktop.org/show_bug.cgi?id=96258
--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Created attachment 124146
--> https://bugs.freedesktop.org/attachment.cgi?id=124146&action=edit
compute shader dump - NV50_PROG_OPTIMIZE=1 (fail)
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 96258] [NVC0] Hang when running compute program
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=96258
--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- 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...
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 96258] [NVC0] Hang when running compute program
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=96258
--- Comment #3 from Samuel Pitoiset <[email protected]> --- Interesting, let's see if I can reproduce that issue on GF119. Hopefully I will be able to.
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 96258] [NVC0] Hang when running compute program
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=96258
--- Comment #4 from Samuel Pitoiset <[email protected]> --- 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.
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 96258] [NVC0] Hang when running compute program
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=96258
--- Comment #5 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- OK, I've pushed a fix for the GK208 issue (an issue in unspilling predicates):
commit c7731a07408c5d4169625d4a78962d2887419080
Author: Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> 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
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).
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 96258] [NVC0] Hang when running compute program
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=96258
--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- 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.
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 96258] [NVC0] Hang when running compute program
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=96258
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #7 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- 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).
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau