Author

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

hero member
Activity: 546
Merit: 500
Thank you for your work nicehash team  Wink
sr. member
Activity: 332
Merit: 250
Latest commit should take care of fan speed issues for you guys on auto-fan.
ok here is the windows build
https://mega.co.nz/#!jMBTURqL!7K1kotxbf3EiA5G61eBC0Y57c8fuyMxpph2LxYh4j0o


This build looks pretty solid, good job.
The only problem I'm having is that I can not set the GPU engine clock on my Sapphire Dual-X cards when using Catalyst 14.6
With the Vapor-X cards it works fine.
It's probably an issue with the new beta drivers but just wanted to mention it in case it's something in SGminer.

EDIT: Just tested with afterburner and that can change the clocks on the Dual-X cards under 14.6 so maybe not a driver issue ?

I've heard a few people mention something like that but it seems random or based on card models. It's not something that I've experienced myself with my Dual-X's. Try reverting back to 14.4 or 13.12 drivers.

Then, copy the following files from the 14.6 beta drivers into your sgminer folder: amd_opencl32.dll, amd_opencl64.dll, amdocl.dll and amdocl64.dll. You will be able to get 14.6beta speeds without actually installing the drivers and messing your system up.

I did some more testing and found that I can change the clocks with 14.6 but I just can not change them below the stock clock speed.
Since I undervolted my cards, they were running just below stock clocks.

Thanks for the tip on copying the opencl files, this worked pefectly and I can change the clocks below stock again now I use 13.12 Smiley
newbie
Activity: 49
Merit: 0
Just a heads up, I fixed another thing last night involving nfactor. Sometimes the nfactor setting is read by the parser before algorithm, which would cause nfactor to revert to 10 (aka regular scrypt). If you experience any problems with nscrypt, try the latest commit.
newbie
Activity: 49
Merit: 0
Latest commit should take care of fan speed issues for you guys on auto-fan.
ok here is the windows build
https://mega.co.nz/#!jMBTURqL!7K1kotxbf3EiA5G61eBC0Y57c8fuyMxpph2LxYh4j0o


This build looks pretty solid, good job.
The only problem I'm having is that I can not set the GPU engine clock on my Sapphire Dual-X cards when using Catalyst 14.6
With the Vapor-X cards it works fine.
It's probably an issue with the new beta drivers but just wanted to mention it in case it's something in SGminer.

EDIT: Just tested with afterburner and that can change the clocks on the Dual-X cards under 14.6 so maybe not a driver issue ?

I've heard a few people mention something like that but it seems random or based on card models. It's not something that I've experienced myself with my Dual-X's. Try reverting back to 14.4 or 13.12 drivers.

Then, copy the following files from the 14.6 beta drivers into your sgminer folder: amd_opencl32.dll, amd_opencl64.dll, amdocl.dll and amdocl64.dll. You will be able to get 14.6beta speeds without actually installing the drivers and messing your system up.
full member
Activity: 142
Merit: 101
I've mined Scrypt, Scrypt-N, and X13 for extended periods of time without errors. (2days or more)... so far the only algorithm that has given me SICK > DEAD cards is X11.  Keccak im not even sure if I have configured right, i get a pretty good hash rate but an unusually high amount of rejects.
sr. member
Activity: 332
Merit: 250
Latest commit should take care of fan speed issues for you guys on auto-fan.
ok here is the windows build
https://mega.co.nz/#!jMBTURqL!7K1kotxbf3EiA5G61eBC0Y57c8fuyMxpph2LxYh4j0o


This build looks pretty solid, good job.
The only problem I'm having is that I can not set the GPU engine clock on my Sapphire Dual-X cards when using Catalyst 14.6
With the Vapor-X cards it works fine.
It's probably an issue with the new beta drivers but just wanted to mention it in case it's something in SGminer.

EDIT: Just tested with afterburner and that can change the clocks on the Dual-X cards under 14.6 so maybe not a driver issue ?
sr. member
Activity: 547
Merit: 250
Latest commit should take care of fan speed issues for you guys on auto-fan.
ok here is the windows build
https://mega.co.nz/#!jMBTURqL!7K1kotxbf3EiA5G61eBC0Y57c8fuyMxpph2LxYh4j0o


Bad ass, I'll try this out in a few hours after work.

EDIT:  Fan speed initialization fixed, profiles load correctly for fan speeds, even without default-profile not specified it doesn't spit out ckolivas, and it doesn't quit in 60 seconds from start.  Remains to be seen how it handles extended uptimes, and daily algo-flips.

Very fucking impressed right now with the all-hands-on-deck effort to get this Windows port up and as functional as the Linux builds.

Seems to be a winner so far.  For added fun, add "incognito" : true and try and guess what the fuck you're hashing and where!

kenshirothefist, I'd say this is a wrappable build to throw up as a pre-release for your https://www.nicehash.com/software/#sgminer
hero member
Activity: 658
Merit: 500
I would like to ask you if you have correct string in password?

"d=.01;f0=1;f2=.5;f3=9.5;f4=6.8;f5=750"

I think that you've mixed relative values with absolute
I don't know if I understand it correctly with this string you try to say to NiceHash server that you mining rig speed is: SCRYPT = 1 Mhs, ScryptN = 0.5 Mhs, X11 = 9.5Mhs, X13 = 6.8 Mhs and Keccak = 750 Mhs

well i suppose keccack probably should only be 700 but it would be 750 if the fan wasnt dieing on one of my cards
hero member
Activity: 658
Merit: 500
newbie
Activity: 15
Merit: 0
Hi Nicehash dev, is there white list so I can avoid you ban me, I'm using slow internet but my rig so big (~600MB) that give me too many reject (~3% to 7%)

My wallet add is: 17BEAnCpVk88wg8Eszmbw8periW1ZXv9BG (in case u can add me in your white list).

Thank you.
sr. member
Activity: 294
Merit: 250
Working now  Grin, I get rid of the 6970 and only have 7950's.

my config

Code:
{
"pools" : [
{
                "poolname" : "beta rigs x11",
"url" : "stratum+tcp://r5211.g48.rigs.eu.betarigs.com:8085",
"user" : "x",
"pass" : "x",
                "profile":"x11"
},
{
                "poolname" : "beta rigs x13",
"url" : "stratum+tcp://r6303.g40.rigs.eu.betarigs.com:9136",
"user" : "x",
"pass" : "x",
                "profile":"x13"
},
        {
  "name" : "am01 x11 multi",
"url" : "stratum+tcp://am02.eu.trademybit.com:4010",
"user" : "x",
"pass" : "1111",
                "profile":"x11"
},
        {
"name" : "am02 x13 multi",
"url" : "stratum+tcp://am02.eu.trademybit.com:4011",
"user" : "x",
"pass" : "1111",
                "profile":"x13"
},
        {
"name" : "am02 scrypt",
"url" : "stratum+tcp://am02.eu.trademybit.com:3330",
"user" : "x",
"pass" : "1111",
                "profile":"scrypt"
},
        {
"name" : "am02 Nscrypt",
"url" : "stratum+tcp://am02.eu.trademybit.com:2220",
"user" : "x",
"pass" : "1111",
                "profile":"nscrypt"
},
        {
"name" : "am02 x11",
"url" : "stratum+tcp://am02.eu.trademybit.com:4440",
"user" : "x",
"pass" : "1111",
                "profile":"x11"
},
        {
"name" : "am02 x13 ",
"url" : "stratum+tcp://am02.eu.trademybit.com:5550",
"user" : "x",
"pass" : "1111",
                "profile":"x13"
},
        {
"name" : "am01 x11",
"url" : "stratum+tcp://am01.eu.trademybit.com:4440",
"user" : "bullus.3",
"pass" : "1111",
                "profile":"x11"
},
        {
"name" : "am01 x13",
"url" : "stratum+tcp://am01.eu.trademybit.com:5550",
"user" : "x",
"pass" : "1111",
                "profile":"x13"
}
],

"profiles" : [
{
"name" : "x11",
"algorithm" : "darkcoin-mod",
"intensity" : "18",
"gpu-threads" : "2",
"gpu-powertune" : "8",
                "gpu-fan" : "55-65",
"worksize": "256"
},
{
"name" : "x13",
"algorithm" : "marucoin-mod",
"intensity" : "18",
"gpu-threads" : "2",
"gpu-powertune" : "8",
                "gpu-fan" : "55-65",
"worksize": "256"
},
{
"name" : "scrypt",
"intensity" : "18",
"gpu-powertune" : "8",
"worksize" : "256",
"lookup-gap" : "0",
                "gpu-fan" : "55-65",
"gpu-threads": "2",
"algorithm" : "alexkarnew",
"nfactor" : "10"
},
{
"name" : "nscrypt",
"intensity" : "13",
"gpu-powertune" : "10",
"worksize" : "256",
"lookup-gap" : "0",
                "gpu-fan" : "55-65",
"gpu-threads": "2",
"algorithm" : "alexkarnew",
"nfactor" : "11"
},
{
"name" : "keccak",
"intensity" : "14",
"gpu-powertune" : "10",
"worksize" : "256",
"lookup-gap" : "2",
                "gpu-fan" : "55-65",
"gpu-threads": "2",
"algorithm" : "maxcoin"
}
],
"default-profile": "x11",
"hamsi-expand-big" : "4",
"failover-only" : true,
"shaders" : "1792",
"thread-concurrency" : "8192",
"temp-cutoff" : "96",
"temp-overheat" : "94",
"temp-target" : "88",
"api-allow" : "W:127.0.0.1",
"api-listen" : true,
"api-mcast-port" : "4028",
"api-port" : "4028",
"expiry" : "1",
"gpu-dyninterval" : "7",
"hotplug" : "5",
"log" : "5",
"queue" : "0",
"scan-time" : "1",
"temp-hysteresis" : "2",
"shares" : "0",
"no-submit-stale" : true,
"no-restart" : true,
"failover-switch-delay" : "10",
"show-coindiff" : true,
"remove-disabled" : true,
"extranonce-subscription" : true
}

