[Libva] xorg configuration file for libva
v sailaja
vsailub4u at gmail.com
Thu Jun 16 04:12:37 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.[?]
--
Thanks & Regards,
SAI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libva/attachments/20110616/f43ded3f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 96 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libva/attachments/20110616/f43ded3f/attachment.gif>
More information about the Libva
mailing list