From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 93292] "Thea: The Awakening" world map textures not rendered (blue background) Date: Sat, 16 Jan 2016 17:49:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1619534034==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7300F6E23E for ; Sat, 16 Jan 2016 09:49:05 -0800 (PST) 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 --===============1619534034== Content-Type: multipart/alternative; boundary="1452966545.50ABbde00.818"; charset="UTF-8" --1452966545.50ABbde00.818 Date: Sat, 16 Jan 2016 17:49:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=93292 --- Comment #4 from Jan-Marek Glogowski --- I uploaded a new apitrace with low details settings and disabled intro video, which makes it much smaller (170 MB xz). https://docs.google.com/uc?id=0Bwde9zQo1PeCVVdZU2ZSM3hKcXc&export=download While I was at it I played a bit with qapitrace, comparing the r600 and swrast output. And I found the origin of the bug. The "breaking" call is "1247216" in the new trace: glDrawElements(mode = GL_TRIANGLES, count = 600, type = GL_UNSIGNED_SHORT, indices = NULL) The call "destroys" the depth map, filling it with a constant value, so nothing is rendered. Actually I suspect the glUseProgram(87) in call 1247202 to be the origin of the problem, as it installs a shader program (AFAIK OpenGL) and because I'm able to play Thea using the llvm r600 backend via "R600_DEBUG=llvm" and if I disable "ambient occlusion", which is also broken. My current mesa build is based on commit 6303231a1ddf646b05c43c6bbc7fa71314ebb3fc -- You are receiving this mail because: You are the assignee for the bug. --1452966545.50ABbde00.818 Date: Sat, 16 Jan 2016 17:49:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 93292 from
I uploaded a new apitrace with low details settings and disabled intro video,
which makes it much smaller (170 MB xz).

https://docs.google.com/uc?id=0Bwde9zQo1PeCVVdZU2ZSM3hKcXc&export=download

While I was at it I played a bit with qapitrace, comparing the r600 and swrast
output. And I found the origin of the bug.

The "breaking" call is "1247216" in the new trace:
  glDrawElements(mode = GL_TRIANGLES, count = 600, type = GL_UNSIGNED_SHORT,
indices = NULL)

The call "destroys" the depth map, filling it with a constant value, so nothing
is rendered.

Actually I suspect the glUseProgram(87) in call 1247202 to be the origin of the
problem, as it installs a shader program (AFAIK OpenGL) and because I'm able to
play Thea using the llvm r600 backend via "R600_DEBUG=llvm" and if I disable
"ambient occlusion", which is also broken.

My current mesa build is based on commit
6303231a1ddf646b05c43c6bbc7fa71314ebb3fc


You are receiving this mail because:
  • You are the assignee for the bug.
--1452966545.50ABbde00.818-- --===============1619534034== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1619534034==--