Got also some problems with the fan, now it's normal with 65% fanspeed, I don't use autofan.
Also copied the opencl and ocl file into the miner and got extra hashrates  Cheesy

Testing stability

edit,
My scrypt hashrate are too low, only getting 500kh/s each.
I tried the zuikkis algo but then I only get hw errors...any tips for scrypt 7950.
I also notice if u put a tcc in the profiles, the driver will crash..only works with a global tcc.
newbie
Activity: 49
Merit: 0
Latest commit should take care of fan speed issues for you guys on auto-fan.
full member
Activity: 142
Merit: 101

This does nothing, all changes to any of these settings bear no weight.  This is really fucking annoying.  I don't think exit values are being applied after closing the miner out.

EDIT:  If you trim down the max fan speed, it launches at max.  65-85 launches at 85

Are you sure you dont have something like AfterBurner open or another GPU utility that has the setting locked at 100%?   Have you tried loading the GPU's BIOS into something like VBE7 to check its temp settings?  It sounds like the smallest temp increase is shooting your fan profiles straight up to max and that is usually something in AfterBurner or the GPU BIOS itself
sr. member
Activity: 547
Merit: 250
sr. member
Activity: 547
Merit: 250
Great work Slix and Batman  Wink will test around after work..I appreciated as a windows user Grin

Can u give us a example of a working config with pools and profiles?

Fans still fucking start at 100%...

And a new fucking record for SICK -> DEAD, uptime of 3.5 minutes

I had the Fan issue. Fixed it by removing "auto-fan":true and "auto-gpu": true from config and changing
"gpu-fan": "0-95" to"0-0"


This does nothing, all changes to any of these settings bear no weight.  This is really fucking annoying.  I don't think exit values are being applied after closing the miner out.

EDIT:  If you trim down the max fan speed, it launches at max.  65-85 launches at 85
sr. member
Activity: 547
Merit: 250
newbie
Activity: 17
Merit: 0
Did anybody have the same issue with hashrate drop while using profiles in config file?
Exactly the same parameters but speed of scrypt, scrypt-n, x11, and x13 is lower but on other side keccak speed is a bit higher with profiles.

With profiles

Code:
{
    "pools": [
        {
            "name" : "NiceHash_scrypt",
            "url" : "stratum+tcp://stratum.nicehash.com:3333",
            "user" : "BTCaddress",
            "pass" : "x",
            "profile" : "scrypt"
        },
        {
            "name" : "NiceHash_scrypt-n",
            "url" : "stratum+tcp://stratum.nicehash.com:3335",
            "user" : "BTCaddress",
            "pass" : "x",
            "profile" : "scrypt-n"
        },
        {
            "name" : "NiceHash_X11",
            "url" : "stratum+tcp://stratum.nicehash.com:3336",
            "user" : "BTCaddress",
            "pass" : "x",
            "profile" : "x11"
        },
        {
            "name" : "NiceHash_X13",
            "url" : "stratum+tcp://stratum.nicehash.com:3337",
            "user" : "BTCaddress",
            "pass" : "x",
            "profile" : "x13"
        },
        {
            "name" : "NiceHash_keccak",
            "url" : "stratum+tcp://stratum.nicehash.com:3338",
            "user" : "BTCaddress",
            "pass" : "x",
            "profile" : "keccak"
        }
    ],
    "profiles": [
        {
            "name": "scrypt",
            "algorithm" : "zuikkis",
            "intensity": "13",
            "nfactor" : "10",
            "gpu-engine": "1100, 1055, 1055"
        },
        {
            "name": "scrypt-n",
            "algorithm" : "zuikkis",
            "intensity": "13",
            "nfactor" : "11",
            "gpu-engine": "1100, 1055, 1055"
        },
        {
            "name": "x11",
            "nfactor" : "10",
            "algorithm" : "darkcoin-mod",
            "intensity": "18",
            "gpu-engine": "1105"
        },
        {
            "name": "x13",
            "nfactor" : "10",
            "algorithm" : "marucoin-mod",
            "intensity": "18",
            "gpu-engine": "1105"
        },
        {
            "name": "keccak",
            "nfactor" : "10",
            "algorithm" : "maxcoin",
            "intensity": "13",
            "gpu-engine": "1120"
        }
    ],
    "default-profile" : "scrypt",
    "auto-fan": true,
    "gpu-fan": "50-100",
    "temp-cutoff": "90",
    "temp-overheat": "80",
    "temp-target": "70",
    "intensity": "18",
    "vectors": "1",
    "worksize": "256",
    "lookup-gap": "2",
    "thread-concurrency": "8192",
    "shaders": "2048",
    "api-listen": true,
    "api-port": "4028",
    "api-allow": "W:127.0.0.1",
    "gpu-dyninterval": "7",
    "gpu-platform": "0",
    "gpu-threads": "2",
    "gpu-engine": "1105",
    "gpu-memclock": "1500",
    "gpu-powertune": "-20",
    "gpu-vddc" : "1.112",
    "log": "5",
    "no-pool-disable": true,
    "no-submit-stale": true,
    "queue": "0",
    "scan-time": "1",
    "expiry": "30",
    "shares": "0",
    "failover-switch-delay" : "10",
    "kernel-path": "/usr/local/bin"
}

