ClearVolume / clearvolume

ClearVolume is a real-time live 3D visualization library designed for high-end volumetric microscopes such as SPIM and DLSM microscopes. With ClearVolume you can see live on your screen the stacks acquired by your microscope instead of waiting for offline post-processing to give you an intuitive and comprehensive view on your data.
http://clearvolume.github.io
GNU Lesser General Public License v3.0
44 stars 11 forks source link

on the fly compilation failiure #47

Open chalkie666 opened 8 years ago

chalkie666 commented 8 years ago

windows 7 64 bit laptop, intel core i5 with intel HD 4400 graphics.

updated fiji today, tuned on java 8 and clear volume update sites. open confocal series or bat cochlea 3D sample data sets, run clear volume

splash screen opens, GUI appears but image is black, and console fills up with error messages as below. Eventually it un hangs itself and can be closed, after a minute or 2.

best Dan

ClearGLWindow: GLProfile[GL4bc/GL4bc.hw] 1.0 1.0 1.0 Platform: Intel(R) OpenCL {vendor: Intel(R) Corporation, version: OpenCL 1.2 , profile: FULL_PROFILE, extensions: [cl_khr_icd, cl_khr_global_int32_base_atomics, cl_khr_global_int32_extended_atomics, cl_khr_local_int32_base_atomics, cl_khr_local_int32_extended_atomics, cl_khr_gl_sharing, cl_khr_d3d10_sharing, cl_intel_dx9_media_sharing, cl_khr_3d_image_writes, cl_khr_byte_addressable_store, cl_khr_gl_event, cl_khr_gl_msaa_sharing, cl_khr_depth_images, cl_khr_gl_depth_images, cl_khr_dx9_media_sharing, cl_khr_d3d11_sharing, cl_khr_image2d_from_buffer]}

device: Intel(R) HD Graphics 4400 (Intel(R) OpenCL)

    *opencl version: OpenCL C 1.2  
    *driver version: 9.18.10.3220 
    *max mem alloc size: 425721856 
    *global mem size: 1702887424 
    *max compute units: 20 
    *max clock freq: 400 
    *3d volume max width: 2048 
    *3d volume max height: 2048 
    *3d volume max depth: 2048 
    *isHostUnifiedMemory: true 

Intel(R) OpenCL.Intel(R) HD Graphics 4400 L64k/G 1624M mem with 20 compute units Intel(R) HD Graphics 4400 is best in platform Intel(R) OpenCL Device name: Intel(R) HD Graphics 4400 (Intel(R) OpenCL) couldn't create kernel 'maxproj_render' com.nativelibs4java.opencl.CLBuildException: Compilation failure : (devices: [Intel(R) HD Graphics 4400 (Intel(R) OpenCL)]) :17:23: error: redefinition of typedef 'uint' is invalid in C typedef unsigned int uint; ^

:58:22: note: previous definition is here typedef unsigned int uint; ^ :18:23: error: redefinition of typedef 'uchar' is invalid in C typedef unsigned char uchar; ^ :48:23: note: previous definition is here typedef unsigned char uchar; ^ :433:21: warning: double precision constant requires cl_khr_fp64, casting to single precision float c_diffuse = 0.2; ^ :434:22: warning: double precision constant requires cl_khr_fp64, casting to single precision float c_specular = 0.6; ^ error: front end compiler failed build. at com.nativelibs4java.opencl.CLProgram.build(CLProgram.java:846) at com.nativelibs4java.opencl.CLProgram.createKernel(CLProgram.java:909) at clearvolume.renderer.opencl.OpenCLDevice.compileKernel(OpenCLDevice.java:360) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:164) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:812) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)
skalarproduktraum commented 7 years ago

Hi @chalkie666,

apologies for the delay -- could you please try updating to the latest release and see if that solves the issue for you? We have removed the offending typedefs in a recent release.

cheers!

ulrik

chalkie666 commented 7 years ago

Hi there @skalarproduktraum by now i have a new laptop... windows 10 i7 with mobile quadro GPU, and integrated graphics

I updated and reinstalled Clear volume and other components just now. Updater says it up to date.

open confocal series sample dataset Open in clear volume (from command finder) Clear volume GUI opens, but with black view port. No 3D rendering. Lots of errors in console , see below

Maybe this is a totally unrelated bug?

Looks like its trying to to use the mobile nvidia quadro GPU, but failing?

from the console output:

Selected device: Device name: Quadro M1000M, type: GPU, OpenCL version: 1.20000 max global memory: 2147483648 max local memory: 49152 clock freq: 1071Mhz nb compute units: 4 extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts

Is there a way to force use of one of CPU, integrated GPU, or separate GPU???

cheers

Dan

P.S. This is in the IJ console window:

null ClearGLWindow: GLProfile[GL4bc/GL4bc.hw] 1.0 1.0 1.0 WindowsJun 16, 2017 1:16:31 PM org.bridj.BridJ log INFO: Library not found : atiocl64 Jun 16, 2017 1:16:31 PM org.bridj.BridJ log INFO: Library not found : amdocl64 Jun 16, 2017 1:16:31 PM org.bridj.BridJ log INFO: Library not found : atiocl32 Jun 16, 2017 1:16:31 PM org.bridj.BridJ log INFO: Library not found : atiocl Jun 16, 2017 1:16:31 PM org.bridj.BridJ log INFO: Library not found : amdocl32 Jun 16, 2017 1:16:31 PM org.bridj.BridJ log INFO: Library not found : amdocl clearcl.exceptions.ClearCLException at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:161) at clearcl.backend.jocl.ClearCLBackendJOCL.releaseImage(ClearCLBackendJOCL.java:1153) at clearcl.ClearCLImage.close(ClearCLImage.java:628) at clearcl.benchmark.Benchmark.executeBenchmarkOnDevice(Benchmark.java:248) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:115) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:54) at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:46) at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69) at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99) at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Caused by: java.lang.NullPointerException at clearcl.backend.jocl.ClearCLBackendJOCL.lambda$releaseImage$40(ClearCLBackendJOCL.java:1154) at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:154) ... 22 more clearcl.exceptions.OpenCLException: OpenCL error: -5 -> CL_OUT_OF_RESOURCES at clearcl.backend.BackendUtils.checkOpenCLErrorCode(BackendUtils.java:333) at clearcl.backend.jocl.ClearCLBackendJOCL.lambda$getContextPeerPointer$12(ClearCLBackendJOCL.java:307) at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:139) at clearcl.backend.jocl.ClearCLBackendJOCL.getContextPeerPointer(ClearCLBackendJOCL.java:291) at clearcl.ClearCLDevice.createContext(ClearCLDevice.java:160) at clearcl.benchmark.Benchmark.executeBenchmarkOnDevice(Benchmark.java:162) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:115) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:54) at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:46) at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69) at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99) at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) java.lang.NullPointerException at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:60) at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:46) at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69) at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99) at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) clearcl.exceptions.ClearCLException at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:161) at clearcl.backend.jocl.ClearCLBackendJOCL.setKernelArgument(ClearCLBackendJOCL.java:626) at clearcl.ClearCLKernel.setArgumentsInternal(ClearCLKernel.java:259) at clearcl.ClearCLKernel.lambda$run$0(ClearCLKernel.java:306) at clearcl.util.ElapsedTime.measure(ElapsedTime.java:39) at clearcl.ClearCLKernel.run(ClearCLKernel.java:302) at clearcl.ClearCLKernel.run(ClearCLKernel.java:285) at clearcl.benchmark.Benchmark.executeBenchmarkOnDevice(Benchmark.java:234) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:115) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:54) at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:49) at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69) at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99) at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Caused by: java.lang.NullPointerException at clearcl.backend.jocl.ClearCLBackendJOCL.lambda$setKernelArgument$20(ClearCLBackendJOCL.java:726) at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:154) ... 26 more clearcl.exceptions.OpenCLException: OpenCL error: -5 -> CL_OUT_OF_RESOURCES at clearcl.backend.BackendUtils.checkOpenCLErrorCode(BackendUtils.java:333) at clearcl.backend.jocl.ClearCLBackendJOCL.lambda$getContextPeerPointer$12(ClearCLBackendJOCL.java:307) at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:139) at clearcl.backend.jocl.ClearCLBackendJOCL.getContextPeerPointer(ClearCLBackendJOCL.java:291) at clearcl.ClearCLDevice.createContext(ClearCLDevice.java:160) at clearcl.benchmark.Benchmark.executeBenchmarkOnDevice(Benchmark.java:162) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:115) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:54) at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:49) at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69) at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99) at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) java.lang.NullPointerException at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:60) at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:49) at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69) at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99) at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) clearcl.exceptions.ClearCLException: Pointer instance cannot have NULL peer ! (use null Pointer instead) at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:146) at clearcl.backend.javacl.ClearCLBackendJavaCL.getContextPeerPointer(ClearCLBackendJavaCL.java:268) at clearcl.ClearCLDevice.createContext(ClearCLDevice.java:160) at clearcl.benchmark.Benchmark.executeBenchmarkOnDevice(Benchmark.java:162) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:115) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:54) at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:46) at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69) at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99) at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Caused by: java.lang.IllegalArgumentException: Pointer instance cannot have NULL peer ! (use null Pointer instead) at org.bridj.Pointer.(Pointer.java:248) at org.bridj.Pointer$OrderedPointer.(Pointer.java:260) at org.bridj.TypedPointer.(TypedPointer.java:47) at org.bridj.TypedPointer.(TypedPointer.java:51) at com.nativelibs4java.opencl.library.IOpenCLLibrary$cl_context.(IOpenCLLibrary.java:799) at com.nativelibs4java.opencl.library.OpenCLLibrary.clCreateContext(OpenCLLibrary.java:77) at clearcl.backend.javacl.ClearCLBackendJavaCL.lambda$getContextPeerPointer$12(ClearCLBackendJavaCL.java:291) at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:139) ... 22 more clearcl.exceptions.ClearCLException: Pointer instance cannot have NULL peer ! (use null Pointer instead) at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:146) at clearcl.backend.javacl.ClearCLBackendJavaCL.getContextPeerPointer(ClearCLBackendJavaCL.java:268) at clearcl.ClearCLDevice.createContext(ClearCLDevice.java:160) at clearcl.benchmark.Benchmark.executeBenchmarkOnDevice(Benchmark.java:162) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:115) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:54) at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:46) at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69) at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99) at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Caused by: java.lang.IllegalArgumentException: Pointer instance cannot have NULL peer ! (use null Pointer instead) at org.bridj.Pointer.(Pointer.java:248) at org.bridj.Pointer$OrderedPointer.(Pointer.java:260) at org.bridj.TypedPointer.(TypedPointer.java:47) at org.bridj.TypedPointer.(TypedPointer.java:51) at com.nativelibs4java.opencl.library.IOpenCLLibrary$cl_context.(IOpenCLLibrary.java:799) at com.nativelibs4java.opencl.library.OpenCLLibrary.clCreateContext(OpenCLLibrary.java:77) at clearcl.backend.javacl.ClearCLBackendJavaCL.lambda$getContextPeerPointer$12(ClearCLBackendJavaCL.java:291) at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:139) ... 22 more java.lang.NullPointerException at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:60) at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:46) at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69) at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99) at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) clearcl.exceptions.ClearCLException: Pointer instance cannot have NULL peer ! (use null Pointer instead) at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:146) at clearcl.backend.javacl.ClearCLBackendJavaCL.getContextPeerPointer(ClearCLBackendJavaCL.java:268) at clearcl.ClearCLDevice.createContext(ClearCLDevice.java:160) at clearcl.benchmark.Benchmark.executeBenchmarkOnDevice(Benchmark.java:162) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:115) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:54) at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:49) at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69) at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99) at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Caused by: java.lang.IllegalArgumentException: Pointer instance cannot have NULL peer ! (use null Pointer instead) at org.bridj.Pointer.(Pointer.java:248) at org.bridj.Pointer$OrderedPointer.(Pointer.java:260) at org.bridj.TypedPointer.(TypedPointer.java:47) at org.bridj.TypedPointer.(TypedPointer.java:51) at com.nativelibs4java.opencl.library.IOpenCLLibrary$cl_context.(IOpenCLLibrary.java:799) at com.nativelibs4java.opencl.library.OpenCLLibrary.clCreateContext(OpenCLLibrary.java:77) at clearcl.backend.javacl.ClearCLBackendJavaCL.lambda$getContextPeerPointer$12(ClearCLBackendJavaCL.java:291) at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:139) ... 22 more clearcl.exceptions.ClearCLException: Pointer instance cannot have NULL peer ! (use null Pointer instead) at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:146) at clearcl.backend.javacl.ClearCLBackendJavaCL.getContextPeerPointer(ClearCLBackendJavaCL.java:268) at clearcl.ClearCLDevice.createContext(ClearCLDevice.java:160) at clearcl.benchmark.Benchmark.executeBenchmarkOnDevice(Benchmark.java:162) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:115) at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:54) at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:49) at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69) at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99) at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Caused by: java.lang.IllegalArgumentException: Pointer instance cannot have NULL peer ! (use null Pointer instead) at org.bridj.Pointer.(Pointer.java:248) at org.bridj.Pointer$OrderedPointer.(Pointer.java:260) at org.bridj.TypedPointer.(TypedPointer.java:47) at org.bridj.TypedPointer.(TypedPointer.java:51) at com.nativelibs4java.opencl.library.IOpenCLLibrary$cl_context.(IOpenCLLibrary.java:799) at com.nativelibs4java.opencl.library.OpenCLLibrary.clCreateContext(OpenCLLibrary.java:77) at clearcl.backend.javacl.ClearCLBackendJavaCL.lambda$getContextPeerPointer$12(ClearCLBackendJavaCL.java:291) at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:139) ... 22 more java.lang.NullPointerException at clearcl.benchmark.Benchmark.getFastestDevice(Benchmark.java:60) at clearcl.backend.ClearCLBackends.isFunctionalBackend(ClearCLBackends.java:49) at clearcl.backend.ClearCLBackends.getFunctionalBackend(ClearCLBackends.java:69) at clearcl.backend.ClearCLBackends.getBestBackend(ClearCLBackends.java:99) at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:48) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) --> Using backend: ClearCLBackendJOCL


