Author Topic: AMD OpenCL Momentum miner  (Read 350486 times)

0 Members and 1 Guest are viewing this topic.

Offline duckproto

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: fast AMD OpenCL PTS miner released
« Reply #14 on: January 26, 2014, 11:40:46 pm »
latest build getting this on launch

Messages during compilation of program for device 'Pitcairn':

LOOP UNROLL: pragma unroll (line 160)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 112)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 174)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 167)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 221)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 284)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 112)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 291)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 112)
    Unrolled as requested!

Messages during compilation of program for device 'Hawaii':

LOOP UNROLL: pragma unroll (line 160)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 112)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 174)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 167)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 221)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 284)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 112)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 291)
    Unrolled as requested!
LOOP UNROLL: pragma unroll (line 112)
    Unrolled as requested!

works each on it's own instance - will not work as devices "0 1" but 2 separate instances works.

2332c/m on 290X
1150c/m on 270X

4 instances running fine - 2 on 290X (1900/1214) 2 on 270X (970/568)

« Last Edit: January 26, 2014, 11:49:10 pm by duckproto »

Offline plane501

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: fast AMD OpenCL PTS miner released
« Reply #13 on: January 26, 2014, 11:23:12 pm »
hi,i am new to linux,would you please explain it in detail that what i need and how to run the linux version miners,thanks

Offline NaN

  • Full Member
  • ***
  • Posts: 162
    • View Profile
