From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91480] Dead Island: Crash loading Act 3 possible shader issue Date: Tue, 28 Jul 2015 20:29:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1208761141==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A83966EACB for ; Tue, 28 Jul 2015 13:29:08 -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 --===============1208761141== Content-Type: multipart/alternative; boundary="1438115348.BB38ddBa0.24774"; charset="UTF-8" --1438115348.BB38ddBa0.24774 Date: Tue, 28 Jul 2015 20:29:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91480 --- Comment #3 from Sven Arvidsson --- (In reply to Ilia Mirkin from comment #2) > FWIW I can't reproduce the segfault by running through glsl_compiler. I do, > however, get a > > 0:35(1): error: #extension directive is not allowed in the middle of a shader > > But that should be work-around-able with a driconf setting (or by running > the game with allow_glsl_extension_directive_midshader=1 in the > environment). When I move the #extension line up, no complaints (other than > the unknown GL_ATI_draw_buffers thing), nothing in valgrind either. > > Perhaps you can capture an apitrace of the issue? Right, there's already a workaround for this game in drirc. I can't really make out much from the backtrace, but at least for some of the crashes the segfault seems to come from the game, probably because of the failing shader? You didn't get the syntax error? 0:209(3): error: syntax error, unexpected '=' I will try again with git master and try to capture a trace too, -- You are receiving this mail because: You are the assignee for the bug. --1438115348.BB38ddBa0.24774 Date: Tue, 28 Jul 2015 20:29:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 91480 from
(In reply to Ilia Mirkin from comment #2)
> FWIW I can't reproduce the segfault by running through glsl_compiler. I do,
> however, get a
> 
> 0:35(1): error: #extension directive is not allowed in the middle of a shader
> 
> But that should be work-around-able with a driconf setting (or by running
> the game with allow_glsl_extension_directive_midshader=1 in the
> environment). When I move the #extension line up, no complaints (other than
> the unknown GL_ATI_draw_buffers thing), nothing in valgrind either.
> 
> Perhaps you can capture an apitrace of the issue?

Right, there's already a workaround for this game in drirc.

I can't really make out much from the backtrace, but at least for some of the
crashes the segfault seems to come from the game, probably because of the
failing shader?

You didn't get the syntax error?
0:209(3): error: syntax error, unexpected '='

I will try again with git master and try to capture a trace too,


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