Difference between revisions of "Zotac Zbox AD04"

From LinuxMCE
Jump to: navigation, search
(Bundled MCE remote)
 
(40 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
[[Category: Hardware]]
 
[[Category: Hardware]]
 
[[Category: Media Directors]]
 
[[Category: Media Directors]]
[[Category: Nettops]]
+
{{versioninfo|1204Status=Works with some hacks|1204UpdatedDate=23rd Sept 2014|1204UpdatedBy=jamo}}
[[Category: ION]]
+
{{versioninfo|1004Status=Works with some hacks|1004UpdatedDate=05th December 2012|1004UpdatedBy=jamo}}
+
  
 
= Media Director General info =
 
= Media Director General info =
 +
 +
This is a great little media director. Very lightweight, quiet and reliable. I use it as a diskless MD. The only grumble is Radeon graphics that is still not well supported.
 +
 +
[[Image:Zotac_zbox_ad04.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]
  
 
== Technical Details ==
 
== Technical Details ==
  
-- this is incomplete... I plagiarised from the ID41 page... still to fix
+
*CPU - AMD E-450 APU 1.65GHz Dual-Core
*NVIDIA ION GPU (with 512MB DDR3 memory), Intel Atom D525 CPU (1.8 GHz, dual-core), Intel NM10 Express chipset
+
*AMD Radeon HD 6320 GPU
*1 2.5-inch SATA 3.0 Gb/s hard drive connection, 2 204-pin DDR3-800 SO-DIMM slots
+
*HD Analog Audio, Optical digital S/PDIF output
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter), NVIDIA nView multi-display technology
+
*Onboard Gb LAN
*NVIDIA PureVideo HD technology, NVIDIA CUDA technology, Adobe Flash Player 10.1 acceleration, DirectX 10.1
+
*802.11b/g/n wifi
*eSATA, 2 USB 3.0 ports, 2 USB 2.0 ports, 10/100/1000 Ethernet (RJ45), Digital S/PDIF output, Power connector
+
*Bluetooth
 +
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory
 +
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)
 
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi
 
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi
*Headphone/Audio out jack, Microphone jack, 6-in-1 Memory card reader (MMC/SD/SDHC/MS/MS Pro/xD), 1 USB 2.0 port
+
*2x USB 3.0, 4x USB 2.0
*NVIDIA PureVideo HD technology, NVIDIA CUDA technology, Adobe Flash Player 10.1 acceleration, DirectX 10.1 compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi
+
 
-- end incomplete section
+
== Getting AD04 working under 12.04 ==
 +
 
 +
=== Setting up PXE boot ===
 +
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when
 +
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.
 +
 
 +
=== First boot ===
 +
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.
 +
 
 +
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.
 +
 
 +
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).
  
== Bundled MCE remote ==
+
However, I found that with the default driver installed above, there were the following issues:
 +
# youtube videos are extremely jerky
 +
# if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it
 +
# playback of normal videos is slightly jerky
 +
# No nice alpha blending
  
Remote appears to emulate a USB keyboard out the box. This has limited use in UI2 as only the arrow keys, "ok" = click, and "enter" are useful.
+
I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.
Experimenting with steps from the following thread: http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_on_Ubuntu_with_AMD_GPU#Step_13:_Configuring_Remote_Control
+
to try to get it working. Steps followed (ssh to MD as root):
+
  
* Install requirements
+
=== Install Latest Catalyst Driver (fglrx) ===
[code]
+
Download the latest ATI driver for Linux. At the time of writing it was 14.4rev2 (download file is called amd-catalyst-14-4-rev2-linux-x86-x86-64-may6.zip)
apt-get install automake dialog libtool
+
You need to get the zip file onto your MD- the way
[/code]
+
I did it was to sftp it to the core and then moved it into the root drive of the appropriate MD /usr/pluto/diskles/XX/root
* Download the version from FernetMenta
+
where XX is the media director number. You will need to do all this as root on the core.
[code]
+
wget https://github.com/FernetMenta/lirc/tarball/master -O lirc.tar.gz
+
[/code]
+
* Extract, configure and install:
+
When you will run setup.sh, choose select driver "zotac" under usb, then save & configure
+
[code]
+
tar -xvf ./lirc.tar.gz
+
cd FernetMenta-lirc-c336b00/
+
./autogen.sh
+
./setup.sh
+
make
+
make install
+
[/code]
+
  
= Current issues on 10.04 =
+
ssh into MD as root from core
  
*Radeon HD6320 graphics does not work out of the box - no avwiz, vesa gfx pop up
+
Unzip driver
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html
+
<pre>
 +
unzip amd-catalyst-14-4-rev2-linux-x86-x86-64-may6.zip
 +
</pre>
 +
That creates a folder called fglrx-14.10.1006.1001
 +
Inside that folder is amd-driver-installer-14.10.1006.1001-x86.x86_64.run
 +
