Bitcoin Forum

Other => Beginners & Help => Topic started by: GodammerWrung69 on May 07, 2013, 08:35:59 AM



Title: CGMiner Config
Post by: GodammerWrung69 on May 07, 2013, 08:35:59 AM
Hi Guys
Hope someone can help.
cgminer.conf file enclosed.
Getting hashrate 593 for my 5850 which is good I think, but posting no shares accepted.
Any suggestions please?
I'm running cgminer with just the conf file.
With a bat file and no auto settings I can get a regular share acceptance rate, but only half the hashrate.
Thanks!

{
"pools" : [
   {
      "url" : "<details edited out>",
      "user" : "<details edited out>",
      "pass" : "<details edited out>"
   }
]
,
"intensity" : "d",
"vectors" : "2",
"worksize" : "128",
"scrypt" : true,
"kernel" : "diablo",
"lookup-gap" : "2",
"thread-concurrency" : "5600",
"gpu-engine" : "750-900",
"gpu-fan" : "0-85",
"gpu-memclock" : "300",
"gpu-memdiff" : "0",
"gpu-powertune" : "0",
"gpu-vddc" : "0.000",
"temp-cutoff" : "95",
"temp-overheat" : "85",
"temp-target" : "75",
"api-port" : "4028",
"expiry" : "120",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "2",
"hotplug" : "5",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "60",
"temp-hysteresis" : "3",
"kernel-path" : "/usr/local/bin"
}

Hope someone can help.
Thanks again!


Title: Re: CGMiner Config
Post by: Aimak on May 07, 2013, 08:51:50 AM
Hi GodammerWrung69

Have you tried running CGminer without options and deleting the conf file? In my short experience the first time CGminer or BFGMiner is run, the best is doing it with no command line options or conf file. Once the miner is running and spiting shares, press S > W > ENTER to save the autodetected settings. Then you can makje a copy of the conf file and play with it.

Also, it seems to me that you are running Windows but the path to the kernel belongs to Linux. As I said, try the above method and let me know how it works for you.

cheers
Aimak


Title: Re: CGMiner Config
Post by: Jazeon on May 07, 2013, 09:09:54 AM
Change:

Code:
intensity" : "d", 

to


Code:
"intensity" : "6",


And test it.
I thing it help you.


Title: Re: CGMiner Config
Post by: GodammerWrung69 on May 07, 2013, 09:15:26 AM
Hi
Thanks for quick reply!
yes running win7 64bit.
Attempting to mine ltc / or derivatives.
Whatt would be the correct kernel path?
I ran cgminer direct with old conf files disabled and the file it created certainly gave a much better hashrate than my bat file, but again no shares being generated.
Here's the unedited file (which of course is missing the "scrypt" : true, line which I think needs to be inserted?
Thanks!

{
"pools" : [
   {
      "url" : "blah",
      "user" : "blah",
      "pass" : "blah"
   }
]
,
"intensity" : "d",
"vectors" : "2",
"worksize" : "128",
"kernel" : "diablo",
"lookup-gap" : "0",
"thread-concurrency" : "0",
"shaders" : "0",
"gpu-engine" : "0-0",
"gpu-fan" : "0-85",
"gpu-memclock" : "0",
"gpu-memdiff" : "0",
"gpu-powertune" : "0",
"gpu-vddc" : "0.000",
"temp-cutoff" : "95",
"temp-overheat" : "85",
"temp-target" : "75",
"api-port" : "4028",
"expiry" : "120",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "2",
"hotplug" : "5",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "60",
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}


Title: Re: CGMiner Config
Post by: GodammerWrung69 on May 07, 2013, 09:26:04 AM
Change:

Code:
intensity" : "d", 

to


Code:
"intensity" : "6",


And test it.
I thing it help you.

Hi thanks for reply. once running it sets the intensity to about 5 or 7 usually, so not sure the intensity is the problem.
Something else appears to be preventing it generating shares.
Once I've edited the file by inserting Thread concurrency to recommended settings for card ATI 5850 - 5600) and added a line for scrypt, it still generates no shares :(
I'd love to use the config file with higher hashrate but, but not generating anything for me yet.

Thanks!


Title: Re: CGMiner Config
Post by: _rob on May 07, 2013, 09:29:06 AM
Hi,
I don't know about a diablo kernel, but my config is doing fine with

"kernel" : "scrypt",

 _rob


Title: Re: CGMiner Config
Post by: GodammerWrung69 on May 07, 2013, 09:45:20 AM
Hi,
I don't know about a diablo kernel, but my config is doing fine with

"kernel" : "scrypt",

 _rob

Hi Rob,
Thanks for reply.
Gah - amended that and now getting following error:-

"[2013-05-07 10:41:49] Started cgminer 3.1.0
        const uint ySIZE = (1024/LOOKUP_GAP+(1024%LOOKUP_GAP>0));
                                 ^

"C:\Users\GregSR\AppData\Local\Temp\OCL9A4.tmp.cl", line 763: error:
          identifier "CONCURRENT_THREADS" is undefined
        const uint xSIZE = CONCURRENT_THREADS;
                           ^

2 errors detected in the compilation of "C:\Users\GregSR\AppData\Local\Temp\OCL9
A4.tmp. [2013-05-07 10:41:52] Failed to init GPU thread 0, disabling device 0
 [2013-05-07 10:41:52] Restarting the GPU from the menu will not fix this.
 [2013-05-07 10:41:52] Try restarting cgminer.
Press enter to continue:"

I've used the concurrent-threads and thread-concurrency commands but neither seems to make any difference?
Hate teething problems :)


Title: Re: CGMiner Config
Post by: Buffer Overflow on May 07, 2013, 09:49:20 AM
Dump that Windows rubbish, and mine on a headless linux box. Got my intensity set at 20, with no problems.


Title: Re: CGMiner Config
Post by: _rob on May 07, 2013, 09:55:29 AM
Change the

"lookup-gap" : "0",

to

"lookup-gap" : "1",

so that you don't have to divide by 0 ;-)


edit: recommended value is 1 anyways..


Title: Re: CGMiner Config
Post by: GodammerWrung69 on May 07, 2013, 10:17:42 AM
Change the

"lookup-gap" : "0",

to

"lookup-gap" : "1",

so that you don't have to divide by 0 ;-)


edit: recommended value is 1 anyways..

Thanks lol - it FINALLY started mining (once I'd added the "scrypt" : true, line, but hashrate way down to 9k :P
I've reverted to Bat file for now - that works at circa 200Khs - better that than nothing!
Thanks for help :)


Title: Re: CGMiner Config
Post by: _rob on May 07, 2013, 10:31:50 AM
Read the scrypt-readme in the cgminer directory - it has a good guide on how to get your gpu running


Title: Re: CGMiner Config
Post by: GodammerWrung69 on May 07, 2013, 10:41:00 AM
Read the scrypt-readme in the cgminer directory - it has a good guide on how to get your gpu running

Yeah done that - thats how I set up the bat file to work successfully - just thought I'd try the conf file as it seemed to give a higher hash rate - I'll stick with circa 200khs for now I guess.
Thanks for help again though!


Title: Re: CGMiner Config
Post by: _rob on May 07, 2013, 11:54:51 AM
Not sure about that, but maybe your graphics card just has a slow memory speed and the higher HR was only possible for SHA mining and not for scrypt..