个人主页https://xugaoxiang.com,微信公众号: Dev_Club 或者搜索 程序员Club
全部博文(229)
分类: LINUX
2009-12-25 11:36:35
1、Nvidia driver
sudo ./NVIDIA-Linux-x86-190.53-pkg1.run
2、Libva
tar xvf libva_0.31.0-1+sds9.tar.gz
cd libva-0.31.0
for i in debian/patches/*.patch;
do patch -p1 < $i;
done
autoreconf
./configure
make
sudo make install
3、Vdpau-video
tar xvf vdpau-video-0.6.2.tar.gz
cd vdpau-video
./configure
make
sudo make install
4、Check if everything works
djstava@linux:~/vlc-1.0.0$ vainfo
libva: libva version 0.31.0-sds4
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/local/lib/va/drivers/nvidia_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA API - 0.6.2
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main: VAEntrypointVLD
VAProfileH264Main: VAEntrypointVLD
VAProfileH264High: VAEntrypointVLD
VAProfileVC1Simple: VAEntrypointVLD
VAProfileVC1Main: VAEntrypointVLD
VAProfileVC1Advanced: VAEntrypointVLD
5、FFMPEG Latest
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
7、VLC Latest GIT
git clone git://git.videolan.org/vlc.git
sudo apt-get install libxcb-shm0-dev
sudo apt-get install libxcb-xv0-dev
sudo apt-get install libx11-xcb-dev
./bootstrap