Make sure it is executable... if necessary add the executable bit:
 +
<pre>
 +
chmod a+x chmod a+x amd-driver-installer-13.35.1005-x86.x86_64.run
 +
</pre>
 +
Stop X before purgin existing drivers
 +
<pre>
 +
/usr/pluto/bin/Stop_X.sh
 +
</pre>
 +
Now we need to try to purge existing drivers
 +
<pre>
 +
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*
 +
</pre>
 +
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:
 +
<pre>
 +
./amd-driver-installer-13.35.1005-x86.x86_64.run --force
 +
</pre>
 +
Takes a while... just follow the prompts and accept the licence.
 +
Then, when done, configure:
 +
<pre>
 +
aticonfig --initial -f
 +
aticonfig --sync-vsync=on
 +
aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1
 +
</pre>
 +
If your TV had black borders, like my Hisense, disable underscan:
 +
<pre>
 +
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0
 +
</pre>
 +
That should sort it out. Reboot the machine with AVWiz and it should work!
 +
<pre>
 +
/usr/pluto/bin/RebootWithAVWizard.sh
 +
</pre>
  
*HDMI sound does not work out of the box (in fact no sound does)
+
Don't install xvba... it ends up uninstalling this driver.
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html
+
==  [[Zotac_MCE_Remote|Bundled MCE remote]]  ==
 +
The bundled MCE IR remote comes with an IR receiver which I couldn't get to work nicely but I purchased a USB-UIRT and that receiver works well with this remote. The remote uses template #2287 and just adding this to your Media Director should have it working sweetly (provided you have the USB-UIRT receiver).
  
= Links =
+
Buttons work pretty much as expected. The skip-track button works nicely to page down and up through the media grids. Green button selects the menu, Red exits (like Esc)
 +
[[Image:Zotac_zbox_ad04_mce_remote.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]

Latest revision as of 01:53, 28 September 2015

Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 Unknown N/A N/A
1204 Works with some hacks 23rd Sept 2014 jamo
1404 Unknown N/A N/A
Usage Information

Media Director General info

This is a great little media director. Very lightweight, quiet and reliable. I use it as a diskless MD. The only grumble is Radeon graphics that is still not well supported.

Zotac zbox ad04.jpg

Technical Details

  • CPU - AMD E-450 APU 1.65GHz Dual-Core
  • AMD Radeon HD 6320 GPU
  • HD Analog Audio, Optical digital S/PDIF output
  • Onboard Gb LAN
  • 802.11b/g/n wifi
  • Bluetooth
  • 1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory
  • HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)
  • Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi
  • 2x USB 3.0, 4x USB 2.0

Getting AD04 working under 12.04

Setting up PXE boot

You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.

First boot

Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.

AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.

You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).

However, I found that with the default driver installed above, there were the following issues:

  1. youtube videos are extremely jerky
  2. if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it
  3. playback of normal videos is slightly jerky
  4. No nice alpha blending

I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.

Install Latest Catalyst Driver (fglrx)

Download the latest ATI driver for Linux. At the time of writing it was 14.4rev2 (download file is called amd-catalyst-14-4-rev2-linux-x86-x86-64-may6.zip) You need to get the zip file onto your MD- the way I did it was to sftp it to the core and then moved it into the root drive of the appropriate MD /usr/pluto/diskles/XX/root where XX is the media director number. You will need to do all this as root on the core.

ssh into MD as root from core

Unzip driver

unzip amd-catalyst-14-4-rev2-linux-x86-x86-64-may6.zip

That creates a folder called fglrx-14.10.1006.1001 Inside that folder is amd-driver-installer-14.10.1006.1001-x86.x86_64.run Make sure it is executable... if necessary add the executable bit:

chmod a+x chmod a+x amd-driver-installer-13.35.1005-x86.x86_64.run

Stop X before purgin existing drivers

/usr/pluto/bin/Stop_X.sh

Now we need to try to purge existing drivers

apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*

On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:

./amd-driver-installer-13.35.1005-x86.x86_64.run --force

Takes a while... just follow the prompts and accept the licence. Then, when done, configure:

aticonfig --initial -f
aticonfig --sync-vsync=on
aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1

If your TV had black borders, like my Hisense, disable underscan:

aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0

That should sort it out. Reboot the machine with AVWiz and it should work!

/usr/pluto/bin/RebootWithAVWizard.sh

Don't install xvba... it ends up uninstalling this driver.

Bundled MCE remote

The bundled MCE IR remote comes with an IR receiver which I couldn't get to work nicely but I purchased a USB-UIRT and that receiver works well with this remote. The remote uses template #2287 and just adding this to your Media Director should have it working sweetly (provided you have the USB-UIRT receiver).

Buttons work pretty much as expected. The skip-track button works nicely to page down and up through the media grids. Green button selects the menu, Red exits (like Esc) Zotac zbox ad04 mce remote.jpg