Fixing the Blu-Ray Blues

Not too long ago I moved my former PC of greatness down to its destined home, the basement AV rack. That was after a reconfiguration to Windows 7 RC and the addition of a spiffy new Blu-Ray (BD) drive and IR receiver. For the most part Win 7 is great, and the Media Center application is better than ever.

So I finally got to the point of actually trying out BluRay playback for the first time, and here’s what I got:

Well, crap! I spent a total of seven hours tracking down the source of the problem. My first expectation was the video driver, so I tried several clean installs of various versions. No luck. I thought maybe it had to do with some of the auxiliary applications I run (anyDVD and powerStrip), so I tried updating, then altogether disabling them. No luck. Maybe the actually software playing back the BD disc? I updated PowerDVD to the latest version. No luck.

With all the software options running out I started to suspect hardware. To eliminate the BD drive itself, I tried playing back a 1080p rip of Ironman. Sure enough it quickly threw up the same BSOD. So, it seemed there was a problem with 1080p video decoding in general. Wasn’t my trusty 7900 GT OC up to the challenge of BluRay decoding? After all, 720p videos were playing fine and it still had decent power for gaming last time I used it.

Google eventually led me to this thread where one guy recommended changing the K-Lite ffdshow configuration for H.264 decoding. Pretty obscure, but I did that and then tried to play the Ironman file and it worked great! So this was definitely pointing to something about the 1080p H.264 decoding as the problem. I tried to play a BluRay disc in the drive again and got another BSOD. See, changing the ffdshow decoder works fine for apps that use ffdshow (like Media Player Classic and VLC Player), but it’s not used by powerDVD which is one of the very few programs that reads BluRay discs well (i.e. support the latest BD features). Not only that, but ffdshow involves software decoding leading to much higher CPU utilization than with hardware acceleration.

From there I started reading about the basics of Windows hardware acceleration trying to understand why I was crashing during HiDef playback. DXVA (Direct X video acceleration) is Microsoft’s API for hardware acceleration and, in my case using an Nvidia card, PureVideo is the bit-stream link for DXVA to use the GPU for processing. DXVA was even enhanced on Vista and Win 7, so what gives? Turns out, my 7900GT features Nvidia PureVideo technology, but not their enhanced version, PureVideo HD (this was added in the 8 series GPUs). The original generation of PureVideo cards apparently handles MPEG-2 decoding very well, but the second generation handles H.264 1080p decoding much better.

So, I needed to upgrade the graphics card after all. I decided on a 9500GT which offers the hardware acceleration I needed at a pretty low price point. While I was at it, I went with a card that had a native HDMI jack and a large heatsink with no fan. It also has 512MB of RAM, up from the 256MB on my last card. Suddenly 1080p playback with hardware acceleration was a breeze and CPU usage dropped way, way down. The native HDMI connection is extremely nice, too – the picture is sized and centered perfectly (no more need for PowerStrip) and much sharper than VGA which I was using before.

Filed under Basement, Comp hardware / mods

Mouse Refab

I’ve had a Logitech G7 wireless mouse for about 3 and a half years. While every other piece of my gaming rig has been replaced and upgraded, I still am lovin this mouse. The sensitivity is great, the weight is nice, and the body is just right. You can even still get new rechargeable batteries for only 5 bucks and a new, slick set of feet for $2. But after all these hours of gaming (and some work) it’s showing signs of wear. Mechanically, it’s held up great, but the finish in a few spots has worn off leaving a somewhat rough surface at the palm and fingertip areas. So I decided before the past MML I’d refinish it.

