Author

Topic: [ANN] sgminer v5 - optimized X11/X13/NeoScrypt/Lyra2RE/etc. kernel-switch miner - page 206. (Read 877844 times)

hero member
Activity: 935
Merit: 1001
I don't always drink...
If any of you have been experiencing a problem with these new sgminers running under 14.6beta let me give you an example of what happened to me:  I have 4 rigs of 7970s and 280xs.  3 rigs were fine running x11-x15 under the new AMD beta drivers.  The other one would run for anywhere from 20 minutes to 2 hours and die with a BSOD no matter what engine speed, voltage, or memory speed I used.  After days of troubleshooting it finally came down to doing a complete uninstall of all AMD software, reinstall 14.6 and remove GPU devices and drivers and reinstalling the device drivers for the GPUs.  That finally fixed it.  Even though I treated all 4 rigs the same, sometimes something glitches out.  I hope this saves someone somewhere some time.
hero member
Activity: 658
Merit: 500
not sure about when you tried to build but you are using amd video cards, right?
this build does not support nvidia
edit: hmm seems like i have heard of this problem before but i dont remember how to fix it other than running with --no-adl

Yeah I'm running 2 Sapphire 270x and have them running fine under stock BAMT 1.6.

Where does the --no-adl go and what does it do? I know very little about the whole compiling process which is why I'm doing this on a spare drive.
you can put "no-adl" : true, in your conf but it disables temp and fan monitoring
it may be your onboard video card that is messing things up, but i dont know how to fix that short of disabling it in the computers bios
also i had this problem if i connected to a headless computer via rdp
newbie
Activity: 31
Merit: 0
not sure about when you tried to build but you are using amd video cards, right?
this build does not support nvidia
edit: hmm seems like i have heard of this problem before but i dont remember how to fix it other than running with --no-adl

Yeah I'm running 2 Sapphire 270x and have them running fine under stock BAMT 1.6.

Where does the --no-adl go and what does it do? I know very little about the whole compiling process which is why I'm doing this on a spare drive.
hero member
Activity: 658
Merit: 500
hero member
Activity: 658
Merit: 500
I can't seem to get this running.

I'll start off with what I have done.
Installed and updated Ubuntu 12.04 LTS (currently upgrading to 14.04)
Downloaded the sgminer-5.0 file off of the nicehash website and placed in "Home"
Downloaded and installed amd-catalyst-13.12-linux_x86.x86_64 (it was what I was using previously, I will probably try updating.)
Downloaded and installed AMD-APP-SDK-v2.9-lnx32 (files saved in Home but installed in /opt/AMDAPP)
Downloaded and placed ADL_SDK in the appropriate sgminer folder
I rebooted between every install just to make sure everything was ready for the next step.
In terminal I navigated to the correct folder and ./sgminer and input my pool info and end up with a core dump. http://i.imgur.com/cx6Swpc.png

I then tried to compile it on my own using the step provided at the bottom of the FAQ. I installed all of the tools listed below the instructions before attempting to compile.
When I get to the second libtoolize set of commands it runs into an error. http://i.imgur.com/VbU4YuF.png

I tried to run the Windows version and it seems to be crashing as well.

Any ideas on what I am messing up?
not sure about when you tried to build but you are using amd video cards, right?
this build does not support nvidia
edit: hmm seems like i have heard of this problem before but i dont remember how to fix it other than running with --no-adl
newbie
Activity: 31
Merit: 0
I can't seem to get this running.

I'll start off with what I have done.
Installed and updated Ubuntu 12.04 LTS (currently upgrading to 14.04)
Downloaded the sgminer-5.0 file off of the nicehash website and placed in "Home"
Downloaded and installed amd-catalyst-13.12-linux_x86.x86_64 (it was what I was using previously, I will probably try updating.)
Downloaded and installed AMD-APP-SDK-v2.9-lnx32 (files saved in Home but installed in /opt/AMDAPP)
Downloaded and placed ADL_SDK in the appropriate sgminer folder
I rebooted between every install just to make sure everything was ready for the next step.
In terminal I navigated to the correct folder and ./sgminer and input my pool info and end up with a core dump. http://i.imgur.com/cx6Swpc.png

I then tried to compile it on my own using the step provided at the bottom of the FAQ. I installed all of the tools listed below the instructions before attempting to compile.
When I get to the second libtoolize set of commands it runs into an error. http://i.imgur.com/VbU4YuF.png

I tried to run the Windows version and it seems to be crashing as well.

