[Libva] invoking intel vaapi without video out on motherboard

ykzhao yakui.zhao at intel.com
Wed May 8 22:41:33 PDT 2013


On Wed, 2013-05-08 at 16:27 -0600, Matt Pekar wrote:
> Is it possible to take an intel CPU, motheboard w/out video output,
> and use VAAPI through it?
> 
> 
> I'm trying to use a custom xorg.conf along these lines:
> 
> 
> Section "Device"
>         Identifier "intel0"
>         Driver "intel"
> EndSection
> 
> 
> Section "Screen"
>         Identifier "screen0"
>         Device "intel0"
> 
> EndSection
> 
> 
> But I'm unable to start X with this:
> 
> 
> [  5507.348] (II) intel: Driver for Intel Integrated Graphics
> Chipsets: i810,
> i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
> E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
> 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
> 4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
> Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
> Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
> Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
> Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
> Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
> Ivybridge Server (GT2)
> [  5507.348] (--) using VT number 7
> 
> 
> [  5507.353] (EE) No devices detected.
> [  5507.353] 
> Fatal server error:
> [  5507.353] no screens found
> [  5507.354] 
> 
> 
> Does X check that there is a physical video out on the motherboard for
> it to load a device?  Has anyone been able to use X and VAAPI in this
> sort of headless mode?  Would a better approach be to ditch X entirely
> and use VAAPI through DRM?

The current libva/intel-vaapi driver can be used even when the X is not
started.

For example: vainfo/avcenc can work without X.

You can see the corresponding test case of libva about how to use vaapi
under DRM mode.

thanks.




> 
> 
> 




More information about the Libva mailing list