[vtkusers] Offscreen Rendering with Xvfb

Joey Mukherjee joey at phobos.space.swri.edu
Tue Mar 26 11:16:45 EST 2002


Ok, I am trying to use the vtkOffscreenRenderWindow by John Shalf with Xvfb, but 
am running into a core dump.  What is happening is this line:

v = glXChooseVisual(this->DisplayId,
                    DefaultScreen(this->DisplayId),attributeList);
                    
is returning NULL.  This cause the v->depth to core.

Why would glXChooseVisual return NULL?  

This is how I am starting Xvfb:

Xvfb :1 -pixdepths 8 16 32 -screen 0 1600x1200x16

I've also tried it without the pixdepths argument, but no luck.

Any ideas?

Thanks,
Joey

+--------------------------------------------------------------------------+
+                                                                          +
+     Joey Mukherjee                 "The price of freedom is eternal      +
+     joey at swri.org                   vigilance, or $12.50 as seen on      +
+                                     E-Bay...                             +
+                                                                          +
+--------------------------------------------------------------------------+





More information about the vtkusers mailing list