Re: fast AMD OpenCL PTS miner released
« Reply #12 on: January 26, 2014, 10:37:10 pm »
will you add other pools support? (for example 1gh, to compare it with their miner?)
i have no plan to support ypool.net (it's a good pool, but it became too large). i will support other pools/protocols as soon as there are enough fees or donations. but i think you can compare miners by comparing c/m after a few hours of runtime. the actual income is given by the pool's luck and payout policy.

Offline Aber

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Re: fast AMD OpenCL PTS miner released
« Reply #11 on: January 26, 2014, 10:27:31 pm »
will you add other pools support? (for example 1gh, to compare it with their miner?)

Offline duckproto

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: fast AMD OpenCL PTS miner released
« Reply #10 on: January 26, 2014, 10:11:14 pm »
well, wait a few minutes so that the values can stabilize. the program averages over all collisions. normally both instances will get the same average so i would take your lowest value times 2 for a first guess when running two instances.

yeap first instance is down to 1727 while second is at 1277 solid.

Offline NaN

  • Full Member
  • ***
  • Posts: 162
    • View Profile
Re: fast AMD OpenCL PTS miner released
« Reply #9 on: January 26, 2014, 10:02:26 pm »
well, wait a few minutes so that the values can stabilize. the program averages over all collisions. normally both instances will get the same average so i would take your lowest value times 2 for a first guess when running two instances.

Offline duckproto

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: fast AMD OpenCL PTS miner released
« Reply #8 on: January 26, 2014, 09:53:50 pm »
Fired up two instances, getting 2064c/m on first instance and 1260 on 2nd.

Offline NaN

  • Full Member
  • ***
  • Posts: 162
    • View Profile
Re: fast AMD OpenCL PTS miner released
« Reply #7 on: January 26, 2014, 09:50:32 pm »
thx. i'm working on fixing this.

@290X: did you try to use 2 processes on one card? for me that increased the effective speed

Run two copies of the app on the same card?

yes. the kernels seem to be a little bit too short, so there is some additional latency, which can be hidden by additional instances

Offline duckproto

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: fast AMD OpenCL PTS miner released
« Reply #6 on: January 26, 2014, 09:47:00 pm »
thx. i'm working on fixing this.

@290X: did you try to use 2 processes on one card? for me that increased the effective speed

Run two copies of the app on the same card?

Offline duckproto

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: fast AMD OpenCL PTS miner released
« Reply #5 on: January 26, 2014, 09:35:07 pm »
thx. i'm working on fixing this. Does this work with clpts <your-address> 1? then it will use the hawaii gpu. i only tested for them

It works on the 290X Hawaii GPU but not the Pitcairn 270X.

Offline NaN

  • Full Member
  • ***
  • Posts: 162
    • View Profile
Re: fast AMD OpenCL PTS miner released
« Reply #4 on: January 26, 2014, 09:32:28 pm »
thx. i'm working on fixing this.

@290X: did you try to use 2 processes on one card? for me that increased the effective speed
« Last Edit: January 26, 2014, 09:38:05 pm by NaN »

Offline duckproto

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: fast AMD OpenCL PTS miner released
« Reply #3 on: January 26, 2014, 09:24:50 pm »
Had to install boost 1.55 to get it to start and getting:

Vendor of used platform (#1 / 1): Advanced Micro Devices, Inc.
   Name of device #1 / 2 (deviceID 0): Pitcairn
   Name of device #2 / 2 (deviceID 1): Hawaii

spawning 2 worker thread(s)
[WORKER0] Hello, World!
[WORKER1] Hello, World!

Error during compilation of program for device 'Pitcairn':

Internal error: Input OpenCL binary is not for the target!

Update:

it's working on the 290X at 2200c/m, it will not start on the 270X in a separate instance.
« Last Edit: January 26, 2014, 09:33:45 pm by duckproto »

Offline Bigboppa

  • Jr. Member
  • **
  • Posts: 30
    • View Profile
Re: fast AMD OpenCL PTS miner released
« Reply #2 on: January 26, 2014, 09:21:58 pm »
waiting for windows  :)

Offline NaN

  • Full Member
  • ***
  • Posts: 162
    • View Profile
AMD OpenCL Momentum miner
« Reply #1 on: January 26, 2014, 08:41:40 pm »
This is a OpenCL Momentum miner for AMD GPUs. The performance is 6700+ c/m on a R9 280X@1100Mhz, so that this seems to be the fastest released miner. Binaries are available for Windows and Linux.

NEW: First version of JSON-RPC Bitcredit solo miner: https://www.dropbox.com/sh/ycqnadnjp8rhsp0/AADKNyWsn0oShLPtNGCBliWba?dl=0

DOWNLOAD v2.1: https://www.dropbox.com/sh/0ijulsq12j3vxrb/AADkD4Snxy_AJD5oXTzZr1J_a?dl=0 This version has multi-pool support and pool-fallback, i.e. it connects to the next pool in a user specified list, if there is no connection to the current pool. Every 10 minutes it is checked whether a pool with higher priority is online again. Download and unpack the miner into a folder. Depending on the version of your installed Catalyst driver, copy the gpuhash_* files in the suitable subfolder into the binaries folder.  I recommend Catalyst 14.9 or newer for clpts, but Catalyst 14.12 seems to be slower than Catalyst 14.9. Catalyst 14.6 and 14.7 should work with the binaries for Catalyst 14.9.
DOWNLOAD v1.3: https://www.dropbox.com/sh/17dss1hon0338q6/AAAUUSvog-SsX_KDWJjAukzLa?dl=0

UPDATE 18: Version v2.1 of the miner is released and here is list of some changes:
  • v2.1 fixes a bug in the stratum implementation, which produces invalid shares, if the current block includes any transactions. Furthermore,  the README is updated and some other minor bugs are fixed.
  • optimized algorithms. Algorithm 0 and 1 need ~1.3GB of GPU-RAM per thread and algorithms 2-7 only ~900 MB. Algorithm 6/7 is included for legacy and it is the same algorithm as 3/4 of clpts v1.3. Odd numbered algorithms are faster in cases, where only one thread per GPU is used.
  • added stratum support and new pools. The developer fee for ypool.net is 2.5% and for all other pools 2.0%.
  • added pool shares statistics, which show the accepted share value on connection basis.
  • minor bugfixes

known issues: The miner does not run if the installed Catalyst driver is too old or the wrong binaries are used. Some configurations crash during startup and the issue depends on the thread counts. The 32-bit Windows executable does not show this behaviour and works on 64-bit Windows. Otherwise, you might run several instances of the miner. The miner is not optimized to run on 5000 and 6000 series GPUs and needs at least ~900 MB free GPU memory per thread.

NOTE 1: When you post errors I appreciate some information about the operating system (Windows or Linux / 32bit or 64bit is sufficient) and the used Catalyst driver. Furthermore you should suppress the section between the stars of the output of the miner excluding the miner version (at the moment it hasn't any relevance but it will become important in the future). The Linux version is much faster than the Windows version on R9 290(X), which seems to be a driver issue.

NOTE 2: Please make sure that you are not using an outdated Catalyst version and read the README.


I would be grateful for donations to speed up the development of a version for Nvidia GPUs:
  PTS:  68fBfJLqpqV3WR5GqmXWMgMHpJ9foPuGdU
  BTC:  1AumJ5uzz1nuER7pBA6Bh4gNusaxhN85rc
« Last Edit: April 09, 2015, 01:51:09 am by NaN »