Failed to find a suitable visual

Oliver Stieber oliver_stieber at yahoo.co.uk
Sat Jul 16 10:15:19 CDT 2005


--- Saulius Krasuckas <saulius2 at ar.fi.lt> wrote:

> * On Sat, 16 Jul 2005, Oliver Stieber wrote:
> > 
> > That's odd, you don't have a single visual that
> > supports a stencil buffer. I'm fairly sure that
> OpenGL
> > requires at least one, but seeing as you don't
> have
> > any I'll send in a new patch.
> 
> Maybe I should have been testing any real OpenGL app
> before complaining.  
> Launching Ogre3D-based game in OpenGL mode now says
> this in the output:
> 
> | fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot
> change screen BPP from 16 to 32
> | Created Win32Window 'OGRE Render Window' :
> 640x480, 32bpp
> | err:opengl:X11DRV_ChoosePixelFormat
> glXChooseFBConfig returns NULL (glError: 0)
> | An exception has been thrown!
> 
> And app quits.  This really wasn't happening
> earlier.  Should I do a 
> regression test?
> 
Yes, I think the way that X11DRV_ChoosePixelFormat
works has been changed, in your case it's not allowing
you to run the application because your running in
16bit mode. I think this restriction is too tight, and
I'm planning on using 32bit->16bit conversion for
Direct, since once the textures are loaded there
should be no real performance drop.


There's still a bug in X11DRV_setup_opengl_visual,
I'll send through a patch shortly.


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com



More information about the wine-devel mailing list