I createa linux based app which use decode/encoder, from the example,I need create libva hardware handler and there are two options. X11 or DRM. but what the difference between these options. for Haswell intel chipset, which is the best option?
BTW. what the minimum linux kernel version needed in order to support Mediasdk, We currnelty have SLES development machine and 3.0.93 kernel.. does it too old to support Mediasdk full feature?
In almost all cases you want DRM, not X11. The X11 option requires an active X session, and is not suitable for headless operation. The only reason to use X11 is for local rendering, but this is not well tested or optimized since the focus is on server use cases. In future releases (including the new R3 beta) there have been some updates to the stack so this question is no longer necessary in the installer.
For kernel levels, today requirements are quite specific. There are only a few supported configurations. More info is in the release notes and install guides.
For 4th Generation Core/HSW:
* Ubuntu Server 12.04 LTS: 3.8.0-23-generic (via apt-get)
* SUSE Linux Enterprise Server (SLES) 11, service pack 3: 3.0.76-0.11-default
It is well understood that this needs to become more flexible, with better support for more advanced kernels, building your own i915 module, etc. This is a work in progress, so please stay tuned.