Re: [osg-users] Error in the new version OSG

2011-05-03 Thread Robert Osfield
Hi Maxim,

Very strange.  The threading part of osgViewer hasn't changed, and
OpenThreads under Linux hasn't changed, I don't think there is any
recent changes on the OSG side that might have introduced problems.
Doing the exactly same test on my system doesn't result in any
problems.

My best guess is that there is some driver issue on your system which
is causing a failure to create the required graphics context.  As I
suggest before getting a strack and looking at where the crash happens
might provide some clues.

Robert.

2011/5/2 Maxim Gammer maxgam...@gmail.com:
 Hi Robert,

 I checked, the result has not changed ...

 osgviewer ./osgcool.osg
 Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version
 test failed, requires valid graphics context.
 Ошибка сегментирования (Segmentation error)

 and osgviewer crash with probability 50..70%

 If i use the string   export OSG_THREADING=SingleThreaded   .. all ok.

 Cheers,


 2011/5/2 Maxim Gammer maxgam...@gmail.com:
 thanks for advice ... I will try to double-check

 glxinfo on my machine returns:
 OpenGL vendor string: NVIDIA Corporation
 OpenGL renderer string: GeForce 8800 GT/PCI/SSE2
 OpenGL version string: 3.3.0 NVIDIA 260.19.26
 OpenGL shading language version string: 3.30 NVIDIA via Cg compiler


 P.S.

 Robert, I'm sorry that I write a letter to you personally.
 how to get username / password for edit OpenSceneGraph wiki pages -
 http://www.openscenegraph.org/projects/osg/wiki/Screenshots/(MyProject)?
 I already wrote an email to joseluis.hidalgo . But without result
 Many times I wrote this letter to osg-users@lists.openscenegraph.org,
 but no one answers.





 2011/5/2 Robert Osfield robert.osfi...@gmail.com:
 Hi Maxim,

 I haven't seen any threading issues with svn/trunk, testing with
 Kubuntu 10.10 64bit, and there aren't any recent changes that are
 likely to affect threading behaviour under Linux.  I would suspect a
 build issue, runtime linkage issue.  Could you try a clean build and
 double check that you don't have older plugins being loaded due to
 hardwired paths to plugins.

 glxinfo on my machine returns:
 OpenGL renderer string: GeForce GTX 260/PCI/SSE2
 OpenGL version string: 3.3.0 NVIDIA 260.19.06

 Which isn't quite a recent as your driver, so I guess that might be
 another variable.

 Beyond this I can't really add too much other than to suggest a debug
 build and looking at the track trace at crash.

 Robert.

 On Sun, May 1, 2011 at 7:21 PM, Maxim Gammer maxgam...@gmail.com wrote:
 Hi all,

 I tried to use OSG 2.9.13 and found a strange problem

 If you do not use the string
    export OSG_THREADING=SingleThreaded
 then osgviewer crash with probability 50..70%

 I think it's all about the default mode is different from SingleThreaded

 My system:

 Ubuntu 10.04 amd64
 Nvidia 260.19.26
 OSG 2.9.13

 What do you think about this problem

 --
 Maxim Gammer
 ___
 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




 --
 Maxim Gammer




 --
 Maxim Gammer
 ___
 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] Error in the new version OSG

2011-05-03 Thread Maxim Gammer
Hi Robert,

How to get information about error? I must use Valgrind?


