From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles Date: Mon, 14 Sep 2015 06:22:57 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0639779986==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9001A89A16 for ; Sun, 13 Sep 2015 23:22:57 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0639779986== Content-Type: multipart/alternative; boundary="1442211777.0cd85CF0.25173"; charset="UTF-8" --1442211777.0cd85CF0.25173 Date: Mon, 14 Sep 2015 06:22:57 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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. --1442211777.0cd85CF0.25173 Date: Mon, 14 Sep 2015 06:22:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
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.
--1442211777.0cd85CF0.25173-- --===============0639779986== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0639779986==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles Date: Mon, 14 Sep 2015 06:23:39 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0530446404==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 146776E22F for ; Sun, 13 Sep 2015 23:23:39 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0530446404== Content-Type: multipart/alternative; boundary="1442211819.0d52F500.25440"; charset="UTF-8" --1442211819.0d52F500.25440 Date: Mon, 14 Sep 2015 06:23:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91998 --- Comment #1 from Daniel Scharrer --- 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. --1442211819.0d52F500.25440 Date: Mon, 14 Sep 2015 06:23:39 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 91998 from
Created attachment 118256 [details]
incorrect rendering with radeonsi


You are receiving this mail because:
  • You are the assignee for the bug.
--1442211819.0d52F500.25440-- --===============0530446404== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0530446404==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles Date: Mon, 14 Sep 2015 06:24:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0961706095==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BD0A66E332 for ; Sun, 13 Sep 2015 23:24:22 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0961706095== Content-Type: multipart/alternative; boundary="1442211862.F1dB0E00.25746"; charset="UTF-8" --1442211862.F1dB0E00.25746 Date: Mon, 14 Sep 2015 06:24:22 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91998 --- Comment #2 from Daniel Scharrer --- 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. --1442211862.F1dB0E00.25746 Date: Mon, 14 Sep 2015 06:24:22 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 91998 from
Created attachment 118257 [details]
correct rendering with LIBGL_ALWAYS_SOFTWARE=1


You are receiving this mail because:
  • You are the assignee for the bug.
--1442211862.F1dB0E00.25746-- --===============0961706095== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0961706095==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles Date: Mon, 14 Sep 2015 06:43:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0584758167==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 769896E456 for ; Sun, 13 Sep 2015 23:43:40 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0584758167== Content-Type: multipart/alternative; boundary="1442213020.B4EB331A1.1428"; charset="UTF-8" --1442213020.B4EB331A1.1428 Date: Mon, 14 Sep 2015 06:43:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91998 --- Comment #3 from Ilia Mirkin --- 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. --1442213020.B4EB331A1.1428 Date: Mon, 14 Sep 2015 06:43:40 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 91998 from
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.
--1442213020.B4EB331A1.1428-- --===============0584758167== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0584758167==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles Date: Mon, 14 Sep 2015 14:31:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1083068900==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6C3DB6E04B for ; Mon, 14 Sep 2015 07:31:57 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1083068900== Content-Type: multipart/alternative; boundary="1442241117.db0D1.32496"; charset="UTF-8" --1442241117.db0D1.32496 Date: Mon, 14 Sep 2015 14:31:57 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91998 --- Comment #4 from smoki --- (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. --1442241117.db0D1.32496 Date: Mon, 14 Sep 2015 14:31:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 91998 from
(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.
--1442241117.db0D1.32496-- --===============1083068900== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1083068900==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles Date: Tue, 15 Sep 2015 03:51:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1315296943==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E76556E351 for ; Mon, 14 Sep 2015 20:51:12 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1315296943== Content-Type: multipart/alternative; boundary="1442289072.80B5AC1.10690"; charset="UTF-8" --1442289072.80B5AC1.10690 Date: Tue, 15 Sep 2015 03:51:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91998 --- Comment #5 from Ilia Mirkin --- 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. --1442289072.80B5AC1.10690 Date: Tue, 15 Sep 2015 03:51:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 91998 from
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.
--1442289072.80B5AC1.10690-- --===============1315296943== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1315296943==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91998] Object rendered completely black in The Book of Unwritten Tales: The Critter Chronicles Date: Thu, 01 Oct 2015 12:13:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1309355954==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 107D66E051 for ; Thu, 1 Oct 2015 05:13:10 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1309355954== Content-Type: multipart/alternative; boundary="1443701589.FcbDfc860.7724"; charset="UTF-8" --1443701589.FcbDfc860.7724 Date: Thu, 1 Oct 2015 12:13:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91998 Daniel Scharrer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #6 from Daniel Scharrer --- 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. --1443701589.FcbDfc860.7724 Date: Thu, 1 Oct 2015 12:13:09 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 91998
What Removed Added
Status NEW RESOLVED
Resolution --- DUPLICATE

Comment # 6 on bug 91998 from
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.
--1443701589.FcbDfc860.7724-- --===============1309355954== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1309355954==--