September 20, 2007
Today's GeekSquee
I have much geek-joy this morning. Yesterday was a banner day in playing with all the little toys I have, and building up some new ones. Without boring you all to smithereens going on about details in my Java / XML project, lets go with a few things that are slightly more tactile. Gaming, Cons, CD's, and wafts of fresh air.
On the gaming front
This is a two-fer. In a few weeks I'll be going down to Ubercon to help them run registration, but naturally as part of that, I get in some good tasty gaming while I'm at it. Last year I hauled my MythTV box along with me, and there was much enjoyment to be had, sitting around playing old MAME games using USB Joypads.
Alas, I've become quite disenchanted with the Myth project lately. With Comcast blocking tuning control, really all I use the Myth box for is playing MAME games and occasionally acting as a Radioparadise tuner. The Myth game interface is not very good, and dealing with my large collection of games can be very painful. I even tried pulling the latest copy of KnoppMyth and seeing if the many UI bugs were fixed, but no, it's still too painful to work with. (Here's a simple example. The Myth interface allows you to select and stream online radio. Awesome! But it can ONLY do this one thing. You cannot select a radio station, then go off and play games, or update your channel listings, or leave CNN on with the sound muted and music playing. I've just turned an $600 computer and an $800 television into a transistor radio. Feh).
At any rate, I've been searching for a better gaming system. With all my mad geek love for all things KDE, I checked to see if the Kubuntu distros had any good mame front ends, and lo, I've found KXMame! A native KDE application for running Mame games. Outstanding! A little fiddling, a little tinkering, and the games were up and running. Hooray! I have a native desktop interface to my games now.
The only thing missing was a decent controller. I had been using very cheap USB gamepads I picked up at CompUSA for something like $7 each. They were 'okay', but I wanted better. Then I remembered somewhere in a woot I nabbed a Logitech Dual Action USB game controller. These controllers are basically copies of Playstation "dual shock" controllers, with a pair of analog joysticks, a direction pad, 4 controller buttons, and four 'fingertip' buttons. The form factor and heft was right, and they were USB. So, naturally (everyone say it with me) "they should work fine under Linux!!!"
Bet you thought I was going to go into a yak-shaving description of getting the controller working, eh? I'm happy to report, that wasn't the case at all. The controller plugged into yawl, was recognized immediately, and I simply had to tell KXmame that the joystick was attached. Voila! I had a decent handheld controller. The dual joysticks are a DREAM to use in games like Robotron 2084 and SmashTV. Now I'm considering how to reconfigure one of my PCs into a dedicated Mame machine, using KXmame as the front end (which can be controlled via the joystick).
But what about the CD's?
Right, I did mention CD's. I have to give huge happy props to the wonder that is K3B. This is a KDE CD / DVD burning tool that is one of the most polished apps in KDE. That is not to say it's not without it's flaws. It can occasionally be infuriating to work with it and external DVD drives that do not notify properly when they've been opened. "Use that disc" "There's no disc in there" "Yes there is, I just put it in." "Well then close the tray on the door" "IT IS CLOSED!" "..." "Fine, open the tray and we'll reload it." "The tray is already open." "AARGH!") - but beyond these trivial exchanges, being able to clicky-click "Burn that ISO to a CD please" and have it even show a little status popup window while I'm working in other windows... ahh, magic."
Oh, and about that wind...
I have to admit, before all n sundry, I... have performance problems. *sniff*
Okay, not THAT sort of performance. This performance is by clipper, in particular while playing Eve. Apparently the laptop just can't handle when my room here at geek manor gets up to 85 degrees. It starts getting more and more sluggish, eventually stopping running altogether. I've written about this before, and I think I've tracked it down to being purely heat related. On cool, dry days, I have no issues. On hot sticky days, whoah nellie. So last night I set up some Extra Cooling in the form of a 17" fan in the door of my room, blowing roughly in the direction of the laptop. I was happily able to keep Eve up and running for several hours without a single performance glitch. It helped that we're out of the dog days of summer, but the house we're in has... shall we say... poor thermodynamics. It still gets uncomfortably hot in the afternoon, even when it's 65 degrees outside.
Enough geeking for now! A work day is ahead, and the not-very-interesting-for-blogging-but-still-fun work needs to be done.
June 9, 2007
Enabling Relationships
I have to admit, there are times when having an enabling partner brings unexpected benefits.
In this case, my wife happens to work for Bose as a project manager, and as such as access to their employee discounts and specials. Because of her signing bonus, we have a lovely Bose Lifestyle 48 soundsystem to complement the Big TV. I would never have the money to be able to afford such an extravagant system, but it's hard to argue with the discount.
Tonight I added some more pieces to the mix. We got some new speaker stands for the satellite speakers, and rewired the MythTV box a bit. The new stands look great!
Next step will be to use the new video switcher on the LS48 to route video and audio all via the Bose box. That'll require ducking into the nest O wires behind the display. Something I'm really not looking forward to. :-/
One thing I am toying with though is calling up Comcast and upgrading our cable tuner to HDTV. The whole "we'll stretch 4:3 to fit on an HD form factor" thing is getting wearing. Unfortunately, I'm guessing that Comcast is not providing boxes with enabled Firewire ports, so the usefulness of my MythTV tuner card is dropping daily. Damned corporations.
On the plus side, though, Ben has successfully aquired the HDTV cable for the Gamecube, so we'll be enjoying true 480p signal shortly from that little puppy. Mmm, SSX3 in full glory.
July 9, 2006
A successful movie night.
Last night the a-forementioned movie night was had at Chez Geek. This was my first real chance to show off the new monitor setup. We chose Chronicles of Narnia for presentation - so the kids could attend, and the grownups would have something to enjoy as well.
Everything went off well! We had 9 folks (including 3 kids), which was juuust about the right number for that space. Friendlier / snugglier people may have been able to squeeze more in, but I the combination of kids and a warm summer evening didn't make for comfortable tightly packed folks :)
This was also the test of the new room arrangement. I was getting a little frustrated with the old setup - the monitor was in a place that made it hard for a largish group of people to watch, Yesterday I changed things around, and the result made it a lot more comfortable...
After the movie we hung out and chatted for a while, which was nice. I set the Myth box to show the 'slideshow' of images I had piled into /myth/gallery. While this provided a very attractive backdrop, the gallery function in Myth has a very hard time NOT repeating images, no matter if we're in 'slideshow' or 'random' mode. I suspect it has to do with the thumbnailing function in it, but after seeing 2 images flip back and forth 6 times, I knew it wasn't random.
After the kids went to bed, I introduced a friend to Robot Chicken and we had a grand old goofy time.
All in all a good evening.
June 9, 2006
MythTV Update - New video!
It's been a while since I last posted about the ongoing MythTV project here at Chez Geek. For the most part it's been quiet. After coming back from Ubercon, where the box was very well received, I sort of parked it on the side and didn't touch it for a few weeks.
This week, things have gotten busy again.
I had been steadily grumping about the one thing that I was unhappy about with the entire setup. The TV. I was using a generic 27" non-flat TV for my video, coupled with a dolby amp and speakers. It was an 'okay' solution, I could run the S-Video out on the MX4000 card at 800x600, but it was... sketchy at best. Movies looked like, well, television shows. I wanted better.
HDTV was the obvious solution, but as anyone who has touched on this environment knows, HDTV is a minefield of buzzwords, technology, and, lets face it, cost. HDTV monitors / televisions are expensive.
The Choices
I had been keeping an eye on ebay for months watching prices on HDTV monitors fluctuate up and down. I knew I wanted something largish, 42" diagonal or larger. It appeared plasma screens were on the way out (too expensive, prone to problems). LCD direct displays were good, but not large enough. So, a projection unit of some sort, either rear projection or standard front display.
While the front projectors seem quite good, and the prices are getting better and better, I worried about how to set things up for all-environment viewing. Front projectors really require a nice dark room to work properly, and I like to watch tv during the day on occasion as well.
DLP rear projection monitors kept cropping up as a high quality, relatively low cost option. So, after lurking for a couple weeks until the right deal came up, I found what I was looking for.
The Decision
A company in New Hampshire called Tradeport USA had an auction up for a Magnavox 50ML8105D DLP 50" rear-projection HDTV going for a very reasonable price. I set up my software to watch the auction and bid for me, and let it run it's course. After a tense day or so, I was the proud owner of a lovely 115lb television, located only about an hour and a half from me, for around $750. Couldn't complain! A few days later, I drove up to NH, met with the folks at Tradeport, and loaded up the TV (complete with manual and registration papers), and came on home.
A quick word about Tradeport. I'm always skeptical about buying high end equipment, particularly 'consumer' equipment, from an ebay reseller. But throughout the purchase, paying for it, a phone call or two to check status, and visiting with them in their offices in New Hampshire, they have been courteous, helpful, and professional. Their customer support line answers on the first or second ring every time, with a real human being, who is always helpful and productive. Even when I got somewhat lost driving to their warehouse, they were very helpful on the phone giving directions. I would love to do more with them - they're now on my eBay 'favorite sellers' list.
The Installation
Now that I had it, I had to get it installed. This TV has more inputs than you can count. Okay, I did count, there's about 13 different channels you can select from. I did some initial testing running the input via the s/video front panel, which worked great, but was a far cry from the 720p the unit was capable of. The folks on IRC said the best way to get a clean signal is to run HDMI or straight VGA. Since the TV did in fact have a VGA input on the back, I wired things up, told my X-server that "yep, it's just a normal 1024x768 monitor", restarted GDM, and voila - I have a full screen, high resolution mythtv menu in place. Lovely!
Now what?
We've tested normal television feeds (since I only have a PVR-150, cable television still comes in at SDTV 4:3 format, so no HDTV off the wire yet), and some DVD. I'm having some problems with my DVD player right now, so we're skipping feeding HDTV-level video from 'Xine' on the mythtv box. I've
hooked up my old DVD player with component cabling, and that's doing JUST FINE, thankyouvermuch. Also, I was pleasantly surprised to note the Magnavox handled resolution shifts for Xmame games without a twitch. It is a bit disturbing to play Digdug, a game written for a 200x320 screen, on a 50" monitor, but the HxW ratio was correct, and the image was crystal clear. In downtime, I tend to let MythWeather run. It provides a nice 'screensaver' while working on other things.
Conclusions
The jump from SDTV 4:3 tube-based video to HDTV DLP video is... stunning. I feel doubly happy that I did not fork over several thousand dollars for this unit. $750 strikes a good balance between "Spend the money I should for a high quality unit" and "get a good deal that does what you want." Right now, I'm ecstatic.
Tonight, we watch more movies.
April 15, 2006
GeekState 1.1
After a week of whining about things broken and whys, this has been a day or two of resolution and fixing, so lets put some positive things down on the Geekscale...
- MythTV
The MythTV box has been resurrected. Thanks to the joy that is KnoppMyth, and the foresight to put all my 'file storage' (music, movies, games, etc) on secondary drives, I was able to rip out the blown drive and drop in a spare 20gigger, and have it up and running in no time.
Oh, and half a terabyte of storage? Kicks.dbs@deathstar:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/hda1 17G 2.3G 14G 15% / /dev/hdb1 233G 137G 85G 62% /myth /dev/hdd 230G 198G 21G 91% /myth2
- WinXP
Thanks to Barb's help, the WinXP box has been rebuilt. Or reinstalled. or something. We waved an XP installer CD at it, and said "Thou shalt rebuild yon self!" - naturally, this didn't even come close to 'just plain working'. There's a whole nother series of rants on the idiocy that is the WindowsXP operating system - suffice to say, at one point I had to boot said KnoppMyth CD on the Windows box _JUST_ to find out what sort of video board I had via lspci. Cuz. Ya know. Windows cant' just TELL you. That would be... uh. Something. - Eclipse
So, that problem with the 'Array out of bounds'? Turns out that WTP doesn't like if you've not defined any servers for deployment, and the WebServices WSDL builder gets really ticked off without any targets at all. That was easily fixed. Alas, my workspace (Eclipses' term for where you do configuration, have projects checked out, etc), finally got too confusing to debug, so we're trashing and starting over. Fortunately, everything is in Subversion, so there's really nothing lost. Folks on the Eclipse support channel have been great.
All in all, not too shabby. I can almost feel my productivity coming back to normal! Now, hm, I wonder how my Eve character is doing...
Sidenote - when I was but a young geek, I regularly read Steve Ciarcia's 'Circuit Cellar' in Byte magazine. Every month he'd talk about all the cool projects he had around the house - stuff he was building, things that worked, things that didn't. I thought it was one of the coolest lifestyles around. I suspect I'm slowly, inexorably, following in his footsteps. Cept he was a better writer. :)
April 12, 2006
Today in the Book of Why
Friendzzzz, open our K&R to page 32, psalm 12. Today we shall recite from the Book of Why, wherein all manner of faults in life are exposed for cleansing...
Let us begin...
- Why... did my MythTV primary volume kick the bucket just at the point where I'm ready to start working on some code to interract with it? We thank the powers at Maxtor for not taking the half a terabyte of other storage with it during it's death throws. Amen.
- Why... does the Linux kernel decide to number ethernet ports, particularly wireless ethernet ports, in a totally arbitrary way? Booting up may provide us with the mysteries of eth1, or perhaps today it's eth2, or even something like eth1_someoddtext. Amen.
- Why... is the Eclipse WTP project, such an awesomely wonderful and fantastic environment, be occasionally revealing itself as 'not -quite- 100% stable', particularly when I'm in the middle of convincing a client to use it? Amen.
- Why... does the Bluetooth stack on the Treo 650 suck so bad? Simple requests for OBEX services cause the phone to crash and reboot. Connections to it are spotty at best, and it offers NO services up to a remote requestor. Makes it very hard to say "Please get my photos off my phone." It is safe to note that almost every other Bluetooth phone on the market today at least provides a Bluetooth FTP service. The Treo doesn't even have decency to say "no services", it simply drops the connection. Amen, dammit.
- Why... is there no easy way to hit the Tab key in Firefox in a textarea, and have it generate a Tab? Amen.
We shall ponder these life puzzles as we ommm around the coffeemaker and await enlightenment via it's gurgly goodness.
December 11, 2005
MythTV Gaming - Happy Happy Joystick Luv
This weekend saw some serious exercise on the Myth box. Because of a fairly major snowstorm, we spent a fair amount of time indoors, trying not to get on top of each other and stave off cabin fever. The Myth box came in very handy as (at least in Ben's case), it was the instrument of recall to his Super Bomberman days. This game, ancient though it is (the SNES version we're running is 12+ years old), is still outstanding.
What really made it tasty was we got 3 joysticks + the keyboard working on the box. Two of the sticks are the Thrustmaster gamepads I mentioned earlier, one was a Logitech Rumblepad I had frankly forgotten I owned. These all come up on the USB bus under linux as /dev/js0 through /dev/js2 respectively. More on this shortly.
The game ran perfectly via the ZSNES emulator managed from the Myth front end. With 3 adults and 1 7 year old playing, it was quite the bit of fun.
But of course, there has to be at least one hassle. The USB hookup I'm using has a tendency to reset for no reason. We're not sure if this is the hub, or the cabling, or the connectors, or what. The issue is, when it resets, the joysticks tend to be renumbered. If I'm running /dev/js0 and /dev/js1 gamepads, and the hub resets (from just moving around on the couch or the like), BING, those joysticks are now /dev/js2 and /dev/js3. Nice that it resets and reloads, not so nice in that now the main joystick I use for selecting games and controlling the Myth box is unavailable. I could use some input (so to speak) on this problem. Linux geeks may have suggestions on how to better control the dynamic device assignment in the USB system. Its workable when you have unique devices (Camera goes to /dev/camera, etc etc), but when you have multiples of the -same- device (say, 4 gamepads), I'm not sure if it's possible.
The other good toy added recently was a wireless keyboard and mouse courtesy of woot.com. This has helped a lot as it'll allow us to push the box back under the shelving by the TV (the keyboard cable was VERY annoying to deal with). Next will be a USB extension cable to bring the joysticks nearer the players.
All in all, I continue to be fascinated with this machine and all it represents.
December 5, 2005
MythTV Update - Of joysticks, remotes, and keyboards.
I've been struggling with the concept of a 'controller' for the whole project. It's easy to think of the Myth box is just like another audio/video component - something that sits in the rack, and you switch / control it via a remote to do, well, audio/video stuff. Watch TV, listen to music, record things.
But really, the machine is an entertainment center. A conglomeration of all that is 'fun' on a modern computer. It plays music from a library I configure and update. It is infinately expandable with low-cost off the shelf hardware. It plays games. It integrates with television and cable. It runs Linux. In it's spare time, it processes Seti@Home data (NB: Not a function of MythTV :).
So given the system's sort of multifaceted position in the 'home entertainment' circle, what's really the best way to interract with it? It's not a 'computer' in the sense that you'd sit in front of it and type all the time, so a traditional keyboard isn't really appropriate. On the other hand, there are times when you do need to interract with the system in more detail... searching for music, updating configurations, even websurfing... where a keyboard is really needed. But for the most part, just something that does up/down/left/right, go, and cancel is sufficient.
I also use my Myth box for gaming via XMame and snes9x, two outstanding 'classic' emulators (I know of several folks who have a dozen or more emulators configured into their system(s)). This necessitates having a joystick or two connected up pretty much full time. At the moment I'm using a pair of 'Thrustmaster' gamepads (CompUSA, $9 each) hooked up via USB. They work like a champ, and we can play multiplayer games without a problem (aside from jostling the USB hub, which tends to force the USB bus to reset, which may renumber the joystick devices when it re-inits a second or so later - oops, /dev/js0 and /dev/js1 are no longer your joysticks. They're not /dev/js2 and /dev/js3. Eee!). My problem has been that the various emulators require interaction with MythTV to start or select games, currently handled by my keyboard, then we jump back to the joystick to play the game.
MythTV has already addressed this problem. The MythTV distribution comes with a joystick configuration file called "joystickmenurc.example". Copying this file into ~mythtv/.mythtv/ (or wherever your root is for your myth user) and restarting the myth front end enables joystick navigation in the Myth menu system. After setting this up last night, I can tell you it changes the whole tv viewing experience. There's something about controlling your television via a game controller that just tickles me. I can pause viewing (which starts Myth spooling up the current show into the ring buffer), skip forward or back, change channels, as well as navigate the myth menus. I'd like to add some other button triggers to the joystick definition file, but for now, this is a major win.
I think in the end, for my particular setup, I'll end up with a wireless 'gamepad' controller with a bit more functionality than the Thrustmaster simple gamepads. That will fill the need for a 'remote' for controlling the tv, a game controller for playing games, and remove some of the need for a wireless keyboard.
November 27, 2005
MythTV Project update - Yay real screens!
Well, this weekend saw a bunch of advances on the project. The biggest was figuring out, much to my chagrine, that my Toshiba television did in fact have an S-Video input on it. Doh! I patched that puppy in tout de suite, and got an immediate full color image up on the screen. Hooray!With that cable patch, we were pretty much set. Movies, live tv, dvd's, music, etc - all were working properly. We even stopped having the lockup problem on MythMusic when going to full screen visualization.
We're not 100% there yet. XMame is acting unusually twitchy when it comes to screen resolution. Some resolutions work okay on the external monitor, some do not. I can tweak the xmamerc and get SOME of the games working, but others will stop functioning all together and bomb out on startup.
I think I'm getting closer and closer to the time where I'll need to do a Myth build from scratch on the box, building the code from source (rather than use Knoppmyth). There's too many problems with the Knoppmyth distribution that I cannot repair without an upgrade (like broken MythGame sorting, MythWeb upgrades, etc).
But for now, I have a stable, useable box.
November 26, 2005
MythTV Project update - Bad card, Good games!
I had chalked this weekend to put in some work on the MythTV Project. As of mid-day Saturday, it's been a mixed bag of results.
I received my replacement MX4000 AGP card from Newegg right as scheduled, and proceeded to install it into my system. The problem happened when I tried to remove the old card which had gotten pretty badly wedged into the slot. I believe I ended up cracking the slot (an AGP card is a 'double-depth' card, which means it goes pretty far into the motherboard). I installed the new MX4000 card, and apparently didn't quite get it in place properly, because after 5 minutes of use, I was getting noise on the screen and corrupted video. No amount of swapping, reseating, fiddling, or whatever has solved the problem, so I'm RMAing the card back to Newegg, and trying a new one. Alas, I've had to go back to my old nVidia card in the meantime.
On the good side, I did some more work with MythGame the plugin for MythTV that acts as a front end to XMame, a wonderful arcade emulator. After populating the machine with the ROMS I had (all legally, natch), it took some noodling to get MythGame and XMame to configure properly. I've narrowed down a lot of the problems to the fact that the KnoppMyth folks rolled a 'mid-development' version of Myth out with their last ISO image, so many things are only half completed. I won't be able to use the new ROM SQL database stuff yet, but 'big browsing' (using just filenames) -is- working.
I also picked up a pair of Thrustmaster (yes, thats really the name) USB joysticks from CompUSA ($9 each. Cmon), and Debian Linux picked them up automatically. I had to tell XMame to use the joystick (putting 'joytype 1' in /etc/xmame/xmamerc), as well as some other minor tunings (always run fullscreen, here's where the rom dir is, etc etc), but after that it's been working great. I have to decide whether the handheld controllers would be best, or if something like an X-Gaming controller is needed. However, in the time it's taken to write this article, my friend and my wife and my son are now gathered around said system playing Gauntlet II on the handheld controllers. That may have answered my question for me.
Minor update - Something is amiss in my USB setup. The joysticks have a tendency to disappear off the bus and not reinitialize. A hard reboot seems to fix it, but not exactly an optimal situation. Stay tuned.
"Wizard is about to die!". Ahhh.
November 17, 2005
MythTV Project Update. Disk space!
Here's a quick update to my project to build and run a MythTV box.
Today saw what is most likely the last bits of setup on the disk storage. Thanks to a fortuitous woot at woot.com, the main drive is now a 250gig WDC ATA drive. That, coupled with the 40gig drive we originally isntalled on, and a 'portable' 160gig external drive, brings us to the awe-inspiring:
Filesystem Size Used Avail Use% Mounted on /dev/hda1 2.6G 2.0G 459M 82% / /dev/hda3 4.1G 24K 4.1G 1% /cache /dev/hdb1 233G 18G 204G 8% /myth /dev/sda1 147G 43G 97G 31% /external /dev/hda4 31G 33M 31G 1% /backups
It's not quite half a terabyte. But it's getting mighty close. And I remember the GLEE I had back in the day when I first got 2 hard drives working in my very own PC. 2 20 MEG (that's megabyte) Seagate ST225 drives. I spent time just copying data from one to the other, just to see how fast it was.
This machine has over 10,000x the disk space of that old PC.
(I won't mention the 1300x the amount of memory, and some absurd performance factor between a 8mghz V20-based PC and an AMD Athlon 1400.)
Special thanks, by the way, to Ben for doing a lot of the maintenance work on this box. I know he's got some self-interest in seeing it all work, but he's the one who finally installed the Big Drive, and got it configured properly, as well as the networking work that was required for remote access.
October 29, 2005
MythTV - Success!
"It's painful to set up"
"Good luck with all the yak-shaving!"
Poppycock! I come to you happily reporting on the successful installation, configuration, and implementation of MythTV.
For those not in the know, MythTV is an opensource (aka Free) system that mimics much of the behaviour normally attributed to a Tivo. At it's very root, it is a Linux-based Personal Video Recorder (or PVR) that allows cable (and DVD and other mediums) to be stored, displayed, and manipulated in realtime, effectively turning an ordinary PC into a home video component.emotes.
Alas, MythTV has a long history of being INCREDIBLY complicated to get running. Starting with a baseline Linux install, people have talked of months of twiddling network drivers, card configurations, database problems, and video drivers all to get the system into perfect 'balance', at which point the system would work fine, but the process would ultimately leave a bad taste in the mouth of the implementor. Hardly a glowing recommendation.
Recently though, some bright folks have built up KnoppMyth, a MythTV installation wrapped into the well-known cd-based distribution, Knoppix. Knoppmyth allows you to go from a powered off 'blank' machine to the MythTV main menu - system installed, configured, and drivers ready to be enabled, in less than 10 minutes.
It wasn't without a few hiccups - mostly due to the smoothness of the installation, it was easy to try and go right into viewing online video without actually configuring the image capture boards. The system has an enormous array of configuration options which can easily baffle a newcomer, but in the end I was happily watching Comcast cable on my VGA monitor, and able to tune around the entire spectrum, complete with on screen programming guide.
For reference, here's my configuration:
- Athlon 1400
- 512 meg RAM
- 80gig ATA-100 drive
- Hauppage PVR-150 video encoder card
- nVidia NV3 video
I'll be exploring this system more over the next week or two, but so far, I'm exceptionally impressed with what the KnoppMyth folks have done in bringing a previously complex and potentially painful installation into something mere mortals can attempt.


