[vtkusers] multiple vtkRenderWindow display error

Clinton Stimpson clinton at elemtech.com
Tue Jan 17 12:34:14 EST 2006


And what platform are you on?
Clint

Stephane PLOIX wrote:

>
> The error is :
> the first time the image is drawn, it is ok, but on the first 
> refreshing, the windows go black.
>
> when I close the application, I have the following error messages :
> X Error of failed request: GLXBadDrawable
> Major opcode of failed request: 145 (GLX)
> Minor opcode of failed request: 5 (X_GLXMakeCurrent)
> Serial number of failed request: 56
> Current serial number in output stream: 56
>
> PS: I tried the same code in c++, it works well.
> In python, it seems that the error comes from the creation of several 
> windows.
> The fact that they share the same actors does not change anything.
>
> PS2: I use a modified vtkRenderWidget.py (cf "[vtkusers] QVTK : pb 
> with Qt designer and python" thread,
> with line 106 "apply(QWidget.__init__, (self,parent,name) + args, kw)"
> replaced by "apply(QWidget.__init__, (self,parent,name) + args)")
>
> Stephane
>




More information about the vtkusers mailing list