Comment 49 for bug 557266

Revision history for this message
Alexei (neowall) wrote : Re: [Radeon kernel module] drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream

It doesn't seem http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=a41ceb1c17af06a17c0d88e987215ef20b93c471 fixed it. Installed http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-rc6-maverick/. I think that's the first .36 release candidate with the patch in it, but I am not sure I am connecting the patch to the mainline release it got merged into correctly. But I previously posted about still having the problem with a more recent kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-maverick/. What should I do?

$ glxgears

Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
302 frames in 5.0 seconds = 60.378 FPS

Instantly after resizing:

drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.

$ dmesg | tail
[ 255.016584] [drm:r100_cs_track_check] *ERROR* [drm] Buffer too small for z buffer (need 612864 have 516096) !
[ 255.016594] [drm:r100_cs_track_check] *ERROR* [drm] zbuffer (384 4 0 399)
[ 255.016597] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

$ uname -a
Linux 2.6.36-020636rc6-generic #201009291126 SMP Wed Sep 29 12:42:36 UTC 2010 i686 GNU/Linux