Re: JOCL texture generation
Posted by
fifty on
Mar 16, 2014; 9:04pm
URL: https://forum.jogamp.org/JOCL-texture-generation-tp4031853p4031928.html
Hi Wade,
thanks for your help! The program contains
drawable.setGL(new DebugGL3(drawable.getGL().getGL3()));
so GL errors should be reported immediately after they occur, shouldn't they?
I updated my NVidia driver to version 335.23 of 3/10/2014.
The NVidia device now works as the Intel device, still the exception with GL_INTEROP==true:
NVIDIA CUDA platform: GeForce GTX 765M
0/1/2
1/32, 0/32
{CLDevice [id: 198122744 name: GeForce GTX 765M type: GPU profile: FULL_PROFILE]
=BUILD_SUCCESS}
true
CLDevice [id: 198122744 name: GeForce GTX 765M type: GPU profile: FULL_PROFILE]
build log:
<empty>
Exception in thread "AWT-EventQueue-0" com.jogamp.opencl.CLException: unknown ca
use: code 207432328 [error: unknown]
at com.jogamp.opencl.CLException.checkForError(CLException.java:67)
at com.jogamp.opencl.gl.CLGLTexture2d.createFromGLTexture2d(CLGLTexture2
d.java:66)
at com.jogamp.opencl.gl.CLGLContext.createFromGLTexture2d(CLGLContext.ja
va:284)
at com.jogamp.opencl.gl.CLGLContext.createFromGLTexture2d(CLGLContext.ja
va:272)
at DemoViewer.initCL(DemoViewer.java:351)
I found an old thread from 2011 about "createFromGLTexture2d", which reports the same exception:
http://forum.jogamp.org/cl-createFromGLTexture2d-is-not-working-td2694449.html