I started with taking it apart and cleaned it up. There were 3 pieces that needed painting (since I didn’t care to repaint the bottom. To remove any dirt and oil from the three pieces I give them a wash in dish soap, then a thorough rinse. Then I used a small piece of 400 grit sandpaper to remove the former glossy coating and smooth the areas that were roughly worn. Then I donned a pair of latex gloves and gave them another rinse, dry, and then used a swab of mineral spirits to remove any last residue.

I decided to use Dupli-Color’s gloss black Vinyl & Fabric Coating. This stuff (also known as vinyl dye) is unlike usual spray paints. Instead of making a coating over a surface, it sinks into the object, and because of that it’s more flexible and durable. From what I’ve read, vinyl dye is the nicer way to plaint most plastics and especially any that will be handled a lot. I thought about using multiple colors and stencils, but opted to keep it simple and go with gloss black and clear coat. The clear coat to use is Acrylic Lacquer, not the Enamel Lacquer they also make.

Thin coats are key since it can easily run and there’s no need to pile up a think coating (since it’s going to sink in anyway). I started with about 3 black coats, then wet sanded with 800 grit, and repeated the process. After that, I sanded and coated the center piece one more time. You only need to wait about 15 minutes between color coats so the whole process doesn’t need to take too long. Once the black had time to dry very well, I started with the clear coat. After about 3 thin coats I wet sanded with 1000 grit and finished with two more coats.

After re-assembly (with new feet!) I let the whole thing sit for a week before using it. I even put it out in the sun a couple afternoons to really cure it. The final result is like a new mouse. By varying the number of coat-and-sand cycles I got a nice subtle distinction between the center and the sides. Maybe next time I’ll go for something more graphic.

Filed under Comp hardware / mods

Computer Build 09: Part 13 (it’s a wrap!)

This past weekend I put the finishing touches on the big red box. Here’s a rundown of all the last projects in pics.

Added handles. These are standard drawer handles from Lowes.

Added soft grips to feet. The original feet were clear acrylic – nice looking, but hard and smooth. These pads add some grip and may quiet things a bit.

Created green board cover. Remember how the wireless network card had a green circuit board? I made this cover from a piece of acrylic, some black mesh, and an old ISA slot cover.

Using the same mesh I covered the top of the front panel bay device just to clean up the appearance.

Added third hard drive. Brought one more drive over from my old machine. This one sits behind the front 120mm fan.


Filed under Comp hardware / mods

Computer Build 09: Part 12

So what’s to be made of all those numbers in the previous post? What kind of difference has all that tuning made to performance? Let’s take a look.

3Dmark06

This is the previous gen benchmark from Futuremark and is still useful for comparing against older DX9 systems. Here I could compare my stock and overclocked scores from the new I7 machine to my previous best score from my old 939 system (AMD X2 4400+ OC’d to 2.6, 7900GT OC).


3Dmark Vantage

Vantage is the latest benchmark from Futuremark and it puts a good test on the graphics system (including DX10 features) and the CPU (including physics processing). Incidentally, during the overclocked run the CPU temp peaked at 76°C and the GPU hit 65°C.


Crysis

Since it was released in Nov ’07 the game has been making graphics cards cry uncle. Using the CryEngine 2 engine it takes advantage of the latest DX10 features and makes extensive use of physics processing. The game includes a built-in benchmarking utility which makes for reproducible test runs. The temperatures reached in the overclocked configuration were 65°C on the GPU in the graphics test and 54°C on the CPU in the CPU test. Both tests were run with 64bit high quality settings, 1920×1080, and 2x anti-aliasing.


Team Fortress 2

TF2 is a fairly low demanding game graphics-wise, but one I play a lot. This benchmark (as well as for the other games) was averaged from multiple runs of typical gameplay at max quality settings.


Left 4 Dead

L4D is one of Steam’s newest game set in the middle of a zombie apocalypse. The number of on screen models and sophisticated physics and AI engine make the game fairly demanding on the highest quality settings (1920×1080, 4x anti-aliasing, 4x filtering, high quality)


UT3

Unreal has been a staple of fast-paced FPS for years. UT3 is a couple years old now, but still provides a decent graphics test with high settings (1920×1080, max quality).


Audio Encoding

For this test I ripped an audio CD to mp3 (13 tracks, 256kbps, CBR, Lame encoder).


Video Encoding

For this test I converted a 40MB flv video to mp4 H.264.


WinZip

Here I compressed 223MB (17 files) into a new zip archive.

In summary, while the synthetic benchmarks show sizable gains from overclocking, most games already run so smooth on this platform that there is only a relatively small difference in frames per second. The improvement tends to be about 10% which is in line with the overclocking on the graphics card. The big boost I made to the CPU simply doesn’t factor into in-game performance since there is already ample processing power. In comparison, the encoding and compression tasks that rely on the CPU showed a nice 20-30% performance bump.

Filed under Comp hardware / mods