All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 91480] Dead Island: Crash loading Act 3 possible shader issue
@ 2015-07-27 21:25 bugzilla-daemon
  2015-07-27 21:26 ` bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-07-27 21:25 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 91480
           Summary: Dead Island: Crash loading Act 3 possible shader issue
           Product: Mesa
           Version: 10.6
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: sa@whiz.se
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 117408
  --> https://bugs.freedesktop.org/attachment.cgi?id=117408&action=edit
backtrace with 10.5.9

I'm getting a reproducible crash in the game Dead Island when loading act 3.

Sometimes this is a straight segfault, sometimes the game pops up a warning "An
unknown error occured  while compiling shaders."

I'm attaching a backtrace of the segfault from Mesa 10.5.9, I still get the
error with 10.6.3.

This might be a shader issue, I get this warning in the game log:

/media/Data/perforce/di/releases/di_master_steambox/src/engine/ropengl/ROpenGL_Shader.cpp(471)
: 
Condition: 0 && "Cannot compile GL shader!"
LLOG: 0:35(12): warning: extension `GL_ATI_draw_buffers' unsupported in
fragment shader
0:209(3): error: syntax error, unexpected '='
ERRR: Assertion failed!
/media/Data/perforce/di/releases/di_master_steambox/src/engine/ropengl/ROpenGL_Shader.cpp(678)
: 
Condition: 0 && "Compilation of shader failed!"
ERRR: [CPShader] cannot create pixel shader
LLOG: binlen: 0; format: 0; program: 48828 
LLOG: FAILED TO LOAD BINARY!!! Loading from sources.TOTAL TIME: 247398.718750ms

I'm attaching the failing shader.

I'm failing this against r600g as that's where the backtrace points, but this
is probably a general shader issue.

Probably not the same as #85564 as I have played through half the game with
just a few hiccups.

Side note: this title might be a good candidate for some sort of cache. Loading
times are more than a minute and it seems to be spending most of that time
compiling.

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

[-- Attachment #1.2: Type: text/html, Size: 3591 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] 6+ messages in thread

* [Bug 91480] Dead Island: Crash loading Act 3 possible shader issue
  2015-07-27 21:25 [Bug 91480] Dead Island: Crash loading Act 3 possible shader issue bugzilla-daemon
@ 2015-07-27 21:26 ` bugzilla-daemon
  2015-07-27 21:37 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-07-27 21:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Sven Arvidsson <sa@whiz.se> ---
Created attachment 117409
  --> https://bugs.freedesktop.org/attachment.cgi?id=117409&action=edit
failing shader

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

[-- Attachment #1.2: Type: text/html, Size: 1182 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] 6+ messages in thread

* [Bug 91480] Dead Island: Crash loading Act 3 possible shader issue
  2015-07-27 21:25 [Bug 91480] Dead Island: Crash loading Act 3 possible shader issue bugzilla-daemon
  2015-07-27 21:26 ` bugzilla-daemon
@ 2015-07-27 21:37 ` bugzilla-daemon
  2015-07-28 20:29 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-07-27 21:37 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Ilia Mirkin <imirkin@alum.mit.edu> ---
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?

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

[-- Attachment #1.2: Type: text/html, Size: 1466 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] 6+ messages in thread

* [Bug 91480] Dead Island: Crash loading Act 3 possible shader issue
  2015-07-27 21:25 [Bug 91480] Dead Island: Crash loading Act 3 possible shader issue bugzilla-daemon
  2015-07-27 21:26 ` bugzilla-daemon
  2015-07-27 21:37 ` bugzilla-daemon
@ 2015-07-28 20:29 ` bugzilla-daemon
  2015-07-29 20:25 ` bugzilla-daemon
  2016-04-19 12:08 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-07-28 20:29 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Sven Arvidsson <sa@whiz.se> ---
(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.

[-- Attachment #1.2: Type: text/html, Size: 1992 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] 6+ messages in thread

* [Bug 91480] Dead Island: Crash loading Act 3 possible shader issue
  2015-07-27 21:25 [Bug 91480] Dead Island: Crash loading Act 3 possible shader issue bugzilla-daemon
                   ` (2 preceding siblings ...)
  2015-07-28 20:29 ` bugzilla-daemon
@ 2015-07-29 20:25 ` bugzilla-daemon
  2016-04-19 12:08 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-07-29 20:25 UTC (permalink / raw)
  To: dri-devel


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

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

Sven Arvidsson <sa@whiz.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|10.6                        |git

--- Comment #4 from Sven Arvidsson <sa@whiz.se> ---
I reproduced the bug with git master e933d545997de9e50a8ed5247722c1c786bf4858.

I tried making a trace, but Dead Island segfaults right away if started with
apitrace.

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

[-- Attachment #1.2: Type: text/html, Size: 1853 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] 6+ messages in thread

* [Bug 91480] Dead Island: Crash loading Act 3 possible shader issue
  2015-07-27 21:25 [Bug 91480] Dead Island: Crash loading Act 3 possible shader issue bugzilla-daemon
                   ` (3 preceding siblings ...)
  2015-07-29 20:25 ` bugzilla-daemon
@ 2016-04-19 12:08 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2016-04-19 12:08 UTC (permalink / raw)
  To: dri-devel


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

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

Sven Arvidsson <sa@whiz.se> changed:

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

--- Comment #5 from Sven Arvidsson <sa@whiz.se> ---
With radeonsi and Mesa 11.1 the game seems to work fine. I have no way of
trying it on r600g so I will close the bug.

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

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

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

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

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

end of thread, other threads:[~2016-04-19 12:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-27 21:25 [Bug 91480] Dead Island: Crash loading Act 3 possible shader issue bugzilla-daemon
2015-07-27 21:26 ` bugzilla-daemon
2015-07-27 21:37 ` bugzilla-daemon
2015-07-28 20:29 ` bugzilla-daemon
2015-07-29 20:25 ` bugzilla-daemon
2016-04-19 12:08 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.