Bitcoin Forum
June 23, 2024, 07:58:10 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot) on: January 14, 2018, 11:38:22 PM
Did the cuda-9 branch of the github get deleted or merged with the latest release?  I was able to compile the linux branch without issue using the 390 driver, but am not sure I'm getting the same hash rate I was before (too early in use to be sure).  Thanks!
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot) on: December 26, 2017, 01:10:41 AM
It seems building the latest ccminer source against CUDA 9.1 fails, because the file device_functions_decls.h cannot be found.

Edit: On ubuntu 16.04. Of course an easy workaround is to use CUDA 9.0 libraries for now.

I got CUDA 9.1 to work with the cuda-9 branch of ccminer.  I compiled CUDA 9.1 using the .run file and had it install the drivers included with the full .run package as the proprietary drivers did not install correctly using either the GUI (system setting route) or the PPA from the command line (at least for me, though I'm not an expert so I could very easily have been doing something wrong).  As I posted above thread, the key for me was to ensure that I had both lib and lib64 referenced in my LD_LIBRARY path before I compiled, otherwise, even though ccminer would compile without failing, it wouldn't do so correctly.
3  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot) on: December 25, 2017, 05:09:28 AM
Anyone else having problems building and running cuda-9 branch with Ubuntu 17.04 and CUDA 9.1?  It compiles successfully but crashes within few seconds after running. I am not overclocking and have run these 2 cards extensively with ccminer with windows.  I've also tried equihash and that crashes as well.  Any ideas?

/ccminer$ ./ccminer  -r 0 -a Lyra2v2 -o stratum+tcp://hub.miningpoolhub.com:20593 -u xyz -p x 
*** ccminer 2.2.4 for nVidia GPUs by tpruvot@github ***
    Built with the nVidia CUDA Toolkit 9.1 64-bits

  Originally based on Christian Buchner and Christian H. project
  Include some kernels from alexis78, djm34, djEzo, tsiv and krnlx.

BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo (tpruvot)

[2017-12-24 01:40:42] Starting on stratum+tcp://hub.miningpoolhub.com:20593
[2017-12-24 01:40:42] NVML GPU monitoring enabled.
[2017-12-24 01:40:42] 2 miner threads started, using 'lyra2v2' algorithm.
[2017-12-24 01:40:42] Stratum difficulty set to 256 (1.00000)
[2017-12-24 01:40:42] GPU #0: Intensity set to 20, 1048576 cuda threads
[2017-12-24 01:40:42] GPU #1: Intensity set to 20, 1048576 cuda threads
[2017-12-24 01:40:49] Stratum difficulty set to 16 (0.06250)
Cuda error in func 'scanhash_lyra2v2' at line 118 : unknown error.
Cuda error in func 'scanhash_lyra2v2' at line 118 : unknown error.
Segmentation fault (core dumped)


ccminer$ nvidia-smi
Sun Dec 24 15:19:44 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 387.34                 Driver Version: 387.34                    |
|-------------------------------+----------------------+----------------------+



Several questions and things to try (though I'm on 16.04 not 17.04).  Do the CUDA example libraries compile and run for you (don't just try devicequery, also try some of the others like randomfog). If not, likely you have a problem with the install of either CUDA or the driver.  I had to work hard to get the right driver and the right libraries for the examples to compile.

Separately, i had exactly the same error and the way I eventually got it fixed was that I had to add lib and lib64 to my LD_LIBRARY path.  None of the documentation mentioned lib64, just lib.  Give that a try, but make sure you recompile ccminer first as if you didn't include lib64 in the LD_LIBRARY path it likely didn't compile correctly (I learned that one from bitter experience).  Good luck.
4  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot) on: December 17, 2017, 06:01:33 AM
BTW, for anyone building the cuda 9 branch on ubuntu 16.04, make sure that your LD_LIBRARY path includes references to both lib and lib64 when using CUDA 9 or 9.1.  I couldn't find the need to include lib64 anywhere, but the moment I did, things started compiling and mining fine (I also rebuilt my box from the ground up, so i can't confirm it was the magic thing, but I believe it was as I was encountering similar issues on the rebuilt box until I made the change).  I hope someone else finds this helpful.
5  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot) on: December 12, 2017, 06:00:34 AM
I'm running Ubuntu 16.04 with two Nvidia GTX 1060s.  I've downloaded and installed the latest proprietary driver and CUDA 9.  I've also downloaded and successfully compiled the cuda 9 branch of ccminer.  The only problem is that once I've compiled it, I get the dreaded "Cuda error in func 'keccak256_cpu_init' at line 299 : unknown error." when I try to mine lyra2v2.  Has anyone had any success in figuring this one out?  Thanks!

I hate to give a bump to this one, but I'm totally and completely stumped at this point and can't find anything that might suggest a solution despite multiple days of searching and trying multiple reinstalls of cuda, the driver, and this and other versions of ccminer.  I even tried to remove CUDA 9 and downgrade to CUDA 8 without any luck.  Has anyone had any luck or any words of advice they can offer?  Anything else I should try?  Many thanks in advance.
6  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot) on: December 11, 2017, 03:18:32 AM
Modifying the intensity (even the lowest setting) doesn't have any impact at all.
7  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] ccminer 2.2.2 - opensource - GPL (tpruvot) on: December 11, 2017, 01:41:30 AM
I'm running Ubuntu 16.04 with two Nvidia GTX 1060s.  I've downloaded and installed the latest proprietary driver and CUDA 9.  I've also downloaded and successfully compiled the cuda 9 branch of ccminer.  The only problem is that once I've compiled it, I get the dreaded "Cuda error in func 'keccak256_cpu_init' at line 299 : unknown error." when I try to mine lyra2v2.  Has anyone had any success in figuring this one out?  Thanks!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!