<div class="gmail_quote">On Thu, May 10, 2012 at 11:37 PM, 袁竞杰 <span dir="ltr"><<a href="mailto:yuanjingjie@ict.ac.cn" target="_blank">yuanjingjie@ict.ac.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<u></u>





<div style="MARGIN:10px">
<div style="FONT-WEIGHT:bold">System environment:</div>
<div> </div>
<div>xf86-video-intel:2.17.0</div>
<div>intel-driver(for vaapi):1.0.15</div>
<div>libva:1.0.15</div>
<div>libdrm:2.4.32</div>
<div>xserver:11.0</div>
<div>Mesa:8.0.2</div>
<div>kernel version:3.3.4</div>
<div>system: ubuntu 12.04</div>
<div>VGA:intel Ivy Bridge Graphics Controller</div>
<div> </div>
<div style="FONT-WEIGHT:bold">Bug description:</div>
<div> </div>
<div>
<div><span><span>I try 
to use VAAPI,an error comes out ""Xfree86-DRI "missing on display 
":0".libva:va_getDriverName() returns -1"when using ivybridge 
CPU(xeon E3-1285,3.6GHz ) ,but sandybridge CPU works 
well.</span></span></div>
<div><span><span>I check 
the Xorg.0.log,find "failed to load module "intel_drv.so 
".</span></span></div>
<div><span><span>dmesg: 
[    3.156733] [drm:i915_init] *ERROR* drm/i915 can't work without intel_agp module! 
</span></span></div>
<div><span><span>I 
printk my device in 3.3.4 kernel Intel_agp source code,my device is 
PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_HB 158</span></span><span><span>,</span></span></div>
<div><span><span>It 
appears in <span style="FONT-WEIGHT:bold">intel_agp.h </span>
<div>#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_HB              0x0158  /* Server */</div>
<div>but in <span style="FONT-WEIGHT:bold">intel-gtt.c </span></div>
<div>intel_gtt_chipsets[]=</div>
<div>{</div>
<div style="TEXT-INDENT:6em">......</div>
<div>        { PCI_DEVICE_ID_INTEL_IVYBRIDGE_GT1_IG,</div>
<div>            "Ivybridge", &sandybridge_gtt_driver },</div>
<div>        { PCI_DEVICE_ID_INTEL_IVYBRIDGE_GT2_IG,</div>
<div>            "Ivybridge", &sandybridge_gtt_driver },</div>
<div>        { PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_GT1_IG,</div>
<div>            "Ivybridge", &sandybridge_gtt_driver },</div>
<div>        { PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_GT2_IG,</div>
<div>            "Ivybridge", &sandybridge_gtt_driver },</div>
<div>        { PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT1_IG,</div>
<div>            "Ivybridge", &sandybridge_gtt_driver },</div>
<div style="TEXT-INDENT:6em">......</div>
<div>}</div>
<div>There isn't a PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_HB .</div></span></span></div></div></div></blockquote><div><br></div><div>It is in included in intel_agp.c.</div><div><br></div><div>But I suspect that the problem is that you are missing the IVB GT2 Server variant support, which we added this April.</div>

<div><br></div><div>Could you post your "lspci -n | grep 00:02" output please?</div><div><br></div></div>-- <br>Eugeni Dodonov<a href="http://eugeni.dodonov.net/" target="_blank"><br></a><br>