All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 27507] New: OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream
@ 2010-04-07  8:19 bugzilla-daemon
  2010-04-07 12:29 ` [Bug 27507] " bugzilla-daemon
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-04-07  8:19 UTC (permalink / raw)
  To: dri-devel

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: dri-devel@lists.sourceforge.net
        ReportedBy: fabio.ped@libero.it


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

-- 
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
--

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 27507] OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream
  2010-04-07  8:19 [Bug 27507] New: OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream bugzilla-daemon
@ 2010-04-07 12:29 ` bugzilla-daemon
  2010-04-08  7:10 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-04-07 12:29 UTC (permalink / raw)
  To: dri-devel

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

Fabio Pedretti <fabio.ped@libero.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://bugs.launchpad.net/
                   |                            |linux/+bug/557266

-- 
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&#174; 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
--

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 27507] OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream
  2010-04-07  8:19 [Bug 27507] New: OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream bugzilla-daemon
  2010-04-07 12:29 ` [Bug 27507] " bugzilla-daemon
@ 2010-04-08  7:10 ` bugzilla-daemon
  2010-04-08  8:26 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-04-08  7:10 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Pauli <suokkos@gmail.com> 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

-- 
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&#174; 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
--

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 27507] OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream
  2010-04-07  8:19 [Bug 27507] New: OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream bugzilla-daemon
  2010-04-07 12:29 ` [Bug 27507] " bugzilla-daemon
  2010-04-08  7:10 ` bugzilla-daemon
@ 2010-04-08  8:26 ` bugzilla-daemon
  2010-04-08  8:44 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-04-08  8:26 UTC (permalink / raw)
  To: dri-devel

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adres7@gmail.com

--- Comment #2 from Michel Dänzer <michel@daenzer.net> 2010-04-08 01:26:10 PDT ---
*** Bug 27446 has been marked as a duplicate of this bug. ***

-- 
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&#174; 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
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 27507] OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream
  2010-04-07  8:19 [Bug 27507] New: OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-04-08  8:26 ` bugzilla-daemon
@ 2010-04-08  8:44 ` bugzilla-daemon
  2010-04-20 15:49 ` [Bug 27507] [KMS] 0ad crashes with drmRadeonCmdBuffer: -22 -> Buffer too small for color buffer 0 bugzilla-daemon
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-04-08  8:44 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Fabio Pedretti <fabio.ped@libero.it> 2010-04-08 01:44:33 PDT ---
> 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

-- 
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&#174; 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
--

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 27507] [KMS] 0ad crashes with drmRadeonCmdBuffer: -22 -> Buffer too small for color buffer 0
  2010-04-07  8:19 [Bug 27507] New: OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-04-08  8:44 ` bugzilla-daemon
@ 2010-04-20 15:49 ` bugzilla-daemon
  2010-09-12  4:38 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-04-20 15:49 UTC (permalink / raw)
  To: dri-devel

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

Fabio Pedretti <fabio.ped@libero.it> 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 <fabio.ped@libero.it> 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

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 27507] [KMS] 0ad crashes with drmRadeonCmdBuffer: -22 -> Buffer too small for color buffer 0
  2010-04-07  8:19 [Bug 27507] New: OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-04-20 15:49 ` [Bug 27507] [KMS] 0ad crashes with drmRadeonCmdBuffer: -22 -> Buffer too small for color buffer 0 bugzilla-daemon
@ 2010-09-12  4:38 ` bugzilla-daemon
  2010-09-13 10:04 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-09-12  4:38 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Marek Olšák <maraeo@gmail.com> 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.

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 27507] [KMS] 0ad crashes with drmRadeonCmdBuffer: -22 -> Buffer too small for color buffer 0
  2010-04-07  8:19 [Bug 27507] New: OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream bugzilla-daemon
                   ` (5 preceding siblings ...)
  2010-09-12  4:38 ` bugzilla-daemon
@ 2010-09-13 10:04 ` bugzilla-daemon
  2010-09-14 18:31 ` [Bug 27507] [r300c] " bugzilla-daemon
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-09-13 10:04 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Fabio Pedretti <fabio.ped@libero.it> 2010-09-13 03:04:26 PDT ---
(In reply to comment #5)
> 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)

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 27507] [r300c] 0ad crashes with drmRadeonCmdBuffer: -22 -> Buffer too small for color buffer 0
  2010-04-07  8:19 [Bug 27507] New: OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream bugzilla-daemon
                   ` (6 preceding siblings ...)
  2010-09-13 10:04 ` bugzilla-daemon
@ 2010-09-14 18:31 ` bugzilla-daemon
  2010-09-15  7:48 ` [Bug 27507] [r300c] 0ad stuck while loading a game bugzilla-daemon
  2010-10-04 11:28 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-09-14 18:31 UTC (permalink / raw)
  To: dri-devel

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

Marek Olšák <maraeo@gmail.com> 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/r300

-- 
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
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 27507] [r300c] 0ad stuck while loading a game
  2010-04-07  8:19 [Bug 27507] New: OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream bugzilla-daemon
                   ` (7 preceding siblings ...)
  2010-09-14 18:31 ` [Bug 27507] [r300c] " bugzilla-daemon
@ 2010-09-15  7:48 ` bugzilla-daemon
  2010-10-04 11:28 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-09-15  7:48 UTC (permalink / raw)
  To: dri-devel

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

Fabio Pedretti <fabio.ped@libero.it> 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                    |

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 27507] [r300c] 0ad stuck while loading a game
  2010-04-07  8:19 [Bug 27507] New: OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream bugzilla-daemon
                   ` (8 preceding siblings ...)
  2010-09-15  7:48 ` [Bug 27507] [r300c] 0ad stuck while loading a game bugzilla-daemon
@ 2010-10-04 11:28 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-10-04 11:28 UTC (permalink / raw)
  To: dri-devel

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

Fabio Pedretti <fabio.ped@libero.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Fabio Pedretti <fabio.ped@libero.it> 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.

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-10-04 11:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-07  8:19 [Bug 27507] New: OpenGL applications crash with drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream bugzilla-daemon
2010-04-07 12:29 ` [Bug 27507] " bugzilla-daemon
2010-04-08  7:10 ` bugzilla-daemon
2010-04-08  8:26 ` bugzilla-daemon
2010-04-08  8:44 ` bugzilla-daemon
2010-04-20 15:49 ` [Bug 27507] [KMS] 0ad crashes with drmRadeonCmdBuffer: -22 -> Buffer too small for color buffer 0 bugzilla-daemon
2010-09-12  4:38 ` bugzilla-daemon
2010-09-13 10:04 ` bugzilla-daemon
2010-09-14 18:31 ` [Bug 27507] [r300c] " bugzilla-daemon
2010-09-15  7:48 ` [Bug 27507] [r300c] 0ad stuck while loading a game bugzilla-daemon
2010-10-04 11:28 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.