View Issue Details

IDProjectCategoryView StatusLast Update
0002277Spring engineGfx driver issuespublic2011-05-03 21:28
Reporterjandd Assigned Toabma  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status resolvedResolutionunable to reproduce 
Product Version0.82.6.1 
Summary0002277: spring exits with error "drmRadeonCmdBuffer: -22"
DescriptionA user of my Debian package of spring reported a crash on his machine in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608594 I copy the bug report below.
Additional InformationWhen trying to start a game with "Test the game" some status messages
appear (loading this, initialising that) and then spring exits with an
error message:
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command
stream. See dmesg for more info.

dmesg says:
[ 234.282985] [drm:r100_cs_track_check] *ERROR* [drm] No buffer for z
buffer !
[ 234.282992] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[ 419.540963] [drm:r100_cs_track_check] *ERROR* [drm] No buffer for z
buffer !
[ 419.540970] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
[ 467.032293] [drm:r100_cs_track_check] *ERROR* [drm] No buffer for z
buffer !
[ 467.032300] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

Googling doesn't provide further insights for me, but I suspect some
issue with the video driver and OpenGL. Please reassign if appropriate.

Regards,
Felix
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

abma

2011-01-02 17:45

administrator   ~0006184

this heavily looks like a driver issue... do other 3d-applications work?

my suggestion is to install fglrx...

to get more help, please attach infolog.txt from such a crash, but i think, this crash isn't spring's fault.

flixh

2011-01-04 21:35

reporter   ~0006192

infolog.txt attached...
Other 3d-applications work, e.g. glxgears or tuxracer run.
fglrx is unfortunately not an option as this breaks a
couple of other things.

hoijui

2011-01-05 10:08

reporter   ~0006195

as this is an open source driver, we actually have a chance to find out whats going on!!!! :D ;-)

look what i found:
http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/drivers/gpu/drm/radeon/r300.c#L848
(source code line of the error message, i think)

if we now knew where in spring code this happens, we might have a realistic chance to fix it, whether it is a bug there or here!

if you did not compile spring yourself, but used the debian package, you would have to get the debug symbols package for spring, run spring in gdb, and issue a "bt" when it crashes, and then please upload the output.

flixh

2011-01-05 21:06

reporter   ~0006198

I tried to get a backtrace but have not been successful. Loading the debugging symbols works but gdb tells me that there is no stack. Is that because it does not crash but exists gracefully?
Otherwise I would need some more guidance to set a proper breakpoint or how to get a backtrace.

Thanks for investigating,
Felix

flixh

2011-05-03 21:23

reporter   ~0006595

I cannot reproduce with debian's version 0.82.7.1+dfsg1-2 anymore. Unfortunately I cannot confirm if this is because of the new spring version or some kernel/driver update.

So this bug should probably be closed.
Felix

abma

2011-05-03 21:28

administrator   ~0006597

thanks for reporting back!

i think this is because of the driver...

Issue History

Date Modified Username Field Change
2011-01-01 22:07 jandd New Issue
2011-01-02 17:45 abma Note Added: 0006184
2011-01-02 17:45 abma Status new => feedback
2011-01-02 20:29 abma Severity minor => crash
2011-01-04 21:33 flixh File Added: infolog.txt
2011-01-04 21:35 flixh Note Added: 0006192
2011-01-05 10:08 hoijui Note Added: 0006195
2011-01-05 21:06 flixh Note Added: 0006198
2011-05-03 21:23 flixh Note Added: 0006595
2011-05-03 21:28 abma Note Added: 0006597
2011-05-03 21:28 abma Status feedback => resolved
2011-05-03 21:28 abma Resolution open => unable to reproduce
2011-05-03 21:28 abma Assigned To => abma