lkml.org 
[lkml]   [2006]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Intel 965G: i915_dispatch_cmdbuffer failed (2.6.19-rc2)
From
Date
On Fri, 2006-10-13 at 15:45 -0400, Ryan Richter wrote:
> I have a new Intel 965G board, and I'm trying to get DRI working.
> Direct rendering is enabled, but all GL programs crash immediately.
> The message 'DRM_I830_CMDBUFFER: -22' is printed on the tty, and the
> kernel says:
>
> [drm:i915_cmdbuffer] *ERROR* i915_dispatch_cmdbuffer failed

The 915 DRM validates commands sent to the card from the application to
ensure they aren't directing the card to access memory outside of the
graphics area. At present the module validates only 915/945 commands
correctly and the 965 uses slightly different commands. I haven't walked
over the entire GL library, but it seems possible that this error is
being caused by the mis-validation of the command stream. We need to
update the DRM driver to reflect the new commands, but in the meanwhile,
you might try disabling the validation in the kernel (which will expose
your system to a local root compromise) and seeing if that doesn't
eliminate this message.

--
keith.packard@intel.com
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-10-14 20:19    [W:0.095 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site