Login  Register

Re: segfaults, working version?

Posted by Michael Bien on Jun 22, 2010; 8:21am
URL: https://forum.jogamp.org/Re-segfaults-working-version-tp911744p913673.html

On 06/22/2010 07:49 AM, notzed [via jogamp] wrote:
Hi Michael,

I deleted the original message on nabble forgetting this is a mailing list ... The crashes were all down to some rather embarrassing (mis)use of Buffer objects and a few pokes later I got my stuff to run.  My patience had prematurely run out it seems ...
no problem. good that it works for you. nice.



No crashes anymore, but the Mandelbrot isn't really working still - colourmap seems to be off, and usually all black.
are we now talking about this demo?
http://github.com/mbien/jocl-demos/blob/master/src/com/jogamp/opencl/demos/fractal/MultiDeviceFractal.java

it works on all systems and drivers i tried so far. Maybe its a pixelformat issue or so (it uses GL-CL interoperability).


 So it might just be a java-side issue.  I've made a bit of a pigs breakfast of the source, but if you would find it useful I can probably clean it up a bit to make another `hello world' example (if you don't have it converted already).
we have already a fractal demo (mentioned above). But sure contributions are always welcome. If you find somewhere a cool demo to convert... sure (e.g i converted the julia3d demo from c to java). But please check the license, jogamp projects are all BSD.



Thanks for the other info, not using jogl yet but will eventually.

 !Z

Michael Bien wrote:
Hi Michael :)

comments inline...

On 06/21/2010 02:19 PM, notzed [via jogamp] wrote:
> All,
>
> I was moving some stuff to a different machine and downloaded a
> different jogl/etc than last time because I can't remember where I got
> the other one (and that was x64 so I couldn't use it) ...  Anyway, it
> has the nicer object based api, so I converted the minimal code I have
> over to use it.
>
> But .. it just crashes pretty consistently when executing some simple
> kernels with "Java Result 139".
could you provide a testcase so I could try to reproduce the crashes?
Small as possible so we can add it to the unit tests... would be cool.

if you are using JOGL:
please call GLProfile.initSingleton() before doing any UI work. This
changed recently to enable some threading optimizations. We try to get
rid of this workaround somehow.

[...]



View message @ http://jogamp.762907.n3.nabble.com/Re-segfaults-working-version-tp911744p913447.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.