<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Metro: Last Light rendering issues"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71870#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Metro: Last Light rendering issues"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71870">bug 71870</a>
              from <span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=71870#c3">comment #3</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=71870#c2">comment #2</a>)
> > update .. now Metro has started to crash on startup, bisected this to:
> > 
> > commit 068a073c1d4853b5c8f33efdeb481026f42e23a5
> > Author: Paul Berry <<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>>
> > Date:   Tue Nov 19 13:31:20 2013 -0800
> > 
> >     meta: fix meta clear of layered framebuffers
> > 
> > backtrace:
> > 
> > (gdb) bt
> > #0  0xf7747430 in __kernel_vsyscall ()
> > #1  0xf73c11ef in ?? ()
> > #2  0xf441f0fb in intel_upload_map () from /opt/lib/dri/i965_dri.so
> > #3  0xf441f1bf in intel_upload_unmap () from /opt/lib/dri/i965_dri.so
> > #4  0xf44a86d2 in brw::vec4_visitor::get_timestamp() () from
> > /opt/lib/dri/i965_dri.so
> > #5  0xf4443ab2 in brw_draw_destroy () from /opt/lib/dri/i965_dri.so
> > #6  0xf4443e41 in brw_get_vertex_surface_type () from
> > /opt/lib/dri/i965_dri.so
> > #7  0xf42736b8 in vbo_VertexAttribP4uiv () from /opt/lib/dri/i965_dri.so
> > #8  0xf4274402 in vbo_VertexAttribP4uiv () from /opt/lib/dri/i965_dri.so
> > #9  0xf42747c7 in vbo_Materialfv () from /opt/lib/dri/i965_dri.so
> > 
> > If I revert this (and bb354c6c279031dafc08029a62cd3e76a6c1ca71) game works
> > fine again. Will investigate what goes wrong.

> The function calls in this backtrace don't make sense (looking at the source
> code, vbo_VertexAttribP4uiv() never calls brw_get_vertex_surface_type(),
> brw_get_vertex_surface_type() never calls brw_draw_destroy(), and so on). 
> Is it possible that you've built libdrm without debugging symbols, and
> that's causing you to get a corrupted backtrace?</span >

True, I'll try to get proper backtrace. This triggers through brw_clear as I
can workaround by using the non-glsl clear (the one for gles1)


<span class="quote">> If you can provide an apitrace that reproduces the problem, I'd be glad to
> help debug this.</span >

Yes I can do this</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>