<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div id="yui_3_16_0_1_1414639214209_4304">Thanks, I didn't realize until doing some more research today that my GM965 is actually part of the X3100 chipset (I had assumed it was using the X4500HD like my other C2D systems). Anyways, the failure does make sense; I appreciate the support.<br></div><div id="yui_3_16_0_1_1414639214209_4305"><br></div><div id="yui_3_16_0_1_1414639214209_4306" dir="ltr">Thanks,</div><div id="yui_3_16_0_1_1414639214209_4307" dir="ltr">Nick<br></div><div id="yui_3_16_0_1_1414639214209_2969"><span></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Wednesday, October 29, 2014 6:28 PM, "Zhao, Yakui" <yakui.zhao@intel.com> wrote:<br> </font> </div> <br><br> <div class="y_msg_container">On Wed, 2014-10-29 at 19:09 -0600, Nicholas Andrade wrote:<br clear="none">> Hi Yakui,<br clear="none">> <br clear="none">> <br clear="none">> Thanks for the info & the patch. The patch worked in that it got rid<br clear="none">> of the segfault and returned the previous error:<br clear="none">> <<<<<<br clear="none">> libva info: VA-API version 0.36.0<br clear="none">> libva info: va_getDriverName() returns 0<br clear="none">> libva info: Trying to<br clear="none">> open /home/neandrad/libva-intel-driver-1.4.1/src/.libs/i965_drv_video.so<br clear="none">> libva info: Found init function __vaDriverInit_0_36<br clear="none">> libva<br clear="none">> error: /home/neandrad/libva-intel-driver-1.4.1/src/.libs/i965_drv_video.so init failed<br clear="none">> libva info: va_openDriver() returns -1<br clear="none">> vaInitialize failed with error code -1 (unknown libva error),exit<br clear="none">> <br clear="none"><br clear="none">Thanks for the testing.<br clear="none"><br clear="none">As intel-vaapi doesn't support GM965, IMO it makes sense that the above<br clear="none">error is returned on GM965/GL960.<br clear="none"><br clear="none">> >>>>><br clear="none">> I did experience bug 79478 when complining, however I applied the<br clear="none">> workaround in common 6 to get past it.<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> Just so I'm clear, does the GM965 have any va-api/libva support? If<br clear="none">> so, which driver supports the GM965? Did any previous version of<br clear="none">> libva support it? I don't mind using an unstable or deprecated branch<br clear="none">> for my use case.<br clear="none"><br clear="none">AFAIK, GM965 has no support of libva/intel-vaapi. (The previous version<br clear="none">doesn't support it).<br clear="none"><br clear="none">If the HW accelerated decoding/encoding is expected, you can use the<br clear="none">system on the Sandybridge or later. (The Ivy bridge is OK).<br clear="none"><br clear="none">Thanks.<div class="yqt2153625308" id="yqtfd07664"><br clear="none"> Yakui<br clear="none">> <br clear="none">> <br clear="none">> Also, on a side note, I have an Ivy Bridge system where libva works<br clear="none">> very well.<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> Thanks,<br clear="none">> Nick<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> On Wednesday, October 29, 2014 5:35 PM, "Zhao, Yakui"<br clear="none">> <<a shape="rect" ymailto="mailto:yakui.zhao@intel.com" href="mailto:yakui.zhao@intel.com">yakui.zhao@intel.com</a>> wrote:<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> On Wed, 2014-10-29 at 02:47 -0600, Nicholas Andrade wrote:<br clear="none">> > Hi all,<br clear="none">> > <br clear="none">> > <br clear="none">> > I am running into segmentation fault with vainfo from libva-1.4.1 on<br clear="none">> > an Intel GM965/GL960 integrated graphics card using the<br clear="none">> > libva-intel-driver-1.4.1 . <br clear="none">> > <br clear="none">> > <br clear="none">> Hi, <br clear="none">> <br clear="none">> Will you please try the patch in <br clear="none">> <a shape="rect" href="http://lists.freedesktop.org/archives/libva/2014-October/002801.html" target="_blank">http://lists.freedesktop.org/archives/libva/2014-October/002801.html</a><br clear="none">> and see whether it is helpful on your platform?<br clear="none">> <br clear="none">> Thanks.<br clear="none">> Yakui <br clear="none">> <br clear="none">> <br clear="none">> > <br clear="none">> > Running vainfo, I see the following:<br clear="none">> > <<<<<<br clear="none">> > libva info: VA-API version 0.36.0<br clear="none">> > libva info: va_getDriverName() returns 0<br clear="none">> > libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so<br clear="none">> > libva info: Found init function __vaDriverInit_0_36<br clear="none">> > Segmentation fault<br clear="none">> > <br clear="none">> > >>>>><br clear="none">> > With the following in my syslog:<br clear="none">> > <<<<<<br clear="none">> > vainfo[30098]: segfault at 28 ip 00007f1cca7b2b57 sp<br clear="none">> 00007fff8a64f750<br clear="none">> > error 4 in i965_drv_video.so[7f1cca771000+16c000]<br clear="none">> > <br clear="none">> > >>>>><br clear="none">> > <br clear="none">> > <br clear="none">> > Downgrading both libva & libva-intel-driver to 1.4.0, I no longer<br clear="none">> see<br clear="none">> > the segfault however vainfo still fails:<br clear="none">> > <<<<<<br clear="none">> > libva info: VA-API version 0.36.0<br clear="none">> > libva info: va_getDriverName() returns 0<br clear="none">> > libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so<br clear="none">> > libva info: Found init function __vaDriverInit_0_36<br clear="none">> > libva error: /usr/lib64/va/drivers/i965_drv_video.so init failed<br clear="none">> > libva info: va_openDriver() returns -1<br clear="none">> > vaInitialize failed with error code -1 (unknown libva error),exit<br clear="none">> > <br clear="none">> > >>>>><br clear="none">> > <br clear="none">> > <br clear="none">> > Using libva-1.3.1 & libva-intel-driver-1.3.2 had the same result as<br clear="none">> > 1.4.0 (i.e. no segfault, same error).<br clear="none">> > <br clear="none">> > <br clear="none">> > <br clear="none">> > If it helps, here's some additional details about the hardware:<br clear="none">> > <<<<<<br clear="none">> > $ /usr/sbin/lspci -xvvv -s 00:02.0<br clear="none">> > 00:02.0 VGA compatible controller: Intel Corporation Mobile<br clear="none">> > GM965/GL960 Integrated Graphics Controller (primary) (rev 03)<br clear="none">> (prog-if<br clear="none">> > 00 [VGA controller])<br clear="none">> > Subsystem: Dell Device 0279<br clear="none">> > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-<br clear="none">> > ParErr- Stepping- SERR- FastB2B- DisINTx+<br clear="none">> > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-<br clear="none">> > <TAbort- <MAbort- >SERR- <PERR- INTx-<br clear="none">> > Latency: 0<br clear="none">> > Interrupt: pin A routed to IRQ 47<br clear="none">> > Region 0: Memory at fe600000 (64-bit, non-prefetchable) [size=1M]<br clear="none">> > Region 2: Memory at d0000000 (64-bit, prefetchable) [size=256M]<br clear="none">> > Region 4: I/O ports at c400 [size=8]<br clear="none">> > Expansion ROM at <unassigned> [disabled]<br clear="none">> > Capabilities: <access denied><br clear="none">> > Kernel driver in use: i915<br clear="none">> > Kernel modules: i915<br clear="none">> > 00: 86 80 02 2a 07 04 90 00 03 00 00 03 00 00 80 00<br clear="none">> > 10: 04 00 60 fe 00 00 00 00 0c 00 00 d0 00 00 00 00<br clear="none">> > 20: 01 c4 00 00 00 00 00 00 00 00 00 00 28 10 79 02<br clear="none">> > 30: 00 00 00 00 90 00 00 00 00 00 00 00 0f 01 00 00<br clear="none">> > <br clear="none">> > >>>>><br clear="none">> > <br clear="none">> > <br clear="none">> > <br clear="none">> > I'm not sure which other package versions are relevant; but in case<br clear="none">> it<br clear="none">> > matters, this is on a Gentoo Linux (~amd64) system using:<br clear="none">> > kernel 3.17.1<br clear="none">> > gcc 4.7.3<br clear="none">> > glibc 2.19<br clear="none">> > <br clear="none">> > libdrm 2.4.58 <br clear="none">> > xorg-server 1.16.1<br clear="none">> > xf86-video-intel 2.99.916<br clear="none">> > <br clear="none">> > mesa 10.3.1<br clear="none">> > <br clear="none">> > <br clear="none">> > <br clear="none">> > Any help/suggestions would be appreciated on this.<br clear="none">> > <br clear="none">> > <br clear="none">> > Thanks,<br clear="none">> > Nick<br clear="none">> > <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none"><br clear="none"><br clear="none"></div><br><br></div> </div> </div> </div> </div></body></html>