3 мая 2011 г. 14:03 пользователь Robert Osfield
robert.osfi...@gmail.com написал:
 Hi Maxim,

 Very strange.  The threading part of osgViewer hasn't changed, and
 OpenThreads under Linux hasn't changed, I don't think there is any
 recent changes on the OSG side that might have introduced problems.
 Doing the exactly same test on my system doesn't result in any
 problems.

 My best guess is that there is some driver issue on your system which
 is causing a failure to create the required graphics context.  As I
 suggest before getting a strack and looking at where the crash happens
 might provide some clues.

 Robert.

 2011/5/2 Maxim Gammer maxgam...@gmail.com:
 Hi Robert,

 I checked, the result has not changed ...

 osgviewer ./osgcool.osg
 Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version
 test failed, requires valid graphics context.
 Ошибка сегментирования (Segmentation error)

 and osgviewer crash with probability 50..70%

 If i use the string   export OSG_THREADING=SingleThreaded   .. all ok.

 Cheers,


 2011/5/2 Maxim Gammer maxgam...@gmail.com:
 thanks for advice ... I will try to double-check

 glxinfo on my machine returns:
 OpenGL vendor string: NVIDIA Corporation
 OpenGL renderer string: GeForce 8800 GT/PCI/SSE2
 OpenGL version string: 3.3.0 NVIDIA 260.19.26
 OpenGL shading language version string: 3.30 NVIDIA via Cg compiler


 P.S.

 Robert, I'm sorry that I write a letter to you personally.
 how to get username / password for edit OpenSceneGraph wiki pages -
 http://www.openscenegraph.org/projects/osg/wiki/Screenshots/(MyProject)?
 I already wrote an email to joseluis.hidalgo . But without result
 Many times I wrote this letter to osg-users@lists.openscenegraph.org,
 but no one answers.





 2011/5/2 Robert Osfield robert.osfi...@gmail.com:
 Hi Maxim,

 I haven't seen any threading issues with svn/trunk, testing with
 Kubuntu 10.10 64bit, and there aren't any recent changes that are
 likely to affect threading behaviour under Linux.  I would suspect a
 build issue, runtime linkage issue.  Could you try a clean build and
 double check that you don't have older plugins being loaded due to
 hardwired paths to plugins.

 glxinfo on my machine returns:
 OpenGL renderer string: GeForce GTX 260/PCI/SSE2
 OpenGL version string: 3.3.0 NVIDIA 260.19.06

 Which isn't quite a recent as your driver, so I guess that might be
 another variable.

 Beyond this I can't really add too much other than to suggest a debug
 build and looking at the track trace at crash.

 Robert.

 On Sun, May 1, 2011 at 7:21 PM, Maxim Gammer maxgam...@gmail.com wrote:
 Hi all,

 I tried to use OSG 2.9.13 and found a strange problem

 If you do not use the string
    export OSG_THREADING=SingleThreaded
 then osgviewer crash with probability 50..70%

 I think it's all about the default mode is different from SingleThreaded

 My system:

 Ubuntu 10.04 amd64
 Nvidia 260.19.26
 OSG 2.9.13

 What do you think about this problem

 --
 Maxim Gammer
 ___
 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




 --
 Maxim Gammer




 --
 Maxim Gammer
 ___
 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




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


Re: [osg-users] Error in the new version OSG

2011-05-03 Thread Robert Osfield
Hi Maxim,

2011/5/3 Maxim Gammer maxgam...@gmail.com:
 How to get information about error? I must use Valgrind?

I would start by just running osgviewer in gdb i.e.

gdb osgviewer
 run osgcool.osg

You could learn valigrind but I suspect the issue isn't really to do
with threading in the core OSG as little has changed.  Given the
context errors being reported it looks more like something lower level
is going wrong.

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


Re: [osg-users] Error in the new version OSG

2011-05-03 Thread Maxim Gammer
Hi Robert,

thanks for advice ... I will try

2011/5/3 Robert Osfield robert.osfi...@gmail.com:
 Hi Maxim,

 2011/5/3 Maxim Gammer maxgam...@gmail.com:
 How to get information about error? I must use Valgrind?

 I would start by just running osgviewer in gdb i.e.

 gdb osgviewer
 run osgcool.osg

 You could learn valigrind but I suspect the issue isn't really to do
 with threading in the core OSG as little has changed.  Given the
 context errors being reported it looks more like something lower level
 is going wrong.

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




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


[osg-users] Error in the new version OSG

2011-05-03 Thread Sergey Kurdakov
Hi Maxim

also try to play with

setReleaseContextAtEndOfFrameHint(false)

for osg::Viewer

at least this might lead to location of your problem.

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


Re: [osg-users] Error in the new version OSG

2011-05-03 Thread Robert Osfield
Hi Sergey,

On Tue, May 3, 2011 at 12:27 PM, Sergey Kurdakov sergey.fo...@gmail.com wrote:
 also try to play with

 setReleaseContextAtEndOfFrameHint(false)

 for osg::Viewer

 at least this might lead to location of your problem.

This only affect single threaded viewer usage.

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


Re: [osg-users] Error in the new version OSG

2011-05-02 Thread Robert Osfield
Hi Maxim,

I haven't seen any threading issues with svn/trunk, testing with
Kubuntu 10.10 64bit, and there aren't any recent changes that are
likely to affect threading behaviour under Linux.  I would suspect a
build issue, runtime linkage issue.  Could you try a clean build and
double check that you don't have older plugins being loaded due to
hardwired paths to plugins.

glxinfo on my machine returns:
OpenGL renderer string: GeForce GTX 260/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 260.19.06

Which isn't quite a recent as your driver, so I guess that might be
another variable.

Beyond this I can't really add too much other than to suggest a debug
build and looking at the track trace at crash.

Robert.

On Sun, May 1, 2011 at 7:21 PM, Maxim Gammer maxgam...@gmail.com wrote:
 Hi all,

 I tried to use OSG 2.9.13 and found a strange problem

 If you do not use the string
    export OSG_THREADING=SingleThreaded
 then osgviewer crash with probability 50..70%

 I think it's all about the default mode is different from SingleThreaded

 My system:

 Ubuntu 10.04 amd64
 Nvidia 260.19.26
 OSG 2.9.13

 What do you think about this problem

 --
 Maxim Gammer
 ___
 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] Error in the new version OSG

2011-05-02 Thread Maxim Gammer
thanks for advice ... I will try to double-check

glxinfo on my machine returns:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 8800 GT/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 260.19.26
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler


P.S.

Robert, I'm sorry that I write a letter to you personally.
how to get username / password for edit OpenSceneGraph wiki pages -
http://www.openscenegraph.org/projects/osg/wiki/Screenshots/(MyProject)?
I already wrote an email to joseluis.hidalgo . But without result
Many times I wrote this letter to osg-users@lists.openscenegraph.org,
but no one answers.





2011/5/2 Robert Osfield robert.osfi...@gmail.com:
 Hi Maxim,

 I haven't seen any threading issues with svn/trunk, testing with
 Kubuntu 10.10 64bit, and there aren't any recent changes that are
 likely to affect threading behaviour under Linux.  I would suspect a
 build issue, runtime linkage issue.  Could you try a clean build and
 double check that you don't have older plugins being loaded due to
 hardwired paths to plugins.

 glxinfo on my machine returns:
 OpenGL renderer string: GeForce GTX 260/PCI/SSE2
 OpenGL version string: 3.3.0 NVIDIA 260.19.06

 Which isn't quite a recent as your driver, so I guess that might be
 another variable.

 Beyond this I can't really add too much other than to suggest a debug
 build and looking at the track trace at crash.

 Robert.

 On Sun, May 1, 2011 at 7:21 PM, Maxim Gammer maxgam...@gmail.com wrote:
 Hi all,

 I tried to use OSG 2.9.13 and found a strange problem

 If you do not use the string
    export OSG_THREADING=SingleThreaded
 then osgviewer crash with probability 50..70%

 I think it's all about the default mode is different from SingleThreaded

 My system:

 Ubuntu 10.04 amd64
 Nvidia 260.19.26
 OSG 2.9.13

 What do you think about this problem

 --
 Maxim Gammer
 ___
 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




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


Re: [osg-users] Error in the new version OSG

2011-05-02 Thread Maxim Gammer
Hi Robert,

I checked, the result has not changed ...

osgviewer ./osgcool.osg
Error: In Texture::Extensions::setupGLExtensions(..) OpenGL version
test failed, requires valid graphics context.
Ошибка сегментирования (Segmentation error)

and osgviewer crash with probability 50..70%

If i use the string   export OSG_THREADING=SingleThreaded   .. all ok.

Cheers,


2011/5/2 Maxim Gammer maxgam...@gmail.com:
 thanks for advice ... I will try to double-check

 glxinfo on my machine returns:
 OpenGL vendor string: NVIDIA Corporation
 OpenGL renderer string: GeForce 8800 GT/PCI/SSE2
 OpenGL version string: 3.3.0 NVIDIA 260.19.26
 OpenGL shading language version string: 3.30 NVIDIA via Cg compiler


 P.S.

 Robert, I'm sorry that I write a letter to you personally.
 how to get username / password for edit OpenSceneGraph wiki pages -
 http://www.openscenegraph.org/projects/osg/wiki/Screenshots/(MyProject)?
 I already wrote an email to joseluis.hidalgo . But without result
 Many times I wrote this letter to osg-users@lists.openscenegraph.org,
 but no one answers.





 2011/5/2 Robert Osfield robert.osfi...@gmail.com:
 Hi Maxim,

 I haven't seen any threading issues with svn/trunk, testing with
 Kubuntu 10.10 64bit, and there aren't any recent changes that are
 likely to affect threading behaviour under Linux.  I would suspect a
 build issue, runtime linkage issue.  Could you try a clean build and
 double check that you don't have older plugins being loaded due to
 hardwired paths to plugins.

 glxinfo on my machine returns:
 OpenGL renderer string: GeForce GTX 260/PCI/SSE2
 OpenGL version string: 3.3.0 NVIDIA 260.19.06

 Which isn't quite a recent as your driver, so I guess that might be
 another variable.

 Beyond this I can't really add too much other than to suggest a debug
 build and looking at the track trace at crash.

 Robert.

 On Sun, May 1, 2011 at 7:21 PM, Maxim Gammer maxgam...@gmail.com wrote:
 Hi all,

 I tried to use OSG 2.9.13 and found a strange problem

 If you do not use the string
    export OSG_THREADING=SingleThreaded
 then osgviewer crash with probability 50..70%

 I think it's all about the default mode is different from SingleThreaded

 My system:

 Ubuntu 10.04 amd64
 Nvidia 260.19.26
 OSG 2.9.13

 What do you think about this problem

 --
 Maxim Gammer
 ___
 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




 --
 Maxim Gammer




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


[osg-users] Error in the new version OSG

2011-05-01 Thread Maxim Gammer
Hi all,

I tried to use OSG 2.9.13 and found a strange problem

If you do not use the string
export OSG_THREADING=SingleThreaded
then osgviewer crash with probability 50..70%

I think it's all about the default mode is different from SingleThreaded

My system:

Ubuntu 10.04 amd64
Nvidia 260.19.26
OSG 2.9.13

What do you think about this problem

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