Bitcoin Forum
May 07, 2024, 10:51:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 [137] 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 »
  Print  
Author Topic: [ANN] ccminer 2.3 - opensource - GPL (tpruvot)  (Read 499993 times)
scryptr
Legendary
*
Offline Offline

Activity: 1793
Merit: 1028



View Profile WWW
November 03, 2017, 04:23:01 AM
 #2721

Is there a way to compile ccminer (for Ubuntu) for a specific algorithm (not for all)? It it is possbile could you please tell me how to do it in details?

Thank you!

SIMPLE ANSWER, NO! --

For a more complex answer, you would need to remove a great deal of code.  For example, tsiv's CryptoNight miner is only for CryptoNight.  Modifications to several algorithm components of the code so that CryptoNight algorithm could be mined made the miner incompatible with normal use for those modified algorithms.

It is possible to re-code CCminer for only one algorithm, but the path is wickedly complex.  It cannot currently be done with "switches" within the code similar to those used to support or not support Maxwell or Pascal or earlier chip architecture.       --scryptr

TIPS:  BTC - 1Fs4uZ6a9ABYBTaHGUfqcwCQmeBRxkKRQT    DASH - XrK81tW31SLsVvZ2WX9VhTjpT6GXJPLdbQ
          SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
          GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
1715079068
Hero Member
*
Offline Offline

Posts: 1715079068

View Profile Personal Message (Offline)

Ignore
1715079068
Reply with quote  #2

1715079068
Report to moderator
1715079068
Hero Member
*
Offline Offline

Posts: 1715079068

View Profile Personal Message (Offline)

Ignore
1715079068
Reply with quote  #2

1715079068
Report to moderator
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
The_Immortal
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
November 03, 2017, 05:32:43 AM
 #2722

scryptr, thank you.

Maybe you can help with another question. Is there a way TO NOT COMPILE CCMINER FOR EVERY PC?!?!

I have several rigs (they are on Ubuntu). I've compiled ccminer for one of them and it's worked. Then I switched ready ccminer to the same hardware configuration (socket, CPU, videocards) and... CCminer just exited after its launching.. So I had to compile it AGAIN... and it worked.

OMG... Should I compile this hell under every PC?....

Thank you!
scryptr
Legendary
*
Offline Offline

Activity: 1793
Merit: 1028



View Profile WWW
November 03, 2017, 06:17:49 AM
 #2723

scryptr, thank you.

Maybe you can help with another question. Is there a way TO NOT COMPILE CCMINER FOR EVERY PC?!?!

I have several rigs (they are on Ubuntu). I've compiled ccminer for one of them and it's worked. Then I switched ready ccminer to the same hardware configuration (socket, CPU, videocards) and... CCminer just exited after its launching.. So I had to compile it AGAIN... and it worked.

OMG... Should I compile this hell under every PC?....

Thank you!

JUST USE BUILD.SH--

Each build will be compiled against the hardware and drivers on each PC.  It takes a while to compile, depending on the CPU, but it fits the PC it is built on.  Further, if you have all Pascal GPUs, you can set switches within the code to build a binary specific for Pascal architecture.  Likewise, you can build for older architecture.  I never found this intimidating or difficult.       --scryptr

TIPS:  BTC - 1Fs4uZ6a9ABYBTaHGUfqcwCQmeBRxkKRQT    DASH - XrK81tW31SLsVvZ2WX9VhTjpT6GXJPLdbQ
          SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
          GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
The_Immortal
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
November 03, 2017, 06:42:02 AM
Last edit: November 03, 2017, 07:06:23 AM by The_Immortal
 #2724

scryptr,
JUST USE BUILD.SH
Huh Of course I use it... Every time, again and again (for every another PC) i use this file to compile ccminer by default. Or what did you mean by that?

I never found this intimidating or difficult.
Well, that's not too hard indeed. But when you've to download nvidia-toolkit (2.5GB) and then compile ccminer (from 5-15 mins) ten times in a row - that's a lil bit frustrating! Do you get me? Smiley

