HenriquesLab / NanoJ-SRRF

Super-resolution radial fluctuations (SRRF)
GNU General Public License v3.0
22 stars 2 forks source link

GPU processing not working #1

Open 500pixies opened 6 years ago

500pixies commented 6 years ago

I'm having trouble getting NanoJ SRRF to process my files. It doesn't seem to be able to start OpenCL and throws an error. It doesn't switch over to Java and the CPU though. It just stops. A bit frustrating because the initial (CPU-based) results were very promising before I updated everything and started trying to get the GPU to work.

Here is an example of the (not so informative) error:

sep 01, 2018 6:19:05 EM com.amd.aparapi.internal.kernel.KernelRunner executeOpenCL WARNING: ### CL exec seems to have failed. Trying to revert to Java ###

The data is a small (cropped) 100 frame 16 bit stack from a Yokogawa spinning disk confocal. It is as close as I can make it to the sample data: https://bitbucket.org/rhenriqueslab/nanoj-srrf/downloads/Anti-Tubulin-Alexa647%20Ultra-high%20density%20data.tif.zip The sample data works - my data does not. I have attached a cropped but otherwise unmodified file. This particular example fades badly, but that shouldn't have anything to do with the error.

I would be most grateful for any suggestions as I have done everything I can think of. Thanks! AL

Sys info: Win10 64 bit build 17134 Nvidia GeForce GTX 970 - most recent drivers 399.07, DirectX 12 Java - most recent release, version 8 update 181 (build 1.8.0_181-b13) Fiji/ImageJ - most recent update 1.52e NanoJ - most recent release, 2.0RC1 SRRF - most recent release 1.13stable1

Mandelbrot OpenCL test: NVIDIA Corporation_GPU Identity of device used: - NVIDIA Corporation_GPU global:589824 local:(derived)1024 Execution mode=GPU Executed at 535.0FPS Best Device: - NVIDIA Corporation_GPU

Benchmark results: ImageJ 512 512 610 3 3 57.908 NanoJ-JTP 512 512 610 3 3 51.583 NanoJ-GPU 512 512 610 3 3 132.019 ImageJ 512 512 610 3 3 59.008 NanoJ-JTP 512 512 610 3 3 53.319 NanoJ-GPU 512 512 610 3 3 184.720 ImageJ 512 512 615 3 3 58.598 NanoJ-JTP 512 512 615 3 3 65.116 NanoJ-GPU 512 512 615 3 3 181.586 small_stack.zip

zach-hensel commented 5 years ago

I had exactly the same issue today (1050 TI 4GB, x64 intel system, windows 10), found this post, and ended up resolving it by installing the latest "creator ready driver" from here - https://www.nvidia.com/Download/index.aspx?lang=en-us - I did not try the latest "game ready driver". I think the previous driver that did not work was whatever windows update installed upon detecting the card, but I am not sure; it was dated January 2019 and the driver from Nvidia is dated March 2019.

XarlesSta commented 4 years ago

I am having the same problem. (NVIDIA GeForce RTX 2070 super, Windows 10). I tried installing the 2 different new drivers available (Studio nad Game-ready-driver), but any of the two installation modes worked. I would appreciate any help or advice.

zach-hensel commented 4 years ago

I have gotten it to work with a couple different Nvidia GPUs using the creator drivers and not the gamer ones.

On Fri, May 8, 2020, 22:03 XarlesSta notifications@github.com wrote:

I am having the same problem. (NVIDIA GeForce RTX 2070 super, Windows 10). I tried installing the 2 different new drivers available (Studio nad Game-ready-driver), but any of the two installation modes worked. I would appreciate any help or advice.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/HenriquesLab/NanoJ-SRRF/issues/1#issuecomment-626019470, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFQG5FYX3H2UFR6MAC7ISS3RQRXSTANCNFSM4FSZK6EA .

XarlesSta commented 4 years ago

Zach. thanks for the advice. I tried with both versions "Studio drivers" and the "Gamers drivers". Still not working. Version 442.92 from march-2019. There is a Creator driver-ready version 419.67 (Also march-2019), but it does not seem to support the "GeForce RTX 2070 super", only the "GeForce RTX 2070". That might be the problem.