Skip to contentSkip to conversation

New: [KMS] sauerbraten crash with drmRadeonCmdBuffer: -22. -> Vertex array 0 need 83794200 dwords have 112640 dwords

Bug 27755 [email protected] 1 participant 4 messages Apr 20, 2010 – Nov 17, 2010

lore
Share & tools
lore
#0 lore raw

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

Summary: [KMS] sauerbraten crash with drmRadeonCmdBuffer: -22.
-> Vertex array 0 need 83794200 dwords have 112640 dwords
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

[bug splitted from bug #27507]

I am getting this:
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
when starting douze maps with sauerbraten (with shaders enabled).

dmesg shows:

[  309.795013] radeon 0000:01:00.0: (PW 1) Vertex array 0 need 83794200 dwords
have 112640 dwords
[  309.795019] [drm:r100_cs_track_check] *ERROR* Max indices 16758840
[  309.795022] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

I am using current mesa git with:
GL_RENDERER = Mesa DRI R300 (RV530 71C5) 20090101 x86/MMX/SSE2 TCL DRI2

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 27755] [KMS] sauerbraten crash with drmRadeonCmdBuffer: -22. -> Vertex array 0 need 83794200 dwords have 112640 dwords

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

--- Comment #1 from [email protected] 2010-06-15 20:41:36 PDT --- I am getting this error as well. But the card type is x2300 (rv550?) (not r300)

The message in syslog shows

[drm:r100_cs_track_check] *ERROR* [drm] Buffer too small for color buffer 0 (need
4190208 have 3145728) !
[drm:r100_cs_track_check] *ERROR* [drm] color buffer 0 (1024 4 0 1023) [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

The attached file looks like for r300. Can it be applied to rv550 as well? Or what can I do to test it?

Enironment: Debian sid, kernel 2.6.32.8, gcc 4.4.4

Thanks for help.

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

[Bug 27755] [KMS] sauerbraten crash with drmRadeonCmdBuffer: -22. -> Vertex array 0 need 83794200 dwords have 112640 dwords

In reply to [email protected]

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

--- Comment #2 from Fabio Pedretti <[email protected]> 2010-06-16 00:10:10 PDT --- (In reply to comment #1)

Quoted 5 lines

I am getting this error as well. But the card type is x2300 (rv550?) (not r300)

[drm:r100_cs_track_check] *ERROR* [drm] Buffer too small for color buffer 0 (need
4190208 have 3145728) !

This error seems like bug #27507 and not this one. RV550 is still using the r300 driver.

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

[Bug 27755] [KMS] sauerbraten crash with drmRadeonCmdBuffer: -22. -> Vertex array 0 need 83794200 dwords have 112640 dwords

In reply to [email protected]

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

Fabio Pedretti <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #3 from Fabio Pedretti <[email protected]> 2010-11-17 05:05:08 PST --- No longer reproducible with the fixed version of sauerbraten.

*** This bug has been marked as a duplicate of bug 30629 ***

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.