Re: [osg-users] Does OSG function over VNC?

2010-08-30 Thread Robert Osfield
Hi Harry,

On Fri, Aug 27, 2010 at 8:08 PM, Harry Johnson
harry_c_john...@yahoo.com wrote:
 Hi Robert,

 Yeah, I understand that the issue is with limited GLX support in the VNC 
 server. However, seeing the glsl_simple.osg actually render, albeit with 
 errors, makes me wonder if there isn't some switch to OSG that would result 
 in it using a 'dumbed down' set of glx features with the understanding that 
 performance/appearance will likely suffer.

There will be two separate issues w.r.t OSG - GLX and OpenGL. You are
reporting errors in both - GLX with bad requests and OpenGL with
missing features (such GLSL).

It might be that the GLX errors will be affecting which OpenGL driver
is being selected.  Unfortunately I'm not an X11 expert, let alone a
VNC one so I can't really help with the specifics.  I have used the
OSG via VNC before it worked OK, but I didn't test it too thoroughly,
and it was long ago I can't recall the details I'm afraid.

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


[osg-users] Does OSG function over VNC?

2010-08-27 Thread Harry Johnson
Hi,

I am new to OSG so be gentle. Many of my users want to run their gui on a 
remote server through VNC, however, when I run the osgviewer cow.osg over vnc 
nothing gets rendered and I get lots of errors echoed to the terminal such as:

Got an X11ErrorHandling call display=0x643b30 event=0x4084f7c0
GLXBadRenderRequest
Major opcode: 148
Minor opcode: 1
Error code: 157
Request serial: 1620
Current serial: 1621
 ResourceID: 44

Even the very simple example in the quick start guide fails to render. glxgears 
runs fine so I know I can get a glx context. Actually osgviewer glsl_simple.osg 
renders its shapes but gives the following errors:

VERTEX glCompileShader  FAILED
FRAGMENT glCompileShader  FAILED
glLinkProgram  FAILED
FRAGMENT glCompileShader  FAILED
VERTEX glCompileShader  FAILED
glLinkProgram  FAILED

Is using OSG over VNC just a bad idea or is there some flag(s) I need to toggle 
to turn off some incompatible rendering feature?

Thank you!

Cheers,
Harry

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





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


Re: [osg-users] Does OSG function over VNC?

2010-08-27 Thread Robert Osfield
Hi Harry,

VNC/GLX support is likely the problem rather than a specific problem
with OSG.  You say that glxgears works fine, and that running
osgviewer glsl_simple.osg reports errors but in the end renders
shapes.  To me this suggests that the OSG has been able to create a
graphics context, but the GL driver being just used simply doesn't
support all the extensions.

Does osgviewer glider.osg work OK?

Robert.

On Thu, Aug 26, 2010 at 10:42 PM, Harry Johnson
harry_c_john...@yahoo.com wrote:
 Hi,

 I am new to OSG so be gentle. Many of my users want to run their gui on a 
 remote server through VNC, however, when I run the osgviewer cow.osg over vnc 
 nothing gets rendered and I get lots of errors echoed to the terminal such as:

 Got an X11ErrorHandling call display=0x643b30 event=0x4084f7c0
 GLXBadRenderRequest
 Major opcode: 148
 Minor opcode: 1
 Error code: 157
 Request serial: 1620
 Current serial: 1621
  ResourceID: 44

 Even the very simple example in the quick start guide fails to render. 
 glxgears runs fine so I know I can get a glx context. Actually osgviewer 
 glsl_simple.osg renders its shapes but gives the following errors:

 VERTEX glCompileShader  FAILED
 FRAGMENT glCompileShader  FAILED
 glLinkProgram  FAILED
 FRAGMENT glCompileShader  FAILED
 VERTEX glCompileShader  FAILED
 glLinkProgram  FAILED

 Is using OSG over VNC just a bad idea or is there some flag(s) I need to 
 toggle to turn off some incompatible rendering feature?

 Thank you!

 Cheers,
 Harry

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





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

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


Re: [osg-users] Does OSG function over VNC?

2010-08-27 Thread Harry Johnson
Hi Robert,

Yeah, I understand that the issue is with limited GLX support in the VNC 
server. However, seeing the glsl_simple.osg actually render, albeit with 
errors, makes me wonder if there isn't some switch to OSG that would result in 
it using a 'dumbed down' set of glx features with the understanding that 
performance/appearance will likely suffer.

osgviewer glider.osg does not work. :(  It also results in the 
GLXBadRenderRequest messages.

I tried to include the glxinfo output for the VNC server in this post but the 
forums tell me I have to have 2 posts before I can post a URL... I guess it 
thinks some of the glxinfo output is actually a URL of some sort. 

Thank you!

Cheers,
Harry

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





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


Re: [osg-users] Does OSG function over VNC?

2010-08-27 Thread Sean Spicer
Hi Harry,

Have a look at TurboVNC: http://www.virtualgl.org/Downloads/TurboVNC

http://www.virtualgl.org/Downloads/TurboVNCsean
_
Sean Spicer
Aqumin (www.aqumin.com)
Office+1.713.781.2121
Mobile...+1.713.447.2706
Fax...+1.713.781.2123


On Fri, Aug 27, 2010 at 2:08 PM, Harry Johnson harry_c_john...@yahoo.comwrote:

 Hi Robert,

 Yeah, I understand that the issue is with limited GLX support in the VNC
 server. However, seeing the glsl_simple.osg actually render, albeit with
 errors, makes me wonder if there isn't some switch to OSG that would result
 in it using a 'dumbed down' set of glx features with the understanding that
 performance/appearance will likely suffer.

 osgviewer glider.osg does not work. :(  It also results in the
 GLXBadRenderRequest messages.

 I tried to include the glxinfo output for the VNC server in this post but
 the forums tell me I have to have 2 posts before I can post a URL... I guess
 it thinks some of the glxinfo output is actually a URL of some sort.

 Thank you!

 Cheers,
 Harry

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





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

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


Re: [osg-users] Does OSG function over VNC?

2010-08-27 Thread Harry Johnson
Hi Sean,

I did try turboVNC but it did not even provide a glx context. I had not also 
installed virtualgl however which may have solved the problem. The issue is 
that I cannot require my users to all have installed virtualgl and turbovnc. I 
am coding to a fairly vanilla debian install.

So I take it there are not any switches or settings to allow me to turn off the 
less supported glx calls?

Thank you!

Cheers,
Harry

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





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