VDPAU – The NVIDIA 180.06 beta driver for Linux – or how to play back AVCHD with GPU acceleration
Installing the new nvidia driver (180.06)
- Download the driver
wget http://de.download.nvidia.com/XFree86/Linux-x86_64/180.06/NVIDIA-Linux-x86_64-180.06-pkg2.run - Meet some dependencies:
apt-get install build-essential linux-headers-`uname -r`apt-get install libtheora-dev libxv-dev
- Save your current (working) xorg.conf file
cd /etc/X11
sudo cp xorg.org xorg.conf.working - Remove the nvidia driver (This is Ubuntu specific, don’t try this with other distos)
apt-get remove nvidia-glx-177 --purge - Now make sure, the modules will come back after an update run. Therefor edit the file
/etc/default/linux-restricted-modules-common, and add
DISABLED_MODULES=nv nvidia_new - Now leave your graphical Desktop (KDE/Gnome) by pressing
Ctrl+Alt+F1and killkdmor for gnomegdm.
sudo killall -9 kdm - Go to the downloaded nvidia driver and install it. Make it executable first, if you like
chmod 755 ./NVIDIA-Linux-x86_64-180.06-pkg2.run
./NVIDIA-Linux-x86_64-180.06-pkg2.run - Reboot
shutdown -r 0
Building the mplayer-vdpau
Now you have to download and compile the mplayer itself.
- Download and unpack it
wget ftp://download.nvidia.com/XFree86/vdpau/mplayer-vdpau-3076399.tar.bz2
tar xfvj mplayer-vdpau-3076399.tar.bz2 - run the make script
cd mplayer-vdpau-3076399
./checkout-patch-build.shIf you like, edit the checkout-patch-build.sh script, and add a “-j4″ to the “make” line, if you’ve got a multicore CPU, and don’t like to wait ages.
- copy the codecs.conf file into your mplayer directory (save/move away your old one, if you need it)
cp etc/codecs.conf ~/.mplayer/
I’ve personally got a error:
libx264.c:165: error: 'x264_param_t' has no member named 'b_bframe_adaptive'
I didn’t intend to use x264 for encoding with mencoder, so I’ve just turned off this encoder:
./configure --disable-x264
make -j4
Read here, how to fix this error: http://www.nvnews.net/vbulletin/showpost.php?p=1845803&postcount=43
“I’ve been waiting for this moment a very long time”
I’ve been waiting for your review of this ever since nvidia announced it
I havn’t found the list of supported GPU’s before, but just as I suspected it doesn’t look like my onboard nvidia 6400 (I think) is supported. Would be great to find out which onboard cards uses the least amount of power. At least one that can power down the GPU when it is not being used
I guess would probably would have to go for one of those 9×00 cards to get VC-1 support?
What graphics card did you use for testing? Maybe I skimmed to quickly but couldn’t find it
@Anders Rune Jensen
Hi Anders
My card is a 8500GT, it’s a quite cheap model, and is being cooled passively. It’s not onboard. In the living-room I’m facing the same situation like you, since there’s an onboard 7025, which wouldn’t work.
I just searched the local hardware dealer and indeed the Geforce 9400 cards are really cheap (~50 euro) and passively cooled, sadly its pci express. It seems like one of the biggest problems except for the stability is the tearing issue. How bad is it? Is it bad enough to make it completely unusable?
@Anders Rune Jensen
The whole thing is very very unasable. It’s realy only a feasibility test, nothing else. Tearing is one of many very evil bugs (System freezes and other)
NVIDIA just wanted to piss into Intel’s and ATI’s garden.
It’s really not worth to buy any GFX card righ now, only because of the release of 180.06. I thing we’ve got plenty of time.
Btw: how did you do this thing with your avatar picture?
I used http://www.gravatar.com/. It’s used a lot of places now. I was wondering what wordpress plugin you where using to get this?
@Anders Rune Jensen
Actually I’m using WP out of the box. Must be a built in feature then
[...] first beta driver, the 180.06 on the 14th of November. I’ve tested these new Beta driver here, and found a few bugs. I skipped the test of the driver 180.08 published 4 days later, but tested [...]
[...] the intructions here if you like to install NVIDIA’s Beta driver on a Ubuntu 8.10 (Intrepid [...]
[...] used this Nvidia vdpau driver. Version >=180.16 is the minimum version you need. Read here how to install this new Beta driver on a Unbuntu [...]
I had to do more to get the driver uninstalled, if you get an error after installation in dmesg about an API mismatch look here: http://www.nvnews.net/vbulletin/showthread.php?t=125147&page=2
@Kyle Brandt
Thanks a lot for the feedback!
[...] None of the tests listed here play properly: http://blog.mymediasystem.net/avchd/…cceleration/3/ [...]
really good, but it would have saved me some work if you put the suported list in the begining. damm nvidia¬¬
@nande
Hold it! This is very much outdated. All Nvidia cards beginning with 8xxx suppose to work now.
Please consider the posting date, and please look here at this Blog for a recent VDPAU article.
The current nvidia drivers do support VDPAU out of the box, and a recent mplayer checkout doesn’t need special treatment anymore.