Skip to contentSkip to conversation

New: [r300g, bisected] WebGL cars demo crash (r300_emit.c:865:r300_emit_vertex_arrays: Assertion `(buf)' failed)

Bug 50980 [email protected] 1 participant 3 messages Jun 11, 2012 – Jul 23, 2012

lore
Share & tools
lore

[email protected]

author Reviewed-by Brian Paul Reviewed-by Mathias Fröhlich
#0 lore raw

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

             Bug #: 50980
           Summary: [r300g, bisected] WebGL cars demo crash
                    (r300_emit.c:865:r300_emit_vertex_arrays: Assertion
                    `(buf)' failed)
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
               URL: http://www.chromeexperiments.com/detail/webgl-cars/?f=
                    webgl
        OS/Version: All
            Status: NEW
          Keywords: regression
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r300
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]

Created attachment 62902
--> https://bugs.freedesktop.org/attachment.cgi?id=62902
backtrace

WebGL cars demo crash with r300_emit.c:865:r300_emit_vertex_arrays: Assertion `(buf)' failed, full backtrace attached.

784dd51198433e5c299da4a7742c68d21d68d1c1 is the first bad commit commit 784dd51198433e5c299da4a7742c68d21d68d1c1

Author: Marek Olšák <[email protected]>
Date:   Mon Apr 16 03:34:22 2012 +0200

mesa,vbo: properly detect when vertex arrays need to be recalculated

This moves the RebindArrays flag into the vbo module, consolidates the
code,
and adds missing vbo_draw_method calls.

Also with this change, the vertex arrays are not needlessly recalculated
twice.
The issue with the old code was:
- If recalculate_input_bindings updates vp_varying_inputs, _NEW_ARRAY is
set.
- _mesa_update_state is called and the vp_varying_inputs change causes regeneration of the fixed-function shaders, which also sets _NEW_PROGRAM.
- The occurence of either _NEW_ARRAY or _NEW_PROGRAM sets
the recalculate_inputs flag to TRUE again.
- The new code sets the flag to FALSE after the second _mesa_update_state, because there can't possibly be any change which would require
recalculating
the arrays.

GPU:RV530
Kernel: 3.4.0-1.fc17.i686
Firefox 13.0

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 50980] [r300g, bisected] WebGL cars demo crash (r300_emit.c:865:r300_emit_vertex_arrays: Assertion `(buf)' failed)

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

--- Comment #1 from Pavel Ondračka <[email protected]> 2012-06-12 12:26:19 PDT --- Created attachment 62942
--> https://bugs.freedesktop.org/attachment.cgi?id=62942
gl-max-texture-dimensions webgl test backtrace

Another variation of this crash can be seen with conformance/limits/gl-max-texture-dimensions.html test from webgl conformance test suite. The backtrace is different, but regression test showed the same commit.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 50980] [r300g, bisected] WebGL cars demo crash (r300_emit.c:865:r300_emit_vertex_arrays: Assertion `(buf)' failed)

In reply to [email protected]

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

Pavel Ondračka <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Pavel Ondračka <[email protected]> 2012-07-23 10:14:10 UTC --- Works fine in latest git.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel