New: [bisected DRI1] drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
http://bugs.freedesktop.org/show_bug.cgi?id=27043
Summary: [bisected DRI1] drmRadeonCmdBuffer: -22. Kernel failed
to parse or rejected command stream. See dmesg for more info.
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
This commit:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=67108b5d12e0526ebedcdf2dbeeadfdbd0782161
make sauerbraten (at least on map douze) crash on UMS/DRI1 with:
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
Note: commit e5c691f445e1c02e6e2f75b817b13d7024f7a3a6 have to be reverted, however bug #26954 is hit.
Card:GL_RENDERER = Mesa DRI R300 (RV530 71C5) 20090101 x86/MMX/SSE2 TCL
Signature · 11 lines
Configure bugmail: http://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 27043] [bisected DRI1] drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
http://bugs.freedesktop.org/show_bug.cgi?id=27043
--- Comment #1 from Fabio Pedretti <[email protected]> 2010-03-12 06:13:30 PST --- This is what dmesg shows:
[drm:r300_do_cp_cmdbuf] *ERROR* bad cmd_type 148 at e666f878
Signature · 11 lines
Configure bugmail: http://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 27043] [bisected DRI1] drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=27043
--- Comment #2 from Alex Deucher <[email protected]> 2010-03-12 08:23:29 PST --- should be fixed in d1ca1599f0319f5c99852ce24420aa592e806db0
Signature · 11 lines
Configure bugmail: http://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 27043] [bisected DRI1] drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=27043
--- Comment #3 from Fabio Pedretti <[email protected]> 2010-03-12 08:43:09 PST --- (In reply to comment #2)
Quoted 2 lines
should be fixed in
d1ca1599f0319f5c99852ce24420aa592e806db0
It's fixed, but I noticed that it would work also with:
functions->CopyPixels = _mesa_meta_CopyPixels;functions->DrawPixels = _mesa_meta_DrawPixels;
if (radeon->radeonScreen->kernel_mm) {
functions->ReadPixels = radeonReadPixels;
}Is this better than current?
if (radeon->radeonScreen->kernel_mm) {
functions->CopyPixels = _mesa_meta_CopyPixels;
functions->DrawPixels = _mesa_meta_DrawPixels;
functions->ReadPixels = radeonReadPixels;
}Signature · 11 lines
Configure bugmail: http://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 27043] [bisected DRI1] drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=27043
--- Comment #4 from Alex Deucher <[email protected]> 2010-03-12 10:53:26 PST --- (In reply to comment #3)
Quoted 12 lines
(In reply to comment #2)
Quoted 2 lines
should be fixed in
d1ca1599f0319f5c99852ce24420aa592e806db0It's fixed, but I noticed that it would work also with:
functions->CopyPixels=_mesa_meta_CopyPixels;functions->DrawPixels=_mesa_meta_DrawPixels;if (radeon->radeonScreen->kernel_mm) { functions->ReadPixels = radeonReadPixels; }
Quoted 8 lines
Is this better than current?
if (radeon->radeonScreen->kernel_mm) { functions->CopyPixels = _mesa_meta_CopyPixels; functions->DrawPixels = _mesa_meta_DrawPixels; functions->ReadPixels = radeonReadPixels; }
Should be fine. Care to create a patch?
Signature · 11 lines
Configure bugmail: http://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 27043] [bisected DRI1] drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=27043
--- Comment #5 from Michel Dänzer <[email protected]> 2010-03-12 10:58:05 PST --- (In reply to comment #3)
Quoted 5 lines
functions->CopyPixels=_mesa_meta_CopyPixels;functions->DrawPixels=_mesa_meta_DrawPixels;if (radeon->radeonScreen->kernel_mm) { functions->ReadPixels = radeonReadPixels; }
Did you actually test glReadPixels() with that?
Signature · 14 lines
Configure bugmail: http://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 27043] [bisected DRI1] drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=27043
--- Comment #6 from Michel Dänzer <[email protected]> 2010-03-12 11:02:17 PST --- (In reply to comment #5)
Quoted 1 line
Did you actually test
glReadPixels()with that?
Err, I mean glCopyPixels and glDrawPixels.
Signature · 14 lines
Configure bugmail: http://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 27043] [bisected DRI1] drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=27043
--- Comment #7 from Alex Deucher <[email protected]> 2010-03-12 12:09:02 PST --- Created an attachment (id=34007)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34007)
enable meta ops for draw/coopy pixels
Seems to work ok here.
Signature · 11 lines
Configure bugmail: http://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 27043] [bisected DRI1] drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=27043
--- Comment #8 from Fabio Pedretti <[email protected]> 2010-03-15 01:55:25 PST --- (In reply to comment #6)
Quoted 4 lines
(In reply to comment #5)
Quoted 1 line
Did you actually test
glReadPixels()with that?Err, I mean glCopyPixels and glDrawPixels.
I tested only the game, but shouldn't _mesa_meta_DrawPixels and _mesa_meta_CopyPixels be already the default BTW?
Signature · 11 lines
Configure bugmail: http://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 27043] [bisected DRI1] drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=27043
--- Comment #9 from Alex Deucher <[email protected]> 2010-03-15 08:08:46 PST --- (In reply to comment #8)
Quoted 5 lines
Quoted 1 line
Err, I mean glCopyPixels and glDrawPixels.
I tested only the game, but shouldn't
_mesa_meta_DrawPixelsand_mesa_meta_CopyPixelsbe already the default BTW?
They weren't enabled until that patch.
Signature · 11 lines
Configure bugmail: http://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 27043] [bisected DRI1] drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=27043
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #10 from Alex Deucher <[email protected]> 2010-03-24 12:45:51 PST --- pushed the patch in comment 7.
Signature · 11 lines
Configure bugmail: http://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 --