Bitcoin Forum
May 25, 2024, 04:24:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 »  All
  Print  
Author Topic: [ANN][MTC] GPU Miner for Metiscoin - 35% FASTER on R9 280x  (Read 6494 times)
girino (OP)
Legendary
*
Offline Offline

Activity: 2296
Merit: 1170


Advertise Here - PM for more info!


View Profile
February 03, 2014, 08:15:01 PM
Last edit: March 02, 2014, 02:15:59 AM by girino
 #1

I Just released a GPU (openCL) miner for MTC. If anyone cares to test. Performance is not great though. I did it just so we have something to do with our GPUs while iddle.

Source code is available at:

https://github.com/girino/xptMiner

and Binaries (for windows only at present, will add linux later tonight)

https://www.dropbox.com/sh/2wv2awwgebpdo0m/STzOU5tlXa

Please let me know if it works for you and how fast (or slow) it is on your GPUs.

Edit: Linux, Windows and OSX binaries available. Same download location!

Edit: Build 5 fixes the reconnect bug and the speed reporting bug.

Edit: Build 7 incorporates gigawatt's speed improvements. developper fee is up to 3% by default so i can give gigawatt a share for his work. As always, binaries for linux, windows and osx are available on the links above.

Edit: The networking code from ypool's latest xptminer was merged back into Build 8. Several changes and tests were made to ensure stability (no more "0kh/s" after some hours, no more closing on network disconnect or server down). Faster than ever, and two new hidden options: -s to set the step size (in powers of 2, defaults to 2^20), and -a to set variations on algorithm. Currently supports "-a 1" for lookup tables in constant memory and "-a 2" (default) for tables in global memory. -a 2 is faster in most systems. The code for metis was reverted to a previous version since it is 2x slower on some NVidia GPUs. Binaries and code available, as always, on the links above.

Edit: Build 9 uses local memory more intensely and gets up to 35% speed improvements in GPUS with lots of local memory. For those with small local memory, the "-a 2" hidden option reverts to the old version of the opencl (Older cards or Amazon EC2 need this option). Also, ypool instability helped figure out more networking bugs, so networking is even more stable! More stable, UPGRADE TO AVOID LOST CONNECTIONS WHEN YPOOL DOWN!

Thanks in advance,
girino


Advertise Here - PM for more info!
braytz
Hero Member
*****
Offline Offline

Activity: 490
Merit: 501



View Profile
February 03, 2014, 09:28:01 PM
 #2

all invalid share.
girino (OP)
Legendary
*
Offline Offline

Activity: 2296
Merit: 1170


Advertise Here - PM for more info!


View Profile
February 03, 2014, 09:40:35 PM
 #3

all invalid share.

redownload. This is fixed now.

Advertise Here - PM for more info!
braytz
Hero Member
*****
Offline Offline

Activity: 490
Merit: 501



View Profile
February 03, 2014, 09:47:39 PM
 #4

it's working now (but with less kh/s...before it was 5300 kh/s with amd 6970,now it's 4700).

good job  Wink.
girino (OP)
Legendary
*
Offline Offline

Activity: 2296
Merit: 1170


Advertise Here - PM for more info!


View Profile
February 03, 2014, 11:01:32 PM
 #5

it's working now (but with less kh/s...before it was 5300 kh/s with amd 6970,now it's 4700).

good job  Wink.

I had to do a quick fix to make it work. I'll look into the bug with more detail later today and see how to make it faster again.

Advertise Here - PM for more info!
Tons0fun
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
February 04, 2014, 01:14:06 AM
 #6

Here is the virustotal link for the dropbox: https://www.virustotal.com/en/file/af246e2ec5d054ac8d8892170ac5ec8cdcdc4b6b6949986f446ad24379c87cb0/analysis/1391476523/

Looks to be clean, so I'll check it out.
girino (OP)
Legendary
*
Offline Offline

Activity: 2296
Merit: 1170


Advertise Here - PM for more info!


View Profile
February 04, 2014, 02:04:25 AM
 #7

Here is the virustotal link for the dropbox: https://www.virustotal.com/en/file/af246e2ec5d054ac8d8892170ac5ec8cdcdc4b6b6949986f446ad24379c87cb0/analysis/1391476523/

Looks to be clean, so I'll check it out.

code is opensource, so if you want, you can check the code and compile it yourself. Impossible to be safer Wink


Advertise Here - PM for more info!
girino (OP)
Legendary
*
Offline Offline

Activity: 2296
Merit: 1170


Advertise Here - PM for more info!


View Profile
February 04, 2014, 02:06:46 AM
 #8

NEW VERSION RELEASED.

- Fixed the 0x8000 worksize limitation (workaround for invalid shares reported earlier).
- Linux and OSX binaries now available.

Binaries link: https://www.dropbox.com/sh/2wv2awwgebpdo0m/STzOU5tlXa

Source code: https://github.com/girino/xptMiner

Enjoy!

Advertise Here - PM for more info!
Tons0fun
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
February 04, 2014, 11:01:17 PM
 #9

Any idea why the miner seems to just stop finding shares after a while? I noticed the kh/s going down over time but it was still finding shares pretty quickly, but this morning it was reporting 0 kh/s and not finding shares. Win 7, R9 290 if that helps.
ppyuesheng
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 04, 2014, 11:38:30 PM
 #10

I notied that too,so what s the promblem whith that ?by the way ,what s the KH/S does the 290 get ?
Tons0fun
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
February 04, 2014, 11:56:58 PM
 #11

It seems to be all over the place but I saw as high as 29000kh/s but consistently around 15900kh/s till it starts going down. Granted, that is for two 290s.
Meizirkki
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500



View Profile
February 04, 2014, 11:59:42 PM
 #12

OSX binary not there. Just the sources.
Meizirkki
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500



View Profile
February 05, 2014, 12:09:55 AM
 #13

Got it built but:

Code:
Initializing GPU...
Initing device 0.
Initializing GPU 1
Initializing Device: Iris Pro
ERROR: -11, CL_BUILD_PROGRAM_FAILURE, if there is a failure to build the program executable. This error will be returned if clBuildProgram does not return until the build has completed.
--- Build log ---
Cannot select: 0x7fa41209b810: i64 = rotl 0x7fa415092810, 0x7fa41224ee10 [ID=723]
  0x7fa415092810: i64,ch = load 0x7fa4150a0d10, 0x7fa415085710, 0x7fa4150add10<LD8[%sunkaddr282]> [ORD=1529] [ID=722]
    0x7fa415085710: i64 = add 0x7fa4150af610, 0x7fa412251510 [ORD=1236] [ID=183]
      0x7fa4150af610: i64 = FrameIndex<0> [ORD=1190] [ID=1]
      0x7fa412251510: i64 = bitcast 0x7fa412045510 [ID=154]
        0x7fa412045510: v2i32 = IGILISD::MOVSWZ 0x7fa4130ef610, 0x7fa412037710, 0x7fa412037710, 0x7fa412037710 [ID=103]
          0x7fa4130ef610: i32 = Constant<352> [ID=52]
          0x7fa412037710: i32 = Constant<0> [ID=11]
          0x7fa412037710: i32 = Constant<0> [ID=11]
          0x7fa412037710: i32 = Constant<0> [ID=11]
    0x7fa4150add10: i64 = undef [ORD=1193] [ID=2]
  0x7fa41224ee10: i64 = bitcast 0x7fa412018610 [ID=115]
    0x7fa412018610: v2i32 = IGILISD::MOVSWZ 0x7fa4130bbd10, 0x7fa412037710, 0x7fa412037710, 0x7fa412037710 [ID=63]
      0x7fa4130bbd10: i32 = Constant<14> [ID=10]
      0x7fa412037710: i32 = Constant<0> [ID=11]
      0x7fa412037710: i32 = Constant<0> [ID=11]
      0x7fa412037710: i32 = Constant<0> [ID=11]
In function: keccak_update_g
---  End log  ---
Assertion failed: (!error), function loadProgramFromStrings, file xptMiner/OpenCLObjects.cpp, line 316.
Abort trap: 6
Sad
girino (OP)
Legendary
*
Offline Offline

Activity: 2296
Merit: 1170


Advertise Here - PM for more info!


View Profile
February 05, 2014, 12:12:14 AM
 #14

OSX binary not there. Just the sources.

Sorry for that. Fixed

Advertise Here - PM for more info!
girino (OP)
Legendary
*
Offline Offline

Activity: 2296
Merit: 1170


Advertise Here - PM for more info!


View Profile
February 05, 2014, 12:14:41 AM
 #15

Got it built but:

Code:
Initializing GPU...
Initing device 0.
Initializing GPU 1
Initializing Device: Iris Pro
ERROR: -11, CL_BUILD_PROGRAM_FAILURE, if there is a failure to build the program executable. This error will be returned if clBuildProgram does not return until the build has completed.
--- Build log ---
Cannot select: 0x7fa41209b810: i64 = rotl 0x7fa415092810, 0x7fa41224ee10 [ID=723]
  0x7fa415092810: i64,ch = load 0x7fa4150a0d10, 0x7fa415085710, 0x7fa4150add10<LD8[%sunkaddr282]> [ORD=1529] [ID=722]
    0x7fa415085710: i64 = add 0x7fa4150af610, 0x7fa412251510 [ORD=1236] [ID=183]
      0x7fa4150af610: i64 = FrameIndex<0> [ORD=1190] [ID=1]
      0x7fa412251510: i64 = bitcast 0x7fa412045510 [ID=154]
        0x7fa412045510: v2i32 = IGILISD::MOVSWZ 0x7fa4130ef610, 0x7fa412037710, 0x7fa412037710, 0x7fa412037710 [ID=103]
          0x7fa4130ef610: i32 = Constant<352> [ID=52]
          0x7fa412037710: i32 = Constant<0> [ID=11]
          0x7fa412037710: i32 = Constant<0> [ID=11]
          0x7fa412037710: i32 = Constant<0> [ID=11]
    0x7fa4150add10: i64 = undef [ORD=1193] [ID=2]
  0x7fa41224ee10: i64 = bitcast 0x7fa412018610 [ID=115]
    0x7fa412018610: v2i32 = IGILISD::MOVSWZ 0x7fa4130bbd10, 0x7fa412037710, 0x7fa412037710, 0x7fa412037710 [ID=63]
      0x7fa4130bbd10: i32 = Constant<14> [ID=10]
      0x7fa412037710: i32 = Constant<0> [ID=11]
      0x7fa412037710: i32 = Constant<0> [ID=11]
      0x7fa412037710: i32 = Constant<0> [ID=11]
In function: keccak_update_g
---  End log  ---
Assertion failed: (!error), function loadProgramFromStrings, file xptMiner/OpenCLObjects.cpp, line 316.
Abort trap: 6
Sad

WOW! Never seen that before! What GPU do you have? (this function, keccak_update_g, is not even used, it is a test function! Maybe you cane edit opencl/keccak.cl and remove it...)

Advertise Here - PM for more info!
Meizirkki
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500



View Profile
February 05, 2014, 12:19:48 AM
 #16

Got it built but:

Code:
Initializing GPU...
Initing device 0.
Initializing GPU 1
Initializing Device: Iris Pro
ERROR: -11, CL_BUILD_PROGRAM_FAILURE, if there is a failure to build the program executable. This error will be returned if clBuildProgram does not return until the build has completed.
--- Build log ---
Cannot select: 0x7fa41209b810: i64 = rotl 0x7fa415092810, 0x7fa41224ee10 [ID=723]
  0x7fa415092810: i64,ch = load 0x7fa4150a0d10, 0x7fa415085710, 0x7fa4150add10<LD8[%sunkaddr282]> [ORD=1529] [ID=722]
    0x7fa415085710: i64 = add 0x7fa4150af610, 0x7fa412251510 [ORD=1236] [ID=183]
      0x7fa4150af610: i64 = FrameIndex<0> [ORD=1190] [ID=1]
      0x7fa412251510: i64 = bitcast 0x7fa412045510 [ID=154]
        0x7fa412045510: v2i32 = IGILISD::MOVSWZ 0x7fa4130ef610, 0x7fa412037710, 0x7fa412037710, 0x7fa412037710 [ID=103]
          0x7fa4130ef610: i32 = Constant<352> [ID=52]
          0x7fa412037710: i32 = Constant<0> [ID=11]
          0x7fa412037710: i32 = Constant<0> [ID=11]
          0x7fa412037710: i32 = Constant<0> [ID=11]
    0x7fa4150add10: i64 = undef [ORD=1193] [ID=2]
  0x7fa41224ee10: i64 = bitcast 0x7fa412018610 [ID=115]
    0x7fa412018610: v2i32 = IGILISD::MOVSWZ 0x7fa4130bbd10, 0x7fa412037710, 0x7fa412037710, 0x7fa412037710 [ID=63]
      0x7fa4130bbd10: i32 = Constant<14> [ID=10]
      0x7fa412037710: i32 = Constant<0> [ID=11]
      0x7fa412037710: i32 = Constant<0> [ID=11]
      0x7fa412037710: i32 = Constant<0> [ID=11]
In function: keccak_update_g
---  End log  ---
Assertion failed: (!error), function loadProgramFromStrings, file xptMiner/OpenCLObjects.cpp, line 316.
Abort trap: 6
Sad

