[Bug 31138] New: [r200] gltron fails with "drmRadeonCmdBuffer: -22 ..."

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 26 09:57:27 PDT 2010


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

           Summary: [r200] gltron fails with "drmRadeonCmdBuffer: -22 ..."
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/DRI/r200
        AssignedTo: dri-devel at lists.freedesktop.org
        ReportedBy: skunk at iskunk.org


Created an attachment (id=39790)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=39790)
RADEON_DEBUG=all gltron >gltron-radeon-debug.txt 2>&1

I have an ATI FireGL 8800 that has worked beautifully in the past, and am
running an up-to-date Ubuntu Maverick (on amd64) with the following
bleeding-edge elements:

* Ubuntu's 2.6.36 mainline kernel package; details at
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-maverick/

* Mesa packages from git 20101023 (master branch); details at
https://launchpad.net/~xorg-edgers/+archive/radeon/+packages?field.status_filter=published&field.series_filter=maverick

* xserver-xorg-video-ati packages from git 20101020 (master branch); details at
same URL


When I start up gltron (a small OpenGL TRON-lightcycle game), I see this on the
terminal:

$ gltron
[error] cannot load .gltronrc from /home/guest/.gltronrc
[warning] old config file found, overriding using defaults
[warning] defunct config file found, overriding using defaults
[status] loading artpack 'default'
using min_filter: 9987 (setting: 3)
[scripting audio] found track '    song_revenge_of_cats.it    '
[sound] initializing sound
[sound] loading song song_revenge_of_cats.it
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See
dmesg for more info.

The dmesg output shows this:

Oct 25 21:02:56 maxtor kernel: [ 1354.406015] [drm:r100_cs_track_texture_check]
*ERROR* No texture bound to unit 1
Oct 25 21:02:56 maxtor kernel: [ 1354.406022] [drm:radeon_cs_ioctl] *ERROR*
Invalid command stream !

I'm attaching RADEON_DEBUG=all output for this, as it's pretty small. (Note
that the above terminal output is intermingled.)

This bug has persisted since at least Ubuntu Lucid, and does not appear to have
been fixed by other resolutions for the "drmRadeonCmdBuffer: -22" error. (I am,
to put it lightly, frustrated that the stability of the r200 driver has
regressed from where it was ~2 years ago.)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list