Are you sure your speakers aren't plugged into the Line In port? Here's a diagram showing you where the Line Out port is, just in case:

If your speakers are actually plugged into the Line Out audio port, I don't know what to do. Only one port shows up in your Audio System Prefs? There should be two, because there are two ports on your G5.