cuda installed but application not recognising it

I have a MacPro 3,1 with a NVIDIA GeForce GTX 560 2Gb graphic card. I've installed the Cuda driver and the necessary command line tools according to these instructions.

I have run the tests to see if installation was complete and got positive results. (See below.) When I open sorenson Squeezepro (9.0.3.11) and check the GPU preference panel I'm told Cuda drive is not installed on this computer. Can anyone tell me if there is a sure fire way to check that Cuda is properly installed? If it is installed properly, why won't Squeeze recognise it/


Cheers and thanks for your help.



Test results

MacPro:release macpro$ ./deviceQuery

./deviceQuery Starting...


CUDA Device Query (Runtime API) version (CUDART static linking)


Detected 1 CUDA Capable device(s)


Device 0: "GeForce GTX 560"

CUDA Driver Version / Runtime Version 6.5 / 6.5

CUDA Capability Major/Minor version number: 2.1

Total amount of global memory: 2048 MBytes (2147155968 bytes)

( 7) Multiprocessors, ( 48) CUDA Cores/MP: 336 CUDA Cores

GPU Clock rate: 1700 MHz (1.70 GHz)

Memory Clock rate: 2004 Mhz

Memory Bus Width: 256-bit

L2 Cache Size: 524288 bytes

Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, 65535), 3D=(2048, 2048, 2048)

Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers

Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 layers

Total amount of constant memory: 65536 bytes

Total amount of shared memory per block: 49152 bytes

Total number of registers available per block: 32768

Warp size: 32

Maximum number of threads per multiprocessor: 1536

Maximum number of threads per block: 1024

Max dimension size of a thread block (x,y,z): (1024, 1024, 64)

Max dimension size of a grid size (x,y,z): (65535, 65535, 65535)

Maximum memory pitch: 2147483647 bytes

Texture alignment: 512 bytes

Concurrent copy and kernel execution: Yes with 1 copy engine(s)

Run time limit on kernels: Yes

Integrated GPU sharing Host Memory: No

Support host page-locked memory mapping: Yes

Alignment requirement for Surfaces: Yes

Device has ECC support: Disabled

Device supports Unified Addressing (UVA): Yes

Device PCI Bus ID / PCI location ID: 2 / 0

Compute Mode:

< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >


deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 6.5, CUDA Runtime Version = 6.5, NumDevs = 1, Device0 = GeForce GTX 560

Result = PASS

MacPro:release macpro$ ./bandwidthTest

[CUDA Bandwidth Test] - Starting...

Running on...


Device 0: GeForce GTX 560

Quick Mode


Host to Device Bandwidth, 1 Device(s)

PINNED Memory Transfers

Transfer Size (Bytes) Bandwidth(MB/s)

33554432 3032.9


Device to Host Bandwidth, 1 Device(s)

PINNED Memory Transfers

Transfer Size (Bytes) Bandwidth(MB/s)

33554432 3267.9


Device to Device Bandwidth, 1 Device(s)

PINNED Memory Transfers

Transfer Size (Bytes) Bandwidth(MB/s)

33554432 101365.6


Result = PASS

MacPro:release macpro$

Mac Pro, OS X Mavericks (10.9.5), 3,1 2.8 GHz NVIDIA GeForce GTX 560

Posted on Oct 14, 2014 8:32 PM

Reply
4 replies

Oct 15, 2014 11:53 AM in response to Lars Hansen

I'll try to help you, Lars. H. According to sorenson, your card does support CUDA


here are the drivers for snow Leopard



http://www.nvidia.com/object/MacOSX-CUDA-3.0.html

here are minimum requirements for cuda in Sorenson Squeeze

nvida CUDA driver 3.1 or better, GPU driver 19.5.9f02, whatever that means, 512 meg of video memory

and here you will find latest CUDA

drivers for your nVidia card

http://www.nvidia.com/object/mac-driver-archive.html

see if that helps you out. CUDA 6.5.18 adds support for 10.9.5. You're supposed to be also able to download it by going to system prefences, then "other" , then CUDA, but I don't have that installed on my Pro, so I can't help you much more than this .

John B


sorry-quick note here. If you go into Sorenson Squeeze, then Menu, then Preferences, then go to the GPU tab. your card should be recognized after you update the CUDA, then go to the GPU tab. Also, 10.9.5 may require that video memory for itself, leaving nothing for Sorenson Squeeze. You may have to buy a better video card, maybe


whew ! hopefully this fixes it for now

Oct 18, 2014 6:06 AM in response to Johnb-one

Thanks JohnB, Cuda is installed (see the system report at the bottom of my first post) and I have the latest drivers. I had it working before but I needed to do a complete system reinstall and can't replicate what I did before to make Squeeze recognise my card.


It used to be with Adobe that I had to go in to an invisible file and enter the card name so that the Adobe programs would look for and recognise my card (the GeForce GTX 560 was not one of the officially recognised cards at the time but by putting the card name in the list of cards Adobe looked for on start up this was fixed). I wonder if this is the same with Squeeze. Ie, if there isn't a file that squeeze refers to with a list of 'officially' recognised GPUs and its just a question of updating the list.


BTW Adobe CC2014 sees my card and gives me the options of Cuda processing, OpenGL or just vanilla.

Oct 18, 2014 11:58 AM in response to Lars Hansen

Yes, I think you're on to something good there, Lars. Hope your terminal skills are good. I found something about "hacking" Premiere and CS6 to recognize your video card, as they recognize 4 cards. here's a link to the hack in a video. Please note-I am no expert, and know nothing about Adobe stuff (mostly) or anything from Sorenson. Hopefully this will give you an idea and get you started


http://www.vidmuze.com/videos/enable-gpu-cuda-in-adobe-cs6-for-mac/


JB

Oct 18, 2014 12:38 PM in response to Johnb-one

Thanks again. Adobe seems to have fixed the issue with CC because I no longer need to edit the supported card list like in CS6. I've been digging away at Squeezes and Adobes application content files and have found that both refer to CFBundle.....xml files. I've been looking at these files with text edit to see if any of them have a list of gpus but have come up with nothing so far. I figure there must be some system document or file that is referred to by the programs that tell them that there is a GPU installed and that it has CUDA, but where that file is is a mystery.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

cuda installed but application not recognising it

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.