The latest DivX codecs work great for me.  I've had a lot of trouble with some Open-Source codecs like ffdshow and XViD.  I'd uninstall those and go with just DivX.  They're all nominally supposed to be compatible, so DivX should play XViD-encoded files and vice-versa.