[UPDATE] Read here about the latest development of NVIDIA’s vdpau video output driver: Tag: vdpau
I’ve been waiting for this moment a very long time, and honestly speaking, I didn’t really believe I would play AVCHD content form my Canon HF100 with hardware acceleration on Linux in the next future.
But today I did. Yes!
This is going to be a little HOWTO about installing NVIDIA’s new Beta driver 180.06 on a Ubuntu 8.10 (Intrepid Ibex).
Please consider this is all real Beta stuff, and it’s really not suitable for usage in a productive environment. I had more glitches, than successfull playback attempts, and the developers of NVIDIA don’t claim it’s a bullet prove application, like you can read it in this document:
1. Playing some video streams may cause GPU errors and/or hang or
crash the system.
2. The skip forward/backward features are not robust yet and
can cause application or system hangs/crashes.
3. MPlayer OSD or Composite Picture is currently not supported.
4. Problems have been observed when building MPlayer with these
patches using gcc-4.3.2
Anyway – if you see it as a feasibility test, you won’t be disappointed
First of all we need to meet a few preparations. If you’re using TwinView and KWin with visual effect it’ll likely won’t work. Well – it didn’t work for me, unless I turned all this stuff off. That’s why my recommendation is to turn of visual effects, aka compositing in the
xorg.confand also things like
Xinerama, Two “
seperate X screen“. Deactivate compiz, and use KWin(KDE/4) and Metacity(Gnome) without any visual effects.
If you don’t turn it off, you’ll probably will see a green window and will have a crash of the player. The error will like look like one of these ones:
Error at libvo/vo_vdpau.c:637
Error at libvo/vo_vdpau.c:826
or something similar.
My scope is on KDE, and I don’t know right now where to turn off compiz and use Metacity in Gnome. KDE users, who are using compiz, because they don’t like KWin’s visual effects (slow, and boring ), can switch back to KWin by opening
System -> System Settings -> Advanced -> Session Manager -> Window Manager
and Select there:
KWin (KDE default)
The second step is to replace the installed nvidia-glx driver with the new one. Then we’re going to download all needed parts. After that we compile mplayer and start it.