Bitcoin Forum
December 12, 2017, 06:40:51 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 »
  Print  
Author Topic: Genesis Mining Presents: SGMiner-GM - now with Zawawa's GG! [Updated 17/01/2017]  (Read 120936 times)
OhGodAGirl
Full Member
***
Offline Offline

Activity: 149

Look, I'm really not that interesting. Promise.


View Profile WWW
December 04, 2016, 01:41:43 AM
 #241

tried to compile myself
Quote
make[2]: Leaving directory `/home/admin/sgminer-gm/sph'
make[2]: Entering directory `/home/admin/sgminer-gm'
 CC     sgminer-sgminer.o
gcc.exe: error: @CPPFLAG_CURL_STATICLIB@: No such file or directory

make[2]: *** [sgminer-sgminer.o] Error 1
make[2]: Leaving directory `/home/admin/sgminer-gm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/admin/sgminer-gm'
make: *** [all] Error 2
omg  Cry

Compiling for Windows or Linux?
exe for win/MinGW-x32

Okay, you don't have your correct dependencies installed. Let me just update the main post with the fixed Windows executable, then I'll help you.

EDIT: Okay!

So dependencies are:

+ libjansson
+ ADL headers
+ OpenCL
+ cURL
+ ncurses
+ AMD ADL SDK
+ AMD App SDK - a Windows specific dependency.

You're going to need a Windows version of static libcurl, which you need to build yourself. libcurl requires zlib, so you'll need a Windows version of that, too. And pdcurses.

1P1C58d4CUiEokjoAfWiZVTogZFAeAfawh
1513060851
Hero Member
*
Offline Offline

Posts: 1513060851

View Profile Personal Message (Offline)

Ignore
1513060851
Reply with quote  #2

1513060851
Report to moderator
1513060851
Hero Member
*
Offline Offline

Posts: 1513060851

View Profile Personal Message (Offline)

Ignore
1513060851
Reply with quote  #2

1513060851
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513060851
Hero Member
*
Offline Offline

Posts: 1513060851

View Profile Personal Message (Offline)

Ignore
1513060851
Reply with quote  #2

1513060851
Report to moderator
1513060851
Hero Member
*
Offline Offline

Posts: 1513060851

View Profile Personal Message (Offline)

Ignore
1513060851
Reply with quote  #2

1513060851
Report to moderator
1513060851
Hero Member
*
Offline Offline

Posts: 1513060851

View Profile Personal Message (Offline)

Ignore
1513060851
Reply with quote  #2

1513060851
Report to moderator
OhGodAGirl
Full Member
***
Offline Offline

Activity: 149

Look, I'm really not that interesting. Promise.


View Profile WWW
December 04, 2016, 01:55:41 AM
 #242

I think miner does not support equihash-param.h You need to enable equihash-param.h and recompile  Wink

You're correct. It derped when it was built. It doesn't look for .h files usually in the install script. It's working now! Same link from the main post.

1P1C58d4CUiEokjoAfWiZVTogZFAeAfawh
FFI2013
Hero Member
*****
Online Online

Activity: 485


View Profile
December 04, 2016, 03:52:37 AM
 #243

I just tried to run zcash sgminer in windows 10 it's a new install and as soon as I try to run the bat the variables are set than it closes I tried to run it with pause and got nothing from it I also tried to run it with just the pool and my login with no other settings and it still just closes do you have any suggestions thanks

Nousplatform██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
|██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
██  ██  █
ferol
Member
**
Offline Offline

Activity: 85


View Profile
December 04, 2016, 04:01:13 AM
 #244

Is this one faster than Claymores miner?

Bitrated user: folivo.
OhGodAGirl
Full Member
***
Offline Offline

Activity: 149

Look, I'm really not that interesting. Promise.


View Profile WWW
December 04, 2016, 04:06:05 AM
 #245

I just tried to run zcash sgminer in windows 10 it's a new install and as soon as I try to run the bat the variables are set than it closes I tried to run it with pause and got nothing from it I also tried to run it with just the pool and my login with no other settings and it still just closes do you have any suggestions thanks

Make sure you have the AMD APP SDK installed - it's required for Windows.

You can get it from here.

1P1C58d4CUiEokjoAfWiZVTogZFAeAfawh
OhGodAGirl
Full Member
***
Offline Offline

Activity: 149

Look, I'm really not that interesting. Promise.


View Profile WWW
December 04, 2016, 04:07:13 AM
 #246

Is this one faster than Claymores miner?

I-I don't think so. I'll work on optimizations soon.

1P1C58d4CUiEokjoAfWiZVTogZFAeAfawh
OhGodAGirl
Full Member
***
Offline Offline

Activity: 149

Look, I'm really not that interesting. Promise.


View Profile WWW
December 04, 2016, 04:08:15 AM
 #247

Right, heading off for some sleep - keep posting your bugs, and I'll respond to everyone when I wake up in, well, at least eight hours. I'll walk you through installs or help troubleshoot as needed.

Happy mining, guys!

1P1C58d4CUiEokjoAfWiZVTogZFAeAfawh
elgi76
Member
**
Offline Offline

Activity: 106


View Profile
December 04, 2016, 04:48:17 AM
 #248

Is this one faster than Claymores miner?

I-I don't think so. I'll work on optimizations soon.

i have try a little time, for ethash the speed is same with --nofee on claymore's ethminer.
but with the good tuning of intensity, raw intensity, etc... maybe we can make same hashrate without the devfee of claymore, without the option of dual mining.
so claymore win Smiley
but sgminer have another good features (failover, multi-algo, etc...) on stock Smiley

just one thing, this sgminer don't have a option --no-retry where the miningpoolhub's sgminer have. without this feature i can't switch with another miner easily and quickly.
on the doc i have see --event-on "idle" --event-quit yes but must wait 10min, too long Smiley

ayiphelmy
Full Member
***
Offline Offline

Activity: 168


View Profile
December 04, 2016, 08:30:59 AM
 #249

speed is low r9 390 only 80 sol Sad(
qwep1
Hero Member
*****
Offline Offline

Activity: 558


View Profile
December 04, 2016, 08:49:40 AM
 #250

speed is low r9 390 only 80 sol Sad(
280х only 82

              ▄▄██▄▄
          ▄▄██████████▄▄
      ▄▄██████████████████▄▄
  ▄▄██████████▀▀ ▀▀██████████▄▄
▄█████████▀▀          ▀▀█████████▄
██████▀▀        ▄▄        ▀▀██████
██████      ▄▄██████▄▄      ██████
██████    ██████████████    ██████
██████    ██████████████    ██████
██████    ██████████████    ██████
██████      ▀▀██████▀▀      ██████
██████          ▀▀        ▄▄██████
▀█████    ▄▄          ▄▄█████████▀
   ▀▀█    ████▄▄ ▄▄██████████▀▀
          ████████████████▀▀
          ▀▀██████████▀▀
              ▀▀██▀▀
P H O R E

     █
    █
   █
  █
   █
    █
   █
  █
 █
    KryptKoin rebranded to Phore   
     █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
PoS 3.0  -  Masternodes  -  Obfuscation


     █
    █
   █
  █
   █
    █
   █
  █
 █
.


            ▄▄██▄▄
        ▄▄██████████▄▄
    ▄▄████████▀▀████████▄▄
 ▄████████▀▀      ▀▀████████▄
▐█████▀▀              ▀▀█████▌
▐████       ▄▄██▄▄       ████▌
▐████    ▄██████████▄    ████▌
▐████    ████████████    ████▌
▐████    ▀██████████▀    ████▌
▐████       ▀▀██▀▀       ████▌
 ▀███                 ▄▄█████▌
    ▀    █▄▄      ▄▄████████▀
         █████▄▄████████▀▀
         ▀██████████▀▀
            ▀▀██▀▀
oldDIN
Member
**
Offline Offline

Activity: 85


View Profile
December 04, 2016, 10:31:58 AM
 #251

Understood nothing - W7-64  zmingw64

Configuration - file curses.h not found in sgminer-gm, although it is in the sgminer-gm\winbuild\dist\include

Well, do not curses
Quote
Configuration Options Summary:

  Use git version......: yes
  libcurl(GBT+getwork).: Enabled: -LD:/Msys2/mingw64/lib -lcurl -lcurldll
  curses.TUI...........: User specified --without-curses. TUI support DISABLED
  OpenCL...............: FOUND. GPU mining support enabled
  ADL..................: SDK found, GPU monitoring support enabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -Ofast -msse2
  LDFLAGS..............:
  LDADD................:  -LD:/Msys2/mingw64/lib -lcurl -lcurldll submodules/jansson/src/.libs/libjansson.a -lwinpthread -lOpenCL   -lws2_32 -lm

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /mingw64

Make

Quote
.......
In file included from ./logging.h:4:0,
                 from ocl/build_kernel.h:5,
                 from algorithm.h:12,
                 from miner.h:17,
                 from gbt-util.c:5:
./config.h:339:0: warning: "VERSION" redefined
 #define VERSION "5.5.4-gm"

In file included from gbt-util.c:5:0:
miner.h:8:0: note: this is the location of the previous definition
 #define VERSION GIT_VERSION

  CCLD     sgminer.exe
D:/Msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcurldll
collect2.exe: error: ld returned 1 exit status

In the configuration of the library are listed as in the poppy is no longer found?
anatolikostis
Legendary
*
Offline Offline

Activity: 1988



View Profile
December 04, 2016, 03:17:08 PM
 #252

i got that one
Quote
sgminer 5.5.4-gm
------------------------------------------------------------------------


Configuration Options Summary:

  Use git version......: yes
  libcurl(GBT+getwork).: Enabled: -Lc:/mingw/lib -lcurl -lcurldll
  curses.TUI...........: FOUND: -lpdcurses
  OpenCL...............: FOUND. GPU mining support enabled
  ADL..................: SDK found, GPU monitoring support enabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -O2 -msse2
  LDFLAGS..............:
  LDADD................:  -Lc:/mingw/lib -lcurl -lcurldll  submodules/jansson/src/.libs/libjansson.a -lpthread -lOpenCL   -lws2_32 -lm

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local
but it failes too  Sad
I wish I had an updated windows-build files to compile corectly, but it seems that devs just ignores it
oldDIN
Member
**
Offline Offline

Activity: 85


View Profile
December 04, 2016, 03:43:27 PM
 #253

I wish I had an updated windows-build files to compile corectly, but it seems that devs just ignores it
Yes, and the miner incomprehensible. Perhaps he only works with - ZCash  XMR Ethereum, since other algorithms miner produces delusions
maxmad_x
Sr. Member
****
Offline Offline

Activity: 448



View Profile
December 04, 2016, 04:18:00 PM
 #254

The whole SGminer needs to go GUI approach.
Too many algorithms, too many options that are irrelevant to some algorithms while being important for others. Its just too messy.

SGminer depends greatly on CPU too. on intel dual core machines it sucks balls!! I love the concept but implementation, documentation and representation is miserable. They need to work on making it more user friendly

         ▄███████████████▄
       ▄██▀             ▀██▄
    ▄▄██▀                 ▀██▄▄
█████▀▀       ▄▀▀▀▀▀▀▀▄▄    ▀▀█████
██          ▄▀ ▄▄▄▀▀▀▀▄▀█▄▄      ██
▐█▌       ▄▀ ▄▀ ▄▄▄▀▀▀▄▀▀▀███   ▐█▌
 ██      ▄▀▄▀▄▀▀▄▄▄▀▀▀▀▀█ ▄█▀   ██
 ▐█▌    █▄▀▄▀▄█▀▀▀ ▀█▀ ▄▀▄▀█   ▐█▌
  ██    █▄▀▄▀▄▄█▀ ▄▀ ▄▀▄▀▄▀█   ██
  ▐█▌ ▀▄█████▀▄▄▀▀▄▄▀▄▀▄▀▄▀█  ▐█▌
   ██▌▀████▀██▄▄▀▀▄▄▀▄▀▄▀▄█▀ ▐██
    ██▌▀█▀▀█▄▀▀▄▀▀▄▄▀▄█▄▄█▀ ▐██
     ██▌ ▀  ▀███▄▄▄█████▀  ▐██
      ██▄      ▀▀▀▀▀      ▄██
       ▀██▄             ▄██▀
         ▀██▄         ▄██▀
           ▀██▄     ▄██▀
             ▀███▄███▀
               ▀███▀
DeepOnion 
★ ★ ★ ★ ★   ❱❱❱ JOIN AIRDROP NOW!
TOR INTEGRATED & SECURED
★  Your Anonymity Guaranteed
★  Your Assets Secured by TOR
★  Guard Your Privacy!
|Bitcointalk
Reddit
Telegram
|                        ▄▄▀▄▄▀▄▄▀▄▀▀
                    ▄▄██▀█▀▄▀▀▀
                  ▄██▄█▄██▀
                ▄██████▀
              ▄██████▀
  ▄█▄▄▄▄▄▄▄▄▄██████▀
██████▀▀▀▀▀██████▀
 ▀█████  ▄███████
  ████████████▀██
  ██▀███████▀  ██
  ██ ▀████▀    ██
  ██   ▀▀      ██
  ▀█████████████▀
OhGodAGirl
Full Member
***
Offline Offline

Activity: 149

Look, I'm really not that interesting. Promise.


View Profile WWW
December 04, 2016, 04:48:01 PM
 #255

The whole SGminer needs to go GUI approach.
Too many algorithms, too many options that are irrelevant to some algorithms while being important for others. Its just too messy.

SGminer depends greatly on CPU too. on intel dual core machines it sucks balls!! I love the concept but implementation, documentation and representation is miserable. They need to work on making it more user friendly

Hey maxmad_x,

I know you're frustrated. I'm sorry.

I am working on the documentation, as well as a GUI - it's in the roadmap.md

These things take time, and I know that's probably frustrating and not what you want to hear. But I'm committed to making SGMiner-GM the most user friendly piece of software out there. I just need your patience. I've gone ahead and added your 'feature' requests to the GitHub tracker (they were on my personal to-do list).


I wish I had an updated windows-build files to compile corectly, but it seems that devs just ignores it
Yes, and the miner incomprehensible. Perhaps he only works with - ZCash  XMR Ethereum, since other algorithms miner produces delusions

It compiles correctly for Wolf0 and I; I will work on this.

No, we don't work with just Zcash, XMR, and Ethereum. It's just those are the main coins for this release.

1P1C58d4CUiEokjoAfWiZVTogZFAeAfawh
Hutalar
Sr. Member
****
Offline Offline

Activity: 271



View Profile
December 04, 2016, 04:59:57 PM
 #256

Why is so difficult to develop the sgminer for the ZCash? Can you just remove some optimisation from your own miner and then implement it in sgminer?

               ▄█▄
            ▄█ ▀█▀
     ▄ ▄███▄▄████▄▀ ▄▄▀▄
    ▀█▄████
██████▀▄█████▀▄▀
   ▄█▀▄
███████████████████▄
 ▄██▀█▀
▀▀▀███▀▀▀█████▄▄▄▀█▀▄
 ▄█▀▀   ▀█
███▀▄████████ █▀█▄▄
██▀  ▀ ▀ ▀
██████████▄   ▄▀▀█▄
     ▀ ▀
  ███▀▀▀▀▀████▌ ▄  ▀
          ████████████▌   █
        █████████████▀
        ▀▀▀██▀▀██▀▀
           ▀▀  ▀▀
BTC-GREEN       ▄▄████████▄▄
    ▄██████████████▄
  ▄██████
██████████████▄
 ▄███
███████████████████▄
▄█████████████████████████▄
██████████████████████████
███████████████████████████
███████████████████████████
▀█████████████████████████▀
 ▀███████████████████████▀
  ▀█████████████████████▀
    ▀█████████████████
       ▀▀█████████▀▀
Ecological Community in the Green Planet
❱❱❱❱❱❱     WHITEPAGE   |   ANN THREAD     ❰❰❰❰❰❰
           ▄███▄▄
       ▄▄█████████▄
      ▄████████████▌
   ▄█████████████▄▄
 ▄████████████████████
███████████████▄
▄████████████████████▀
███████████████████████▀
 ▀▀██████▀██▌██████▀
   ▀██▀▀▀  ██  ▀▀▀▀▀▀
           ██
           ██▌
          ▐███▄
.
scryptr
Legendary
*
Online Online

Activity: 1190



View Profile WWW
December 04, 2016, 09:21:09 PM
 #257

THE LINUX BINARIES RUN WELL AND MINE ZCASH--

But the mining  algorithm for Zcash (ZEC) needs to be updated and optimized.  The algorithm mines at about 1/2 the speed of Optiminer and Claymore's ZEC mining engines.  BUT, I am sure that Wolf0 and OhGodAGirl can bring SGminer-GM up to speed soon.

For the brief while that I tested the miner, an 8GB Sapphire RX 470 OC mined at about 80Sols/s without errors.  The familiar SGminer statistic display was a joy to watch.

Please keep up the progress!       --scryptr

TIPS:  BTC - 1Fs4uZ6a9ABYBTaHGUfqcwCQmeBRxkKRQT
          DASH - XrK81tW31SLsVvZ2WX9VhTjpT6GXJPLdbQ
SunStruck
Sr. Member
****
Offline Offline

Activity: 308



View Profile
December 04, 2016, 09:32:43 PM
 #258

Great , thanks for this - getting around 100 sol/s with rx470 4gb
maxmad_x
Sr. Member
****
Offline Offline

Activity: 448



View Profile
December 04, 2016, 09:37:53 PM
 #259

The whole SGminer needs to go GUI approach.
Too many algorithms, too many options that are irrelevant to some algorithms while being important for others. Its just too messy.

SGminer depends greatly on CPU too. on intel dual core machines it sucks balls!! I love the concept but implementation, documentation and representation is miserable. They need to work on making it more user friendly

Hey maxmad_x,

I know you're frustrated. I'm sorry.

I am working on the documentation, as well as a GUI - it's in the roadmap.md

These things take time, and I know that's probably frustrating and not what you want to hear. But I'm committed to making SGMiner-GM the most user friendly piece of software out there. I just need your patience. I've gone ahead and added your 'feature' requests to the GitHub tracker (they were on my personal to-do list).


I wish I had an updated windows-build files to compile corectly, but it seems that devs just ignores it
Yes, and the miner incomprehensible. Perhaps he only works with - ZCash  XMR Ethereum, since other algorithms miner produces delusions

It compiles correctly for Wolf0 and I; I will work on this.

No, we don't work with just Zcash, XMR, and Ethereum. It's just those are the main coins for this release.

I am really sorry for being a dick. I understand. I code myself mainly on genetic pipelines and it takes ages for making a pipeline of data such that other people can easily understand and use it. So plain and simple sorry Smiley

But I believe in competition. SGminer is probably the most versatile windows based GPU miner I have seen. I would like to see better softwares pushing limits on each front. So no hard feelings. Please accept my humble apologies

         ▄███████████████▄
       ▄██▀             ▀██▄
    ▄▄██▀                 ▀██▄▄
█████▀▀       ▄▀▀▀▀▀▀▀▄▄    ▀▀█████
██          ▄▀ ▄▄▄▀▀▀▀▄▀█▄▄      ██
▐█▌       ▄▀ ▄▀ ▄▄▄▀▀▀▄▀▀▀███   ▐█▌
 ██      ▄▀▄▀▄▀▀▄▄▄▀▀▀▀▀█ ▄█▀   ██
 ▐█▌    █▄▀▄▀▄█▀▀▀ ▀█▀ ▄▀▄▀█   ▐█▌
  ██    █▄▀▄▀▄▄█▀ ▄▀ ▄▀▄▀▄▀█   ██
  ▐█▌ ▀▄█████▀▄▄▀▀▄▄▀▄▀▄▀▄▀█  ▐█▌
   ██▌▀████▀██▄▄▀▀▄▄▀▄▀▄▀▄█▀ ▐██
    ██▌▀█▀▀█▄▀▀▄▀▀▄▄▀▄█▄▄█▀ ▐██
     ██▌ ▀  ▀███▄▄▄█████▀  ▐██
      ██▄      ▀▀▀▀▀      ▄██
       ▀██▄             ▄██▀
         ▀██▄         ▄██▀
           ▀██▄     ▄██▀
             ▀███▄███▀
               ▀███▀
DeepOnion 
★ ★ ★ ★ ★   ❱❱❱ JOIN AIRDROP NOW!
TOR INTEGRATED & SECURED
★  Your Anonymity Guaranteed
★  Your Assets Secured by TOR
★  Guard Your Privacy!
|Bitcointalk
Reddit
Telegram
|                        ▄▄▀▄▄▀▄▄▀▄▀▀
                    ▄▄██▀█▀▄▀▀▀
                  ▄██▄█▄██▀
                ▄██████▀
              ▄██████▀
  ▄█▄▄▄▄▄▄▄▄▄██████▀
██████▀▀▀▀▀██████▀
 ▀█████  ▄███████
  ████████████▀██
  ██▀███████▀  ██
  ██ ▀████▀    ██
  ██   ▀▀      ██
  ▀█████████████▀
OhGodAGirl
Full Member
***
Offline Offline

Activity: 149

Look, I'm really not that interesting. Promise.


View Profile WWW
December 05, 2016, 01:15:21 AM
 #260

I am really sorry for being a dick. I understand. I code myself mainly on genetic pipelines and it takes ages for making a pipeline of data such that other people can easily understand and use it. So plain and simple sorry Smiley

But I believe in competition. SGminer is probably the most versatile windows based GPU miner I have seen. I would like to see better softwares pushing limits on each front. So no hard feelings. Please accept my humble apologies

Oh no, honey, you weren't a dick. Don't think that.

I'll do my very, very best to ensure we have monthly updates at the minimum.

I just want the community to understand that it is being worked on, actively. At least twelve hours a day on my end. It just takes time, because in addition to this, I have technical writing + pro bono stuff. Would it help if, maybe, I kept a sort of diary/journal showing what we accomplished for the day with SGMiner-GM?

THE LINUX BINARIES RUN WELL AND MINE ZCASH--

But the mining  algorithm for Zcash (ZEC) needs to be updated and optimized.  The algorithm mines at about 1/2 the speed of Optiminer and Claymore's ZEC mining engines.  BUT, I am sure that Wolf0 and OhGodAGirl can bring SGminer-GM up to speed soon.

For the brief while that I tested the miner, an 8GB Sapphire RX 470 OC mined at about 80Sols/s without errors.  The familiar SGminer statistic display was a joy to watch.

Please keep up the progress!       --scryptr

Thank you so much, scryptr. Your words always inspire us to keep going.

I'm going to work on updating ZEC to SA v5. In addition to that, I've been closely following zawawa and nerdralph's optimizations + ideas. I'm working to implement those.

Why is so difficult to develop the sgminer for the ZCash? Can you just remove some optimisation from your own miner and then implement it in sgminer?

Hm.

I want to imagine you're a junior copyeditor, and your boss slaps a giant textbook of notes. It was penned in medical shorthand - doctor chickenscratch.

You're going to have to take that textbook and translate it into plain English. Difficult, right?

On top of that, you have a bunch of new notes from another doctor - this one Scottish - that you also need to weave into the textbook. Lots of 'wae', 'nae', 'tae' and 'shite' (though that one's easy to figure out). It's still in chickenscratch, but you don't have many Scottish friends, so it takes you a while to decipher the sentence. Even worse, this doctor has really awful handwriting! Some of it just looks like poorly drawn waves to you.

Your boss keeps adding notes from other doctors - all different ethnicities and backgrounds, all different writing styles.

Starting to get the big picture?

Now, let's get a little more technical:

Programmers will now how annoying it is to maintain another coder's work. Especially if it's not properly commented. Well, sgminer-gm (and other versions) aren't. Commit messages didn't follow a proper convention (subject explains WHAT changed, body explains WHY); huge blocks of code have no comment, so you need to figure out what's going on; documentation was not updated; there are old dependencies; there are a few faults, and that happens when having a large, open source project.

Some kernels have unique ways of handling, for example, Stratum: let's look at cryptonight (Monero). There's a custom function in util.c (built by previous sgminer developers) called json_array_string() which makes a strdup() of the actual string buffer returned by jansson. Usually, we free() all those buffers. Well, cryptonight, for example, doesn't do that - it doesn't return an array, so we have to pull the string values straight out of jansson, rather than using the custom sgminer function.

Starting to see the difficulty? It takes a lot of analyzing HOW a kernel works, then looking at HOW you can think of putting this into SGMiner-GM in a way that won't break anything else. And believe me, breaking happens. Oh, and bugs. So many bugs. And then you have to test, test, test. On both Linux, and Windows. And testing a mining program isn't as simple as just running it, waiting a few moments, then calling it a good day; you need to let it treat it like you would a hardware stress test for stability.

Let's look at scanhash_opencl. This should not have any algorithm dependent code - but it does. A function pointer (that points to different kernel dispatch functions) needs to step out and dish out stuff, based on the algorithm. And the goto statements need to be removed. But there are a lot of them. A lot.

It's not as simple as just plugging in a line of code, either. So many files need to be changed. I want drag and drop kernel support, I really do, but...that won't happen. With SGMiner-GM, at least. Folks have probably snooped and found out what we're planning, but, that's a post for another time and potentially another place.

1P1C58d4CUiEokjoAfWiZVTogZFAeAfawh
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!