2011-06-07, 23:19
The system is a Zotac ZBOX-HD-AD01 AMD Athlon Neo X2 L325 (1.5 GHz, dual-core) coupled with an AMD 780E ATI Radeon HD 3200, 16gb kingston SSD
Pros:
+low power consumption
+6 USB ports
+small
+HDMI
+esata port with PORT MULTIPLIER
Cons:
-runs hot
-no 'official' Linux support
-runs hot
As those of you who want this hardware to run XBMC on linux, I spent a lot of time combing this forum and the internet in general looking for advice and pointers to get a successful XBMC install with linux on the Zotac. At first it was simple enough and linux/XBMC installs without any issues.
But out of the box you get Zero HW acceleration for AVC/H264 videos. Meaning that it runs at 100% CPU and stutters. A Lot. Almost every post says "get NVIDIA". Others are just forum wh*res that care more about upping their posting count on the forum than to actually provide useful suggestions. But patience pays off when searching these and all other forums, because every once in a while someone actually posts good ideas that you can use to solve your related issue.
In essence what worked for me was:
1. install Lucid
2. update everything [sudo apt-get update, sudo apt-get upgrade]
3. install catalyst 11.5 from amd site
4. Initialize xorg.config [sudo aticonfig --initial]
5. reboot
6. install libva packages from
http://www.splitted-desktop.com/~gbeauchesne/libva/
get libva1_0.31.1-1+sds4_i386.deb, as well as the related -dbg and -dev packages. Install them using the sudo dpkg -i command
7. get and install the xvba package as well. I used the 7.2 version, but 7.8 works just fine as well.
8. reboot
9. verify correct vainfo output
$ vainfo
$ vainfo
libva: libva version 0.31.0-sds6
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA API - 0.6.11
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointIDCT
VAProfileMPEG2Main : VAEntrypointIDCT
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
$
10. Install the additional packages needed for compiling.
sudo apt-get install python-dev
sudo add-apt-repository ppa:team-xbmc-svn/ppa
sudo apt-get update
from http://xbmcmediacenter.com/compile-xbmc-on-linux/
sudo apt-get install git-core autopoint checkinstall libvdpau-dev libvdpau1 make g++ gcc gawk pmount libtool nasm yasm automake cmake gperf zip unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound-dev python-sqlite libglew-dev libcurl3 libcurl4-gnutls-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbisenc2 libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libenca-dev libxt-dev libxtst-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmpeg3-dev libflac-dev libiso9660-dev libass-dev libssl-dev fp-compiler gdc libwavpack-dev libmpeg2-4-dev libmicrohttpd-dev libmodplug-dev libssh-dev gettext
11. Get the GIT version of xbmc. You can get the SVN if you want or even the current stable Dharma, but the GIT has a lot of issues fixed into it, as well as some new bugs (not that I have found any yet on the May 25'th version)
cd /usr/local/src
sudo git clone git://github.com/xbmc/xbmc.git xbmc
cd xbmc
sudo git checkout master
12. compile XBMC with VAAPI, Disable built-in nvidia accel options.
sudo ./bootstrap
sudo ./configure --prefix=/usr --disable-libvdpau --enable-vaapi
at the end, it should spit this out:
------------------------
XBMC Configuration:
------------------------
Debugging: Yes
Profiling: No
Optimization: Yes
Crosscomp.: No
target ARCH: no
target CPU: no
OpenGL: Yes
VDPAU: No
VAAPI: Yes
CrystalHD: No
VDADecoder: No
VTBDecoder: No
OpenMax: No
Joystick: Yes
XRandR: Yes
GOOM: No
Bluray: No
TexturePacker:Yes
MID Support: No
ccache: No
PulseAudio: No
HAL Support: Yes
DVDCSS: Yes
Avahi: Yes
Non-free: Yes
ASAP Codec: No
Webserver: Yes
libRTMP support: No
Optical drive: Yes
External FFmpeg: No
prefix: /usr
------------------------
If all is ok, issue
sudo make -j2
sudo checkinstall -y --fstrans=no --install=yes --pkgname=vaapi-xbmc
13. At the end of this, you should see XBMC under the Applications->sound and video section on the taskbar.
14. Configure XBMC and your video sources as you see fit and enjoy.
The video issue that I had was stuttering/sync issues with video playing on menu backgrounds in XBMC. I had to disable background video visualization, and disable vsync on the XBMC settings as well. You need to enable vsync via the aticonfig tool instead.
Not having background video visualization is not a huge deal for me. The ATI setup has an HDMI output and a standard VGA output.
I am able to dual-display XBMC to both my tv and my projector. These settings are best done thru the catalyst control panel. Remember that when you change or add a custom setting in xorg.conf, you need to reboot or re-start X.
I also managed to send stereo output to both the HDMI port and the analog stereo plug using the suggestions at http://www.randomwalking.com/project.php...ct=mediapc .
The HDMI defaults to 1080p output, which is fine if you are one of those that have a TV with TRUE native 1920x1080 panel. Mine is not native 1080p and it displays 1080p by virtue of the built-in scaler. I figured that it is futile to
have the HD3200 send 1080p output to a TV that is just going to scale that back to 1366x768. So I set the hdmi output to 1368x768 using the
$cvt 1366 768 60
tool, which gives the correct modeline for addition into xorg.conf.
I also added a xrandr --setmode command at startup so the correct resolution is set at every boot.
The only thing that is still a little shaky is the tear-free option in the Catalyst Control Panel, it seems to work, but on reboot it kind of changes the resolution to full 1080p and the sync values are off, giving a garbled display.
If I turn it on, it helps a little with the hulu desktop application on full screen (not perfect though). I left mine off until I can play with it more.
I am pleased with the esata port. I can set the drives to spin down on 5 minutes of inactivity via
$sudo hdparm -S60 /dev/sd*
and they suspend. I have a Probox http://www.newegg.com/Product/Product.as...6817576001 and it works awesome via esata and usb.
Of course esata is much faster. Mine's filled up with 4 2TB WD drives. You can only imagine the low-power mediaserver possibilites...
If I ever run out of space, I can attach another Probox and keep on humming along.
Since the flashplayer revamp of the encryption keys, I have seen most of my favorite plug-ins not working with XBMC anymore. Bluecop does not work (hulu, freecable)
Gametrailers and gamespot trailers. So, with the AdvancedLauncher plug-in, I am able to switch to huludesktop full screen and watch some tv series there.
Pros:
+low power consumption
+6 USB ports
+small
+HDMI
+esata port with PORT MULTIPLIER
Cons:
-runs hot
-no 'official' Linux support
-runs hot
As those of you who want this hardware to run XBMC on linux, I spent a lot of time combing this forum and the internet in general looking for advice and pointers to get a successful XBMC install with linux on the Zotac. At first it was simple enough and linux/XBMC installs without any issues.
But out of the box you get Zero HW acceleration for AVC/H264 videos. Meaning that it runs at 100% CPU and stutters. A Lot. Almost every post says "get NVIDIA". Others are just forum wh*res that care more about upping their posting count on the forum than to actually provide useful suggestions. But patience pays off when searching these and all other forums, because every once in a while someone actually posts good ideas that you can use to solve your related issue.
In essence what worked for me was:
1. install Lucid
2. update everything [sudo apt-get update, sudo apt-get upgrade]
3. install catalyst 11.5 from amd site
4. Initialize xorg.config [sudo aticonfig --initial]
5. reboot
6. install libva packages from
http://www.splitted-desktop.com/~gbeauchesne/libva/
get libva1_0.31.1-1+sds4_i386.deb, as well as the related -dbg and -dev packages. Install them using the sudo dpkg -i command
7. get and install the xvba package as well. I used the 7.2 version, but 7.8 works just fine as well.
8. reboot
9. verify correct vainfo output
$ vainfo
$ vainfo
libva: libva version 0.31.0-sds6
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA API - 0.6.11
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointIDCT
VAProfileMPEG2Main : VAEntrypointIDCT
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
$
10. Install the additional packages needed for compiling.
sudo apt-get install python-dev
sudo add-apt-repository ppa:team-xbmc-svn/ppa
sudo apt-get update
from http://xbmcmediacenter.com/compile-xbmc-on-linux/
sudo apt-get install git-core autopoint checkinstall libvdpau-dev libvdpau1 make g++ gcc gawk pmount libtool nasm yasm automake cmake gperf zip unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound-dev python-sqlite libglew-dev libcurl3 libcurl4-gnutls-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbisenc2 libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libenca-dev libxt-dev libxtst-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmpeg3-dev libflac-dev libiso9660-dev libass-dev libssl-dev fp-compiler gdc libwavpack-dev libmpeg2-4-dev libmicrohttpd-dev libmodplug-dev libssh-dev gettext
11. Get the GIT version of xbmc. You can get the SVN if you want or even the current stable Dharma, but the GIT has a lot of issues fixed into it, as well as some new bugs (not that I have found any yet on the May 25'th version)
cd /usr/local/src
sudo git clone git://github.com/xbmc/xbmc.git xbmc
cd xbmc
sudo git checkout master
12. compile XBMC with VAAPI, Disable built-in nvidia accel options.
sudo ./bootstrap
sudo ./configure --prefix=/usr --disable-libvdpau --enable-vaapi
at the end, it should spit this out:
------------------------
XBMC Configuration:
------------------------
Debugging: Yes
Profiling: No
Optimization: Yes
Crosscomp.: No
target ARCH: no
target CPU: no
OpenGL: Yes
VDPAU: No
VAAPI: Yes
CrystalHD: No
VDADecoder: No
VTBDecoder: No
OpenMax: No
Joystick: Yes
XRandR: Yes
GOOM: No
Bluray: No
TexturePacker:Yes
MID Support: No
ccache: No
PulseAudio: No
HAL Support: Yes
DVDCSS: Yes
Avahi: Yes
Non-free: Yes
ASAP Codec: No
Webserver: Yes
libRTMP support: No
Optical drive: Yes
External FFmpeg: No
prefix: /usr
------------------------
If all is ok, issue
sudo make -j2
sudo checkinstall -y --fstrans=no --install=yes --pkgname=vaapi-xbmc
13. At the end of this, you should see XBMC under the Applications->sound and video section on the taskbar.
14. Configure XBMC and your video sources as you see fit and enjoy.
The video issue that I had was stuttering/sync issues with video playing on menu backgrounds in XBMC. I had to disable background video visualization, and disable vsync on the XBMC settings as well. You need to enable vsync via the aticonfig tool instead.
Not having background video visualization is not a huge deal for me. The ATI setup has an HDMI output and a standard VGA output.
I am able to dual-display XBMC to both my tv and my projector. These settings are best done thru the catalyst control panel. Remember that when you change or add a custom setting in xorg.conf, you need to reboot or re-start X.
I also managed to send stereo output to both the HDMI port and the analog stereo plug using the suggestions at http://www.randomwalking.com/project.php...ct=mediapc .
The HDMI defaults to 1080p output, which is fine if you are one of those that have a TV with TRUE native 1920x1080 panel. Mine is not native 1080p and it displays 1080p by virtue of the built-in scaler. I figured that it is futile to
have the HD3200 send 1080p output to a TV that is just going to scale that back to 1366x768. So I set the hdmi output to 1368x768 using the
$cvt 1366 768 60
tool, which gives the correct modeline for addition into xorg.conf.
I also added a xrandr --setmode command at startup so the correct resolution is set at every boot.
The only thing that is still a little shaky is the tear-free option in the Catalyst Control Panel, it seems to work, but on reboot it kind of changes the resolution to full 1080p and the sync values are off, giving a garbled display.
If I turn it on, it helps a little with the hulu desktop application on full screen (not perfect though). I left mine off until I can play with it more.
I am pleased with the esata port. I can set the drives to spin down on 5 minutes of inactivity via
$sudo hdparm -S60 /dev/sd*
and they suspend. I have a Probox http://www.newegg.com/Product/Product.as...6817576001 and it works awesome via esata and usb.
Of course esata is much faster. Mine's filled up with 4 2TB WD drives. You can only imagine the low-power mediaserver possibilites...
If I ever run out of space, I can attach another Probox and keep on humming along.
Since the flashplayer revamp of the encryption keys, I have seen most of my favorite plug-ins not working with XBMC anymore. Bluecop does not work (hulu, freecable)
Gametrailers and gamespot trailers. So, with the AdvancedLauncher plug-in, I am able to switch to huludesktop full screen and watch some tv series there.