Monday, July 18, 2011

PathFind.exe 2.0.1 released

I just posted a point release of PathFind, my Windows command-line utility which finds files located on the PATH (similar to the Unix/Linux which utility).

This is a general maintenance release which fixes a minor bug where a spurious error message would be displayed when the PATH environment variable included an extra trailing “;” character.  The utility’s output is also improved when multiple matching files and/or folders are found, including a display of total matches found.

Download it from my utilities page, or directly from here: PathFind.exe 2.0.1 (6k)

Thursday, June 30, 2011

Fix: Monitor goes black and system hangs while gaming (video card overheat)

Earlier this week, I started having an unpleasant problem with my PC: While playing a game, both monitors connected to my PC would go black (as though the PC had powered off), and the system became unresponsive (the Num Lock light would no longer turn on and off when hitting the Num Lock key).  However, the music the game was playing would keep playing -- indicating that the PC hadn’t totally hung or shut down.  Opening the PC case, I noticed that my video card was very hot to the touch.

I had this happen three times in one night, in all cases happening while I was playing a game.  (It happened originally while playing Torchlight, and then again later while playing Magic: The Gathering 2012, and once again while playing the Avadon: Black Fortress demo.)

Given these symptoms, my original suspicion was an overheating-related issue with my video card (GPU), a XFX NVIDIA GeForce 9800 GT.  (The problem seemed to happen while the video card was under load; the system caused the monitors to go black but sounds kept playing; the video card was hot to the touch; the problem happened intermittently, across multiple applications.)

I posted the problem to SuperUser.com and got a helpful reply from user “Mokubai” confirming that the problem was indeed likely due to a GPU overheat, as well as a link to a very helpful free utility, GPU-Z, which (among other features) provides real-time reporting of the current GPU temperature.

I downloaded and ran GPU-Z.  It reported that the video card temperature with my PC just sitting idle at the Windows desktop was 83 degrees C (hot!).  I put GPU-Z on my secondary monitor and fired up Torchlight (a 3D game) in the primary window; after playing for just a few minutes, GPU-Z reported that my video card was up to a maximum temperature of 101 degrees C (extremely hot!), with the card’s fan running at 100% speed.  Clearly the GPU temperature was almost certainly to blame for the problem of my monitors losing signal and the PC hanging.

Tonight, I had some time to work on the problem, so I shut down and unplugged the PC and then removed the video card. The card was pretty grimy with dust.

I used a small Phillips screwdriver to remove the six screws holding the “cover” onto the card, and then removed the cover itself. Having done that, I could see that there was a lot of dirty material stuck in the narrow grooves of the heatsink, which was likely obstructing the air flow through the heatsink and preventing the card’s fan from cooling off the heatsink, causing the high temperatures.

I took a pipe cleaner and cleaned all of the gunk out of the heatsink, the fan blades, and the other parts of the card. Much better!

GeForce9800GT_grimyGeForce9800GT_clean

(Images above: Left, XFX GeForce 9800 GT with cover removed, before cleaning; Right, after cleaning.)

Having thoroughly cleaned the video card, I replaced the cover and the screws, reinstalled the card in my PC, and then powered the PC back on.

The result: Much improved temperature readings from GPU-Z!  The GPU now idles at the Windows desktop at 61 degrees C, and hit a maximum temperature of 79 degrees C with an average temperature of around 75 degrees C while playing a session of Torchlight.  The video card’s fan speed never went above 43% while playing the game, indicating that the card itself didn’t think that it was running too hot.

Given that I was originally considering buying a new video card to deal with this problem – a solution that would have run me in the neighborhood of $100 – I’m pretty happy that I was able to fix this issue of the monitors going black while gaming “for free” just by taking a few minutes to give the video card a good cleaning.

Tuesday, June 28, 2011

Fix: Attempt to log in to delicious.com is ignored

I was recently having an issue on both my home and work machines where I couldn’t log in to my delicious.com (formerly del.icio.us) account via Firefox.  After entering my login credentials, I would be redirected back to the page where I was before, but the site would still show me as being an anonymous user, rather than showing me as logged in as expected.

If I entered invalid credentials, the login page would give me an “invalid credentials”-type error as normal.

I could log into delicious.com ok using other browsers (I tried it in Internet Explorer 9).

The fix was to clear all of my delicious.com cookies from Firefox.  In Firefox 5, I did this as follows: Tools menu | Options | Privacy | remove individual cookies, selecting all of the delicious.com cookies (I had about 8), and clicking Remove Cookies.

After doing this, I could log into delicious.com normally.

Tuesday, April 26, 2011

Bounds Test v2.1.2 Released

A minor update to my “on-screen ruler” utility for Windows, Bounds Test, is now available.

This update fixes a bug where the drag-to-move and drag-edge-to-resize mouse functions did not work when the cursor was positioned over the “Widescreen Resolutions” text label.

Download it here: Bounds Test v2.1.2 (16k). It’s also available on my Windows utilities page.

ccc (Clipboard Character Count) v1.0.2 Released

I just posted a small update to my ccc (“Clipboard Character Count”) utility.

ccc is a simple command-line utility for Windows that I originally wrote back in 2006, which returns the count of characters currently present on the system clipboard.  (Useful these days to quickly see if a thought you’ve jotted down will fit in an SMS message or twitter update.)

In this update, ccc now looks for HTML table data present on the clipboard (i.e. content copied to the clipboard from a table on a web page); if present, ccc additionally reports the number of rows present in the copied portion of the table (based on the count of <tr> tags present in the copied data). This is a slightly faster way to get a count of the number of rows in an HTML table than pasting the content into a fresh Excel sheet and looking at the row number of the bottom row of data.

Share and Enjoy: ccc 1.0.2 (4k).  You can also get it on my Windows utilities page.