You probably need to set your desktop to 16-bits, otherwise the worthless program known as Project64K fails to initialize that graphics plugin properly. 95% of the time, DirectX has nothing to do with it as most people these days have at least DirectX9.0 installed by default (plus, since Mupen64K does work, that further proves that DirectX is not the culprit; Project64K is just being a douche).