Any ideas on what I am messing up?
member
Activity: 109
Merit: 10
Kernel fixes for 14.6 (x11/x13) + new settings for 270x / 270 / 7870.  I am now gathering all GPU information please post with your results with the new drivers.  I need solid stable high hashrate results from all types of GPU.  Even if you see your config posted please reply with a confirmed working + your hashrate to show that its not just one person.  Thanks all for the support!

http://redd.it/29mzyt
sr. member
Activity: 416
Merit: 250
Hey badman,

Thanks for your suggestions..!

Have you been able to monitor your rig using CGWatcher and "profiles" in your config file..?

I have tryied but CGWatcher pops up an error about JSON format and it doesn't start the miner.

For CGWatcher split for 2 files: sgminer.conf and profiles.conf for example.
Use "include" : "profiles.conf" in sgminer.conf
full member
Activity: 212
Merit: 100
thanks badman74 for this infos, i updated the .conf  Grin
waiting for the next algo switch to see if it works ...

[/quote]
the switching is done server side so having tradmybit and nicehash scattered like that will not work right
if you want backup pools put them at the end of the pool list, as it always chooses the first available pool
try like this
Code:
{
"pools" : [

{
                "name" : "nicehash x15",
       "url" : "stratum+tcp://stratum.nicehash.com:3339",
"user" : "18oLLFcxwwzfQt4F2YF7QzKyFeksq3dqsQ",
"pass" : "xxxx",
                "profile" : "x15"
},
{
                "name" : "nicehash x13",
       "url" : "stratum+tcp://stratum.nicehash.com:4337",
"user" : "18oLLFcxwwzfQt4F2YF7QzKyFeksq3dqsQ",
"pass" : "xxxx",
                "profile" : "x13"
},
{
                "name" : "nicehash x11",
       "url" : "stratum+tcp://stratum.nicehash.com:4336",
  "user" : "18oLLFcxwwzfQt4F2YF7QzKyFeksq3dqsQ",
"pass" : "xxxx",
                "profile" : "x11"          
},
{
                "name" : "trademybit x15",
       "url" : "stratum+tcp://east01.us.trademybit.com:4012",
"user" : "xxxx",
"pass" : "xxxx",
                "profile" : "x15"
},
{
                "name" : "trademybit x13",
       "url" : "stratum+tcp://east01.us.trademybit.com:4011",
"user" : "xxxx",
"pass" : "xxxx",
                "profile" : "x13"
},
{
                "name" : "trademybit x11",
       "url" : "stratum+tcp://east01.us.trademybit.com:4010",
  "user" : "xxxx",
"pass" : "xxxx",
                "profile" : "x11"            
}
],
"profiles" : [
        {
                "name" : "X15",
                "algorithm" : "bitblock",
                "intensity" : "18",
                "gpu-threads" : "2",
                "gpu-powertune" : "20",
                "thread-concurrency" : "8192",
                "worksize": "128",
                "gpu-engine": "980",
                "gpu-memclock": "1250",
                "gpu-fan": "auto"
        },
        {
                "name" : "X13",
                "algorithm" : "marucoin-mod",
                "intensity" : "18",
                "gpu-threads" : "2",
                "gpu-powertune" : "20",
                "thread-concurrency" : "8192",
                "worksize": "64",
                "gpu-engine": "1020",
                "gpu-memclock": "1400",
                "gpu-fan": "0-85"
        },
        {
                "name" : "X11",
                "algorithm" : "darkcoin-mod",
                "intensity" : "18",
                "gpu-threads" : "2",
                "gpu-powertune" : "20",
                "thread-concurrency" : "8192",
                "worksize": "64",
                "gpu-engine": "1020",
                "gpu-memclock": "1400",
                "gpu-fan": "0-85"
        }
        
],
"hamsi-expand-big" : "1",
"failover-only" : true,
"failover-switch-delay" : "30",
"extranonce-subscription" : true,
"queue" : "0",
"vectors" : "1",
"temp-cutoff" : "90",
"temp-overheat" : "85",
"auto-fan" : true,
"temp-hysteresis" : "3",
"show-coindiff" : true,
"kernel-path" : "/usr/local/bin"
}
[/quote]
hero member
Activity: 658
Merit: 500
Hey badman,

Thanks for your suggestions..!

Have you been able to monitor your rig using CGWatcher and "profiles" in your config file..?