WOW! Never seen that before! What GPU do you have? (this function, keccak_update_g, is not even used, it is a test function! Maybe you cane edit opencl/keccak.cl and remove it...)
GPU is as in the backlog: Intel Iris Pro 5200. Probably a marginal GPU anyways. I'll try that, thanks!
Meizirkki
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500



View Profile
February 05, 2014, 12:22:39 AM
 #17

Similar error, this time in function keccak

Code:
Initializing GPU...
Initing device 0.
Initializing GPU 1
Initializing Device: Iris Pro
ERROR: -11, CL_BUILD_PROGRAM_FAILURE, if there is a failure to build the program executable. This error will be returned if clBuildProgram does not return until the build has completed.
--- Build log ---
Cannot select: 0x7fedae15bc10: i64 = rotl 0x7fedae19d010, 0x7fedae0dae10 [ID=723]
  0x7fedae19d010: i64,ch = load 0x7fedae1a9510, 0x7fedae18ff10, 0x7fedae1b6510<LD8[%sunkaddr301]> [ORD=1529] [ID=722]
    0x7fedae18ff10: i64 = add 0x7fedae1b8e10, 0x7fedae0de510 [ORD=1236] [ID=183]
      0x7fedae1b8e10: i64 = FrameIndex<0> [ORD=1190] [ID=1]
      0x7fedae0de510: i64 = bitcast 0x7fedae106710 [ID=154]
        0x7fedae106710: v2i32 = IGILISD::MOVSWZ 0x7fedae12d210, 0x7fedae0df310, 0x7fedae0df310, 0x7fedae0df310 [ID=103]
          0x7fedae12d210: i32 = Constant<352> [ID=52]
          0x7fedae0df310: i32 = Constant<0> [ID=11]
          0x7fedae0df310: i32 = Constant<0> [ID=11]
          0x7fedae0df310: i32 = Constant<0> [ID=11]
    0x7fedae1b6510: i64 = undef [ORD=1193] [ID=2]
  0x7fedae0dae10: i64 = bitcast 0x7fedae0a4610 [ID=115]
    0x7fedae0a4610: v2i32 = IGILISD::MOVSWZ 0x7fedae1e9b10, 0x7fedae0df310, 0x7fedae0df310, 0x7fedae0df310 [ID=63]
      0x7fedae1e9b10: i32 = Constant<14> [ID=10]
      0x7fedae0df310: i32 = Constant<0> [ID=11]
      0x7fedae0df310: i32 = Constant<0> [ID=11]
      0x7fedae0df310: i32 = Constant<0> [ID=11]
In function: keccak
---  End log  ---
Assertion failed: (!error), function loadProgramFromStrings, file xptMiner/OpenCLObjects.cpp, line 316.
Abort trap: 6
girino (OP)
Legendary
*
Offline Offline

Activity: 2296
Merit: 1170


Advertise Here - PM for more info!


View Profile
February 05, 2014, 12:26:44 AM
 #18

Similar error, this time in function keccak

Code:
Initializing GPU...
Initing device 0.
Initializing GPU 1
Initializing Device: Iris Pro
ERROR: -11, CL_BUILD_PROGRAM_FAILURE, if there is a failure to build the program executable. This error will be returned if clBuildProgram does not return until the build has completed.
--- Build log ---
Cannot select: 0x7fedae15bc10: i64 = rotl 0x7fedae19d010, 0x7fedae0dae10 [ID=723]
  0x7fedae19d010: i64,ch = load 0x7fedae1a9510, 0x7fedae18ff10, 0x7fedae1b6510<LD8[%sunkaddr301]> [ORD=1529] [ID=722]
    0x7fedae18ff10: i64 = add 0x7fedae1b8e10, 0x7fedae0de510 [ORD=1236] [ID=183]
      0x7fedae1b8e10: i64 = FrameIndex<0> [ORD=1190] [ID=1]
      0x7fedae0de510: i64 = bitcast 0x7fedae106710 [ID=154]
        0x7fedae106710: v2i32 = IGILISD::MOVSWZ 0x7fedae12d210, 0x7fedae0df310, 0x7fedae0df310, 0x7fedae0df310 [ID=103]
          0x7fedae12d210: i32 = Constant<352> [ID=52]
          0x7fedae0df310: i32 = Constant<0> [ID=11]
          0x7fedae0df310: i32 = Constant<0> [ID=11]
          0x7fedae0df310: i32 = Constant<0> [ID=11]
    0x7fedae1b6510: i64 = undef [ORD=1193] [ID=2]
  0x7fedae0dae10: i64 = bitcast 0x7fedae0a4610 [ID=115]
    0x7fedae0a4610: v2i32 = IGILISD::MOVSWZ 0x7fedae1e9b10, 0x7fedae0df310, 0x7fedae0df310, 0x7fedae0df310 [ID=63]
      0x7fedae1e9b10: i32 = Constant<14> [ID=10]
      0x7fedae0df310: i32 = Constant<0> [ID=11]
      0x7fedae0df310: i32 = Constant<0> [ID=11]
      0x7fedae0df310: i32 = Constant<0> [ID=11]
In function: keccak
---  End log  ---
Assertion failed: (!error), function loadProgramFromStrings, file xptMiner/OpenCLObjects.cpp, line 316.
Abort trap: 6

it was never tested on intel gpus before. looks like it does not like my rotl imploementation.i'll look into it.

Advertise Here - PM for more info!
girino (OP)
Legendary
*
Offline Offline

Activity: 2296
Merit: 1170


Advertise Here - PM for more info!


View Profile
February 05, 2014, 12:30:39 AM
 #19

Any idea why the miner seems to just stop finding shares after a while? I noticed the kh/s going down over time but it was still finding shares pretty quickly, but this morning it was reporting 0 kh/s and not finding shares. Win 7, R9 290 if that helps.

never heard of it stopping finding shares. isn't it a network problem or something? maybe the pool was down.

about the speed, the original xptminer from ypool used a 32 bit counter for hashes, but it overflows quite quickly with gpu hashing speed (30 minutes to 1 hour, depending on the gpu). so reported speeds after the first half an hour or so are just bogus. I'll release a fix for that later today. (code is already fixed, but i didn't create the binaries yet).

Advertise Here - PM for more info!
Meizirkki
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500



View Profile
February 05, 2014, 12:37:55 AM
 #20

Similar error, this time in function keccak

Code:
Initializing GPU...
Initing device 0.
Initializing GPU 1
Initializing Device: Iris Pro
ERROR: -11, CL_BUILD_PROGRAM_FAILURE, if there is a failure to build the program executable. This error will be returned if clBuildProgram does not return until the build has completed.
--- Build log ---
Cannot select: 0x7fedae15bc10: i64 = rotl 0x7fedae19d010, 0x7fedae0dae10 [ID=723]
  0x7fedae19d010: i64,ch = load 0x7fedae1a9510, 0x7fedae18ff10, 0x7fedae1b6510<LD8[%sunkaddr301]> [ORD=1529] [ID=722]
    0x7fedae18ff10: i64 = add 0x7fedae1b8e10, 0x7fedae0de510 [ORD=1236] [ID=183]
      0x7fedae1b8e10: i64 = FrameIndex<0> [ORD=1190] [ID=1]
      0x7fedae0de510: i64 = bitcast 0x7fedae106710 [ID=154]
        0x7fedae106710: v2i32 = IGILISD::MOVSWZ 0x7fedae12d210, 0x7fedae0df310, 0x7fedae0df310, 0x7fedae0df310 [ID=103]
          0x7fedae12d210: i32 = Constant<352> [ID=52]
          0x7fedae0df310: i32 = Constant<0> [ID=11]
          0x7fedae0df310: i32 = Constant<0> [ID=11]
          0x7fedae0df310: i32 = Constant<0> [ID=11]
    0x7fedae1b6510: i64 = undef [ORD=1193] [ID=2]
  0x7fedae0dae10: i64 = bitcast 0x7fedae0a4610 [ID=115]
    0x7fedae0a4610: v2i32 = IGILISD::MOVSWZ 0x7fedae1e9b10, 0x7fedae0df310, 0x7fedae0df310, 0x7fedae0df310 [ID=63]
      0x7fedae1e9b10: i32 = Constant<14> [ID=10]
      0x7fedae0df310: i32 = Constant<0> [ID=11]
      0x7fedae0df310: i32 = Constant<0> [ID=11]
      0x7fedae0df310: i32 = Constant<0> [ID=11]
In function: keccak
---  End log  ---
Assertion failed: (!error), function loadProgramFromStrings, file xptMiner/OpenCLObjects.cpp, line 316.
Abort trap: 6

it was never tested on intel gpus before. looks like it does not like my rotl imploementation.i'll look into it.
Thanks. But hey if you don't feel like tweaking it just leave it alone, nobody's going to use this GPU for mining other than testing purposes Smiley
Pages: [1] 2 3 4 »  All
  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!