[vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems

Sebastien Jourdain sebastien.jourdain at kitware.com
Wed Nov 30 10:15:56 EST 2011


Hi Luke,

I don't think your are doing something silly there with vtkPanel.
And if you come up with some solution, I'll be glad to integrate it into VTK.

Seb

On Wed, Nov 30, 2011 at 10:11 AM, Luke Dodd <luke.dodd at gmail.com> wrote:
> Hi Clemens,
>
> I'm really happy it's working for you! The fork sounds like a good
> idea - keep me updated.
>
> There are also issues with getting anti-aliasing to work on the
> LWJGLVTKPanel, I'll look into this soon.
>
> Hopefully out of this hacky solution a "proper" fix for our issues
> will arise. If I get some time I'll look into the vtkPanel code again.
> I have the feeling that there are many things that could go wrong when
> creating an opengl panel in Java, and somewhere along the line vtk
> does something subtly wrong (on linux) which using the lwjgl context
> bypasses. I'd like to hear for the vtk devs on this, perhaps we're
> just doing something silly with vtkPanel...
>
> Best Regards,
> Luke Dodd
>
>
> On 30 November 2011 13:41, Clemens Müthing
> <clemens.muething at uni-konstanz.de> wrote:
>> Hey Luke,
>>
>> a thousand thanks, just put everything in my code and so far it works
>> nicely,
>> no crashes at all! Also, I think I'll fork your project on github and
>> include
>> the Interactor stuff that is still missing, I'll let you know when I am done
>> if you might need that too.
>>
>> Cheers
>>
>> Clemens
>>
>>
>>
>> On Tue, 29 Nov 2011 21:30:14 +0100, Luke Dodd <luke.dodd at gmail.com> wrote:
>>
>>> Hi Clemens,
>>>
>>>> So I am very interested in trying out your solution, that would be a
>>>> great
>>>> help. Maybe I could even confirm some of my own theories why it crashes
>>>> :)
>>>
>>> Here's the github: https://github.com/lukedodd/lwjgl-vtkcanvas
>>>
>>> This file explains what to do:
>>>
>>> https://github.com/lukedodd/lwjgl-vtkcanvas/blob/lwjgl-vtkcanvas/lwjglvtkcanvas/LWJGLVTKCanvas.java
>>>
>>> It's a bit of an abomination, but given the amount of time I'd spent
>>> fighting these bugs it's creation was warranted! Let me know if you
>>> need help getting it up and running, and whether it makes things worse
>>> or better.
>>>
>>> Cheers,
>>> Luke
>>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list