I have tryied but CGWatcher pops up an error about JSON format and it doesn't start the miner.
i haven't tried but maybe try getting the newest version they may have updated it for the new conf format
edit:
under settings, miner on the latest cgwatcher check "Disable temporary config file creation during miner start"
and "Do not modify original config file to enable API during miner start"
and make sure you add
"api-allow" : "W:127.0.0.1",
"api-listen" : true,
"api-port" : "4028",
to your config, then it should work
newbie
Activity: 8
Merit: 0
Hey badman,

Thanks for your suggestions..!

Have you been able to monitor your rig using CGWatcher and "profiles" in your config file..?

I have tryied but CGWatcher pops up an error about JSON format and it doesn't start the miner.
hero member
Activity: 658
Merit: 500
hero member
Activity: 658
Merit: 500
newbie
Activity: 8
Merit: 0
Hello guys,

I am using this configuration,

Code:
{
"pools" : [
     {
          "name" : "NiceHash_Scrypt_multi!",
          "url" : "stratum+tcp://stratum.nicehash.com:4333",
          "user" : "17E7hXHuyJB1jUuHtoQgnb9ijPmXYRGoGP",
          "pass" : "d=1024;f0=0;f2=0;f3=20.1;f4=15.5;f5=0;f6=13.2;f7=45.1",
          "pool-nfactor" : "10",
          "pool-algorithm" : "zuikkis",
          "pool-gpu-engine" : "1125",
 "pool-intensity" : "13",
 "gpu-threads" : "2",
 "pool-gpu-memclock" : "1500",
          "pool-thread-concurrency" : "8192"
     },
     {
          "name" : "NiceHash_Scrypt-N_multi!",
          "url" : "stratum+tcp://stratum.nicehash.com:4335",
          "user" : "17E7hXHuyJB1jUuHtoQgnb9ijPmXYRGoGP",
          "pass" : "d=1024;f0=0;f2=0;f3=20.1;f4=15.5;f5=0;f6=13.2;f7=45.1",
          "pool-nfactor" : "11",
          "pool-algorithm" : "zuikkis",
          "pool-gpu-engine" : "1070",
 "pool-intensity" : "13",
 "pool-gpu-memclock" : "1500",
 "pool-g" : "2",
 "pool-lookup-gap" : "2",
 "gpu-threads" : "2",
          "pool-thread-concurrency" : "8192"
     },
     {
          "name" : "NiceHash_X11_multi!",
          "url" : "stratum+tcp://stratum.nicehash.com:4336",
          "user" : "17E7hXHuyJB1jUuHtoQgnb9ijPmXYRGoGP",
          "pass" : "d=0.16;f0=0;f2=0;f3=20.1;f4=15.5;f5=0;f6=13.2;f7=45.1",
          "pool-nfactor" : "10",
          "pool-algorithm" : "darkcoin-mod",
          "pool-gpu-engine" : "1160",
 "pool-intensity" : "17",
 "pool-gpu-memclock" : "1600",
 "gpu-threads" : "2",
          "pool-thread-concurrency" : "10240"
     },
     {
          "name" : "NiceHash_X13_multi!",
          "url" : "stratum+tcp://stratum.nicehash.com:4337",
          "user" : "17E7hXHuyJB1jUuHtoQgnb9ijPmXYRGoGP",
          "pass" : "d=0.08;f0=0;f2=0;f3=20.1;f4=15.5;f5=0;f6=13.2;f7=45.1",
          "pool-nfactor" : "10",
          "pool-algorithm" : "marucoin-mod",
          "pool-gpu-engine" : "1160",
 "pool-worksize" : "128",
 "pool-intensity" : "20",
 "gpu-threads" : "2",
 "pool-g" : "4",
          "pool-thread-concurrency" : "8192"
     },
     {
          "name" : "NiceHash_Keccak_multi!",
          "url" : "stratum+tcp://stratum.nicehash.com:4338",
          "user" : "17E7hXHuyJB1jUuHtoQgnb9ijPmXYRGoGP",
          "pass" : "d=1024;ff0=0;f2=0;f3=20.1;f4=15.5;f5=0;f6=13.2;f7=45.1",
          "pool-nfactor" : "10",
          "pool-algorithm" : "maxcoin",
          "pool-gpu-engine" : "1100",
 "pool-gpu-memclock" : "675",
 "pool-intensity" : "6"
     },
     {
          "name" : "NiceHash_X15_multi!",
          "url" : "stratum+tcp://stratum.nicehash.com:4339",
          "user" : "17E7hXHuyJB1jUuHtoQgnb9ijPmXYRGoGP",
          "pass" : "d=0.08;f0=0;f2=0;f3=20.1;f4=15.5;f5=0;f6=13.2;f7=45.1",
 "pool-nfactor" : "10",
          "pool-algorithm" : "bitblock",
          "pool-gpu-engine" : "1160",
          "pool-gpu-memclock" : "1500",
 "pool-worksize" : "128",
 "pool-intensity" : "18",
 "gpu-threads" : "2",
          "pool-thread-concurrency" : "8192"
          
     },
      {
          "name" : "NiceHash_NIST5_multi!",
          "url" : "stratum+tcp://stratum.nicehash.com:4340",
          "user" : "17E7hXHuyJB1jUuHtoQgnb9ijPmXYRGoGP",
          "pass" : "f0=0;f2=0;f3=20.1;f4=15.5;f5=0;f6=13.2;f7=45.1",
 "pool-nfactor" : "10",
          "pool-algorithm" : "talkcoin-mod",
          "pool-gpu-engine" : "1160",
 "pool-worksize" : "128",
 "pool-intensity" : "20",
          "pool-thread-concurrency" : "8192"
      },
     {
          "name" : "TradeMyBit_X13_Backup!",
          "url" : "stratum+tcp://am02.eu.trademybit.com:5557",
          "user" : "aklothakis.1",
          "pass" : "x",
          "pool-algorithm" : "marucoin-mod",
          "pool-gpu-engine" : "1160",
          "pool-thread-concurrency" : "8192"
     }
],

"intensity" : "13",
"worksize" : "256",
"lookup-gap" : "2",
"thread-concurrency" : "8192",
"shaders" : "2048",
"gpu-engine" : "1070",
"gpu-fan" : "0-100",
"gpu-memclock" : "1500",
"gpu-powertune" : "20",
"temp-cutoff" : "95",
"temp-overheat" : "85",
"temp-target" : "75",
"api-mcast-port" : "4028",
"api-port" : "4028",
"auto-fan" : true,
"expiry" : "10",
"gpu-dyninterval" : "7",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "7",
"tcp-keepalive" : "30",
"temp-hysteresis" : "3",
"shares" : "0",
"no-client-reconnect" : true,
"failover-only" : true,
"failover-switch-delay" : "30",
"api-allow" : "W:127.0.0.1/24",
"api-listen" : true
}

but unfortunately is doesn't switch between algos. Can you please tell me what is going wrong...?

Also does everyone has any configuration for R9 280x that works properly..??

Finally when i try to use "profiles" with CGWatcher it crashes due to a wrong JSON format message is there any fix on this..?
Thank you
full member
Activity: 212
Merit: 100
guys

i don't know if my sgminer switch really well between algos ...
sometimes X13, X11 are more profitable than X15 but it stills do X15
i built yesterday from source on ubuntu 12.4 with latest SDK and beta 14.6 drivers
Launched it, but it hashes only X15 since, at some moments X11/X13 was more profitable but it didn't switch
(on last builds the problem was the same for X11/X13 ... it was switching between algos, but sometimes when i look at it
 the algo used to hash was not the more profitable according to pool infos ... ?? )

my 7950 rigs are stable and performing pretty well (3.33MH on X11, 2.6MH X13, 2.24X15)
(i had problem of under performing miner with one but it was a OS issue, don't use 13.1 with latest soft/drivers)

here's my conf:


{
"pools" : [
{
                "name" : "trademybit x15",
           "url" : "stratum+tcp://east01.us.trademybit.com:4012",
      "user" : "xxxx",
      "pass" : "xxxx",
                "profile" : "x15"
   },
{
                "name" : "nicehash x15",
           "url" : "stratum+tcp://stratum.nicehash.com:3339",
      "user" : "18oLLFcxwwzfQt4F2YF7QzKyFeksq3dqsQ",
      "pass" : "xxxx",
                "profile" : "x15"
   },
{
                "name" : "trademybit x13",
           "url" : "stratum+tcp://east01.us.trademybit.com:4011",
      "user" : "xxxx",
      "pass" : "xxxx",
                "profile" : "x13"
   },
{
                "name" : "nicehash x13",
           "url" : "stratum+tcp://stratum.nicehash.com:4337",
      "user" : "18oLLFcxwwzfQt4F2YF7QzKyFeksq3dqsQ",
      "pass" : "xxxx",
                "profile" : "x13"
   },
{
                "name" : "trademybit x11",
           "url" : "stratum+tcp://east01.us.trademybit.com:4010",
         "user" : "xxxx",
      "pass" : "xxxx",
                "profile" : "x11"            
   },
{
                "name" : "nicehash x11",
           "url" : "stratum+tcp://stratum.nicehash.com:4336",
         "user" : "18oLLFcxwwzfQt4F2YF7QzKyFeksq3dqsQ",
      "pass" : "xxxx",
                "profile" : "x11"          
   }
],
"profiles" : [
        {
                "name" : "X15",
                "algorithm" : "bitblock",
                "intensity" : "18",
                "gpu-threads" : "2",
                "gpu-powertune" : "20",
                "thread-concurrency" : "8192",
                "worksize": "128",
                "gpu-engine": "980",
                "gpu-memclock": "1250",
                "gpu-fan": "auto"
        },
        {
                "name" : "X13",
                "algorithm" : "marucoin-mod",
                "intensity" : "18",
                "gpu-threads" : "2",
                "gpu-powertune" : "20",
                "thread-concurrency" : "8192",
                "worksize": "64",
                "gpu-engine": "1020",
                "gpu-memclock": "1400",
                "gpu-fan": "0-85"
        },
        {
                "name" : "X11",
                "algorithm" : "darkcoin-mod",
                "intensity" : "18",
                "gpu-threads" : "2",
                "gpu-powertune" : "20",
                "thread-concurrency" : "8192",
                "worksize": "64",
                "gpu-engine": "1020",
                "gpu-memclock": "1400",
                "gpu-fan": "0-85"
        }
        
],
"hamsi-expand-big" : "1",
"failover-only" : true,
"failover-switch-delay" : "30",
"extranonce-subscription" : true,
"queue" : "0",
"vectors" : "1",
"temp-cutoff" : "90",
"temp-overheat" : "85",
"auto-fan" : true,
"temp-hysteresis" : "3",
"show-coindiff" : true,
"kernel-path" : "/usr/local/bin"
}


is it normal or do i miss something ?? Thanks for your help
newbie
Activity: 53
Merit: 0
Again in the Night the Rig close down SGMiner

Code:
23:21:05] NH x15 multi extranonce change requested
[23:21:05] NH x15 multi difficulty changed to 0.100
[23:21:08] Accepted Coin 182 Diff 0.113/0.100 GPU 1 at NH x15 multi
[23:21:12] Accepted Coin 182 Diff 0.892/0.100 GPU 2 at NH x15 multi
[23:21:30] Accepted Coin 182 Diff 0.330/0.100 GPU 0 at NH x15 multi
[23:22:14] Accepted Coin 189 Diff 0.112/0.100 GPU 5 at NH x15 multi
[23:22:26] Accepted Coin 189 Diff 0.171/0.100 GPU 5 at NH x15 multi
[23:22:55] Accepted Coin 189 Diff 0.306/0.100 GPU 0 at NH x15 multi
[23:23:16] Accepted Coin 189 Diff 1.319/0.100 GPU 1 at NH x15 multi
[23:23:26] Accepted Coin 189 Diff 9.627/0.100 GPU 0 at NH x15 multi
[23:23:41] NH x11 multi alive, testing stability
[23:23:41] Accepted Coin 176 Diff 0.394/0.100 GPU 5 at NH x15 multi
[23:23:49] NH x11 multi stable for 30 seconds
[23:23:49] Switching to NH x11 multi
[23:23:54] Stratum connection to NH x11 multi interrupted
[23:23:54] NH x11 multi not responding!
[23:23:54] Switching to NH x15 multi
[23:24:50] thread was not cancelled in 60 seconds after restart_mining_threads
[23:24:50]
Summary of runtime statistics:

Dont know why it closed. SGminer didnt try to get on the Backup Pool Sad
hero member
Activity: 658
Merit: 500
badman74: that doesn't sound like a "hell of a time" if all you have to do is open git shell... In any case you also probably have an old version of MinGW.
Well I suppose the build isn't that bad... but I am kinda lazy.
And my version of git in mingw is 1.9.0 so it isn't that old....
So far i have had no luck making it work in mingw even when upgrading git
This would be fine if i could build in git shell but that doesn't work for me either.
So i have to use git shell to get the submodules and then mingw to build...
As i said i am kinda lazy :p
full member
Activity: 130
Merit: 100


breel: no, it's not the same issue, you need to read the new readme instructions on how to build now. it can't be the same issues unless you found a way to run MinGW on linux.
Indeed!
member
Activity: 110
Merit: 10
I didn't know that, I just wanted it to build, and didn't see .gitmodules in the download.  I first tried following the instructions but "git submodule init" and "git submodule update" did nothing.  That's why I ended up downloading the jansson manually.
Jump to: