[Libva] xorg configuration file for libva
Xiang, Haihao
haihao.xiang at intel.com
Thu Jun 16 19:50:07 PDT 2011
> Hi,
>
>
> I pulled the libva into sandybridge with the xorg.conf as follows.
>
>
>
> ----------------start of file-------------
>
>
> Section "Device"
> Identifier "Intel Graphics Driver"
> Driver "intel"
> EndSection
>
>
> Section "Monitor"
> Identifier "Generic Monitor"
> Option "DPMS"
> EndSection
>
>
> Section "Screen"
> Identifier "Default Screen"
> Device "Intel Graphics Driver"
> Monitor "Generic Monitor"
> DefaultDepth 24
> EndSection
>
>
> Section "ServerLayout"
> Identifier "Default Layout"
> Screen "Default Screen"
> EndSection
>
>
> Section "ServerFlags"
> Option "DontZap" "0"
> EndSection
>
>
> --------------------------end of file--------------
>
>
> I tried "vainfo" commnad for libva
>
>
> vainfo output:
> Xlib: extension "XFree86-DRI" missing on display ":0.0".
>
>
>
>
>
>
>
>
>
>
> I modified the xorg.conf as follows. we are using the intel video
> driver.
>
>
> ----------------------------start if file--------------------------
>
>
> Section "Device"
> Identifier "Intel Graphics Adapter"
> Driver "intel"
> EndSection
>
>
> Section "Monitor"
> Identifier "Generic Monitor"
> Option "DPMS"
> EndSection
>
>
> Section "Screen"
> Identifier "Default Screen"
> Device "Intel Graphics Adapter"
> Monitor "Generic Monitor"
> DefaultDepth 24
> SubSection "Display"
> Virtual 1920 1080
> EndSubSection
> EndSection
>
>
> Section "Module"
> Load "dri"
> EndSection
>
>
> Section "DRI"
> Mode 0666
> EndSection
>
>
> Section "ServerLayout"
> Identifier "Default Layout"
> Screen "Default Screen"
> EndSection
>
>
> Section "ServerFlags"
> Option "DontZap" "0"
> Option "AutoAddDevices" "False"
> EndSection
> --------------------------------End of
> file----------------------------------
>
>
> Now vainfo is working.
>
>
> vainfo output:
>
>
> libva: libva version 0.32.0
> libva: va_getDriverName() returns 0
> libva: Trying to open /usr/lib/dri/i965_drv_video.so
> libva: va_openDriver() returns 0
> vainfo: VA API version: 0.32
> vainfo: Driver version: i965 Driver 0.1
> vainfo: Supported profile and entrypoints
> VAProfileMPEG2Simple : VAEntrypointVLD
> VAProfileMPEG2Main : VAEntrypointVLD
> VAProfileH264Baseline : VAEntrypointVLD
> VAProfileH264Baseline : VAEntrypointEncSlice
> VAProfileH264Main : VAEntrypointVLD
> VAProfileH264Main : VAEntrypointEncSlice
> VAProfileH264High : VAEntrypointVLD
> VAProfileH264High : VAEntrypointEncSlice
> VAProfileVC1Simple : VAEntrypointVLD
> VAProfileVC1Main : VAEntrypointVLD
> VAProfileVC1Advanced : VAEntrypointVLD
>
>
>
>
> The Graphics card Chipset is "agpgart-intel 0000:00:00.0: Intel
> Sandybridge Chipset"
> VGA compatible controller: Intel Corporation Sandy Bridge Integrated
> Graphics Controller (rev 09
>
>
> Some test cases are there in libva, I tried all those. I didn't face
> any problem.
> But I want to enhance the Picture performance.
> Is this xorg.conf is right or Whether i need to make some some
> changes??
> Any help will be apreciated.
Your original xorg.conf works for me. It seems DRI2 isn't supported on
your system, so libva tries with DRI.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> Thanks & Regards,
> SAI
>
>
More information about the Libva
mailing list