Bug 28216

Summary: Radeon driver "No buffer for z buffer" error
Product: Mesa Reporter: Anton Salikhmetov <alexo.uniweb>
Component: Drivers/DRI/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium CC: alexo.uniweb
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://launchpad.net/bugs/581233
Whiteboard:
i915 platform: i915 features:

Description Anton Salikhmetov 2010-05-23 00:28:40 UTC
X-Plane Demo fails to start with the following error:

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

Corresponding `dmesg' snippet is as follows:

[53540.965939] [drm:r100_cs_track_check] *ERROR* [drm] No buffer for z buffer !
[53540.965945] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

The free installer is available through the following address:

http://dev.x-plane.com/update/installers9/X-PlaneDemoInstallerLinux.zip

The `radeon' driver is in use. The xorg.conf is not used in my system. The video card is ATI Mobility Radeon X2500 aka X1600.

More information on logs is available at Launchpad:

https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/581233
Comment 1 Marek Olšák 2010-05-23 08:04:40 UTC
Can you please try Mesa 7.8? There are walls of commits from Maciej for the R300c driver and a lot of fixes among them too.
Comment 2 Anton Salikhmetov 2010-05-23 11:35:55 UTC
(In reply to comment #1)
> Can you please try Mesa 7.8? There are walls of commits from Maciej for the
> R300c driver and a lot of fixes among them too.

Though Ubuntu Lucid does not yet ship Mesa 7.8, I used the following PPA instead:

https://edge.launchpad.net/~bryceharrington/+archive/bronze

The behavior is the same as for Mesa 7.7.1 which was in use before the upgrade.

Apparently there have been no changes that would affect this error.
Comment 3 mystilleef 2011-10-05 01:08:16 UTC
I get this bug with Mutter and Compiz when I try to use a dual monitor setup for a combined resolution of 3200x2000.


1920x1200 - Dell 24"
1280x 800 - Laptop 15'
======================
3200x2000 - Total
Comment 4 Michel Dänzer 2011-10-05 03:08:42 UTC
(In reply to comment #3)
> I get this bug with Mutter and Compiz when I try to use a dual monitor setup
> for a combined resolution of 3200x2000.

Note that even if you get the exact same messages, they might not be caused by the same problem for you as for Anton. It's probably better if you file your own bug. Either way though, please attach the full Xorg.0.log file and the output of glxinfo and dmesg.

BTW, both of you might also want to try the r300g driver from a current Mesa release if you haven't already.
Comment 5 Michel Dänzer 2011-10-05 06:29:38 UTC
(In reply to comment #5)
> X-Plane Demo fails to start with the following error:

BTW, beware that X-Plane is a 32-bit executable, so if you're using a 64-bit distro, make sure your 32-bit r300_dri.so is up to date.
Comment 6 Andreas Boll 2014-07-07 16:43:42 UTC
The classic r300 driver has been abandoned long ago.
It was replaced by the Gallium driver r300g.

If you have issues with r300g please file a new bug report with component Drivers/Gallium/r300

Thanks.

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.