Closed ThenTech closed 4 years ago
I found this when I googling for the error: BadDrawable (invalid Pixmap or Window parameter)
https://stackoverflow.com/a/56430683
It's add this line QT_X11_NO_MITSHM=1 in /etc/environment
Hope it helps
It's add this line QT_X11_NO_MITSHM=1 in /etc/environment
I had found that too, but it appears to do nothing. The same error occurs.
For reference, running e.g. glmark2
works, as does using Qt with its OpenGL frame.
So it might be related to the setup here and trying to do this in a VM.
The reason why I am trying to test this, is because some the VisPy tests fail on Linux through Travis, but the log does not specify why, so running them myself might reveal something.
I solved it. I think it was caused by calling self.tkMap(None)
before the window was actually visible (this was not a problem on Winsows). So it works now as intended.
I am trying to integrate a Tkinter backend into VisPy using this library for its OpenGLFrame.
However when trying to test on a virtual Ubuntu machine I get the following output:
So it fails when trying to call
GLX.glXMakeContextCurrent
. Any idea why?