Old config

Code:
{
    "pools": [
        {
            "name" : "NiceHash_scrypt",
            "url" : "stratum+tcp://stratum.nicehash.com:3333",
            "user" : "BTCaddress",
            "pass" : "x",
            "algorithm" : "zuikkis",
            "intensity": "13",
            "nfactor" : "10",
            "gpu-engine": "1100, 1055, 1055"
        },
        {
            "name" : "NiceHash_scrypt-n",
            "url" : "stratum+tcp://stratum.nicehash.com:3335",
            "user" : "BTCaddress",
            "pass" : "x",
            "algorithm" : "zuikkis",
            "intensity": "13",
            "nfactor" : "11",
            "gpu-engine": "1100, 1055, 1055"
        },
        {
            "name" : "NiceHash_X11",
            "url" : "stratum+tcp://stratum.nicehash.com:3336",
            "user" : "BTCaddress",
            "pass" : "x",
            "nfactor" : "10",
            "algorithm" : "darkcoin-mod",
            "intensity": "18",
            "gpu-engine": "1105"
        },
        {
            "name" : "NiceHash_X13",
            "url" : "stratum+tcp://stratum.nicehash.com:3337",
            "user" : "BTCaddress",
            "pass" : "x",
            "nfactor" : "10",
            "algorithm" : "marucoin-mod",
            "intensity": "18",
            "gpu-engine": "1105"
        },
        {
            "name" : "NiceHash_keccak",
            "url" : "stratum+tcp://stratum.nicehash.com:3338",
            "user" : "BTCaddress",
            "pass" : "x",
            "nfactor" : "10",
            "algorithm" : "maxcoin",
            "intensity": "13",
            "gpu-engine": "1120"
        }
    ],
    "auto-fan": true,
    "gpu-fan": "50-100",
    "temp-cutoff": "90",
    "temp-overheat": "80",
    "temp-target": "70",
    "intensity": "18",
    "vectors": "1",
    "worksize": "256",
    "lookup-gap": "2",
    "thread-concurrency": "8192",
    "shaders": "2048",
    "api-listen": true,
    "api-port": "4028",
    "api-allow": "W:127.0.0.1",
    "gpu-dyninterval": "7",
    "gpu-platform": "0",
    "gpu-threads": "2",
    "gpu-engine": "1105",
    "gpu-memclock": "1500",
    "gpu-powertune": "-20",
    "gpu-vddc" : "1.112",
    "log": "5",
    "no-pool-disable": true,
    "no-submit-stale": true,
    "queue": "0",
    "scan-time": "1",
    "expiry": "30",
    "shares": "0",
    "failover-switch-delay" : "10",
    "kernel-path": "/usr/local/bin"
}

thanx
hero member
Activity: 658
Merit: 500
Thanks Batman, so u made 2 seperate configs? U got problems when using 1 config?
Will test after work..
no but profiles.conf never changes once you get all the profiles set and can be referenced by various pool configs
sr. member
Activity: 416
Merit: 250
Thanks Batman, so u made 2 seperate configs? U got problems when using 1 config?
Will test after work..
"include" : "profiles.conf"

Jump to: