dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles
@ 2015-09-14  6:22 bugzilla-daemon
  2015-09-14  6:23 ` bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-09-14  6:22 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 91998
           Summary: Object rendered completely black in The Book of
                    Unwritten Tales: The Critter Chronicles
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: minor
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: daniel@constexpr.org
        QA Contact: dri-devel@lists.freedesktop.org

apitrace: http://constexpr.org/tmp/BOUT-CC-radeonsi.1.trace.xz (95 MiB)

The pipe behind the character is rendered completely black. The object is
rendered without any shader but with fixed-function lighting enabled.

Relevant draw call: 2336877 (in frame 1699)

Disabling GL_LIGHTING, GL_LIGHT3 or setting the GL_DIFFUSE material to [0, 0,
0, 0] (including alpha) causes the pipe to be rendered correctly. Disabling the
other lights has no effect.

The GL_EMISSION material is set to [1, 1, 1, 1] for this draw call so the other
lighting parameters should have no effect (unless they result in NaNs or
negative values).

GPU; Radeon HD 7950 (TAHITI)
Mesa 11.1.0-devel (git-0337a9b)
LLVM r247497
Linux 4.2.0-gentoo-r1

Everything is rendered correctly with llvmpipe.

So far I have only found one object in the game affected by this.

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

[-- Attachment #1.2: Type: text/html, Size: 2869 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles
  2015-09-14  6:22 [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles bugzilla-daemon
@ 2015-09-14  6:23 ` bugzilla-daemon
  2015-09-14  6:24 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-09-14  6:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Daniel Scharrer <daniel@constexpr.org> ---
Created attachment 118256
  --> https://bugs.freedesktop.org/attachment.cgi?id=118256&action=edit
incorrect rendering with radeonsi

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

[-- Attachment #1.2: Type: text/html, Size: 1327 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles
  2015-09-14  6:22 [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles bugzilla-daemon
  2015-09-14  6:23 ` bugzilla-daemon
@ 2015-09-14  6:24 ` bugzilla-daemon
  2015-09-14  6:43 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-09-14  6:24 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Daniel Scharrer <daniel@constexpr.org> ---
Created attachment 118257
  --> https://bugs.freedesktop.org/attachment.cgi?id=118257&action=edit
correct rendering with LIBGL_ALWAYS_SOFTWARE=1

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

[-- Attachment #1.2: Type: text/html, Size: 1366 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles
  2015-09-14  6:22 [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles bugzilla-daemon
  2015-09-14  6:23 ` bugzilla-daemon
  2015-09-14  6:24 ` bugzilla-daemon
@ 2015-09-14  6:43 ` bugzilla-daemon
  2015-09-14 14:31 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-09-14  6:43 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Ilia Mirkin <imirkin@alum.mit.edu> ---
Interesting, the pipe is all-white on nvc0. I checked if this was an instance
of https://bugs.winehq.org/show_bug.cgi?id=38869, but that doesn't seem to be
the case.

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

[-- Attachment #1.2: Type: text/html, Size: 1254 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles
  2015-09-14  6:22 [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles bugzilla-daemon
                   ` (2 preceding siblings ...)
  2015-09-14  6:43 ` bugzilla-daemon
@ 2015-09-14 14:31 ` bugzilla-daemon
  2015-09-15  3:51 ` bugzilla-daemon
  2015-10-01 12:13 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-09-14 14:31 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from smoki <smoki00790@gmail.com> ---
(In reply to Daniel Scharrer from comment #0)
> 
> The pipe behind the character is rendered completely black. The object is
> rendered without any shader but with fixed-function lighting enabled.

 Description sounds to me like bug 84156. Similar thing happens in 3DMark2001
with GLSL disabled in wine or what happens in that Pedal to the Metal game.

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

[-- Attachment #1.2: Type: text/html, Size: 1589 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles
  2015-09-14  6:22 [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles bugzilla-daemon
                   ` (3 preceding siblings ...)
  2015-09-14 14:31 ` bugzilla-daemon
@ 2015-09-15  3:51 ` bugzilla-daemon
  2015-10-01 12:13 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-09-15  3:51 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Ilia Mirkin <imirkin@alum.mit.edu> ---
Pretty sure the error happens on nouveau because there's a 0 * infinity (or
nan) type of situation. Messing with a flag that I believe controls the outcome
of this type of operation resulted in fixing the rendering.

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

[-- Attachment #1.2: Type: text/html, Size: 1244 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles
  2015-09-14  6:22 [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles bugzilla-daemon
                   ` (4 preceding siblings ...)
  2015-09-15  3:51 ` bugzilla-daemon
@ 2015-10-01 12:13 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-10-01 12:13 UTC (permalink / raw)
  To: dri-devel


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

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

Daniel Scharrer <daniel@constexpr.org> changed:

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

--- Comment #6 from Daniel Scharrer <daniel@constexpr.org> ---
Both this and and the POSTAL 2 issue come from the same root problem - an Inf
or NaN returned by POW for vertices 'behind' the spotlight (dot(spot_direction,
vertex_direction) < 0):
http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/main/ffvertex_prog.c#n954

*** This bug has been marked as a duplicate of bug 91342 ***

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

[-- Attachment #1.2: Type: text/html, Size: 2677 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-01 12:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-14  6:22 [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles bugzilla-daemon
2015-09-14  6:23 ` bugzilla-daemon
2015-09-14  6:24 ` bugzilla-daemon
2015-09-14  6:43 ` bugzilla-daemon
2015-09-14 14:31 ` bugzilla-daemon
2015-09-15  3:51 ` bugzilla-daemon
2015-10-01 12:13 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox