<DIV> </DIV>
<DIV>>On Wed, Apr 17, 2013 at 02:34:30PM +0800, Πά wrote:<BR>>> Hi All,<BR>>> <BR>>> I am working for video accelerating for intel card (945GM), but the<BR>> > driver can not run well. Please help me .<BR>> > <BR>> > 1. vainfo<BR>>> libva info: VA-API version 0.33.0<BR>>> libva info: va_getDriverName() returns 0<BR>>> libva info: Trying to open /usr/lib/dri/i915_drv_video.so<BR>>> libva info: va_openDriver() returns -1<BR>>> vaInitialize failed with error code -1 (unknown libva<BR>> > error),exit<BR>>> <BR>>> of course I know the reseon of this error, because there is no<BR>>> i915_drv_video.so in the path. but there is i965_drv_video.so in the path.<BR>>> I have read the code of libva, i know it get the driver name by<BR>> > getting the dri driver name, which is in the following.<BR>>> 2. xorg.0.log<BR>>> [ 44.095] (==) Depth 24 pixmap format is 32 bpp<BR>>> [ 44.096] (II) intel(0): [DRI2] Setup complete<BR>>> [ 44.096] (II) intel(0): [DRI2] DRI driver: i915<BR>>> [ 44.096] (II) intel(0): Allocated new frame buffer<BR>>> 1408x768 stride 8192, tiled<BR>>> So, I hope X-server can load i965 as DRI driver, and<BR>>> i965_dri.so is in the /usr/lib/dri.<BR><BR>> Well you can tell X to select the i965_dri.so using Option "DRI" "i965"<BR>> but it is not going to do anything as it does not support your hardware.<BR>> -Chris<BR>><BR>> -- <BR>> Chris Wilson, Intel Open Source Technology Centre</DIV>
<DIV> </DIV>
<DIV>Yah, you mean the DRI driver i965 does not support my device 945GM ? </DIV>
<DIV>but according to <A href="https://01.org/linuxgraphics/downloads/2012/2012q4-intel-graphics-stack-release">https://01.org/linuxgraphics/downloads/2012/2012q4-intel-graphics-stack-release</A>, it should support my device.</DIV>
<DIV>Now, I found the config file for DRI maybe in ~/.drirc , I will try to find way from this.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR> </DIV>
<DIV></DIV>