Bug 27756

Summary: [KMS] sauerbraten crash with drmRadeonCmdBuffer: -22 -> Texture of unit 0 needs 8320 bytes but is 8192
Product: Mesa Reporter: Fabio Pedretti <pedretti.fabio>
Component: Drivers/DRI/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Fabio Pedretti 2010-04-20 08:48:02 UTC
I am getting this:
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See
dmesg for more info.
after starting complex map with sauerbraten (with shaders enabled) and then selecting options from main menu after pressing ESC.

dmesg shows:
[  354.233534] [drm:r100_cs_track_texture_check] *ERROR* Texture of unit 0 needs 8320 bytes but is 8192
[  354.233542] [drm:r100_cs_track_texture_print] *ERROR* pitch                      1
[  354.233545] [drm:r100_cs_track_texture_print] *ERROR* use_pitch                  0
[  354.233549] [drm:r100_cs_track_texture_print] *ERROR* width                      8
[  354.233552] [drm:r100_cs_track_texture_print] *ERROR* width_11                   0
[  354.233555] [drm:r100_cs_track_texture_print] *ERROR* height                     128
[  354.233558] [drm:r100_cs_track_texture_print] *ERROR* height_11                  0
[  354.233562] [drm:r100_cs_track_texture_print] *ERROR* num levels                 7
[  354.233565] [drm:r100_cs_track_texture_print] *ERROR* depth                      0
[  354.233568] [drm:r100_cs_track_texture_print] *ERROR* bpp                        4
[  354.233571] [drm:r100_cs_track_texture_print] *ERROR* coordinate type            0
[  354.233575] [drm:r100_cs_track_texture_print] *ERROR* width round to power of 2  0
[  354.233578] [drm:r100_cs_track_texture_print] *ERROR* height round to power of 2 0
[  354.233581] [drm:r100_cs_track_texture_print] *ERROR* compress format            1
[  354.233585] [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 Fabio Pedretti 2010-06-11 09:01:12 UTC

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

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.