If you lose to Vegnagun, the 'bad ending' starts automatically; if your completion percentage is realtively low (I had about 78%), then you'll get the 'sad ending' when you push X in the Farplane Glen.
That's how it was for me, anyway.