Skip to contentSkip to conversation

New: [r300g] r300_emit.c:365:r300_emit_aa_state: Assertion `(aa->dest)->cs_buf' failed.

Bug 45943 [email protected] 1 participant 8 messages Feb 11, 2012 – Feb 13, 2012

lore
Share & tools
lore
#0 lore raw

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

             Bug #: 45943
           Summary: [r300g] r300_emit.c:365:r300_emit_aa_state: Assertion
                    `(aa->dest)->cs_buf' failed.
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
               URL: https://cvs.khronos.org/svn/repos/registry/trunk/publi
                    c/webgl/sdk/tests/webgl-conformance-tests.html
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r300
        AssignedTo: [email protected]
        ReportedBy: [email protected]

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

Triggered with Firefox 10 at https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/webgl-conformance-tests.html (click run tests and wait). Firefox 10 is needed earlier versions doesn't trigger this.

radeon: Cannot get a relocation in radeon_drm_cs_write_reloc.
r300: Warning: cs_count off by -6 at (r300_emit_aa_state, r300_emit.c:370)
radeon: The kernel rejected CS, see dmesg for more information. r300_emit.c:365:r300_emit_aa_state: Assertion `(aa->dest)->cs_buf' failed.

Program received signal SIGTRAP, Trace/breakpoint trap.
_debug_assert_fail (expr=0x2c2fa6f "(aa->dest)->cs_buf", file=0x2c2fa58 "r300_emit.c", line=

    365, function=0x2c2ff77 "r300_emit_aa_state") at util/u_debug.c:281

Full backtrace attached, from dmesg:

[50370.978205] [drm:r100_cs_packet_next_reloc] *ERROR* No packet3 for relocation for packet at 13.
[50370.978211] [drm] ib[13]=0x000013A1
[50370.978214] [drm] ib[14]=0x00C30040
[50370.978217] [drm:r300_packet0_check] *ERROR* No reloc for ib[12]=0x4E80
[50370.978220] [drm] ib[11]=0x000013A0
[50370.978223] [drm] ib[12]=0x00000000
[50370.978225] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

GPU:RV530
Kernel: 3.2.3
Mesa: d5a6c172547d8964f4d4bb79637651decaf9deee
Libdrm: 2.4.31

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 45943] [r300g] r300_emit.c:365:r300_emit_aa_state: Assertion `(aa->dest)->cs_buf' failed.

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

--- Comment #1 from Marek Olšák <[email protected]> 2012-02-12 04:43:35 PST --- Could you please test Mesa master again?

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 45943] [r300g] r300_emit.c:365:r300_emit_aa_state: Assertion `(aa->dest)->cs_buf' failed.

In reply to [email protected]

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

--- Comment #2 from Pavel Ondračka <[email protected]> 2012-02-12 09:15:50 PST --- Created attachment 56919
--> https://bugs.freedesktop.org/attachment.cgi?id=56919
new backtrace

Now it fails at the newly added assertion:
r300_render.c:1260:r300_resource_resolve: Assertion `0 && "Resource resolve is unsupported, invalid call."' failed.

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
#3 lore raw

[Bug 45943] [r300g] r300_emit.c:365:r300_emit_aa_state: Assertion `(aa->dest)->cs_buf' failed.

In reply to [email protected]

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

--- Comment #3 from Marek Olšák <[email protected]> 2012-02-12 09:39:10 PST --- Created attachment 56920
--> https://bugs.freedesktop.org/attachment.cgi?id=56920
possible fix

Can you try this patch?

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
#4 lore raw

[Bug 45943] [r300g] r300_emit.c:365:r300_emit_aa_state: Assertion `(aa->dest)->cs_buf' failed.

In reply to [email protected]

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

--- Comment #4 from Pavel Ondračka <[email protected]> 2012-02-12 09:56:06 PST --- (In reply to comment #3)

Quoted 4 lines

Created attachment 56920 [details] [review]
possible fix

Can you try this patch?

Yes, that patch fixes it.

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
#5 lore raw

[Bug 45943] [r300g] r300_emit.c:365:r300_emit_aa_state: Assertion `(aa->dest)->cs_buf' failed.

In reply to [email protected]

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

--- Comment #5 from Marek Olšák <[email protected]> 2012-02-12 12:40:13 PST ---
Could you please test Mesa master again? The commit 094eeff19946138d6306d74e9e62af5e9d192abd should fix this.

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
#6 lore raw

[Bug 45943] [r300g] r300_emit.c:365:r300_emit_aa_state: Assertion `(aa->dest)->cs_buf' failed.

In reply to [email protected]

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

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

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Pavel Ondračka <[email protected]> 2012-02-12 12:56:16 UTC --- Fixed indeed, thank you.

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
#7 lore raw

[Bug 45943] [r300g] r300_emit.c:365:r300_emit_aa_state: Assertion `(aa->dest)->cs_buf' failed.

In reply to [email protected]

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

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

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from Pavel Ondračka <[email protected]> 2012-02-13 06:13:43 PST --- *** Bug 45993 has been marked as a duplicate of this bug. ***

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