Add better error logging for glx surface creation failure

Hopefully this will help narrow down the cause of the error somewhat