GLimp: call XInitThreads before creating a GL device