Found what the problem was, and it was indeed not a bug.
Installing NVidia drivers downloaded from the NVidia website doesn't really work. OpenGL libraries get overrided by mesa drivers I think, not sure about that though...
What helped was this.
Thanks for answering, and special thanks to Josh for porting! Nice
// Daniel