New: Unigine Heaven black and white boxes
https://bugs.freedesktop.org/show_bug.cgi?id=89455
Bug ID: 89455
Summary: Unigine Heaven black and white boxes
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Created attachment 114066
--> https://bugs.freedesktop.org/attachment.cgi?id=114066&action=edit
Example of the rendering issue
With a GeForce GTX 650 and Mesa 10.4, 10.5, and 10.6, Unigine Heaven 4 has black and white boxes that pop up randomly.
https://unigine.com/products/heaven/download/
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]
http://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): bug-89455-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 89455] Unigine Heaven black and white boxes
https://bugs.freedesktop.org/show_bug.cgi?id=89455
Luke <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #114066|text/plain |image/jpeg
mime type| |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]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 89455] [NVC0/Gallium] Unigine Heaven black and white boxes
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=89455
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Unigine Heaven black and |[NVC0/Gallium] Unigine
|white boxes |Heaven black and white
| |boxes--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Yeah... I thought it was my bad at one point, but I was able to repro the issue going back to mesa 9.1 or 9.0 iirc (which predates any of my changes). Note that this does not affect NV50, only NVC0.
The one issue on NVC0 that I'm aware of is _some_ sort of constbuf flushing problem... might be what's going on here.
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]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 89455] [NVC0/Gallium] Unigine Heaven black and white boxes
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=89455
--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- This patch seems to improve things for me (on a GF108). Pretty sure this is incomplete though.
(quoted diff) +0 -0
b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp index 248f98d..0420bf2 100644
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp +0 -0
@@ -2433,6 +2433,8 @@ Converter::handleInstruction(const struct
tgsi_full_instruction *insn)
src1 = fetchSrc(1, c);
geni = mkOp2(op, dstTy, dst0[c], src0, src1);
geni->subOp = tgsi::opcodeToSubOp(tgsi.getOpcode());
+ if (dstTy == TYPE_F32)
+ geni->ftz = true;
}
break;
case TGSI_OPCODE_MAD:
@@ -2442,7 +2444,9 @@ Converter::handleInstruction(const struct
tgsi_full_instruction *insn)
src0 = fetchSrc(0, c);
src1 = fetchSrc(1, c);
src2 = fetchSrc(2, c);
- mkOp3(op, dstTy, dst0[c], src0, src1, src2);
+ geni = mkOp3(op, dstTy, dst0[c], src0, src1, src2);
+ if (dstTy == TYPE_F32)
+ geni->ftz = true;
}
break;
case TGSI_OPCODE_MOV: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]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 89455] [NVC0/Gallium] Unigine Heaven black and white boxes
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=89455
--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- I posted a more complete approach at
http://patchwork.freedesktop.org/patch/48063/
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]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 89455] [NVC0/Gallium] Unigine Heaven black and white boxes
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=89455
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #4 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- This should be fixed by:
commit 6fe0d4f0354418c6e68dd352996e9891ddd4dfd6
Author: Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> Date: Tue Apr 28 03:30:08 2015 -0400
nvc0/ir: flush denorms to zero in non-compute shaders
This will set the FTZ flag (flush denorms to zero) on all opcodes that can take it.
This resolves issues in Unigine Heaven 4.0 where there were solid-filled boxes popping up.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89455
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]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 89455] [NVC0/Gallium] Unigine Heaven black and white boxes
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=89455
Luke <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
--- Comment #5 from Luke <[email protected]> --- Verified Fixed. Thanks for taking care of this Ilia!
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]
http://lists.freedesktop.org/mailman/listinfo/nouveau