Further, if you have all Pascal GPUs, you can set switches within the code to build a binary specific for Pascal architecture.
Yup, all my GPUs are Pascal (GTX 1050). But can you gimme please an example how to use switches for Pascal GPUs? Or did you mean maybe flags not switches? Well, those flags won't help - I tell you (see below why).

And... Could you please explain how is it possible... There two absolutely identical PC: motherboards, CPU, the same GPUs (1050) from the same vendor. I compile ccminer on one of them and expect that it will work on both PC (make sense?) Nope! It works only on PC it was built on! Why is that?? (btw, it was tested on cryptonight algo).

I think it's not about GPUs architecture. It's about CPU architecture. ccminer is too sensetive to all hardware during its compiling... How to say ccminer to be not so sensetive to get more universal solution?

Thank you!

P.S. But under windows it works perfectly. You don't need to break your brain - you just need to download ready binaries and launch it...... It's a dream for Ubuntu Sad

P.P.S. BTW, what switch should I use for GTX 1050? Never found it in the list.
pallas
Legendary
*
Offline Offline

Activity: 2716
Merit: 1094


Black Belt Developer


View Profile
November 03, 2017, 09:23:10 AM
 #2725

scryptr,
JUST USE BUILD.SH
Huh Of course I use it... Every time, again and again (for every another PC) i use this file to compile ccminer by default. Or what did you mean by that?

I never found this intimidating or difficult.
Well, that's not too hard indeed. But when you've to download nvidia-toolkit (2.5GB) and then compile ccminer (from 5-15 mins) ten times in a row - that's a lil bit frustrating! Do you get me? Smiley

Further, if you have all Pascal GPUs, you can set switches within the code to build a binary specific for Pascal architecture.
Yup, all my GPUs are Pascal (GTX 1050). But can you gimme please an example how to use switches for Pascal GPUs? Or did you mean maybe flags not switches? Well, those flags won't help - I tell you (see below why).

And... Could you please explain how is it possible... There two absolutely identical PC: motherboards, CPU, the same GPUs (1050) from the same vendor. I compile ccminer on one of them and expect that it will work on both PC (make sense?) Nope! It works only on PC it was built on! Why is that?? (btw, it was tested on cryptonight algo).

I think it's not about GPUs architecture. It's about CPU architecture. ccminer is too sensetive to all hardware during its compiling... How to say ccminer to be not so sensetive to get more universal solution?

Thank you!

P.S. But under windows it works perfectly. You don't need to break your brain - you just need to download ready binaries and launch it...... It's a dream for Ubuntu Sad

P.P.S. BTW, what switch should I use for GTX 1050? Never found it in the list.

cpu doesn't matter, unless you compiled with cpu specific flags.
is the software the same on the two machines? same OS, same version? same packages installed?
I had no problems sharing ccminer binaries with other people using the same linux OS, it even worked with different distributions, provided it had the same shared libraries available.

luka1002
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
November 03, 2017, 02:33:41 PM
 #2726

Hello

I am having problems with latest https://github.com/tpruvot/ccminer ccminer 2.2.2 with CUDA 9. Last version before this one i compiled with out any problem. I have update CUDA from 7.5 to 9 and i get this error:

https://pastebin.com/Lf7TVRJC

Code:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.90                 Driver Version: 384.90                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070    On   | 00000000:01:00.0  On |                  N/A |
|  0%   29C    P8     8W / 130W |    114MiB /  8110MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 1070    On   | 00000000:02:00.0 Off |                  N/A |
|  0%   23C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 1070    On   | 00000000:04:00.0 Off |                  N/A |
|  0%   20C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX 1070    On   | 00000000:05:00.0 Off |                  N/A |
|  0%   24C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   4  GeForce GTX 1070    On   | 00000000:06:00.0 Off |                  N/A |
|  0%   23C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   5  GeForce GTX 1070    On   | 00000000:08:00.0 Off |                  N/A |
|  0%   24C    P8     6W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   6  GeForce GTX 1070    On   | 00000000:09:00.0 Off |                  N/A |
|  0%   30C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   7  GeForce GTX 1070    On   | 00000000:0A:00.0 Off |                  N/A |
|  0%   27C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1707      G   /usr/lib/xorg/Xorg                           112MiB |
|    1      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    2      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    3      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    4      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    5      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    6      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    7      1707      G   /usr/lib/xorg/Xorg                            17MiB |
+-----------------------------------------------------------------------------+

