Gerrit Voss wrote:
> Hi,
> 
> On Mon, 2009-02-09 at 14:32 +0000, Christoph Schmidt-Hieber wrote:
>> Hi Gerrit,
>>
>> Gerrit Voss wrote:
>>> Hi,
>>>
>>> On Mon, 2009-02-09 at 13:51 +0000, Christoph Schmidt-Hieber wrote:
>>>> Hi,
>>>> when trying to run the CSM samples in opensg2, I get the following error 
>>>> message:
>>>>
>>>> $ ./build/bin/testCSM Examples/CSM/Simple-EventMouse
>>>> (...snip...)
>>>> WARNING: Window::getFunctionByName: Couldn't get function 
>>>> 'glXCreateContextAttribsARB' for Window 0x86496c0.
>>>> testCSM: vbo/vbo_save_api.c:216: map_vertex_store: Assertion 
>>>> `vertex_store->buffer' failed.
>>>>
>>>> Any ideas what might be going wrong? I have attached the output of 
>>>> glxinfo below. Thanks for your help.
>>> quick question, could you send me a stack trace. It's hard to tell
>>> where is goes wrong. The assert looks like later. The warning should be
>>> ok and the code should fall back to something useful if it does not
>>> find this function.
>>>
>> Thanks for your fast reply. Here's the call stack:
> 
> ok, thanks, that's a little what I hoped to see ;-). Anyway another
> quick one, is this is recent problem, e.g. did it run earlier with
> the same OpenGL driver setup ? 

Most examples were functional until about 2 months ago. I've stopped 
working on that machine at that time because of poor OpenGL support of 
the intel drivers (for instance, they were missing the 
GL_EXT_framebuffer_object extension). I have now switched to the most 
recent intel xorg drivers which may be slightly experimental, so maybe 
this is causing the problem?

> And another one ;-), is this the only
> example that has this problem or does for example CSM/Simple also
> crash at roughly the same place ?

CSM/Simple crashes at the same place.

> 
>> >From the callstack it looks like a Mesa problem. But it looks like
> there is an active OpenGL context, so the fallback should be working. 
> Which leaves the question, are we screwing things up or do we hit
> something inside Mesa. As this is not the first general OpenGL call I'm
> a little undecided.
> 
> To narrow it down, could you try the following in
> 
> Common/system-native.osg replace
> 
>    DEF MainWindow CSMNativeWindow
> by
>    DEF MainWindow CSMGLUTWindow
> 

It still crashes at the same place. However, it doesn't complain about 
the 'glXCreateContextAttribsARB' function any more. Here's the full 
program output:

Trying to start from : Examples/CSM/Simple-EventMouse/params.csm
loading osg file 
/home/cs/opensg/Examples/CSM/Simple-EventMouse/../Common/default-setup.osg 
...
loading osg file 
/home/cs/opensg/Examples/CSM/Simple-EventMouse/../Common/system-native.osg 
...
LOG: No FieldContainer found with name GlobalEffect1
LOG: No FieldContainer found with name GlobalEffect2
LOG: No FieldContainer found with name SceneEffect1
LOG: No FieldContainer found with name SceneEffect2
LOG: No FieldContainer found with name SceneEffect3
LOG: No FieldContainer found with name SceneEffect4
LOG: No FieldContainer found with name SceneEffect5
LOG: No FieldContainer found with name SceneEffect6
LOG: No FieldContainer found with name SceneEffect7
loading data ../Simple/tie.wrl ...
loading osg file 
/home/cs/opensg/Examples/CSM/Simple-EventMouse/../Common/event_mouse.osg ...
Volume: from -2.687, -3.29, -2.743 to 2.707, 3.315, 2.743
Center: 0.00999999, 0.0125, 0
[New Thread 0xb5ede720 (LWP 18555)]
testCSM: vbo/vbo_save_api.c:216: map_vertex_store: Assertion 
`vertex_store->buffer' failed.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to