On Wed, Apr 17, 2013 at 02:34:30PM +0800, 熊 wrote: > Hi All, > > I am working for video accelerating for intel card (945GM), but the > driver can not run well. Please help me . > > 1. vainfo > libva info: VA-API version 0.33.0 > libva info: va_getDriverName() returns 0 > libva info: Trying to open /usr/lib/dri/i915_drv_video.so > libva info: va_openDriver() returns -1 > vaInitialize failed with error code -1 (unknown libva > error),exit > > of course I know the reseon of this error, because there is no > i915_drv_video.so in the path. but there is i965_drv_video.so in the path. > I have read the code of libva, i know it get the driver name by > getting the dri driver name, which is in the following. > 2. xorg.0.log > [ 44.095] (==) Depth 24 pixmap format is 32 bpp > [ 44.096] (II) intel(0): [DRI2] Setup complete > [ 44.096] (II) intel(0): [DRI2] DRI driver: i915 > [ 44.096] (II) intel(0): Allocated new frame buffer > 1408x768 stride 8192, tiled > So, I hope X-server can load i965 as DRI driver, and > i965_dri.so is in the /usr/lib/dri.
Well you can tell X to select the i965_dri.so using Option "DRI" "i965" but it is not going to do anything as it does not support your hardware. -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx