Author Topic: Cgminer.conf example file for Peercoin mining  (Read 24152 times)

Offline FuzzyBear

  • Forum Operator
  • Administrator
  • No life but Peercoin!!
  • *****
  • Posts: 1341
  • Karma: +77/-0
  • Referrals: 14
    • View Profile
    • Escrow PPC trades 1% fee
Cgminer.conf example file for Peercoin mining
« on: November 14, 2013, 02:47:48 pm »
{
"pools" : [
   
   {
      "url" : "http://ppc.fixx.ru:8437",
      "user" : "FuzzyBear.donate",
      "pass" : "password"
   }
   
]
,
"intensity" : "9",
"vectors" : "1",
"worksize" : "64",
"kernel" : "poclbm",
"lookup-gap" : "0",
"thread-concurrency" : "0",
"shaders" : "0",
"gpu-engine" : "0-0",
"gpu-fan" : "0-100",
"gpu-memclock" : "0",
"gpu-memdiff" : "0",
"gpu-powertune" : "0",
"gpu-vddc" : "0.000",
"temp-cutoff" : "75",
"temp-overheat" : "65",
"temp-target" : "55",
"api-port" : "4028",
"expiry" : "120",
"failover-only" : true,
"gpu-dyninterval" : "5",
"gpu-platform" : "0",
"gpu-threads" : "1",
"hotplug" : "5",
"log" : "5",
"no-pool-disable" : true,
"queue" : "5",
"scan-time" : "20",
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}
BTC: 1FvMYwtkrQakoL8Zq1GjfKqTkm2a7TKt6N  |
PPC: PDtcFPhMa9Hc9zTfoRG7zcURCRpcpRdMym
PPC Escrow 1% fee

Offline nox-

  • Volunpeer
  • Sr. Member
  • *****
  • Posts: 113
  • Karma: +6/-0
  • Save the cheerleader, save the world!
  • Referrals: 0
    • View Profile
Re: Cgminer.conf example file for Peercoin mining
« Reply #1 on: November 14, 2013, 02:52:54 pm »
For comparison here is my configuration for BFL SCs:

{
"pools" : [
{
"url" : "ppc.fixx.ru:3333",
"user" : "user.1",
"pass" : "12345"
}
],
"api-listen" : true,
"api-port" : "4028",
"api-allow" : "W:127.0.0.1",
"no-pool-disable" : true,
"queue" : "2",
"scan-time" : "60",
"shares" : "0",
"kernel-path" : "/usr/local/bin",
"icarus-options" : "115200:1:1",
"icarus-timing" : "3.0=100",
"auto-fan" : false,
"auto-gpu" : false,
"expiry" : "120",
"failover-only" : true,
"gpu-threads" : "2",
"log" : "5"
}

Executed with "cgminer --config /home/pi/cgminer-asic.conf --avalon-auto --quiet --usb :3"
PPC: P9DCVbnmfVg4Zoy7zSSBWBioLCoTyrq8sb
BTC: 1PgXq8FHoXLsmAnRUV7KVgZ78LoCxwqeeT
LTC: Lg4P8ZspSrqVmWJHp4nTYeCn9NFJ3MCDQV

Offline Alertness

  • Volunpeer
  • Sr. Member
  • *****
  • Posts: 171
  • Karma: +19/-0
  • Peercoin: Save money, Save energy
  • Referrals: 0
    • View Profile
Re: Cgminer.conf example file for Peercoin mining
« Reply #2 on: November 14, 2013, 11:46:21 pm »
How would you configure it for 3 BFL Jalapenos? New to mining. I could really use a video tutorial.
« Last Edit: November 14, 2013, 11:53:09 pm by Alertness »

Offline FuzzyBear

  • Forum Operator
  • Administrator
  • No life but Peercoin!!
  • *****
  • Posts: 1341
  • Karma: +77/-0
  • Referrals: 14
    • View Profile
    • Escrow PPC trades 1% fee
Re: Cgminer.conf example file for Peercoin mining
« Reply #3 on: November 15, 2013, 10:47:36 am »
How would you configure it for 3 BFL Jalapenos? New to mining. I could really use a video tutorial.

cgminer should automatically detect ur BFL devices .. if u have 3 running it will pick up 3.

Have you got the BFL devices mining individually? u need to install a driver directly on the device you know?

Fuzzybear
BTC: 1FvMYwtkrQakoL8Zq1GjfKqTkm2a7TKt6N  |
PPC: PDtcFPhMa9Hc9zTfoRG7zcURCRpcpRdMym
PPC Escrow 1% fee

Offline nox-

  • Volunpeer
  • Sr. Member
  • *****
  • Posts: 113
  • Karma: +6/-0
  • Save the cheerleader, save the world!
  • Referrals: 0
    • View Profile
Re: Cgminer.conf example file for Peercoin mining
« Reply #4 on: November 15, 2013, 01:20:29 pm »
How would you configure it for 3 BFL Jalapenos? New to mining. I could really use a video tutorial.

Are you mining with Windows or Linux?

If it is Linux, such as a Raspberry Pi, then you need to install new USB drivers.

There is a good set of instructions for a Pi (which I used) at http://dominustemporis.com/2013/06/compiling-cgminer-for-the-raspberry-pi-and-butterflylabs-jalapeno/ this walks though the steps needed. It is the same for Peercoin as Bitcoin just make sure the pool details are correct.
PPC: P9DCVbnmfVg4Zoy7zSSBWBioLCoTyrq8sb
BTC: 1PgXq8FHoXLsmAnRUV7KVgZ78LoCxwqeeT
LTC: Lg4P8ZspSrqVmWJHp4nTYeCn9NFJ3MCDQV

Offline mcwrenn21

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: Cgminer.conf example file for Peercoin mining
« Reply #5 on: November 20, 2013, 08:50:30 pm »
I'm trying to set up peercoin mining with a nvidia quadro 1000M gpu.

I'd tried setting up the config file as


{
"pools" : [
   
   {
      "url" : "http://stratum.d7.lt",
      "user" : "mcwrenn21.1",
      "pass" : "12345"
   }
   
]
,
"intensity" : "9",
"vectors" : "1",
"worksize" : "64",
"kernel" : "poclbm",
"lookup-gap" : "0",
"thread-concurrency" : "0",
"shaders" : "0",
"gpu-engine" : "0-0",
"gpu-fan" : "0-100",
"gpu-memclock" : "0",
"gpu-memdiff" : "0",
"gpu-powertune" : "0",
"gpu-vddc" : "0.000",
"temp-cutoff" : "75",
"temp-overheat" : "65",
"temp-target" : "55",
"api-port" : "4028",
"expiry" : "120",
"failover-only" : true,
"gpu-dyninterval" : "5",
"gpu-platform" : "0",
"gpu-threads" : "1",
"hotplug" : "5",
"log" : "5",
"no-pool-disable" : true,
"queue" : "5",
"scan-time" : "20",
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}

and my .bat file that i use to start the miner looks like

cgminer -o http://stratum.d7.lt:3333/ -u mcwrenn21.1 -p 12345


When it runs this is what I get:

Started cgminer 3.8.0
Loaded configuration file cgminer.conf
No devices detected!
Waiting for USB hotplug devices or press q to quit
Too many values passed to set temp cutoff

When I run it without the config file that I created it just connects (i think)
But doesn't do anything...
However i don't get the "too many values passed to set temp cutoff" problem


I really have no idea what I'm doing, very little experience mining and minimal programming.

I've tried GUIminer, and it detects my gpu. But it can never connect to the pool.

I can get my cpu to mine with cgminer, but the hash rate is too lower and I only get invalid shares.



Any help is appreciated! Is there a simple way to get this to work?

Offline FuzzyBear

  • Forum Operator
  • Administrator
  • No life but Peercoin!!
  • *****
  • Posts: 1341
  • Karma: +77/-0
  • Referrals: 14
    • View Profile
    • Escrow PPC trades 1% fee
Re: Cgminer.conf example file for Peercoin mining
« Reply #6 on: November 21, 2013, 12:00:48 pm »
I'd need to look into cgminer further.... but there was a thread i read that GPU support was being removed... u may want to try cgminer 3.5 and see if that makes a difference

Fuzzybear
BTC: 1FvMYwtkrQakoL8Zq1GjfKqTkm2a7TKt6N  |
PPC: PDtcFPhMa9Hc9zTfoRG7zcURCRpcpRdMym
PPC Escrow 1% fee

Offline Sylentwolf8

  • Jr. Member
  • **
  • Posts: 5
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: Cgminer.conf example file for Peercoin mining
« Reply #7 on: December 12, 2013, 03:15:08 am »
Hello I've tried using your recommended config but modified to match my GPU a bit better.

For some reason I'm getting an error that reads "cgminer: --config: JSON decode of file 'cgminer.conf' failed
  string or '}' expected near '}'"

Now from my basic understanding of programming this would mean that i'm missing an end bracket for a beginning bracket or vice versa however unless i'm going blind this doesn't seem to be the case. Does anyone have any ideas? Below is my entire config file, minus password.

Code: [Select]
{
"pools" : [
   
   {
      "url" : "tcp://stratum.d7.lt:3333",
      "user" : "Sylentwolf8.380",
      "pass" : "password"
   }
   
],

"intensity" : "9",
"vectors" : "1",
"worksize" : "256",
"lookup-gap" : "0",
"thread-concurrency" : "0",
"shaders" : "1024",
"gpu-engine" : "680",
"auto-fan" : true,
"gpu-memclock" : "900",
"gpu-memdiff" : "0",
"temp-cutoff" : "75",
"temp-overheat" : "65",
"temp-target" : "60",
"failover-only" : true,
"gpu-threads" : "2",
"no-pool-disable" : true,
"queue" : "5",
"scan-time" : "20",
"temp-hysteresis" : "3",
}

Offline ppcman

  • Hero Member
  • *****
  • Posts: 536
  • Karma: +42/-2
  • Referrals: 0
    • View Profile
Re: Cgminer.conf example file for Peercoin mining
« Reply #8 on: December 12, 2013, 03:22:10 am »
For some reason I'm getting an error that reads "cgminer: --config: JSON decode of file 'cgminer.conf' failed
  string or '}' expected near '}'"

Code: [Select]
"temp-hysteresis" : "3",
}

This trailing comma at the end bugs me, I don't know if that's it, but..
Send me a $1 in PPC, and I'll love you for it.  A fun fact: I actually own less Peercoin than most people, seem strange, it is not by choice. Send me a PM if you'd like to talk.
Code: [Select]
PM9SxvYxaLpjRE4hpm51f24zy4xnapwtt7

Offline Sylentwolf8

  • Jr. Member
  • **
  • Posts: 5
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: Cgminer.conf example file for Peercoin mining
« Reply #9 on: December 12, 2013, 05:26:59 am »
For some reason I'm getting an error that reads "cgminer: --config: JSON decode of file 'cgminer.conf' failed
  string or '}' expected near '}'"

Code: [Select]
"temp-hysteresis" : "3",
}

This trailing comma at the end bugs me, I don't know if that's it, but..

That seems to have fixed it thanks, however unfortunately a new issue has occurred where cgminer simply stops working as soon as it (presumably) goes through the authentication process for the pool. Have you or anyone had a similar issue?

Offline BabylonDown

  • Jr. Member
  • **
  • Posts: 11
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: Cgminer.conf example file for Peercoin mining
« Reply #10 on: December 17, 2013, 05:33:00 pm »
Is there a thread one could go to who is brand new to mining and is looking to join a pool to mine with CGMiner?

The config that is posted above, do I just copy and paste it into CGminer to get started? I am beyond new and pretty frustrated. :D
« Last Edit: December 17, 2013, 05:41:48 pm by BabylonDown »

Offline Sylentwolf8

  • Jr. Member
  • **
  • Posts: 5
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: Cgminer.conf example file for Peercoin mining
« Reply #11 on: December 17, 2013, 07:14:04 pm »
Is there a thread one could go to who is brand new to mining and is looking to join a pool to mine with CGMiner?

The config that is posted above, do I just copy and paste it into CGminer to get started? I am beyond new and pretty frustrated. :D

Nope, you wouldn't want to just copy and paste it in. What you need to do is create a config file. Just open notepad, and save the file named cgminer.config inside of your cgminer folder. That file would contain the config posted above. You may have to tweak some of the values in it however to match your GPU.

Offline BabylonDown

  • Jr. Member
  • **
  • Posts: 11
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: Cgminer.conf example file for Peercoin mining
« Reply #12 on: December 17, 2013, 08:03:54 pm »
Nope, you wouldn't want to just copy and paste it in. What you need to do is create a config file. Just open notepad, and save the file named cgminer.config inside of your cgminer folder. That file would contain the config posted above. You may have to tweak some of the values in it however to match your GPU.

Alright. Just created a config file and put it in my CGMiner folder.

I was under the impression that PPC and XMP were only working for CPU mining?
« Last Edit: December 17, 2013, 08:06:30 pm by BabylonDown »

Offline Sylentwolf8

  • Jr. Member
  • **
  • Posts: 5
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: Cgminer.conf example file for Peercoin mining
« Reply #13 on: December 17, 2013, 08:11:59 pm »
Nope, you wouldn't want to just copy and paste it in. What you need to do is create a config file. Just open notepad, and save the file named cgminer.config inside of your cgminer folder. That file would contain the config posted above. You may have to tweak some of the values in it however to match your GPU.

Alright. Just created a config file and put it in my CGMiner folder.

I was under the impression that PPC and XMP were only working for CPU mining?

I can't really confirm or deny that, and if that is true it might explain why my cgminer is crashing every time I try to mine PPC.

Offline BabylonDown

  • Jr. Member
  • **
  • Posts: 11
  • Karma: +0/-0
  • Hello I'm new here
  • Referrals: 0
    • View Profile
Re: Cgminer.conf example file for Peercoin mining
« Reply #14 on: December 17, 2013, 08:28:26 pm »
Hehe. One more question. Do I have to follow the Windows Readme file in CGMiner? Including downloading Mingw32, libpdcurses etc?

 
Share this topic...
In a forum
(BBCode)
In a site/blog
(HTML)


Peercoin.net Official Peercoin Website