Meet my first HTPC: Fanless, NAS/RAID1, Linux, 30 watts, 24x7, FC10
#1
Wink 
Meet my first HTPC.
She's a beauty.
And she doesn't make a sound.

Requirements
My requirements were clear from the beginning: I wanted an HTPC, but I also wanted to use it as my 24/7 Linux home server, with 2x big HDDs in a RAID1. Even though most people would say, go get and buy two devices -- a Synology NAS and a nettop as HTPC -- I wanted it all in one machine. And that made it all a little more complicated:

- HTPC/XBMC with flawless 1080p video playback
- NAS with RAID1: 1 SSD for the OS, 2 HDDs for the RAID1 (= min 3 SATA)
- Linux without a hassle
- Low power consumption b/c it will run 24/7
- Fanless: And of course, it should be completely silent (no fans), b/c it will be in the living room.

Hardware
Because I wanted something that worked flawless on Linux, I couldn't just take the best there is and that's that. As a Linux user, you always have to check for drivers and compatibility. So I did. And I think I made a reasonably good choice here. Everything works, with some minor exceptions (more later).

Main Parts
- Case: Streacom FC10 -- 300€
- Mainboard: ASUS P8H77-M PRO -- 105€
- CPU: Intel i3-3225 -- 126€
- RAM: Corsair Vengeance LP White DDR3-1600 2x4GB 1.35V -- 60€
- PSU: picoPSU-150-XT with a 120W AC/DC Adapter (incl. one Y-cable 1xMolex->2xSATA) -- 60€
- 1x SSD: Samsung MZ-7PD128BW SSD 840 Pro 128GB -- 128€
- 2x HDD: Western Digital WD Red 3TB WD30EFRX -- 2x142€
- 1x BD Drive: Sony Optiarc BD-5850H -- 81€

Adapters, Cables, Thermal Paste
- SATA Adapter (for multiple HDDs): I/O Adapter DELOCK 1xSATA-St>2x SATA-Bu. / Adapter Power SATA HDD 2x > 15 Pin - St 15 cm -- 3€
- SATA Slim Adapter (for BD Drive): DeLock Adapter Slimline SATA 22pin > Slim -- 4€
- Power extension: Power ATX 4pin/12V Extension (20cm) -- 3€
- Thermal Paste: Arctic Cooling Mx-2 Thermal Compound 4-grams -- 5€ (Note: Important! The amount of included thermal paste is not enough!)

Optional (if you don't have them)
- SATA III Cables: 4x DeLock SATA III Cable red 50cm -- 12€ (Note: The mainboard actually includes 4 SATA cables, so you act. don't need them)
- HDMI Cable (connecting the TV): AmazonBasics High Speed HDMI Cable 2m -- 7€
- S/PDIF Audio Cable (connecting the audio receiver): AmazonBasics Optical Toslink Digital Cable 1.8m -- 7€
- Medion X10 Remote Control -- found it in my techy box, so 0€ :-)

Still missing
- A wireless RF keyboard and mouse that look nice

--> Total Cost: 1185€

Hardware Justification
A bit about the why...

- The case is a beauty and can fit the amount of SSDs and HDDs I wanted, it can passively cool CPUs with up to 95W TDP.
- The i3-3225 CPU (Ivy Bridge) is 55W TDP, low power and has a HD4000 graphics chip, which is pretty good I think. Additionally, it works pretty good on Linux according to a couple of articles I've read.
- The RAM is low voltage RAM (1.35V), which is supposed to use less power (~ 1.65W per DIMM to my knowledge). Corsair is supposed to be good -- people on XBMC forums often suggest Corsair RAM.
- The 840 Samsung SSD is a new and apparently awesome SSD. I read it's super fast and has a low power consumption (0.6W idle, max. 3W).
- The two 3TB WD Red disks are NAS disks that are super silent (quieter than the WD Green) and use less power than many others (less power than the WD Green) -- at least according to tests I've read (4W idle, max. 5W). Additionally, the Red is built for 24/7 usage, so I am hoping that it lasts longer.
- The Bluray drive I chose is pretty much the only slim slot-in drive out there I think. Amazon reviews say it was quiet. I wouldn't really agree, but then again, it's an optical drive -- so it must make a sound...

Software
Linux was a must as I said, so Ubuntu 12.10 was a no-brainer. I didn't want to use XBMCbuntu or openElec, because I wanted to use the box not only as HTPC, but also as web server, NAS, scripting box, and so on.

I actually thought about going into details on how to set everything up here, but I didn't fully write everything down yet. Maybe I'll do that some other time. For now, a list of software and uses will have to do:

- Ubuntu 12.10 with XFCE4 desktop environment (so Xubuntu, I think ...); Ubuntu boots and logs in to user 'xbmc' in 11 seconds (not that I care, it's a server after all). XBMC can be started with the remote control by pressing the power button, and it can be killed by pressing another button twice (if it hangs)
- Intel graphics VAAPI drivers (i965-va-driver:amd64), so that video decoding can be done in the iGPU. I have issues with this, though, but it works anyway.
- LIRC (kernel-based LIRC and the standalone LIRC) to control XBMC with my remote control, and to execute commands when I press special button combinations
- XBMC Eden from the Team XBMC PPA; Aeon Nox skin, YouTube plugin, RTLnow plugin, ...
- NFS and Samba server for home network file sharing
- Apache2, PHP5, MySQL, Tomcat6, and others for software development
- TightVNC to access the desktop from my laptop or over then net for the user 'binwiederda' (second XFCE4 session)
- Guacamole to access the machine via VNC from anywhere without a VNC client (HTML5-based VNC client)
- Nagios to monitor the temperatures (with hddtemp and lm-sensors), disk space and load of the system and my other server
- GateOne as a web-based SSH client, so I can easily administer the machine from anywhere (uses WebSockets)
- rsnapshot backup scripts to back up the HTPC, my laptop and my other server regularly
- Various crawler scripts of my own to automatically buy and download the TV shows I and my GF watch and put them in the right place (so that XBMC can find them)
- mdadm for a software RAID1 of one partition: two 1TB partitions in RAID1 (=1TB) for backups (/dev/sd[ab]1) and two 2TB partitions for media storage (/dev/sd[ab]2, =4TB)

Issues

Hardware Acceleration
Even though the Intel VAAPI drivers are installed correctly, I cannot use VAAPI decoding in XBMC. It sometimes starts playing, sometimes it doesn't even do that and just freezes completely. The logs show that it in fact does try to use VAAPI, but there are no error messages whatsoever when it freezes.

Quote:2:18:08 T:139632131294976 DEBUG: VAAPI - initialize version 0.32
22:18:08 T:139632131294976 DEBUG: VAAPI - vendor: Intel i965 driver - 1.0.17

When I click the stop button on my remote control, XBMC completely freezes with the message in the logs "NOTICE: waiting for video thread to exit" (-> never happens).

HOWEVER, even though this is not cool, I am very confident that this is solvable.
--> MEANWHILE, XBMC works just as good (1080p movies + Aeon Nox) without any glitches

Other Issues
- I had some trouble getting LIRC to work with my remote control, but I solved it using this awesome thread
- The YouTube plugin has a bug in the current version, but this thread helped me fix it
- Encrypted DVDs wouldn't work, until I did what is described in this thread

Power Consumption, Temperatures, Noise
I just installed the second HDD, so I cannot say anything about the numbers with two HDDs, but here are the numbers with one HDD installed:

Power consumption
The machine idles at 26W, and goes up to about 55W when it's under heavy load (using some tool, can't remember the name).

Temperatures
The idle CPU temperature is around 38-43°C, under heavy load it goes up to 55-60°C. Since I set the Nagios warning temperature to 60°C (3 days ago), it has not sent me a warning e-mail yet.

The HDD idle temperate is also around 42-43°C, but it does not change as much as the CPU. Under heavy load from copying, it goes up to 47°C. The second HDD (which is not over the mainboard) is currently about 3°C cooler (so 40°C right now).

Noise
Let me say it like this: When I turn off my heater, and close the door to the kitchen (fridge noise), and when I'm closer than 1.5m, I can hear something -- like the sound of the ocean in a seashell. In short: It's completely silent. My GF fell asleep next to it multiple times.

Related Threads
How it all came together. Thanks to everyone who helped advising me!

- Fanless low power FC10 build: Please check my specs
- Custom build, all-in-one: HTPC/1080p + RAID1 + Fanless + Linux + 30 watts + 24x7
- Mainboard for the i3-3225

Pictures
Now to the part everyone first scrolls down to. The pictures.

The FC10 with the Asus P8H77-M PRO, i3-3225 installed, but the heatpipes are still missing:
Image

Heatpipes installed successfully, lots of thermal paste is needed!!
Image

Heatpipes closeup:
Image

Another heatpipe closeup:
Image

And the top view:
Image

With thermal paste:
Image



With the two HDDs and the heatpipes fully installed. All pictures from now on are actually about 10 days after I was using the machine with one HDD.
Image

The CPU power connector cable is a bit short, but its long enough. It might get a bit warm because it's squished between the RAM and the HDD. I don't know if that's bad for the cable ...
Image

The SATA ports, lots of cables:
Image

picoPSU:
Image

12V power extension to connect the external cable. The cable from the picoPSU to the external connector is too short:
Image

Power and LED pins: The mainboard power pins are not next to each other, so I wasn't able to connect the power LED:
Image



Top view on the Bluray drive and the SSD. There's room for 2 more SSDs left to it.
Image

A SATA slim adapter is necessary to connect the Bluray drive:
Image

Front view (lid open):
Image
Fanless Linux HTPC/NAS: Streacom FC10, ASUS P8H77-M PRO, i3-3225, Corsair LP White DDR3-1600, picoPSU-150-XT, 1x SSD 840, 2x HDD WD Red 3TB
Stats: 29W idle, 55W load, CPU 38-43°C idle, CPU 55-60°C load, HDD 42-43°C idle, HDD 47°C load

Reply


Messages In This Thread
Meet my first HTPC: Fanless, NAS/RAID1, Linux, 30 watts, 24x7, FC10 - by binwiederda - 2013-01-19, 00:43
Logout Mark Read Team Forum Stats Members Help
Meet my first HTPC: Fanless, NAS/RAID1, Linux, 30 watts, 24x7, FC102