New: OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream
https://bugs.freedesktop.org/show_bug.cgi?id=27507
Summary: OpenGL applications crash with drmRadeonCmdBuffer:
-22. Kernel failed to parse or rejected command stream
Product: DRI
Version: DRI CVS
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]
I am getting this:
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
when trying to start the game 0ad or douze map with sauerbraten (with shaders enabled).
dmesg shows this after 0ad crash:
[ 204.087282] [drm:r100_cs_track_check] *ERROR* [drm] Buffer too small for color buffer 0 (need 4190208 have 3145728) ! [ 204.087294] [drm:r100_cs_track_check] *ERROR* [drm] color buffer 0 (1024 4 0 1023) [ 204.087300] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
and this with sauerbraten:
[ 1144.213905] radeon 0000:01:00.0: (PW 1) Vertex array 0 need 83826965 dwords have 112640 dwords [ 1144.213915] [drm:r100_cs_track_check] *ERROR* Max indices 16765393 [ 1144.213921] [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
Signature · 11 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 27507] OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream
https://bugs.freedesktop.org/show_bug.cgi?id=27507
Fabio Pedretti <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://bugs.launchpad.net/ | |linux/+bug/557266
Signature · 11 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 27507] OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27507
--- Comment #1 from Pauli <[email protected]> 2010-04-08 00:10:18 PDT --- Created an attachment (id=34797)
--> (https://bugs.freedesktop.org/attachment.cgi?id=34797)
Debug patch or scissor bug.
Here is 2 different error messages so 2 different bugs. It would be better if there was only one bug per report.
0ad problem is that mesa sets wrong height for rendering area (1023 instead 768). Could you apply the attached patch to mesa and run 0ad with RADEON_DEBUG=all ./0ad &> debug.log
Signature · 11 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 27507] OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27507
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from Michel Dänzer <[email protected]> 2010-04-08 01:26:10 PDT --- *** Bug 27446 has been marked as a duplicate of this bug. ***
Signature · 14 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 27507] OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27507
--- Comment #3 from Fabio Pedretti <[email protected]> 2010-04-08 01:44:33 PDT ---
Quoted 3 lines
0ad problem is that mesa sets wrong height for rendering area (1023 instead 768). Could you apply the attached patch to mesa and run 0ad with RADEON_DEBUG=all ./0ad &> debug.log
debug file created as requested with patch (note: compressed: 3MB,
uncompressed: 152MB):
http://rapidshare.com/files/373364294/debug.log.bz2.html
Signature · 11 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 27507] [KMS] 0ad crashes with drmRadeonCmdBuffer: -22 -> Buffer too small for color buffer 0
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27507
Fabio Pedretti <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|OpenGL applications crash |[KMS] 0ad crashes with
|with drmRadeonCmdBuffer: |drmRadeonCmdBuffer: -22 ->
|-22. Kernel failed to parse |Buffer too small for color
|or rejected command stream |buffer 0--- Comment #4 from Fabio Pedretti <[email protected]> 2010-04-20 08:49:33 PDT --- sauerbraten bugs filed at:
https://bugs.freedesktop.org/show_bug.cgi?id=27755
https://bugs.freedesktop.org/show_bug.cgi?id=27756
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 27507] [KMS] 0ad crashes with drmRadeonCmdBuffer: -22 -> Buffer too small for color buffer 0
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27507
--- Comment #5 from Marek Olšák <[email protected]> 2010-09-11 21:38:25 PDT --- Could you possibly test this kernel patch:
http://lists.freedesktop.org/archives/dri-devel/2010-September/003830.html
And please let me know if it fixes 0ad for you.
You might also try the Gallium driver instead in case the patch doesn't help.
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 27507] [KMS] 0ad crashes with drmRadeonCmdBuffer: -22 -> Buffer too small for color buffer 0
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27507
--- Comment #6 from Fabio Pedretti <[email protected]> 2010-09-13 03:04:26 PDT --- (In reply to comment #5)
Quoted 7 lines
Could you possibly test this kernel patch:
http://lists.freedesktop.org/archives/dri-devel/2010-September/003830.html
And please let me know if it fixes 0ad for you.
You might also try the Gallium driver instead in case the patch doesn't help.
It's still the same with the patch (applied against 2.6.34.6).
Note, however, that (with or without the patch) now the game stucks where previously crashed and I have to kill -9 it. There is nothing interesting in dmesg.
(r300g is working since a month)
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 27507] [r300c] 0ad crashes with drmRadeonCmdBuffer: -22 -> Buffer too small for color buffer 0
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27507
Marek Olšák <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[KMS] 0ad crashes with |[r300c] 0ad crashes with
|drmRadeonCmdBuffer: -22 -> |drmRadeonCmdBuffer: -22 ->
|Buffer too small for color |Buffer too small for color
|buffer 0 |buffer 0
Product|DRI |Mesa
Version|DRI CVS |unspecified
Component|DRM/Radeon |Drivers/DRI/r300Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 27507] [r300c] 0ad stuck while loading a game
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27507
Fabio Pedretti <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[r300c] 0ad crashes with |[r300c] 0ad stuck while
|drmRadeonCmdBuffer: -22 -> |loading a game
|Buffer too small for color |
|buffer 0 |Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 27507] [r300c] 0ad stuck while loading a game
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=27507
Fabio Pedretti <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #7 from Fabio Pedretti <[email protected]> 2010-10-04 04:28:17 PDT --- This is fixed now. Note however that with r300c unless you disable shadows the game runs at 20 second per frame. Works fast with r300g.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.