Bitcoin Forum

Other => Beginners & Help => Topic started by: Racer8 on April 09, 2013, 08:11:30 PM



Title: cgminer with nvidia
Post by: Racer8 on April 09, 2013, 08:11:30 PM
Can't really seem to find the answer to this in any other topics - when using cgminer with nvidia cards do you need to install the AMD SDK and drivers?


Title: subject
Post by: pmin00 on April 09, 2013, 09:11:30 PM

edited


Title: Re: cgminer with nvidia
Post by: cancrena on April 10, 2013, 09:08:55 AM
also, with nvidia cards cudaminer is recommended :)


Title: Re: cgminer with nvidia
Post by: Racer8 on April 10, 2013, 12:22:36 PM
Thanks Patrick and cancrena.

Yes - realised I should have left a contact address on your website!

I'm solo mining in windows 32 with a NVIDIA NVS 4200M.  I have installed Cuda 5.0 and the latest NVIDIA graphics drivers.  This is the cgminer --ndevs output:

 [2013-04-10 13:17:10] CL Platform 0 vendor: Advanced Micro Devices, Inc.
 [2013-04-10 13:17:10] CL Platform 0 name: AMD Accelerated Parallel Processing
 [2013-04-10 13:17:10] CL Platform 0 version: OpenCL 1.2 AMD-APP (938.2)
 [2013-04-10 13:17:10] Error -1: Getting Device IDs (num)
 [2013-04-10 13:17:10] CL Platform 1 vendor: NVIDIA Corporation
 [2013-04-10 13:17:10] CL Platform 1 name: NVIDIA CUDA
 [2013-04-10 13:17:10] CL Platform 1 version: OpenCL 1.1 CUDA 4.2.1
 [2013-04-10 13:17:10] Platform 1 devices: 1
 [2013-04-10 13:17:10]  0       NVS 4200M
 [2013-04-10 13:17:10] Unable to load ati adl library
 [2013-04-10 13:17:10] 1 GPU devices max detected
 [2013-04-10 13:17:10] USB all: found 7 devices - listing known devices
 [2013-04-10 13:17:10] No known USB devices

Seems to suggest cgminer can see the card?

I've tried not to overload the card to get it going so the cgminer bat file is:

setx GPU_MAX_ALLOC_PERCENT 30
setx GPU_USE_SYNC_OBJECTS 1
cgminer -o http://127.0.0.1:9332 -u xxxx -p yyyy --scrypt --intensity -5 --shaders 50 --thread-concurrency 1 --gpu-threads 1


Title: Re: cgminer with nvidia
Post by: Racer8 on April 11, 2013, 10:08:32 AM
Yes I had started the LTC daemon.

I have taken cancrena's advice and installed cudaminer which worked right out of the box! 

Thanks for your assistance on cgminer.