| Summary: | [bisected DRI1] drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info. | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | Fabio Pedretti <pedretti.fabio> |
| Component: | Drivers/DRI/r300 | Assignee: | Default DRI bug account <dri-devel> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | medium | CC: | m.cencora |
| Version: | git | ||
| Hardware: | x86 (IA32) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: | enable meta ops for draw/coopy pixels | ||
|
Description
Fabio Pedretti
2010-03-12 03:15:08 UTC
This is what dmesg shows: [drm:r300_do_cp_cmdbuf] *ERROR* bad cmd_type 148 at e666f878 should be fixed in d1ca1599f0319f5c99852ce24420aa592e806db0 (In reply to comment #2) > 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; } (In reply to comment #3) > (In reply to comment #2) > > 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; > } > Should be fine. Care to create a patch? (In reply to comment #3) > 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? (In reply to comment #5) > Did you actually test glReadPixels() with that? Err, I mean glCopyPixels and glDrawPixels. Created attachment 34007 [details] [review] enable meta ops for draw/coopy pixels Seems to work ok here. (In reply to comment #6) > (In reply to comment #5) > > 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? (In reply to comment #8) > > 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? > They weren't enabled until that patch. pushed the patch in comment 7. |
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.