Hi,

Lucasw wrote:
I've seen a few other threads about osgdem with non-accelerated
graphics, I've tried it myself and am curious about the details of
why it won't work.

I have ubuntu 8.10 running in virtualbox, have libgl1-mesa-glx
installed (which has mesa '7.2-1ubuntu2'), and osg 2.8.0 builds fine
and running osgviewer cow.osg also works.  VPB also built okay.

When running osgdem, these errors are output (and no processing of
textures or height maps is done, and no output files created):

Error: :0.0 no Pbuffer support in GLX available. Error: Not able to
create requested visual. Error: Unable to create graphis context,
problem with running osgViewer-2.8.0, cannot run compression. Elapsed
time = 0.174421

like you see, osgdem requires a valid context to be able to do texture compression. I have not tried to switch the texture compression off, but I'm not sure if you can ge away without a valid context. I'm also not sure if there is a fallback in osgdem if pbuffer does not work.


The first error is because glXQueryVersion says the opengl version
number is only 1.2 (and glxInfo concurs).  The mesa website claims
support for 1.3 for years, so I don't understand this.  And the last
error is because the creation of a GraphicsContext fails- I haven't
look too deeply at that one.

I'd try compiling a newer version of mesa, it is quite painless on Linux.


osgprerender cow.osg --pbuffer runs as if it is working, but also
outputs an error about 'no Pbuffer support in GLX available'- maybe
falling through to another prerendering method?

I think it is probably using something else. Try running with

export OSG_NOTIFY_LEVEL=DEBUG

before osgdem and see if there are more details.

Other ways would be to run in c++ debugger, read code or run through opengl debugger.

jp


I'll probably inquire on a mesa forum, but if anyone can point out
the opengl functions OSG is calling that might be failing that would
help.

Thanks

-Lucas

------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9689#9689





_______________________________________________ osg-users mailing
list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to