Archive for November, 2007

I did it again: damn you ATI!

In this post only about six months ago I berated myself for buying an ATI-chipset graphics card for use in a Linux system.  I titled that post “Why I probably will never buy ATI again…”, as if I knew that I’d make the same mistake again.  Sure enough…

I had problems with my MythTV frontend playing particular recordings; I eventually worked out that it was HD recordings it couldn’t manage (this helped me discover the switch to HD of a previously SD stream coming out of Ten).  I figured that a swap of hardware under the frontend would be nice, to get a better CPU platform and better output capability under it.  I went shopping at my local friendly poota-shop’s website, and came up with a couple of contenders.

Looking at their site (and at the ASUS site), most of the integrated-video boards I saw seemed to be using nVidia chips.  Confident I was going to be making a sound decision, I set off to the store and ended up leaving with an Asus M2A-VM HDMI under my arm.  The clincher was my need for a real S/PDIF output, which the M2A-VM board has on the little riser-card it uses to provide HDMI, S-Video and Component video out.

Some of you will already have seen my error.  :)

The nVidia board with HDMI I had seen on the ASUS site was the M2N-VM HDMI.  The M2A-VM HDMI is obviously an ATI chipset board.  In my quest for S/PDIF, to save myself a few bucks for a header adapter, I again shot myself in the foot with the ATI bullet.

Sure enough, I had huge problems getting the thing to work.  Frame rates in MythTV, no matter what I did, were abysmal.  I tried installing Mythbuntu again to see if later drivers would help (compared to those on the existing Knoppmyth R5F1 build I am running), to no avail[1].

I was considering lumping it, and sitting on it until things catch up and I can make it work, but I think I’ll just go back to the store and try and switch it for either the M2N-VM DVI (no S/PDIF) or M2N-VM DH (this has onboard S/PDIF but also costs an extra AU$40 thanks to all the WiFi and other guff it comes with).  Unfortunately the store doesn’t have the M2N-VM HDMI, which would let me keep the future capability for  a HDMI-capable display, but by the time I look at needing HDMI I’m likely to be needing to replace the thing again anyway.

To add insult to injury, when I put the old MythTV frontend box back I used a low profile case which meant I had to leave out the old nVidia FX5200 it was running off and go with the onboard Via graphics.  I had heard that some of the Via chips had MPEG2 smarts, and it seems to be true: this old box with what I thought was the crappy cheapo onboard graphics chip now seems to have no trouble with HD output to VGA.

Sigh.

[1] Apparently some victimsowners of the M2A-VM HDMI have had success downloading the very latest drivers directly from ATI rather than sticking with those provided by their distro.  If I get time to give that a run I’ll report.

Tags: ,

Nokia sync software for Mac!

I managed to fill up the multimedia card on the N70 — the only thing that’s surprising about that event is the length of time it took me to do it. :)   So I went looking for ways to get photos out of the phone into iPhoto.  I can’t believe it took until the third page of Google’s responses to come up with this little treasure: Nokia Multimedia Transfer.

It would seem that the good folks at Nokia have finally discovered Mac.  Nokia Multimedia Transfer allows you to browse your phone’s contents in a Finder-like window (similar to how the Nokia Phone Browser on Windows is Explorer-like) with full drag-and-drop support, sync music from iTunes to the phone, and have iPhoto treat the phone as a camera.

I installed the software (which is still labelled as a beta) and started it up… and straight away iPhoto lit up and told me that photos were ready to import.  I had already set up Bluetooth connectivity to the phone for iSync, and the Nokia utility just used it.  From this aspect alone, the integration of this software with the OS beats the Windows experience hands-down[1].

