Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: lilbit on February 05, 2013, 08:44:11 AM



Title: litecoin mining cuda/nvidia+linux
Post by: lilbit on February 05, 2013, 08:44:11 AM
  Hi,  I'm just getting introduced to litecoins, I am interested in trying to compile either reaper or cgminer (or both) for nvidia on linux however I cannot seem to find any help for that.  Does anyone here have experience in that area that could lend some assistance?

  The problem that I've encountered so far is that there is simply no documentation for building for cuda as opposed to opencl and neither actually compile correctly, reaper not at all, because they are looking for opencl for gpu mining though both claim to be compatible w/ nvidia.  I guessing that the answer might be simple but I haven't found it yet.


Title: Re: litecoin mining cuda/nvidia+linux
Post by: K1773R on February 05, 2013, 08:59:39 AM
  Hi,  I'm just getting introduced to litecoins, I am interested in trying to compile either reaper or cgminer (or both) for nvidia on linux however I cannot seem to find any help for that.  Does anyone here have experience in that area that could lend some assistance?

  The problem that I've encountered so far is that there is simply no documentation for building for cuda as opposed to opencl and neither actually compile correctly, reaper not at all, because they are looking for opencl for gpu mining though both claim to be compatible w/ nvidia.  I guessing that the answer might be simple but I haven't found it yet.
nvidia + linux + cgminer never worked for me (buffer overflow flaw), didnt test reaper.
its only opencl too (both)


Title: Re: litecoin mining cuda/nvidia+linux
Post by: -ck on February 05, 2013, 09:08:58 AM
cgminer mines scrypt/litecoin just fine on my nvidia GPU at an appallingly slow rate. Not that I mine with it, just test it works.


Title: Re: litecoin mining cuda/nvidia+linux
Post by: K1773R on February 05, 2013, 09:14:28 AM
cgminer mines scrypt/litecoin just fine on my nvidia GPU at an appallingly slow rate. Not that I mine with it, just test it works.
allright, gonna compile a debug build and send u the informations (in case u got some spare time)


Title: Re: litecoin mining cuda/nvidia+linux
Post by: -ck on February 05, 2013, 09:15:47 AM
cgminer mines scrypt/litecoin just fine on my nvidia GPU at an appallingly slow rate. Not that I mine with it, just test it works.
allright, gonna compile a debug build and send u the informations (in case u got some spare time)
Chances I look at it are slim I'm afraid.


Title: Re: litecoin mining cuda/nvidia+linux
Post by: K1773R on February 05, 2013, 09:17:01 AM
cgminer mines scrypt/litecoin just fine on my nvidia GPU at an appallingly slow rate. Not that I mine with it, just test it works.
allright, gonna compile a debug build and send u the informations (in case u got some spare time)
Chances I look at it are slim I'm afraid.
well, write it to your TODO list and if u got time feel free to contact me :)


Title: Re: litecoin mining cuda/nvidia+linux
Post by: lilbit on February 05, 2013, 09:58:03 AM
 Ok, well the information that it is openCL exclusive helped, so thanks.   The problem was that my cuda install didn't have a libOpenCL.so link by default had to create the link to libOpenCL.so.1.0.0, and add the linking flag LDFLAGS=-L/usr/lib/nvidia.   

 However now when I run it I get the error:

 Error -2: Creating Context. (clCreateContextFromType)

 and it fails to mine.  Any ideas?


Title: Re: litecoin mining cuda/nvidia+linux
Post by: -ck on February 05, 2013, 10:05:28 AM
Try some ridiculously conservative values, like shaders 96 or something.