[osg-users] GL compile context problems

Robert Osfield robert.osfield at gmail.com
Tue Oct 2 13:24:16 PDT 2007

Hi Glenn,

I have only personally testing compile contexts under Linux and
haven't seen any error like your describe.  I've just done check
against a paged database using --cc with osgviewer and things are
working as they should.

Problems you are seeing code by a threading bug in the implementation
that the linux build isn't sensitive too, or it could be a bug in the
pixel buffer implementation, or it could simply be a bug in the OpenGL
driver.  Which?   I can't say, I'm afraid this is something windows
developers will have to debug.


On 10/2/07, Glenn Waldron <gwaldron at gmail.com> wrote:
> Hi,
> I'm eager to try out the GL compile context (--cc), but I'm getting odd
> results. If I run:
>   osgviewerd --cc out.ive
> Sometimes I get this error, after which the globe displays with no textures:
>   PixelBufferWin32::makeCurrentImplementation(), failed
> Sometimes I get this error:
>   Warning:: Mipmapped osg::Image not a power of two, cannot apply to
> texture.
>   Received a request to compress an image, but image size is not a multiple
> of four (-842150451x-842150451). Reverting to uncompressed.
> And sometimes it works and the globe appears OK.
> Note that results are the same with the --SingleThreaded option. This is
> under OSG SVN (10/2), Win XP, NVIDIA 7800GT, Athlon X2. I have the same
> error on another machine, an Intel dual core laptop running XP with a
> 7950GTX.
> Any ideas of what to look for? -gw
> --
> Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list