Skip to contentSkip to conversation

How can I set the X to select the DRI driveri965

ASK 熊 2 participants 2 messages Apr 17, 2013 – Apr 18, 2013

lore
Share & tools
lore

熊

author
#0 lore raw
Quoted 27 lines · On Wed, Apr 17, 2013 at 02:34:30PM +0800, 熊 wrote:
Quoted 17 lines

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.

Quoted 8 lines
          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.

Quoted 6 lines

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

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre

Yah, you mean the DRI driver i965 does not support my device 945GM ?
but according to https://01.org/linuxgraphics/downloads/2012/2012q4-intel-graphics-stack-release, it should support my device. Now, I found the config file for DRI maybe in ~/.drirc , I will try to find way from this.

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#1 lore raw
Quoted 4 lines · On Wed, Apr 17, 2013 at 12:43 AM, 熊 <[email protected]> wrote:

Yah, you mean the DRI driver i965 does not support my device 945GM ? but according to
https://01.org/linuxgraphics/downloads/2012/2012q4-intel-graphics-stack-release,
it should support my device.

No, that means that they also test the i915 driver (which supports your i945).
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx