[osg-users] GL compile context problems

Glenn Waldron gwaldron at gmail.com
Tue Oct 2 14:21:32 PDT 2007


Thanks Robert, I will see what I can discover.

The Windows error resulting from wglMakeCurrent is "The requested resource
is in use" (according to GetLastError). I will keep digging on this one..
-gw

On 10/2/07, Robert Osfield <robert.osfield at gmail.com> wrote:
>
> 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.
>
> Robert.
>
> 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
> >
> >
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071002/5fed7e95/attachment-0003.htm>


More information about the osg-users mailing list