Bug 27755 - [KMS] sauerbraten crash with drmRadeonCmdBuffer: -22. -> Vertex array 0 need 83794200 dwords have 112640 dwords
Summary: [KMS] sauerbraten crash with drmRadeonCmdBuffer: -22. -> Vertex array 0 need ...
Status: RESOLVED DUPLICATE of bug 30629
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-20 08:44 UTC by Fabio Pedretti
Modified: 2010-11-17 05:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Fabio Pedretti 2010-04-20 08:44:55 UTC
[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
Comment 1 javadeveloper999 2010-06-15 20:41:36 UTC
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.
Comment 2 Fabio Pedretti 2010-06-16 00:10:10 UTC
(In reply to comment #1)
> 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.
Comment 3 Fabio Pedretti 2010-11-17 05:05:08 UTC
No longer reproducible with the fixed version of sauerbraten.

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


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.