After many many hours of try-out and compilation i've found the problem core.
Actually i've only found the solution to my problem (sluggish playback on dual core atom and nvidia / broadcom crystal hd) not the problem itself, though this one can be iterated by some devs of the _tHANG_ xbmc itself
Anyway so now i have a buttery smooth xbmc playing either by vdpau or crystal hd (vdpau seems faster, though it only matters when fast forwarding, the playback itself is perfect with both)
to the point. being an old dog programmer myself (though specialized in automation control) i've hit the nail sort of speak with my installation.
so, let's put it all together in a nice how-to that worked for me:
starting up with any karmic flavor (i chose netbook remix for my htpc), first of all we update the system, then open up a terminal.
Code:
sudo apt-get install linux-source linux-headers-`uname -r` build-essential tofrodos autoconf git-core
git clone git://git.wilsonet.com/crystalhd.git
cd ~/crystalhd/driver/linux
dos2unix *
autoconf
./configure
make
sudo make install
sudo modprobe crystalhd
cd ~/crystalhd/linux_lib/libcrystalhd
make
sudo make install
now let's focus on vdpau libs and drivers...
adding a ppa in karmic it's easy as pie.
first we add the xbmc src ppa in /etc/apt/sources.list
Code:
deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu karmic main
we're going to install the driver and libs and get the dependencies for the xbmc
without nvidia-vdpau ppa build-dep would have downloaded nvidia 185 libs instead of 190 --> thus the problems if you do have 190+ driver installed.
Code:
sudo add-apt-repository ppa:nvidia-vdpau/ppa
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install libasound2-dev
sudo apt-get build-dep xbmc
next.. let's install the official nvidia 190 xserver drivers:
so.. first we stop xserver
Code:
service gdm stop
cd ~
wget http://us.download.nvidia.com/XFree86/Linux-x86/190.53/NVIDIA-Linux-x86-190.53-pkg1.run
sudo sh ./NVIDIA-Linux-x86-190.53-pkg1.run
from now on it's all classic, we pull down the latest xbmc svn and compile it.
Code:
cd ~
svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/ XBMC
cd XBMC
./bootstrap
./configure
make clean
make -j4
sudo make install
you can either reboot the HTPC or better yet start gdm by issuing
edit: for getting the cpu further down in utilization ( from 15-25 % by playing 1080p bluray m2ts to 3-4%) you should just disable GPU scaling in nvidia panel, and set the display mode to _centered_.
i also suggest installing first hand of the wonderful ccache. it will let you recompile a lot faster upcoming svn pulls
Applause for the XBMC-Team for making such a wonderful piece of software!
Bravo!