Summary: | drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command streamS | ||
---|---|---|---|
Product: | Mesa | Reporter: | Jos van Wolput <wolput> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | dmesg |
Description
Jos van Wolput
2010-09-14 20:33:52 UTC
The last mesa git version that runs glxgears and demos is mesa-83f5f50f2f69adae497c71ac48e4e0177979ebff (Brian Paul) The nexts versions: mesa-7993832c12bba578010005b344dcd3817be84a42 mesa-b106e6261a088c6ab97f774508940c2aa935204e mesa-79ab394cd2ca3f88ad854503b95e886a6c5d47d5 mesa-b0bc026c12042405357ae65585812ca11786837f could not be compiled because of a compilation error: --- indirect_vertex_array.o indirect_vertex_array.c:1037:1: error: conflicting types for ‘__indirect_glMultiDrawArraysEXT’ indirect.h:603:20: note: previous declaration of ‘__indirect_glMultiDrawArraysEXT’ was here make[2]: *** [indirect_vertex_array.o] Error 1 make[2]: Leaving directory `/home/jos/src/xorg/mesa-7993832c12bba578010005b344dcd3817be84a42/src/glx' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/home/jos/src/xorg/mesa-7993832c12bba578010005b344dcd3817be84a42/src' make: *** [default] Error 1 --- mesa-4cd751bcc48798f19b089f6cff58bfca2f18fe36 (Brian Paul) seems to be the first which doesn't run glxgears. The most likely culprit seems commit b0bc026c12042405357ae65585812ca11786837f ('r600c: fix setting negative values to bitfields'). Does reverting that fix the problem? As indicated by the error message, please attach the dmesg output as well. I can confirm this problem for r600c. r600g appeared not to be affected. mesa 84f7b5d974ba7601a7a43bbe307cc3dc95f221fa (Andre Maasikas) appears to have fixed it at my place. In dmesg, I found these: radeon 0000:01:05.0: z/stencil buffer too small (0x3FFFFC27 1048576 1 4 -> 268435456 have 389120) radeon 0000:01:05.0: r600_packet3_check:1108 invalid cmd stream 518 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! radeon 0000:01:05.0: z/stencil buffer too small (0x3FFFFC7F 1048576 1 4 -> 268435456 have 3145728) radeon 0000:01:05.0: r600_packet3_check:1108 invalid cmd stream 518 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream ! Created attachment 38717 [details]
dmesg
Resolving per comment #3 (could have done this yourself Nicolas :). (In reply to comment #2) > The most likely culprit seems commit b0bc026c12042405357ae65585812ca11786837f > ('r600c: fix setting negative values to bitfields'). Does reverting that fix > the problem? > > As indicated by the error message, please attach the dmesg output as well. I tried reverting and it fixes the problem! Jos, did you get the same errors in dmesg as in comment 3, your uploaded part doesn't show these. You could also try mesa git after commit 84f7b5d974ba7601a7a43bbe307cc3dc95f221fa (if all is well now i'll need to push this to 7.9 branch also) (In reply to comment #7) Andre, I tested your mesa-84f7b5d974ba7601a7a43bbe307cc3dc95f221fa on my system. Your commit fixes the problem. Thanks! In my dmesg I didn't see the errors mentioned in comment 3! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.