Code:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176

Code:
g++-5 is already the newest version (5.4.0-6ubuntu1~16.04.5).
gcc-5 is already the newest version (5.4.0-6ubuntu1~16.04.5).

Linux mint 18.1
Could someone help me and tell were the problem is?
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
November 03, 2017, 03:12:37 PM
 #2727

https://github.com/tpruvot/ccminer/tree/cuda-9

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
azertyuiopvnx
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
November 03, 2017, 03:15:37 PM
 #2728

Hello

I am having problems with latest https://github.com/tpruvot/ccminer ccminer 2.2.2 with CUDA 9. Last version before this one i compiled with out any problem. I have update CUDA from 7.5 to 9 and i get this error:

https://pastebin.com/Lf7TVRJC

Code:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.90                 Driver Version: 384.90                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070    On   | 00000000:01:00.0  On |                  N/A |
|  0%   29C    P8     8W / 130W |    114MiB /  8110MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 1070    On   | 00000000:02:00.0 Off |                  N/A |
|  0%   23C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 1070    On   | 00000000:04:00.0 Off |                  N/A |
|  0%   20C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX 1070    On   | 00000000:05:00.0 Off |                  N/A |
|  0%   24C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   4  GeForce GTX 1070    On   | 00000000:06:00.0 Off |                  N/A |
|  0%   23C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   5  GeForce GTX 1070    On   | 00000000:08:00.0 Off |                  N/A |
|  0%   24C    P8     6W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   6  GeForce GTX 1070    On   | 00000000:09:00.0 Off |                  N/A |
|  0%   30C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   7  GeForce GTX 1070    On   | 00000000:0A:00.0 Off |                  N/A |
|  0%   27C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1707      G   /usr/lib/xorg/Xorg                           112MiB |
|    1      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    2      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    3      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    4      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    5      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    6      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    7      1707      G   /usr/lib/xorg/Xorg                            17MiB |
+-----------------------------------------------------------------------------+

Code:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176

Code:
g++-5 is already the newest version (5.4.0-6ubuntu1~16.04.5).
gcc-5 is already the newest version (5.4.0-6ubuntu1~16.04.5).

Linux mint 18.1
Could someone help me and tell were the problem is?

I also had that problem with scrypt kernel, i had to disable all off them in Makefile.am, bench.cpp, util.cpp and ccminer.cpp
luka1002
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
November 03, 2017, 03:32:42 PM
 #2729

Hello

I am having problems with latest https://github.com/tpruvot/ccminer ccminer 2.2.2 with CUDA 9. Last version before this one i compiled with out any problem. I have update CUDA from 7.5 to 9 and i get this error:

https://pastebin.com/Lf7TVRJC

Code:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.90                 Driver Version: 384.90                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070    On   | 00000000:01:00.0  On |                  N/A |
|  0%   29C    P8     8W / 130W |    114MiB /  8110MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 1070    On   | 00000000:02:00.0 Off |                  N/A |
|  0%   23C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 1070    On   | 00000000:04:00.0 Off |                  N/A |
|  0%   20C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX 1070    On   | 00000000:05:00.0 Off |                  N/A |
|  0%   24C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   4  GeForce GTX 1070    On   | 00000000:06:00.0 Off |                  N/A |
|  0%   23C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   5  GeForce GTX 1070    On   | 00000000:08:00.0 Off |                  N/A |
|  0%   24C    P8     6W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   6  GeForce GTX 1070    On   | 00000000:09:00.0 Off |                  N/A |
|  0%   30C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   7  GeForce GTX 1070    On   | 00000000:0A:00.0 Off |                  N/A |
|  0%   27C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1707      G   /usr/lib/xorg/Xorg                           112MiB |
|    1      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    2      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    3      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    4      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    5      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    6      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    7      1707      G   /usr/lib/xorg/Xorg                            17MiB |
+-----------------------------------------------------------------------------+

Code:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176

Code:
g++-5 is already the newest version (5.4.0-6ubuntu1~16.04.5).
gcc-5 is already the newest version (5.4.0-6ubuntu1~16.04.5).

Linux mint 18.1
Could someone help me and tell were the problem is?

I also had that problem with scrypt kernel, i had to disable all off them in Makefile.am, bench.cpp, util.cpp and ccminer.cpp

can u explain more please?
The_Immortal
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
November 03, 2017, 03:44:53 PM
 #2730

pallas,
scryptr,
JUST USE BUILD.SH
Huh Of course I use it... Every time, again and again (for every another PC) i use this file to compile ccminer by default. Or what did you mean by that?

I never found this intimidating or difficult.
Well, that's not too hard indeed. But when you've to download nvidia-toolkit (2.5GB) and then compile ccminer (from 5-15 mins) ten times in a row - that's a lil bit frustrating! Do you get me? Smiley

Further, if you have all Pascal GPUs, you can set switches within the code to build a binary specific for Pascal architecture.
Yup, all my GPUs are Pascal (GTX 1050). But can you gimme please an example how to use switches for Pascal GPUs? Or did you mean maybe flags not switches? Well, those flags won't help - I tell you (see below why).

And... Could you please explain how is it possible... There two absolutely identical PC: motherboards, CPU, the same GPUs (1050) from the same vendor. I compile ccminer on one of them and expect that it will work on both PC (make sense?) Nope! It works only on PC it was built on! Why is that?? (btw, it was tested on cryptonight algo).

I think it's not about GPUs architecture. It's about CPU architecture. ccminer is too sensetive to all hardware during its compiling... How to say ccminer to be not so sensetive to get more universal solution?

Thank you!

P.S. But under windows it works perfectly. You don't need to break your brain - you just need to download ready binaries and launch it...... It's a dream for Ubuntu Sad

P.P.S. BTW, what switch should I use for GTX 1050? Never found it in the list.

cpu doesn't matter, unless you compiled with cpu specific flags.
is the software the same on the two machines? same OS, same version? same packages installed?
I had no problems sharing ccminer binaries with other people using the same linux OS, it even worked with different distributions, provided it had the same shared libraries available.
Exactly - all the same: OS, miner software, etc.

But could you tell me please if I want to compile ccminer for GTX 1050 only regardless any CPU what should I do?

As I get all I need is add into Makefile.am the following flag:
Code:
nvcc_ARCH = -gencode=arch=compute_60,code="sm_60,compute_60"
and remove all other flags concerning nvcc_ARCH.

Correct?
pallas
Legendary
*
Offline Offline

Activity: 2716
Merit: 1094


Black Belt Developer


View Profile
November 03, 2017, 03:52:06 PM
 #2731

But could you tell me please if I want to compile ccminer for GTX 1050 only regardless any CPU what should I do?

As I get all I need is add into Makefile.am the following flag:
Code:
nvcc_ARCH = -gencode=arch=compute_60,code="sm_60,compute_60"
and remove all other flags concerning nvcc_ARCH.

Correct?


61, not 60.

scryptr
Legendary
*
Offline Offline

Activity: 1793
Merit: 1028



View Profile WWW
November 03, 2017, 04:01:13 PM
 #2732

But could you tell me please if I want to compile ccminer for GTX 1050 only regardless any CPU what should I do?

As I get all I need is add into Makefile.am the following flag:
Code:
nvcc_ARCH = -gencode=arch=compute_60,code="sm_60,compute_60"
and remove all other flags concerning nvcc_ARCH.

Correct?


61, not 60.

THANK YOU!  --

For the last three hours, I have been putting off digging into an old compile directory for the snippet of code that The Immortal just provided for himself.       --scryptr

TIPS:  BTC - 1Fs4uZ6a9ABYBTaHGUfqcwCQmeBRxkKRQT    DASH - XrK81tW31SLsVvZ2WX9VhTjpT6GXJPLdbQ
          SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530
          GITHUB: "github.com/scryptr"  MERIT is appreciated, also.  Thanks!
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
November 03, 2017, 04:38:01 PM
 #2733

61 (and 60) will be slower than 52

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
luka1002
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
November 03, 2017, 07:56:49 PM
 #2734

Hello

I am having problems with latest https://github.com/tpruvot/ccminer ccminer 2.2.2 with CUDA 9. Last version before this one i compiled with out any problem. I have update CUDA from 7.5 to 9 and i get this error:

https://pastebin.com/Lf7TVRJC

Code:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.90                 Driver Version: 384.90                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070    On   | 00000000:01:00.0  On |                  N/A |
|  0%   29C    P8     8W / 130W |    114MiB /  8110MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 1070    On   | 00000000:02:00.0 Off |                  N/A |
|  0%   23C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 1070    On   | 00000000:04:00.0 Off |                  N/A |
|  0%   20C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX 1070    On   | 00000000:05:00.0 Off |                  N/A |
|  0%   24C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   4  GeForce GTX 1070    On   | 00000000:06:00.0 Off |                  N/A |
|  0%   23C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   5  GeForce GTX 1070    On   | 00000000:08:00.0 Off |                  N/A |
|  0%   24C    P8     6W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   6  GeForce GTX 1070    On   | 00000000:09:00.0 Off |                  N/A |
|  0%   30C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   7  GeForce GTX 1070    On   | 00000000:0A:00.0 Off |                  N/A |
|  0%   27C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1707      G   /usr/lib/xorg/Xorg                           112MiB |
|    1      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    2      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    3      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    4      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    5      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    6      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    7      1707      G   /usr/lib/xorg/Xorg                            17MiB |
+-----------------------------------------------------------------------------+

Code:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176

Code:
g++-5 is already the newest version (5.4.0-6ubuntu1~16.04.5).
gcc-5 is already the newest version (5.4.0-6ubuntu1~16.04.5).

Linux mint 18.1
Could someone help me and tell were the problem is?

I also had that problem with scrypt kernel, i had to disable all off them in Makefile.am, bench.cpp, util.cpp and ccminer.cpp

can u explain more please?

Seems that Compute 2.0 is disabled in CUDA 9 and miner still have compute 2.0 for scrypt. Can someone mark what lines i need to remove from Makefile.am https://github.com/tpruvot/ccminer/blob/windows/Makefile.am#L177
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
November 03, 2017, 07:58:04 PM
 #2735

i already answered 5 posts ago

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
luka1002
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
November 03, 2017, 08:04:37 PM
 #2736

i already answered 5 posts ago

if that worked i would not asked again, tried that did not work ,still same error. I am missing something.
Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
November 03, 2017, 08:05:27 PM
 #2737

sigh: https://github.com/tpruvot/ccminer/commit/54d14b1ce4556cc93e231614e689be623893eeb5

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
luka1002
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
November 03, 2017, 08:56:58 PM
 #2738


Thank you, this one worked!  Cheesy Cheesy
pallas
Legendary
*
Offline Offline

Activity: 2716
Merit: 1094


Black Belt Developer


View Profile
November 03, 2017, 10:01:12 PM
 #2739

61 (and 60) will be slower than 52

I discovered that if you run 52 code on pascal, it actually makes 61 code on the fly when you run the kernel. The reason it is faster, I don't know. Thing is, with cuda 9 the difference is smaller or even reversed. A little tweaking here and there and it will be faster than before :-)

Epsylon3 (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1082


ccminer/cpuminer developer


View Profile WWW
November 03, 2017, 10:16:35 PM
 #2740

yep, i dont put it for now because that breaks previous cuda builds... and increase the binary size a lot for nothing on windows

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Pages: « 1 ... 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 [137] 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!