Page 1 of 2

Help with CUDA

Posted: November 14th, 2018, 10:46 pm
by MarkT
Hi, can anyone out there explain how CUDA is supposed to work? I just installed a new video card, the GeForce GT 710, with a GK208 GPU which supports CUDA with 192 cores. I then also uninstalled and re-installed Alpha 9-Nov-2018. But the "About" window shows "CUDA not available", and when I "Toggle CUDA support", nothing appears to happen. I'm not at all familiar with this stuff, so I don't know if there's some other step I've missed.

My old card dies, so I wanted mostly to get a card to support dual monitors, and I must say, I very much like being able to keep the transformation windows and image browser on the 2nd screen.

Any help with CUDA would be greatly appreciated.

Re: Help with CUDA

Posted: November 15th, 2018, 6:47 am
by jsachs
It sounds like you need to download the latest drivers from Nvidia.com. Don't use the Help command to toggle CUDA as that will turn it off.

Re: Help with CUDA

Posted: November 15th, 2018, 9:17 am
by MarkT
Of course, thanks for reminding me Jonathan, that solved it. Are there situations where one might want to toggle CUDA support "off"?

Re: Help with CUDA

Posted: November 15th, 2018, 4:14 pm
by jsachs
Not really -- It's there mostly for debugging and for timing the speed difference.

Re: Help with CUDA

Posted: November 15th, 2018, 4:19 pm
by MarkT
Oh, okay, thanks for the info. And thanks for the support of dual monitors, I'm really liking the un-cluttered view of the input and preview images.

Re: Help with CUDA

Posted: November 18th, 2018, 9:47 pm
by jsachs
It turns out there is another reason for turning off CUDA -- if you are using an older or low-end display adapter lacking enough free memory to hold the entire image you are operating on, you will get an error. In this case you can proceed if you turn off CUDA and process the image normally using the CPU instead of the GPU.

Re: Help with CUDA

Posted: November 18th, 2018, 11:44 pm
by MarkT
Good to know. so, my "new" graphics card has 1GB of memory, can you suggest what's the maximum image size that will support?

Re: Help with CUDA

Posted: November 19th, 2018, 7:56 am
by jsachs
I ran into problems doing a Bilateral Sharpen on a 48-bit color image from my Sony A7RIII which has 251MB files. The card needs to hold 2 copies of the file - one for the input image and one for the output image, so that's about 0.5 GB. I was getting errors with a 2GB card. It works fine with the 8GB card in my gaming laptop and other desktop computer. It seems like the image should fit in 2GB, but I don't know how much memory is left after Windows drivers and display buffers are allocated.

Re: Help with CUDA

Posted: November 19th, 2018, 9:33 am
by MarkT
Thanks for the info. 48-bit files form my D810 weigh in about 215MB, so I'd probably see the same error with only 1GB of GPU memory. Now I can plan for the desktop upgrade...

Re: Help with CUDA

Posted: November 19th, 2018, 1:20 pm
by jsachs
I had been assuming images would fit in GPU memory - since this is not necessarily the case I need to look into processing them in sections that do fit. I am still just getting started with CUDA and there is a serious learning curve.