It’s not perfect, mind…  It took a looong time for the iPhoto import to prepare (although it was looking through about 160 items, over Bluetooth 1).  It finds all the supplied stock media as well, and wants to sync that (again, not really the tool’s fault, I probably should clean all that rubbish out some time or other so that it doesn’t show up in the phone’s Gallery either).  And I still had to go through each photo to make sure the timestamp was correct and fix it if it wasn’t (there seems to be no pattern to this problem, a group of photos taken all at the same time had some with correct timestamps and others that were wrong).

Despite the problems though, it still beats sending photos via Bluetooth file transfer and manually importing them to iPhoto!  Good stuff, Nokia.

[1] Okay, so Nokia doesn’t really get the bouquet all to themselves for that… the brickbat has to go to Windows’ stupid arrangement with third-party Bluetooth stacks and how hard that makes it for Nokia et-al to write their software.

Tags: ,

Gentoo “hardened” multilib?

I had some system problems yesterday.  My VMware guests just stopped.  Middle of the day and they just died.  I tried to run the management console or even the command line programs, but they all failed with the infamous “VMware is installed but is not configured for this system…” message and the prompt to run vmware-config.pl.  I re-emerged vmware-server and vmware-modules with no luck.  vmware-config.pl was failing trying to run vmware-vmx at the serial number check, the error was “No such file or directory”.  But there it was, right where it was supposed to be, permissions correct and everything…

Knowing that generic error can apply to a missing file that the program is trying to execute, I checked what type of file I was looking at: file reported a dynamically linked program.  Great, run ldd to find out what it wants: ldd reports “not a dynamic executable”.  Oh dear.  It was starting to look like a long night was ahead.

I jumped on the Googleweb and discovered that others had encountered the problem I was seeing, but the hits were all a couple of years old.  Their problems seemed to be caused by missing 32-bit libraries on a 64-bit system.  How could this happen?  In older Gentoo releases you had to choose multilib, but according to most of the doco all profiles are multilib unless you choose a “non-multilib” profile (this explained the fact there were few-to-no recent hits for the issue).

Recently I had switched to the hardened profile…  I had a look, and there is a separate “multilib” profile in hardened.  So is the doco wrong: are all profiles multilib except ones called “non-multilib” AND except hardened because they have a different rule?

I had two choices then, try out the hardened multilib profile, or switch back to the previous profile I used.  Considering I hadn’t enabled any Hardened features and don’t really have time to figure it all out at the moment any (I only did it to get rid of the “unsupported profile” warning I get every time I merge a package), I copped out and switched back to the old profile.

Then I had the next issue: I couldn’t use the non-multilib gcc and glibc to build multilib versions of gcc and glibc.  The gcc build complained about a missing 32-bit header (should have been part of glibc) and the glibc build complained that cpp failed sanity test.  Again the Googleweb came to the rescue, pointing me to a Gentoo repository containing binary packages of gcc and glibc that I could apply.  They allowed me to rebuild my own gcc and glibc.

At this point I found that the vmware-config.pl script could run again.  I was BACK!  I started VMware services, ran the managment console, and started my VMs.

I think I get a bit complacent with my home gear sometimes; switching profile to hardened was something I almost did on a whim, and it’s bitten me fairly badly.  Lesson learned.

Tags:

Another big bang

I was using a fitness ball (swiss ball, exercise ball, gym ball, etc) to sit on in the study in lieu of a normal chair.  I have to be honest and say that the experiment wasn’t working for me (it was supposed to get me disciplined to keep straight posture while seated) and I was considering giving up and going back to a chair.  The decision was made for me yesterday when it burst while I was sitting on it.

I’ll admit, it was helped (but not deliberately).  I had bits of PC case lying all over the floor, and I was rolling around to reach something to one side of me[1]…  The ball pushed onto the corner of a CD-ROM drive bracket, hard enough to pierce the rubber.

Before I talk about what inevitably happened next, I need to mention that the manufacturer of the ball labelled it “anti-burst”.  I actually gave this a bit of thought — not to the point of buying an anti-burst type over one that made no such claim, but more that I was intrigued by the thought of what a large rubber sphere filled with air to a sufficient pressure to keep 100+kg of human off the floor was supposed to do when breached if not burst.

