New sgminer Fork for X11 Mining with Higher Performance

24 May


A few days ago a modified x11 sgminer appeared offering higher performance for AMD GPU miners. That release however has been controversial as the author did not release the source code and only binaries thus violating the GPL license of sgminer. Furthermore he has released only compiled binaries and added a forced 2% fee by hardcoding the miner to switch to another pool to mine some of the time. And while the author’s approach was not good at all, still many people used the miner just because of the significant performance increase not caring about the rest. The good news is that there is now a fork of sph-sgminer from lasybear that uses the kernel from the controversial miner providing the same performance, but with the source code available and no 2% forced fee. We have tried it and can confirm it is working well, we have also compiled a windows binary that you can download and try.

To download the new sph-sgminer_x11mod with performance increase for X11 crypto mining…

Check Some More Similar Crypto Related Publications:

79 Responses to New sgminer Fork for X11 Mining with Higher Performance


May 25th, 2014 at 03:18

downloaded and got performance boost Sapphire r9 290x from 2.80MH/s ish to 3.38MH/s

Thank you :)


May 25th, 2014 at 07:22

Kintaro, mind posting your config? :)


May 25th, 2014 at 08:27

Why I did not upgrade the speed of xfx 270
Has 1.25M


May 25th, 2014 at 08:57

Thanks! Took my 290X from 2.7 to 3.4 mhs after slight settings tweak.


May 25th, 2014 at 12:40

this is for bitcoin only?


May 25th, 2014 at 12:53

my settings for r9 290X gives me 3.38MH/s.

sgminer.exe -k darkcoin -o stratum+tcp:// -u name.worker -p password –failover-only -o stratum+tcp:// -u name.worker -p password –intensity 21 –worksize 512 -g 1 –thread-concurrency=35594

Anyone have higher hashrate? what settings u use?


May 25th, 2014 at 13:05

oops…edit… was my previous settings .. now with this fork i use the conf filr which came with the download aand i just added this in batfile.

sgminer.exe -k darkcoin -o stratum+tcp:// -u name.worker -p password –failover-only -o stratum+tcp:// -u name.worker -p password

Delete all .bin files in ur ccminer directory … and than make ur adjustments… hope this will help :)


May 25th, 2014 at 14:52

Thanks for your replys Kintaro,

I personally have not had anywhere near your levels of success with my R9 290 despite following your instructions here the maximum I have been able to get is 2.4mh. Exactly the same as with the old sgminer. As far as I can tell I have no other bottlenecks in the system.

I had very good success with my 280x which went from 2.1mh to 2.8mh for exactly the same power consumption.

Anyone else with this issue or ideas on where to look to fix it would be very appreciated as I have spent quite a few hours on this now and I am stumped.


May 25th, 2014 at 15:55

I have tried this new sgminer on the latest version of PIMP with 3 280X Vapor-X and get the same hash rate as with the original sgminer, not sure what gives?


May 25th, 2014 at 16:33

I can’t get it to work, when I use -k x11mod I get the following:
sgminer.exe: -k: Invalid parameter to set_kernel

Kevin Wolf

May 25th, 2014 at 22:54

This can’t possibly be the same kernel as the 2% fee miner. I copied my conf file over to this new miner and changed the kernel type to x11mod. It instantly crashes the display driver. The same conf file gave me 3.7MH on my 290s on the 2% fee miner, and I can only get 2.7MH on this version since it won’t work with intensity above 15 without crashing the display driver.

Sorry, but this is a bunk release.


May 25th, 2014 at 23:46


yes I have same problem with my R9 290 sapphire it just crushes at intensity level 20, but my 280 working fine at 2.9M – 3.06M..


May 25th, 2014 at 23:56

It seems that is not optimized for R9 290


May 26th, 2014 at 00:15

for me works great 280x -k darkcoin -w 256 -g 2 – gpu 1040 -mem 1500 -powertune -20: 2900 each


May 26th, 2014 at 01:10


my 290 is a sapphire also. maybe there is something in that?

Could you show us your config for 280x? I seem to be having trouble with stability overnight even at 2.8. are you using -I 13?


May 26th, 2014 at 04:53

on a side note the 7750 in my girlfriends computer got a 50% increase with almost 0 effort :-)


May 26th, 2014 at 05:27

My hashrate increased by a little more than a third. So this is pretty significant. Well worth the upgrade.


May 26th, 2014 at 08:30

Just an update for anyone who may be interested or having a similar issue,

I found that the issue I was having with my 280x was simply due to my undervolted bios. I flashed back to the standard 1.2v bios set Engine clock 1100mhz, Memory 1500mhz and Intensity 15 in the standard config file and left everything else as it was when dowloaded. to reach 3.1Mh.

This is different from when I was mining scrypt where I was able to find the cards peak speed and then undervolt until I started to lose stability again.

Now to work on that pesky 290 :-)


May 26th, 2014 at 08:32

I also have 4 R9 290X’s and the display driver crashes when I try to run this modified SGMiner. Instant blue-screen. UGH! Please fix ASAP! It runs great on my other system with an old GPU.


May 26th, 2014 at 11:32

yep this crashes my display drivers. if i try and increase the intensity past 15.
And get lower hashrate 2.8mh instead of 3M with the force 2% fee version


May 26th, 2014 at 12:32

Same hashrate as before with 7950HD : 1862Mh/s GPU 1100Mhz Memory 1500Mhz V:0.962v I:18, If I>18 it crash …

But thanks for the effort.


May 26th, 2014 at 14:46

Does this work for Windows? Tried everything and can’t get it working.


May 26th, 2014 at 15:05

The windows binary has been updated from the latest source that includes some fixes and improvements, now you should also be able to go with Intensity higher than 15 as well, so redownload from the link above.


May 26th, 2014 at 15:19

Thank you admin!

I am now getting ~40% gains from my 290 with this update :-D

Regards, Dave


May 26th, 2014 at 15:22

How do we get the working (compiled) version from lasybear? I tried the zip file link on the right of the github page but that didn’t work. (I’ve never compiled anything myself, so do I just need to wait for someone to put out a compiled version for WIn 7 64-bit?)


May 26th, 2014 at 15:39

i am getting 2.7 Mh/s on sapphire r9 280x ..was getting around 3 Mh/s with the 2% version…


May 26th, 2014 at 15:41

ebliever, no need for a 64-bit compiled version, 32-bit releases work just fine of 64-bit windows.

Ryan Munro

May 26th, 2014 at 15:48

Getting 3.5MH/s here but my GPU clocks are not setting, I have not changed my config from the old miner but now if I check AMD overdrive the card is running stock clocks?

Config :

sgminer -k darkcoin -o stratum+tcp:// -u xxxxx -p xxxx –thread-concurrency 32765 -I 20 -g 1 -w 256 –lookup-gap 2 –no-submit-stale –queue 1 –scan-time 60 –gpu-memclock 1500 –gpu-engine 900



May 26th, 2014 at 16:12

Please post your configs for R9 280x and your hashrate.


May 26th, 2014 at 16:34

Any guide/instructions how to get this on BAMT 1.6?
I got about 40% on my windows rig with r9 290 (from 2600 to 3600)


May 26th, 2014 at 16:56

Thanks for the link. But I am having an issue. THe miner is running at 3 M/s but I’m not getting any accepted shares. this has happened on every version of SGMINER Ive tried. Ive updated my drivers and i dont know what else to do. any advice is greatly apciated.


May 26th, 2014 at 17:07

try downclocking.


May 26th, 2014 at 17:24

Sorry- im still relatively new at this. Downclocking- i assume you are talking about the gpu memclock? I did have it set on 1450 and now I set it on 1200… Is that what you are meaning? That didn’t fly should I drop it more? Or try something else. Thanks again!


May 26th, 2014 at 18:32

Hi guys,

Is this where I am meant to download the file for windows?

I downloaded it and tried to run it but it doesn’t work. I noticed in the config file it says “kernel-path” : “/usr/local/bin/” which looks like a linux path so I changed it to my windows path but I get a fatal error in the configuration file. Pleas help, thanks


May 26th, 2014 at 18:39

Jose, the only thing you need to change in the config is the pool/worker info and you are ready to go, though you might also want to try different configurations for slightly better performance with the values of Intensity, Worksize etc.


May 26th, 2014 at 19:03

This version not work for me, the program crash and not respond,i use R9 280X
but stable in previous version(fee version) and i get 3.1mh.
and i have a trick for disable fee in the miner :),focus on my pool.
sorry my bad english


May 26th, 2014 at 20:05

Thanks admin,

I did exactly as you said. I downloaded a fresh copy of the miner. Changed the the pool/worker info and double-clicked sgminer.exe

I got the following error:

clDevicesNum returned error, no GPUs usable
All devices disabled, cannot mine!

No problems when I run the same configuration settings with my previous version of sgminer

Thank you for your help


May 26th, 2014 at 20:25

Jose, what mining hardware are you using – number of GPUs and their models? The standard configuration is optimized for use on 280x video cards? It seems that on your side the GPUs are not being detected properly…


May 26th, 2014 at 20:34

I am using all AMD R9 280x cards. 4 sapphire and 1 MSI.

I tried on 2 more miners. 1 works, so 1/3 work so far with this miner. It does seems there is a hardware issue but old sgminer works on all :(


May 26th, 2014 at 20:34

thanks for the updated version admin, no more crashes of display driver woohoo!!!!

Petr Gašparík

May 27th, 2014 at 00:13

if you use this new mod, dont forget to change kernel to “x11mod”
otherwise you get very low increase in hashrate


May 27th, 2014 at 16:47

Getting 2.54M/H with my 7950. Previously was 1.49M/H.

Ta muchly! :)


May 28th, 2014 at 02:52

Wow! :P R9 290x from 2,8 mh/s to 3.8. Didnt change anything from conf file except change/remove pooladresses and workers etc.
changed intensity to 19 and 20 .. both gave me less than the default config, so i just stick with default.
Thank you again! :)


May 29th, 2014 at 14:16

Could anybody please give a quick tutorial on starting to use this sgminer fork?
How do I start mining XC11 from the ground up using this as well? I have a R9 280x OC.

Thank you!


May 29th, 2014 at 14:40

TT, just set your pool and workers in the conf file and run sgminer… it is as easy as that.


May 29th, 2014 at 14:52

admin: thanks for the fast response! I’m just testing it on my laptop. I’m getting the rest of my rig tomorrow.
sgminer gives warnings for_
“gpu_max_alloc_percent is not specified!”
“gpu_use_sync_objects is not specified!”
How do I fix these? There are no options for them in the conf file.

Maybe someone could post their R9 280x configuration?


May 29th, 2014 at 15:04

These warnings are not a problem, though you can get rid of them by creating a bat file with the following contents and run the bat file instead of directly running sgminer.exe:

timeout 1
start /realtime sgminer.exe


May 29th, 2014 at 15:27

Thanks again!
So I will just download, unpack, create the .bat, configure and put my pool credentials and fire up the .bat. I have my wallet set up.
I wonder if I need an extra cooler for my R9 280x OC.. it does have three fans already and pretty efficient heat removal.


May 30th, 2014 at 18:53

many thanks..getting 3.6M/H with my r9-290- from 2.4M/H :D


May 31st, 2014 at 13:41

Not a f*cking hash more here. Two R9 280x and same 4.5 MH/s as before. :(


May 31st, 2014 at 21:17

5x HD7950 give 2.8 MH/s each And 2x r9 290 give 3.7 MH/s each. Now total hashing power arrived to 23 MH/s (it was 14 MH/s ). This mod made me like a child at candyshop ;). Thankyou very much. I wil check my earnings tomorrow, hoping that it will take improvement parallel to hashpower


June 1st, 2014 at 10:00

Possible to get a new compiled 4.2.1 Version for Windows?


June 2nd, 2014 at 23:27

Intredasting. 280x jumped from 2.140Mh/s to 3.130Mh/s



June 3rd, 2014 at 23:35

R9 280X bat file:set GPU_MAX_ALLOC_PERCENT=100
sgminer.exe -k darkcoin –failover-only -o stratum+tcp:// -u x -p x -o stratum+tcp:// -u x -p x -I 15 -g 2 -w 256 –lookup-gap 2 –shaders 2048 –gpu-engine 1100 –gpu-memclock 1500 –auto-fan –temp-target 70 –temp-cutoff 90

Rig Claims 3.2 MHs but puts out a steady 3.1 MHs
Rig might run a slight bit cooler
Jump from 2.3Mhs to 3.1MHs…. wow thank you very much for the update :D

I’ll report again after I get some time under my belt


June 4th, 2014 at 06:14

Can someone please help simplify how to set up sgminer for Darkoin?

Create a bat file then run from it?
example: -k darkcoin -o stratum+tcp:// -u user.worker -p password -I 18

I did it as in cgminer to litecoin..but not working.


June 5th, 2014 at 15:37

3 rigs going up from 12 MH/s to 17 MH/s
using 6 * 7790 5* 7850 and 2 * r9 270

I’am using xintensity

The rig with 6 * 7790 has moved up from 220 kh/s scrypt per card to 1.1 Mh/s x11 per card.
(but this stays only for some hour then one card after each other fell down to 925 kh/s)

But still impressive

filipe Fernandes

June 11th, 2014 at 04:19

I have a ATI Radeon HD7700, and CPU AMD-FX8350 8 Cores. CPU Mining is only 170 khash/s.
Whem running sgminer v. 4.1 (downloadded several versions) after change conf, run sgminer and it hangs and stops working.
Any ideas to improve CPU hash, and get GPU to work?

Thanks in advanced….


June 15th, 2014 at 01:32

Can anyone post a guide how to add this to BMAT? I do not use linux stuff other then my rig and I am not sure how to upgrade my sgminer to this. Thanks.


June 17th, 2014 at 16:56

What videodriver are you using for the R9 290?

Christopher Taylor

June 17th, 2014 at 17:27

This gives instructions to add the miners to BAMT 1.6


June 18th, 2014 at 12:09

Couldn’t get script to install X11mod onto BAMT 1.6.2, but was able to side load sph-sgminer_x11mod and it’s averaging 2.4Mhs vs 1.8Mhs regular sph-sgminer from BAMT on my 7950 cards. Also went from 300 watts per card scrypt mining to under 200 watts per card X11 mining. I’m using LTCRabbit and Wafflepool.


June 23rd, 2014 at 20:04

Kaspersky flags as virus, probably because other version by girino was flagged as non GPL compliant. Or, is there really a virus in the Lazybear version?


June 23rd, 2014 at 22:25

Jackboy, It is a common problem, most antivirus software detects and reports many of the miners based on cpuminer, cgminer etc. as possible viruses. If you wish you could just compile the miners from source, but you’d still get the same warnings.


June 27th, 2014 at 21:28

come sempre sono in ritardo,ma casualmente ho visto il blog ed ho scaricato il file,le mie sapphire r9 290 senza nessun over clock sono passate da 2.3-4 a 3.5-7mh,fantastico


June 27th, 2014 at 21:44

my conf. with 3 r9 290 sapphire,tot.hash rate 11 Mh ,100% accepted
“intensity” : “18”,
“worksize” : “128”,
“kernel” : “x11mod”,
“lookup-gap” : “2”,
“thread-concurrency” : “24550”,
“shaders” : “0”,
“gpu-threads” : “2”,
“gpu-engine” : “0-0”,
“gpu-fan” : “0-0”,
“gpu-memclock” : “0”,
“gpu-memdiff” : “0”,
“gpu-powertune” : “0”,
“gpu-vddc” : “0.000”,
“temp-cutoff” : “95”,
“temp-overheat” : “85”,
“temp-target” : “75”,
“api-mcast-port” : “4028”,
“api-port” : “4028”,
“expiry” : “28”,
“failover-switch-delay” : “60”,
“gpu-dyninterval” : “7”,
“gpu-platform” : “0”,
“log” : “5”,
“no-pool-disable” : true,
“queue” : “1”,
“scan-time” : “7”,
“tcp-keepalive” : “30”,
“temp-hysteresis” : “3”,


July 12th, 2014 at 11:37

im using a r9 270 2gb ddr5 925mhz clock 1400mhz memclock.. i would like to use a batch file, but considering im a total noob at this any help maximizing my current settings without pushing my card would be helpful, the rest of the system is a gaming system though so thats not an issue, here’s my .bat file so far:

.\sgminer.exe -k x11mod -o stratum+tcp:// -u xxx -p xxx -I 18 -g 2 -w 256 –thread-concurrency 8192 –lookup-gap 2 –vectors 1

any help would be greatly appreciated!


July 21st, 2014 at 16:14

I’ve got 2 x 7950 both running 2.9mhs. I’m hearing that they can get up to 3.5mhs but maybe not my cards. If I push my cards any more than this, I get the “card is sick” error after several hours of hashing. I’ve gotten my cards up to 3.2mhs but it will only last about 1 hour before they get “sick” and backing down to 2.9mhs it’s been stable for several days now.

thread concurrency 21712
GPU threads 4
intensity = 18
GPU clock and Mem clock is as high as my cards are stable (1100 and 1250)

bringing intensity up to >18 makes the cards “sick”
intensity = 19 : sick after 6+ hours 3mhs no hw
intensity = 20 : sick after 4+ hours 3.1mhs no hw
intensity = 21 : sick after 2+ hours 3.2mhs no hw
intensity = 22 : sick after 1+ hours 3.3mhs no hw

If I change my thread concurrency, I get hw errors even at intensity = 13-14 (tried 8192, 24000) didn’t bother trying others…


July 21st, 2014 at 16:16

Forgot to mention that I had my cards undervolted to 1.070 but brought them up to 1.090. Have not tried to go back to stock voltages but some say this helps…


July 30th, 2014 at 21:21

MSI R9 290X 4GB

3,931Mh/s stable with X11mod. Here my conf :

“intensity” : “18”,
“xintensity” : “0”,
“rawintensity” : “0”,
“worksize” : “256”,
“kernel” : “x11mod”,
“lookup-gap” : “0”,
“thread-concurrency” : “30592”,
“shaders” : “0”,
“gpu-threads” : “2”,
“gpu-engine” : “1030”,
“gpu-fan” : “0-85”,
“gpu-memclock” : “1250”,
“gpu-memdiff” : “0”,
“gpu-powertune” : “0”,
“gpu-vddc” : “0.000”,

Thanks for this optimized sgminer :)


August 6th, 2014 at 23:30

has anyone got the scrypt for MSI R9 270 please I have been using cgminer and mining at 350kh/s I think its about time I got on x11 but I am a real noob I know I need to make a bat file but I have no clue how


September 4th, 2014 at 19:59

Can someone provide a link for the version without the fee of the linux sgminer so we/I can compile it? I can’t find the sources for the life of me…


September 4th, 2014 at 20:30

Hori, there is a link to the source code in the article…


October 17th, 2014 at 02:01

hi i use two r9 280x club 3D queens and it some what works i get 6.6Mh/s but i dont get any shares i dont see anything happening execpt for the heat and hash rate but no accepets or rejects can anyone help me out?

David Penny

November 2nd, 2014 at 17:21

Okay, I downloaded this so I could maybe mine some darkcoins from my cpu or graphics board. I am new at this. Right now this just intrigues me. Maybe it will grow into something later. But my question is how do I get this think to work on my cpu?



November 3rd, 2014 at 01:22


January 30th, 2016 at 09:59

My Gigabyte Radeon HD 7970 3G OC Edition gives me 4.100 Mh/s

“intensity” : “18”,
“xintensity” : “0”,
“rawintensity” : “0”,
“worksize” : “256”,
“kernel” : “x11mod”,
“lookup-gap” : “2”,
“thread-concurrency” : “8192”,
“shaders” : “2048”,
“gpu-threads” : “2”,
“gpu-engine” : “1075”,
“gpu-fan” : “0-85”,
“gpu-memclock” : “1350”,
“gpu-memdiff” : “0”,
“gpu-powertune” : “0”,
“gpu-vddc” : “0.000”,


January 27th, 2017 at 20:39

Please help with configuration 2x rx 480 … grateful


June 13th, 2017 at 23:47

im so sick of sgminer it never bloody works
C:\Users\imrepc\Desktop\StartCoin>setx GPU_FORCE_64BIT_PTR 1

SUCCESS: Specified value was saved.

C:\Users\imrepc\Desktop\StartCoin>setx GPU_MAX_ALLOC_PERCENT, 100

SUCCESS: Specified value was saved.

C:\Users\imrepc\Desktop\StartCoin>setx GPU_MAX_HEAP_SIZE, 100

SUCCESS: Specified value was saved.

C:\Users\imrepc\Desktop\StartCoin>setx GPU_SINGLE_ALLOC_PERCENT, 100q

SUCCESS: Specified value was saved.

C:\Users\imrepc\Desktop\StartCoin>setx GPU_USE_SYNC_OBJECTS, 1

SUCCESS: Specified value was saved.

C:\Users\imrepc\Desktop\StartCoin>timeout 3

Waiting for 0 seconds, press a key to continue …

C:\Users\imrepc\Desktop\StartCoin>sgminer.exe -k x11mod -o stratum+tcp://
-u imrecsoka.1 -p x –intensity 12 -T
[22:46:18] Started sgminer 4.1.0
[22:46:18] Loaded configuration file sgminer.conf



June 13th, 2017 at 23:54

i run the job and it goes back to the prompt with no fucking message its really fucking stupid for troubleshooting, really

Leave a Reply

Your email address will not be published. Required fields are marked *