Bitcoin Forum
April 16, 2024, 06:41:36 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 »  All
  Print  
Author Topic: [ANN] sgminer-kl 1.0.9 - open source (AMD) miner for x16/x17/xevan/phi and more  (Read 20898 times)
KL0nLutiy1 (OP)
Newbie
*
Offline Offline

Activity: 88
Merit: 0


View Profile
May 05, 2018, 09:27:58 PM
Last edit: November 14, 2018, 04:17:42 PM by KL0nLutiy1
 #1

Hi everyone,

I want to introduce a new open source miner based on the avermore miner. It supports x16r/x16s/x17/xevan/tribus/aergo algoritms. All list of the optimizatins you could see on github by release changelog or by the commits.

Speed for sgminer-kl 1.0.9:
x16r / x16s average hashrate:
Vega64: 18.6 MH/s

x17 hashrate:
Vega64: 20.4 MH/s

phi hashrate:
Vega64 33.5 MH/s (-w 256)

tribus hashrate:
Vega64 88.6  MH/s (-w 256)

polytimos hashrate:
Vega64 40.0 MH/s

geek hashrate:
Vega64 29.2 MH/s

aergo hashrate:
Vega64 7.0 MH/s

c11 hashrate:
Vega64 22.6 MH/s

skunk hashrate:
Vega64 52.5 MH/s (-w 256)

Test done on:
Vega64 OC settings: core 1425/920, memory 1100/920
Miner settings: -X 256 -g 2
Windows 10, AMD 18.6.1 driver

It contains a 1% devfee to have a motivation to continue the work on the miner.

I look forward to hearing your feedback about this new release.

Source code: https://github.com/KL0nLutiy/sgminer-kl
Bugtracker: https://github.com/KL0nLutiy/sgminer-kl/issues
Releases: https://github.com/KL0nLutiy/sgminer-kl/releases

sgminer-kl available for windows and linux.

Some optimization tips:

1. Set the following enviroment variables
Code:
setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100

2. You can start from xIntensity -X 256

3. You can run 2 threads per GPU --gpu-threads 2

Change log:

1) sgminer-kl-1.0.0
Initial release

2) sgminer-kl-1.0.1
Optimize echo for x16/x17
Use wolf-echo 80 kernel for x16
Optimize whirlpool and use for x16/x17/xevan
Small optimization for simd xevan

3) sgminer-kl-1.0.2
Add phi algo (~3% faster than bitbandi miner)

4) sgminer-kl-1.0.3
Optimize xevan simd kernel
Use wolf echo in xevan

5) sgminer-kl-1.0.4
Add tribus algo

6) sgminer-kl-1.0.5
Add aergo algo
Dev pool donation switching improvements

7) sgminer-kl-1.0.6
Add polytimos algo
Add geek (GeekCash) algo
Faster tribus (add midstate)
Fix --benchmark-sequence command for windows for x16r algo
Add support for Visual Studio 2017
Fix "block found" bug for x16s
Faster groestl/cubehash

8 ) sgminer-kl-1.0.7
Faster simd, echo, whirlpool for all supported algos

9) sgminer-kl-1.0.8
Add skunk algo

10) sgminer-kl-1.0.9
Faster groestl, keccak, hamsi for c11/x16r/x16s/x17/tribus/geek/aergo algos

Last version sgminer-kl 1.0.9: https://github.com/KL0nLutiy/sgminer-kl/releases/tag/kl-1.0.9
1713249696
Hero Member
*
Offline Offline

Posts: 1713249696

View Profile Personal Message (Offline)

Ignore
1713249696
Reply with quote  #2

1713249696
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713249696
Hero Member
*
Offline Offline

Posts: 1713249696

View Profile Personal Message (Offline)

Ignore
1713249696
Reply with quote  #2

1713249696
Report to moderator
KL0nLutiy1 (OP)
Newbie
*
Offline Offline

Activity: 88
Merit: 0


View Profile
May 06, 2018, 12:21:09 AM
 #2

Add linux binary
AltScope
Sr. Member
****
Offline Offline

Activity: 714
Merit: 252



View Profile
May 06, 2018, 03:38:03 PM
 #3

Add linux binary

I agree but if you're using linux it shouldn't be an issue as building things on linux is easy

KL0nLutiy1 (OP)
Newbie
*
Offline Offline

Activity: 88
Merit: 0


View Profile
May 09, 2018, 08:10:28 PM
 #4

New version sgminer-kl-1.0.1: https://github.com/KL0nLutiy/sgminer-kl/releases/tag/kl-1.0.1
KL0nLutiy1 (OP)
Newbie
*
Offline Offline

Activity: 88
Merit: 0


View Profile
May 10, 2018, 08:33:05 PM
 #5

New version sgminer-kl-1.0.2: https://github.com/KL0nLutiy/sgminer-kl/releases/tag/kl-1.0.2
Kaezar
Newbie
*
Offline Offline

Activity: 73
Merit: 0


View Profile
May 11, 2018, 01:41:32 PM
 #6

What wrong with xevan for vega's GPU?  Angry
Ladydoge
Full Member
***
Offline Offline

Activity: 169
Merit: 100


View Profile
May 11, 2018, 05:51:21 PM
 #7

x17 works like a charm and is faster than old sgminer x17 fork. Do you have plans for adding/optimizing other algos like lyra2z, c11, tribus etc?
KL0nLutiy1 (OP)
Newbie
*
Offline Offline

Activity: 88
Merit: 0


View Profile
May 11, 2018, 07:53:48 PM
 #8

x17 works like a charm and is faster than old sgminer x17 fork. Do you have plans for adding/optimizing other algos like lyra2z, c11, tribus etc?

Yes I will add a new algos, and optimize the old ones if I will find a way how to do it )
gregfromo
Member
**
Offline Offline

Activity: 134
Merit: 10


View Profile
May 12, 2018, 04:20:42 AM
 #9

Hi,

everytime I try this or Avermore after some time some cards are off/dead. played with -X and -I or- -g but no difference. other/former versions of sgminer or GG never had this problem.
any ideas?

BTW.
I started to follow the build instructions in VS, but stuck, may I ask for more detailed despription, especially the part "4. PDCurses", what win32 folder?
bluspirit
Jr. Member
*
Offline Offline

Activity: 70
Merit: 3


View Profile
May 12, 2018, 06:26:32 PM
 #10

Hi,

everytime I try this or Avermore after some time some cards are off/dead. played with -X and -I or- -g but no difference. other/former versions of sgminer or GG never had this problem.
any ideas?

BTW.
I started to follow the build instructions in VS, but stuck, may I ask for more detailed despription, especially the part "4. PDCurses", what win32 folder?

Try a less greedy OC / UV especially if you have mod cards
gregfromo
Member
**
Offline Offline

Activity: 134
Merit: 10


View Profile
May 13, 2018, 09:24:45 AM
 #11

Hi,

everytime I try this or Avermore after some time some cards are off/dead. played with -X and -I or- -g but no difference. other/former versions of sgminer or GG never had this problem.
any ideas?

BTW.
I started to follow the build instructions in VS, but stuck, may I ask for more detailed despription, especially the part "4. PDCurses", what win32 folder?

Try a less greedy OC / UV especially if you have mod cards


buddy, that's a
stupid comment, as I said other miners with same same settings don't fuck up, also algos like neoscrypt, phi (bitbandi), xevan, etc.
KL0nLutiy1 (OP)
Newbie
*
Offline Offline

Activity: 88
Merit: 0


View Profile
May 13, 2018, 10:53:14 AM
 #12

Hi,

everytime I try this or Avermore after some time some cards are off/dead. played with -X and -I or- -g but no difference. other/former versions of sgminer or GG never had this problem.
any ideas?

BTW.
I started to follow the build instructions in VS, but stuck, may I ask for more detailed despription, especially the part "4. PDCurses", what win32 folder?

Try a less greedy OC / UV especially if you have mod cards


buddy, that's a
stupid comment, as I said other miners with same same settings don't fuck up, also algos like neoscrypt, phi (bitbandi), xevan, etc.

Do you have a log file, to see what can go wrong?
jumbomcnutt
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 14, 2018, 09:55:20 PM
 #13


Minor thing, but Version 1.0.2 still says "sgminer-kl v1.0.1" in the top left of the program window.  Wink
KL0nLutiy1 (OP)
Newbie
*
Offline Offline

Activity: 88
Merit: 0


View Profile
May 16, 2018, 09:59:26 PM
 #14


Minor thing, but Version 1.0.2 still says "sgminer-kl v1.0.1" in the top left of the program window.  Wink

Fixed this in last build  Grin https://github.com/KL0nLutiy/sgminer-kl/releases/tag/kl-1.0.3
Kaezar
Newbie
*
Offline Offline

Activity: 73
Merit: 0


View Profile
May 17, 2018, 06:59:04 PM
 #15


Minor thing, but Version 1.0.2 still says "sgminer-kl v1.0.1" in the top left of the program window.  Wink

Fixed this in last build  Grin https://github.com/KL0nLutiy/sgminer-kl/releases/tag/kl-1.0.3
And still xevan HW errors on Vegsa's Sad
400acres
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
May 18, 2018, 03:36:31 PM
 #16

Hi,

everytime I try this or Avermore after some time some cards are off/dead. played with -X and -I or- -g but no difference. other/former versions of sgminer or GG never had this problem.
any ideas?

BTW.
I started to follow the build instructions in VS, but stuck, may I ask for more detailed despription, especially the part "4. PDCurses", what win32 folder?

I have 10 AMD Rigs. 60% of them do this. The rigs I have success with are higher grade cards (Nitro+ and Gaming X). Lower grade cards (Armor/DUAL) will get 1 card going dead quite often. Really annoying. Even with stock bios and stock clocking. Tried multiple drivers.
KL0nLutiy1 (OP)
Newbie
*
Offline Offline

Activity: 88
Merit: 0


View Profile
May 18, 2018, 11:01:54 PM
 #17

Hi,

everytime I try this or Avermore after some time some cards are off/dead. played with -X and -I or- -g but no difference. other/former versions of sgminer or GG never had this problem.
any ideas?

BTW.
I started to follow the build instructions in VS, but stuck, may I ask for more detailed despription, especially the part "4. PDCurses", what win32 folder?

I have 10 AMD Rigs. 60% of them do this. The rigs I have success with are higher grade cards (Nitro+ and Gaming X). Lower grade cards (Armor/DUAL) will get 1 card going dead quite often. Really annoying. Even with stock bios and stock clocking. Tried multiple drivers.

Did you try to lower intensity or run the miner without -g 2 flag?
KL0nLutiy1 (OP)
Newbie
*
Offline Offline

Activity: 88
Merit: 0


View Profile
May 20, 2018, 12:44:36 PM
 #18

New version sgminer-kl-1.0.4: https://github.com/KL0nLutiy/sgminer-kl/releases/tag/kl-1.0.4
khunpoum
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
May 23, 2018, 01:18:53 AM
Last edit: May 23, 2018, 01:35:04 AM by khunpoum
 #19

@KL0nLutiy1

ubuntu 16.04, try to mining X17 algo


kl-1.0.4, ubuntu 16, compile error
Code:
phi.c:(.text+0xd9): undefined reference to `sph_gost512_init'
phi.c:(.text+0xe9): undefined reference to `sph_gost512'
phi.c:(.text+0xfc): undefined reference to `sph_gost512_close'
collect2: error: ld returned 1 exit status
Makefile:873: recipe for target 'sgminer' failed


kl-1.0.0 release binary linux - getting error:
Code:
sgminer-kl-1.0.0-linux# ./run-sgminer.sh                                                        
./run-sgminer.sh: line 10: 20675 Illegal instruction     (core dumped) ./sgminer -k x16r -o stratum+tcp://ravenminer.com:9999 -u
 WALLETHERE -p donate -X 256


kl-1.0.0 and kl-1.0.1 compile is ok,
but not getting good shares to pool


run script:
Code:
#!/bin/sh
export GPU_SINGLE_ALLOC_PERCENT=100
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_HEAP_SIZE=100
cd ~/sgminer/sgminer-kl/kl101
./sgminer -c ~/sgminer/sgminer-kl/kl101/sgminer.conf

config:
Code:
{
  "pools": [
   {
      "name":"umine.org",
      "priority": "0",
      "url": "stratum+tcp://s.umine.org:3737",
      "user": "DLnuKsG3bQgvC29nJbGZLk2yXp8DdX7ipY",
      "pass": "c=XVG",
      "profile": "verge"
    }
  ],
  "profiles": [
    {
      "name": "verge",
      "algorithm": "x17",
     "lookup-gap" : "2",
      "intensity": "19",
     "gpu-threads" : "2"
    }
  ],
  "default-profile": "verge",
  "quiet": false,
  "gpu-platform" : "0"
}
KL0nLutiy1 (OP)
Newbie
*
Offline Offline

Activity: 88
Merit: 0


View Profile
May 23, 2018, 10:16:35 AM
 #20

@KL0nLutiy1

ubuntu 16.04, try to mining X17 algo


kl-1.0.4, ubuntu 16, compile error
Code:
phi.c:(.text+0xd9): undefined reference to `sph_gost512_init'
phi.c:(.text+0xe9): undefined reference to `sph_gost512'
phi.c:(.text+0xfc): undefined reference to `sph_gost512_close'
collect2: error: ld returned 1 exit status
Makefile:873: recipe for target 'sgminer' failed


kl-1.0.0 release binary linux - getting error:
Code:
sgminer-kl-1.0.0-linux# ./run-sgminer.sh                                                        
./run-sgminer.sh: line 10: 20675 Illegal instruction     (core dumped) ./sgminer -k x16r -o stratum+tcp://ravenminer.com:9999 -u
 WALLETHERE -p donate -X 256


kl-1.0.0 and kl-1.0.1 compile is ok,
but not getting good shares to pool


run script:
Code:
#!/bin/sh
export GPU_SINGLE_ALLOC_PERCENT=100
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_HEAP_SIZE=100
cd ~/sgminer/sgminer-kl/kl101
./sgminer -c ~/sgminer/sgminer-kl/kl101/sgminer.conf

config:
Code:
{
  "pools": [
   {
      "name":"umine.org",
      "priority": "0",
      "url": "stratum+tcp://s.umine.org:3737",
      "user": "DLnuKsG3bQgvC29nJbGZLk2yXp8DdX7ipY",
      "pass": "c=XVG",
      "profile": "verge"
    }
  ],
  "profiles": [
    {
      "name": "verge",
      "algorithm": "x17",
     "lookup-gap" : "2",
      "intensity": "19",
     "gpu-threads" : "2"
    }
  ],
  "default-profile": "verge",
  "quiet": false,
  "gpu-platform" : "0"
}

I ordered a new equipment. Will receive it next week to setup linux on it. For now linux version may be broken  Embarrassed
Pages: [1] 2 3 »  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!