Showing posts with label hardware. Show all posts
Showing posts with label hardware. Show all posts

Friday, January 31, 2014

Setting up my new ASUS UX301LA

I spoilt myself in 2013 for my Birthday and Christmas and bought the beautiful ASUS Zenbook UX301LA. The model I ordered comes with a touch screen WQHD (2560x1440) display, an Intel i7 4558U CPU, 8GiB of RAM and 2 internal SSDs. Needless to say it's very cool!

The laptop comes with OEM Windows 8, which despite all the bad geek press online I actually like it. Without a touch screen though it would be useless but with a touch screen it works quite well. The 2560x1440 screen is almost too small - I find myself squinting at certain things, so I run the display at 1080p instead.

Regardless of all this my new toy was designed to encourage me to get back into developing on my own time, so a Linux distro is needed. The stock controller setting joins the disks into one RAID 0 volume, but I want independent disks for Windows and Linux, so first step was to change the controller mode from RAID to AHCI.

My Linux distro family of choice is Red Hat. Trying a Fedora 20 Live CD is very unstable - it constantly freezes, the Fedora installer gets python crashes, haven't been able to get through the installer once after several attempts. I generally get about 5-6 minutes in the disk partitioning area before it freezes again. Even with the ATA controller in AHCI mode (broken RAID) Fedora must be reading a few sectors into the disk because it still thinks the disks are part of a RAID disk. Trashing the partition table on /dev/sda, Fedora now allows me to try partition that disk, but it's still too unstable to install.

Faced with no operating system on my lovely Gorilla Glass encased toy, I torrent down a Win 8 ISO, preying there's no keyloggers buried in the image. Microsoft in their infinite wisdom don't make it easy for OEM users to download install media, and no activation key I could find on the Internet would either. I actually own a valid copy of Windows and still have to download an ISO. Go figure.

The Windows 8 ISO could only install onto sdb, said sda was an "unbootable disk". Strange, but that's what I want anyway - sda will be the Linux install - so away we go and Windows 8 re-installs perfectly fine. I need to put all the OEM software and drivers back on. ASUS are always good with this kind of stuff and the downloads are easy to find. Once they are all installed I've pretty much got a usable laptop back, and not just one very expensive mirror.

The Fedora Live CD is still freezing the laptop - I hoped it was a blue moon thing but I guess not. I tried Ubuntu 13.10 seems a bit better, but still get the odd freeze. This could be due to the virtual CDROM drive I'm using, but I got a working Ubuntu 13.10 install eventually. The touch screen and video support on Ubuntu is good, it supports the native 2560x1440 resolution out of the box.

I'm still such a Red Hat fan and feel lost on Debian systems, so went to try Fedora one last time. It got through an install. It's no where near the partition layout I'd like but I'm just glad to have an RPM based system at my fingertips again. First thing I discover is I can't lower the screen resolution on Fedora 20. Looks like the EDID for the laptop screen is not being picked up. I need to dive into X11 to force some different resolutions. Wow, haven't done this in 7 years... The ArchLinux wiki is always helpful but trying to force 1920x1080 crashes Gnome Shell.

I've also noticed that Fedora 20 and Ubuntu 13.10 activates some crazy power saving when the laptop is running off the battery which pushes the fan speed up to the highest setting. It's not completely unusable, but definitely noisy and annoying. The ArchLinux wiki has more information on the Intel Graphics drivers, but this post says not for Fedora 20 yet, in a few weeks perhaps.

The Fedora GRUB installation picked up the Windows install but the boot parameters are not enough to boot Windows 8 on the second disk. This Stack Exchange post contains exactly what is needed:
menuentry 'Windows 8.1 Pro' {
insmod part_gpt
insmod fat
set root='hd1,gpt2'
insmod search_fs_uuid
insmod chain
search --fs-uuid --no-floppy --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
The touch screen is not as good on Fedora as well, so combined with the screen resolution I decide to swallow my Debian bigotry and go back to Ubuntu. For now.

There are two remaining problems. The first is on Linux and Windows: when the laptop is left untouched for some amount of time, sometimes it gets into some strange hibernation state and nothing I do can wake it up - it has to be power cycled.

The second is just in Linux - every few hours it freezes. Some times running videos or sound seems to trigger it a lot more frequently. Not sure how I'm going to track down what is most likely a driver problem. Suggestions are welcome.

Sunday, July 10, 2011

HP ProLiant Microserver for my new media server

Some months ago a few of us at work bought a HP ProLiant Microserver after HP were advertising a £100 cash back - 4 HDD bays, 1 optical bay, dual core Atholon II 1.3 GHz, 2 RAM slots, 1 PCIe 16x, 1 PCIe 1x and an internal USB socket. The storage potential is huge: convert the optical drive bay into a fifth 3.5” slot or maybe even several 2.5” if you are smart, boot off the internal USB slot and you've got a very cheap system that can hold 5+ HDDs.

I immediately thought of replacing my current media server with something a lot smaller and lighter. There's nothing wrong with the current one at the moment, it's even got newish 2TB disks, but it's getting on 3 years since I built it and I worry about losing my collection of music that I never listen to and the movies and TV that I never watch. Throw a fanless nVidia graphics card in there with a HDMI port and I've got a video and sound card all in one. If only a DVI port was available, a sound card could be put in the PCIe 1x slot, or worst case a USB sound card.

A few of us were stupid (including me) and bought the 160GB HDD version which is probably not covered on the cash back scheme (I don't think anyone's tried yet), but it was still only £189 for a decent amount of hardware.

The little box arrived a few days later and I'm happy with it for the price: sleek and subtle enough case for a living room, four front USB ports and two rear. An on board VGA socket, Gig Ethernet and a large slow-RPM fan at the back for ventilation to the disks. There are some chassis screws in the front door for adding extra disks (thoughtful) and there is also zero disk cable management: the SATA disks plug directly into a SAS backplane that is connected to the motherboard.


Here it is next to a Sony Vaio and 24" BenQ monitor for size comparisons.

There was some discussion at work about the power of the CPUs. The dual core Athlon II is fine for a small office file server, but how would it hold up decoding HD movies? A GPU that supported nVidia's latest PureVideo to offload as much of the decoding as possible would be helpful. Watching movies would then be less affected by other tasks the Micro is doing, in other words there would be no: “Luke, the movie's playing really slow, fix it!”.

So, the first thing I did was put Ubuntu 11.04 on the internal disk to play around with the hardware. It doesn't come standard with an optical drive and there's no PATA port (all my old PCs have PATA optical drives so no chance of salvaging one) so used a USB stick to install off. As I was poking around the optical drive bay I noticed it might prove to be a bit of a mission to get power and data cables up there. I didn't play with it too long though, there might be more avenues for cable management if you disassemble the case further.

First criticism: I'm not super keen on the level of noise at the moment. I've only got the 160GB HDD that it came with plugged in and it is about as noisy as my current media server is now with 4 HDDs. I half expected this though, I built the tower to be silent - lots of rubber feet for the disks and rubber seals on the tower chassis. It remains to be seen how well the Micro chassis holds up noise wise with all four disk bays full. Discussions at work suggest that using low power HDDs will go a way to reducing noise. I've also not looked in to lowering the fan speed. Final solution is to crank up the volume in VLC.

Secondly the internal space is very tight. The motherboard sits on the bottom and the PCIe 16x slot is closest to the side. This means that any card you put into this slot can't be much wider than the width of a PCI slot (about 1.5 cm?) or it will either make contact with the side of the case or physically won't fit at all. Finally the PCI slots are low profile so the card can't be too tall or needs to have an adjustable / replaceable face plate.

Here ends my little review of the HP ProLiant Microserver, I continue on about graphics card purchases, video play back performance and getting sound out of the HDMI port.