Also, just prior to my deciding to start using a gym ball as an office chair I had listened to This Week In Tech Episode 98, “The Big Bang”, in which the show’s host famously, during the episode, experienced a “catastrophic decompression” of his own swiss ball.  In fact, ironically, that event was my inspiration or motivation to use a gym ball (and if you can figure that out for me, I’d appreciate it).

If you listen to that episode (as one poster to the TWiT forums said, “the magic happens at 47:30″) you hear quite a loud explosion as Leo’s ball gives way, followed by impacts of various objects (including Leo himself).  He described it as “my swiss ball exploded”.

My experience was nothing like that!  As I said I was sitting on the ball and rolled toward what I was working on.  I heard the sound of the ball being pierced, and a slight hiss of air — but I was still sitting.  I realised instantly what had happened, but before I could actually move the ball gave way and dropped me to the floor.  About a third to a half a second elapsed between the sound of the puncture and my assumption of a new lower seating position.

Picking myself up, I inspected the carcass of the ball and found a single tear in the rubber that was nearly half the ball’s circumference — the initial hole travelled as the pressurised air was forced through.

So was the ball “anti-burst”?  I’d have to say yes.  It still failed, but not in the way that Leo’s ball went BANG.  There was virtually no sound (other than me hitting the deck of course) and even though I didn’t have enough time to jump off the ball or otherwise avoid the fall, that might just be because I’m on the heavier end of the scale.  Someone lighter may well have put the hole under less stress and caused it to rip later or slower (or maybe not at all).

So if you’re a gym-equipment-for-office-furniture type of person, having lived through the event I’d say definitely get the “anti-burst”.  Sure, it won’t keep you off the floor if it gives way, but it’ll be a smoother ride down.  You’ve probably got more to worry about from possibly hitting your head on the desk as you go down (I reckon I was perilously close to that this time, as I had my back to the desk), or from landing on the tacks your “friends” put out to find out if your gym ball is the anti-burst kind.

Oh and I’m fine, by the way…  ;)

[1] Anyone who’s used one of these things as fitness equipment or as office furniture will understand the movements you just pick up like second-nature.  Office-chair users: when you need to talk to your buddy at the next desk, you don’t think twice about turning around and pushing yourself backwards across the floor to reach her do you?  Same kind of thing.

Sorry, AMD

I haven’t switched sides, really… but four cores for AU$330 was too much to resist.  :)

I’m doing the cascading hardware trick…  But instead of buying the new top-end rig and finding something to do with the surplus gear, I found something new to do with my existing desktop and had to replace it.  AMD’s 4×4 stuff looks good, but by the time I got two CPUs, a Socket F board and some new RAM I’d be in for around AU$1500 which I just can’t justify at the moment.

A colleague at work posted that the Q6600 was at his fave online store for AU$340.  Not believing this could be true, I went to my fave online store — which has a shopfront just down the road — and saw it for AU$330.

Beads of sweat started to form on my upper lip…  My left eyelid started to twitch uncontrollably…  Well, not really, but I’m sure you know the symptoms of Shiny Mania!

So I have some Intel kit again (not counting laptops).  The last Intel chip I bought was a thermonuclear 2.4GHz Pentium 4, and it’s actually running the system that will get replaced in this project.  Ever since I bought my first Athlon I’ve wanted to be AMD-only, but it seems that the performance gong belongs to Intel right now.  I’m confident that AMD will get it back with the next Opteron generation, and that will likely be what I replace the current Opteron server with one day.  For now, I’ll console myself with building a system in an architecture called “amd64″ on an Intel chip. ;-)

I’ll save the details of the buildup for another set of posts (what I’m building now is the P4 replacement, not the new desktop) but I will say this: It’s Quick.  And it’s got four cores.

Tags: ,