Hi Chen,

It looks like the OpenGL driver isn't working properly within the
virtualbox, you'll need to go look at virtualbox forums to see how
they resolve these issues.

Or... just dual boot.

Robert.

On 1 August 2013 23:26, Chen Feng <[email protected]> wrote:
> Hi All,
>
> I recently tried to run osgviewer under virtualbox 4.2.10 (3D acceleration
> enabled) with host OS as 64bit Win7 and guest OS as 64bit ubuntu 12.04. I
> installed osg by "sudo apt-get install openscenegraph". I found something
> strange:
>
> if I ran "osgviewer cow.osg" I'll get segmentation fault with no rendering
> window showing up and command line output says:
>>
>> Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version test
>> failed, requires valid graphics context.
>>
>> Scaling image 'Images/reflect.rgb' from (128,128) to (0,0)
>>
>> Segmentation fault (core dumped)
>
>
> if I ran "osgviewer --SingleThreaded cow.osg", I can see the rendering
> window with the cow and everything seems fine except the command line output
> says:
>>
>> Warning: detected OpenGL error 'invalid enumerant' at After
>> Renderer::compile
>>
>> OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in
>> your SPU
>>
>> Warning: detected OpenGL error 'invalid enumerant' at after
>> RenderBin::draw(..)
>>
>> Warning: detected OpenGL error 'invalid enumerant' at after
>> RenderBin::draw(..)
>>
>> Warning: detected OpenGL error 'invalid enumerant' at after
>> RenderBin::draw(..)
>>
>> Warning: detected OpenGL error 'invalid enumerant' at after
>> RenderBin::draw(..)
>>
>> Warning: detected OpenGL error 'invalid enumerant' at after
>> RenderBin::draw(..)
>>
>> Warning: detected OpenGL error 'invalid enumerant' at after
>> RenderBin::draw(..)
>
>
> I tried to search in the mailing list but no one seems to ever encountered
> this issue before, can anyone help to point out the problem? I also set the
> OSG_NOTIFY_LEVEL to DEBUG_INFO and save the two log file here, log1.txt is
> the one without specifying singlethreaded. Thank you in advance!
>
> Best,
> Chen
>
> --
> Chen Feng (冯晨)
> Room 1318 G. G. Brown Building
> 2350 Hayward Street
> Ann Arbor, MI 48109
> www.umich.edu/~cforrest
>
>
> To make machine see!
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to