Re: [osg-users] OSG errors when running on a virtual machine

2013-09-16 Thread AJ Kruze
Thanks for the tip, Alistair.

I found precompiled Mesa libraries at the two links below and copied
open32.dll and glu32.dll into the executable's directory.  It seems to be
working better now, though I get the following error messages.  But I
understand this is beyond OSG, I'll try to figure it out.

/AJ

--
Precompiled Mesa drivers for Windows:

http://mycodelog.com/2010/05/15/gllibs/
http://www.mediafire.com/?8hbxdg50s6nndht

--
PixelBufferWin32::init(), Error: some wgl extensions not supported
Warning: detected OpenGL error 'invalid enumerant' at after
RenderBin::draw(..)
Warning: in 3ds loader: file has no nodes, traversing by meshes instead
Warning: in 3ds loader: file has no nodes, traversing by meshes instead
Warning: in 3ds loader: file has no nodes, traversing by meshes instead
Warning: in 3ds loader: file has no nodes, traversing by meshes instead
Warning: in 3ds loader: file has no nodes, traversing by meshes instead
Warning: in 3ds loader: file has no nodes, traversing by meshes instead
Warning: detected OpenGL error 'invalid value' at after RenderBin::draw(..)
Warning: detected OpenGL error 'invalid value' at after RenderBin::draw(..)
(This last log message repeats infinitely)
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG errors when running on a virtual machine

2013-09-06 Thread AJ Kruze
Thanks to everyone for the input.  So this seems like a dead end for now!

But two things I can try: MESA as Aurelien suggests, and some other VM
which may support the necessary OpenGL functionality.

I'm posting here once more my system setup, just in case.

-
Host: Ubuntu 12.04.2
Guest: Windows 8

OSG 3.0.1
osgSWIG cloned from the repository

VirtualBox 4.2.16, Guest Additions installed
VirtualBox settings:
3D and 2D acceleration enabled
256MB video memory (the maximum allowed)
-
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG errors when running on a virtual machine

2013-09-06 Thread Alistair Baxter
Mesa works for us on Windows, just by dropping the GLU32.dll and OPENGL32.DLL 
into the directory with your executable. We use it to support OpenSceneGraph 
rendering via Remote Desktop Protocol.

It's quite good in that it supports OpenGL version 2.1 and GLSL 1.2, but it's 
not very fast, it's effectively just for last-resort compatibility rather than 
any sort of decent performance unless your scenes are very simple.

The biggest problem with Mesa for Windows is getting it. The build instructions 
are a bit complex, we got prebuilt DLLs from someone on this list, but looking 
back through the mail archive the dropbox download links are no longer working.

Alistair Baxter
Software Engineer

Midland Valley Exploration Ltd.
144 West George Street
Glasgow G2 2HG
United Kingdom
Tel: +44 (0) 141 332 2681
Fax:+44 (0) 141 332 6792
The structural geology experts

From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of AJ Kruze
Sent: 06 September 2013 08:28
To: OpenSceneGraph Users
Subject: Re: [osg-users] OSG errors when running on a virtual machine

Thanks to everyone for the input.  So this seems like a dead end for now!
But two things I can try: MESA as Aurelien suggests, and some other VM which 
may support the necessary OpenGL functionality.
I'm posting here once more my system setup, just in case.

-
Host: Ubuntu 12.04.2
Guest: Windows 8

OSG 3.0.1
osgSWIG cloned from the repository

VirtualBox 4.2.16, Guest Additions installed
VirtualBox settings:
3D and 2D acceleration enabled
256MB video memory (the maximum allowed)
-
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG errors when running on a virtual machine

2013-09-05 Thread Marcel Pursche
Hi,

it looks like the driver in your virtual machine does not support OpenGL =2.0. 
The function pointers for some newer features can not be found. So things like 
shaders, occlusion queries, framebuffers and instancing will not work.
If fear there is nothing much you can do about that. You can only try to update 
VMWare, VirtualBox or whatever product you are using and hope it fixes the 
problem. The 3D hardware acceleration in a virtual machine is generally not 
that good. 

Thank you!

Cheers,
Marcel

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





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


Re: [osg-users] OSG errors when running on a virtual machine

2013-09-05 Thread Marcel Pursche
Hi,

according to the homepage of VMWare they support DirectX 9.0 and OpenGL 2.1 and 
VirtualBox has DirectX 9.0 and OpenGL(no version mentioned) support.
So hardware accelaration should work, if a new version of VMWare or VirtualBox 
is used.

Thank you!

Cheers,
Marcel

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





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


Re: [osg-users] OSG errors when running on a virtual machine

2013-09-05 Thread Jordi Torres
Hi Marcel,


2013/9/5 Marcel Pursche marcel.purs...@student.hpi.uni-potsdam.de

 Hi,

 according to the homepage of VMWare they support DirectX 9.0 and OpenGL
 2.1 and VirtualBox has DirectX 9.0 and OpenGL(no version mentioned) support.
 So hardware accelaration should work, if a new version of VMWare or
 VirtualBox is used.


Don't expect the drivers of the virtual machine for OpenGL to be fully
implemented. They may not have all extensions or features you need. At
least not yet.

Cheers.



 Thank you!

 Cheers,
 Marcel

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





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




-- 
Jordi Torres
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG errors when running on a virtual machine

2013-09-05 Thread Aurelien Albert
Hi,

I've got some bad experience with virtual machines.


 The 3D hardware acceleration in a virtual machine is generally not that good.


In fact, hardware acceleration is usualy not available at all on a Virtual 
Machine. Because this is a virtual machine.

Just like a remote session on windows : you can't access directly to the 
hardware.

There is 2 potential solutions :
 - try finding a virtual macine system which allow direct access to the 
hardware (don't know the status, but NVidia made a lot of efforts on this since 
last year)
 - try a full software openGL implementation, like MESA


Cheers,
Aurelien

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





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