3 available OpenCL devices:

Device name: Intel(R) HD Graphics 530, type: GPU, OpenCL version: 2.00000 max global memory: 6790232474 max local memory: 65536 clock freq: 1050Mhz nb compute units: 24 extensions: cl_intel_accelerator cl_intel_advanced_motion_estimation cl_intel_ctz cl_intel_d3d11_nv12_media_sharing cl_intel_dx9_media_sharing cl_intel_motion_estimation cl_intel_simultaneous_sharing cl_intel_subgroups cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_fp16 cl_khr_gl_depth_images cl_khr_gl_event cl_khr_gl_msaa_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_gl_sharing cl_khr_icd cl_khr_image2d_from_buffer cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_khr_spir

Device name: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz, type: CPU, OpenCL version: 2.00000 max global memory: 16996552704 max local memory: 32768 clock freq: 2700Mhz nb compute units: 4 extensions: cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_dx9_media_sharing cl_intel_dx9_media_sharing cl_khr_d3d11_sharing cl_khr_gl_sharing cl_khr_fp64 cl_khr_image2d_from_buffer

Device name: Quadro M1000M, type: GPU, OpenCL version: 1.20000 max global memory: 2147483648 max local memory: 49152 clock freq: 1071Mhz nb compute units: 4 extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts


Selected device: Device name: Quadro M1000M, type: GPU, OpenCL version: 1.20000 max global memory: 2147483648 max local memory: 49152 clock freq: 1071Mhz nb compute units: 4 extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts

com.jogamp.opengl.util.AnimatorBase$UncaughtAnimatorException: com.jogamp.opengl.GLException: Caught OpenCLException: OpenCL error: -5 -> CL_OUT_OF_RESOURCES on thread SciJava-2e5ee2c9-Thread-0-FPSAWTAnimator#00-Timer0 at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:92) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Caused by: com.jogamp.opengl.GLException: Caught OpenCLException: OpenCL error: -5 -> CL_OUT_OF_RESOURCES on thread SciJava-2e5ee2c9-Thread-0-FPSAWTAnimator#00-Timer0 at com.jogamp.opengl.GLException.newGLException(GLException.java:76) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1327) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) ... 4 more Caused by: clearcl.exceptions.OpenCLException: OpenCL error: -5 -> CL_OUT_OF_RESOURCES at clearcl.backend.BackendUtils.checkOpenCLErrorCode(BackendUtils.java:333) at clearcl.backend.jocl.ClearCLBackendJOCL.lambda$getContextPeerPointer$12(ClearCLBackendJOCL.java:307) at clearcl.backend.BackendUtils.checkExceptions(BackendUtils.java:139) at clearcl.backend.jocl.ClearCLBackendJOCL.getContextPeerPointer(ClearCLBackendJOCL.java:291) at clearcl.ClearCLDevice.createContext(ClearCLDevice.java:160) at clearvolume.renderer.opencl.OpenCLDevice.initCL(OpenCLDevice.java:92) at clearvolume.renderer.opencl.OpenCLVolumeRenderer.initVolumeRenderer(OpenCLVolumeRenderer.java:130) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.init(ClearGLVolumeRenderer.java:818) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:644) at jogamp.opengl.GLDrawableHelper.init(GLDrawableHelper.java:667) at jogamp.opengl.GLAutoDrawableBase$1.run(GLAutoDrawableBase.java:431) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1291) ... 7 more java.lang.NullPointerException at cleargl.GLTexture.(GLTexture.java:141) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.ensureTextureAllocated(ClearGLVolumeRenderer.java:630) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.displayInternal(ClearGLVolumeRenderer.java:508) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.display(ClearGLVolumeRenderer.java:490) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674) at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at jogamp.opengl.GLAutoDrawableBase.defaultWindowRepaintOp(GLAutoDrawableBase.java:215) at com.jogamp.newt.opengl.GLWindow.access$100(GLWindow.java:119) at com.jogamp.newt.opengl.GLWindow$2.windowRepaint(GLWindow.java:136) at jogamp.newt.WindowImpl.consumeWindowEvent(WindowImpl.java:4401) at jogamp.newt.WindowImpl.consumeEvent(WindowImpl.java:3372) at jogamp.newt.WindowImpl.doEvent(WindowImpl.java:3318) at jogamp.newt.WindowImpl.windowRepaint(WindowImpl.java:4715) at jogamp.newt.WindowImpl.windowRepaint(WindowImpl.java:4694) at com.jogamp.newt.opengl.GLWindow.windowRepaint(GLWindow.java:810) at com.jogamp.newt.awt.NewtCanvasAWT.paint(NewtCanvasAWT.java:732) at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264) at sun.awt.RepaintArea.paint(RepaintArea.java:240) at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:358) at java.awt.Component.dispatchEventImpl(Component.java:4967) at java.awt.Component.dispatchEvent(Component.java:4713) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) java.lang.NullPointerException at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.displayInternal(ClearGLVolumeRenderer.java:571) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.display(ClearGLVolumeRenderer.java:490) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674) at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at jogamp.opengl.GLAutoDrawableBase.defaultWindowRepaintOp(GLAutoDrawableBase.java:215) at com.jogamp.newt.opengl.GLWindow.access$100(GLWindow.java:119) at com.jogamp.newt.opengl.GLWindow$2.windowRepaint(GLWindow.java:136) at jogamp.newt.WindowImpl.consumeWindowEvent(WindowImpl.java:4401) at jogamp.newt.WindowImpl.consumeEvent(WindowImpl.java:3372) at jogamp.newt.WindowImpl.doEvent(WindowImpl.java:3318) at jogamp.newt.WindowImpl.windowRepaint(WindowImpl.java:4715) at jogamp.newt.driver.windows.DisplayDriver.DispatchMessages0(Native Method) at jogamp.newt.driver.windows.DisplayDriver.dispatchMessagesNative(DisplayDriver.java:124) at jogamp.newt.DisplayImpl.dispatchMessages(DisplayImpl.java:753) at jogamp.newt.DisplayImpl$7.run(DisplayImpl.java:672) at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:347) java.lang.NullPointerException at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.displayInternal(ClearGLVolumeRenderer.java:571) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.display(ClearGLVolumeRenderer.java:490) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674) at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at jogamp.opengl.GLAutoDrawableBase.defaultWindowRepaintOp(GLAutoDrawableBase.java:215) at com.jogamp.newt.opengl.GLWindow.access$100(GLWindow.java:119) at com.jogamp.newt.opengl.GLWindow$2.windowRepaint(GLWindow.java:136) at jogamp.newt.WindowImpl.consumeWindowEvent(WindowImpl.java:4401) at jogamp.newt.WindowImpl.consumeEvent(WindowImpl.java:3372) at jogamp.newt.WindowImpl.doEvent(WindowImpl.java:3318) at jogamp.newt.WindowImpl.windowRepaint(WindowImpl.java:4715) at jogamp.newt.driver.windows.DisplayDriver.DispatchMessages0(Native Method) at jogamp.newt.driver.windows.DisplayDriver.dispatchMessagesNative(DisplayDriver.java:124) at jogamp.newt.DisplayImpl.dispatchMessages(DisplayImpl.java:753) at jogamp.newt.DisplayImpl$7.run(DisplayImpl.java:672) at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:347) java.lang.NullPointerException at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.displayInternal(ClearGLVolumeRenderer.java:571) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.display(ClearGLVolumeRenderer.java:490) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674) at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at jogamp.opengl.GLAutoDrawableBase.defaultWindowRepaintOp(GLAutoDrawableBase.java:215) at com.jogamp.newt.opengl.GLWindow.access$100(GLWindow.java:119) at com.jogamp.newt.opengl.GLWindow$2.windowRepaint(GLWindow.java:136) at jogamp.newt.WindowImpl.consumeWindowEvent(WindowImpl.java:4401) at jogamp.newt.WindowImpl.consumeEvent(WindowImpl.java:3372) at jogamp.newt.WindowImpl.doEvent(WindowImpl.java:3318) at jogamp.newt.WindowImpl.windowRepaint(WindowImpl.java:4715) at jogamp.newt.driver.windows.DisplayDriver.DispatchMessages0(Native Method) at jogamp.newt.driver.windows.DisplayDriver.dispatchMessagesNative(DisplayDriver.java:124) at jogamp.newt.DisplayImpl.dispatchMessages(DisplayImpl.java:753) at jogamp.newt.DisplayImpl$7.run(DisplayImpl.java:672) at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:347) java.lang.NullPointerException at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.displayInternal(ClearGLVolumeRenderer.java:571) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.display(ClearGLVolumeRenderer.java:490) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674) at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at jogamp.opengl.GLAutoDrawableBase.defaultWindowRepaintOp(GLAutoDrawableBase.java:215) at com.jogamp.newt.opengl.GLWindow.access$100(GLWindow.java:119) at com.jogamp.newt.opengl.GLWindow$2.windowRepaint(GLWindow.java:136) at jogamp.newt.WindowImpl.consumeWindowEvent(WindowImpl.java:4401) at jogamp.newt.WindowImpl.consumeEvent(WindowImpl.java:3372) at jogamp.newt.WindowImpl.doEvent(WindowImpl.java:3318) at jogamp.newt.WindowImpl.windowRepaint(WindowImpl.java:4715) at jogamp.newt.driver.windows.DisplayDriver.DispatchMessages0(Native Method) at jogamp.newt.driver.windows.DisplayDriver.dispatchMessagesNative(DisplayDriver.java:124) at jogamp.newt.DisplayImpl.dispatchMessages(DisplayImpl.java:753) at jogamp.newt.DisplayImpl$7.run(DisplayImpl.java:672) at jogamp.newt.DefaultEDTUtil$NEDT.run(DefaultEDTUtil.java:347) java.lang.NullPointerException at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.displayInternal(ClearGLVolumeRenderer.java:571) at clearvolume.renderer.cleargl.ClearGLVolumeRenderer.display(ClearGLVolumeRenderer.java:490) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674) at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at jogamp.opengl.GLAutoDrawableBase.defaultWindowRepaintOp(GLAutoDrawableBase.java:215) at com.jogamp.newt.opengl.GLWindow.access$100(GLWindow.java:119) at com.jogamp.newt.opengl.GLWindow$2.windowRepaint(GLWindow.java:136) at jogamp.newt.WindowImpl.consumeWindowEvent(WindowImpl.java:4401)

truncated here, more messages the same keep appearing when window is moved.

skalarproduktraum commented 7 years ago

Hi @chalkie666,

thanks for getting back to us so quick :) The error you are seeing usually occurs when the physical dimensions of the volume you are trying to open exceeds what your GPU can do, which is for the mobile GPUs usually something like 2048x2048x2048 pixels, and it's sufficient for failure to exceed one dimension. Could you try downscaling your volume or use one of Fiji's samples? (Organ of Corti works well for example)

Thanks!

ulrik

chalkie666 commented 7 years ago

Hi @skalaproduktraum Don't think so. This mobile Quadratmeter gpu has 2GB ram. Maybe it works after a reboot... But I wasn't using gpu for anything else fancy at same time. Just office apps

chalkie666 commented 7 years ago

Works with green channel.of confocal series sample data on Intel Atom x5 Windows 10 integrated graphics.