Blog

intel nuc

Viewing posts tagged intel nuc

The terrible HDMI circuit

(Had this drafted months ago, but thought it would be pointless. Recently though, my sound bar / AVR somehow reset all its settings and I had to figure out how the wiring goes again. After sorting everything out, I thought I should make a record just in case I forget again :P)

#Start of First Draft

Recently acquired a new TV to replace the 9 year old Sammie. Full HD and 3D goodness, finally!

With every new purchase however, there would be some work involved. All those cables on the existing devices will need to be rerouted or removed. And you need to figure out the limitations with the various equipment to try to get the most out of them without having to spend even more money upgrading them.

So TV arrived the same day of purchase (thanks Sony!), and first thing to do was to move the HDMI inputs from the switch onto the TV. We wouldn’t want to lose any resolution or colour along the way. Also had to buy a digital optical cable to route audio from the TV to the AVR (just a sound bar).

Tested the gaming consoles, and Astro, and so far so good. But wait, we’re not getting complete audio from the HTPC. One whole night of troubleshooting revealed that I couldn’t passthrough DTS audio to the TV, because the TV can only send out Dolby Digital through its optical output. The workaround for this was to get another digital optical cable so that I can connect my HDMI switch (which supports ARC) directly to the AVR. The HTPC then connects to the switch as an input, and the output goes to the TV. The TV will then send back the audio signal to the switch via ARC, and this gets routed over to the AVR via optical cable. Sounds convoluted doesn’t it? Surprisingly, the TV supports DTS via ARC, but not via optical. On the other hand, it might just be the audio feed directly from the HTPC to the AVR. I had spent another night trying to figure this part out, cuz it wouldn’t work for some reason.

#End of First Draft

So here we are in 2015 to continue this post. ARC is the feature that’s working here because the only input connections that the AVR are getting are digital optical ones.

Another use for the switcher is to route the legacy devices to the TV via HDMI. This part gets kind of interesting. The DVD player and PS2 do not have HDMI outputs, so they were originally connected to the AVR via RCA or Coaxial inputs. Now that the AVR no longer outputs HDMI to the TV, I connected it to the HDMI Switch instead. So whenever I need to use the DVD player or the PS2, which I rarely do, I just had to switch inputs on the Switch.

Then, somewhere along the way, we decided to try making the HTPC into a karaoke player. For karaoke, we need to use a separate karaoke amp and speakers instead of the AVR. We originally used this karaoke audio system separately using a laptop connected via a stereo jack, and ran Karafun on the laptop for song queuing and Windows Search for the library. Now that we wanted to connect to it via the NUC, which only supports HDMI or DisplayPort, we needed to somehow convert the HDMI audio to RCA. So we had to buy a HDMI splitter that had RCA output for this.

The problem with this HDMI-to-RCA splitter is that its HDMI output would sometimes turn off for some reason. Maybe it’s a limitation of the device itself, so I went out and bought another HDMI splitter so that the original HDMI output can be split off cleanly before heading to the HDMI-to-RCA splitter. In the end, we have 2 HDMI devices between the HTPC and the AVR/karaoke amp.

Home Theater Diagram 2014

 

Everything’s all dandy now, except that XBMC can’t seem to handle the karaoke queueing very well. But that’s a different post for a different day.

XBMC on the Intel NUC (D54250WYKH)

I’ve always wanted a proper HTPC, but so far it’s just been off-the-shelf media streamers for me. 1st it was the AC Ryan PlayOn HD, 2nd was the Xtreamer Sidewinder 3, but they were limited with their inability to display Hi10p videos (10bit color-coded videos usually used for anime), and proper SSA subtitles (also used in anime for animated/colorful subtitles).

Now that Intel came up with these NUC thingies, I thought it was about time to start tinkering. There wasn’t any stock available for the D54250WYK at Low Yat when I dropped by, so I had to make do with the D54250WYKH, the version with the 2.5″ drive slot. Threw in 8GB of RAM and a 1TB drive on there. A little excessive, but I have big plans for this thing. 🙂

In order to get XBMC onto this machine, I thought of putting on a proper Ubuntu installation on there, then loading XBMC on top of it. I had almost no problems installing Ubuntu 13.10 via USB thumb drive, until I reached the end. I couldn’t boot into the installed operating system, due to some files that the NUC was expecting that were in the wrong place. A firmware upgrade to version 24 fixed that (I didn’t upgrade to 25, as there were reports of issues booting from USB3.0).

At this point I’ll also have to mention that I have not been able to access the BIOS since bringing the NUC home (it tested fine at the shop). I don’t know if it’s due to my HDMI setup (it goes through a splitter to get the the AVR) or something else. There were times that I couldn’t get video, but I think that is also due to the HDMI stuff (a power cycle of the AVR and/or TV seemed to fix it).

Once Ubuntu (desktop) was up and running OK, I immediately installed XBMC (Frodo) on it through apt-get. I ran it manually, and liked how it looked, but… I couldn’t play any of the movies I tried. XBMC would just crash to the desktop each time I loaded a movie. It seemed like it might be an issue with the audio, so I tried tinkering around with the settings, but I wasn’t able to get it work. Seemed like I couldn’t get 5.1 sound via HDMI too, so I messed around with pulseaudio settings too, but alas to no favorable result.

So I ditched that setup. Looked online and tried to do a minimal Ubuntu install instead. This makes more sense since I plan to run the NUC as mainly a server, with only a frontend to serve XBMC. I downloaded the mini version of 12.10 (decided to downgrade from 13.10, since HDMI issues were not experienced by me alone (should’ve read that before I started, but oh well)) and stuck that onto a thumb drive. The NUC would boot it, but it couldn’t recognize the NUC’s network adapter, which was needed to download some installation files. Scratch that, went with the 13.04 minimal version instead. Install went somewhat well: there were no errors or anything, but the downloads were sooo slow. It pretty much took an entire night. And the end result? It wouldn’t boot either. Bleh.

So last resort, was for me to use the XMBCbuntu distribution. XBMC and Ubuntu together in one shot. Went for Ubuntu 14.04 and the XBMC Gotham beta straight up. Installed like a charm. And the rest is pretty much history (macam cerita kawin pulak).

Well not quite. By default, RSS feeds are turned on by default, and this causes a massive drain on CPU time (about 50%; any scrolly text on XBMC seems to do this). Gotta turn it off to let it idle comfortably at 2-3% (and even that feels kinda high).

Back from the dead (yet again)?

Hello again after so many years (just one actually). This blog has been here and there, up and down, and generally unreliable due to other priorities having taken up my time. Firstly, a summary of related events:

  1. The website server was moved onto spot pricing. Yay cheap, but what I didn’t realise was that the latest server snapshot is not saved when the price exceeds the maximum set. So I had posts that were published and then disappeared. And since the spot price kept spiking, the server also kept shutting down. This was some time after my last existing post.
  2. Amazon started charging for the Broadway Academy store instance, so this had to be shut down too. This was in December.
  3. Diablo III happened. Many loots.
  4. After very long consideration, I bought a new Haswell i5 Intel NUC. Last week. 😀
    PC in a box, the Intel NUC.

    PC in a box, the Intel NUC.

    Such a tiny thing as a PC. Love it. Threw in 8GB of RAM and a terabyte drive in there for good measure. Migrated the blog over to nginx and php5-fpm. Also running XBMC for my media centre, and the ol’ minecraft server is up and running again. Next to do would be to migrate the BA store front, then shut down my presence on AWS permanently.

  5. Heartbleed happened. Patched everything up.

Will try to post more in the upcoming months. Stay tuned.