Post
Topic
Board Mining software (miners)
Re: CGMINER ASIC FPGA GPU overc monit fanspd RPC linux/win/osx/mip/r-pi 3.2.1
by
spazcoin
on 15/06/2013, 23:52:48 UTC
I tried to setup my PC/GPU for doing LTC scrypt mining yesterday, following the directions here https://bitcointalk.org/index.php?topic=83371.0, here https://bitcointalk.org/index.php?topic=83371.msg1733884;topicseen#msg1733884, and here https://bitcointalk.org/index.php?topic=97143.0.

I installed the Litecoin client, setup a mining pool account with WeMineLTC, and was able to compile the cgminer tool, so I should have all of the necessary software tools installed. However, I have two different types of errors that occur:

1) Just after the cgminer application starts, it crashes. Windows error "cgminer.exe has stopped working". A generated logfile.txt (by adding 2>logfile.txt to command line parameters) looks like:

Quote
[2013-06-15 23:03:03] Started cgminer 3.2.1
[2013-06-15 23:03:03] Probing for an alive pool
[2013-06-15 23:03:04] Pool 0 difficulty changed to 96.000000

(and that's it, crashed)
I see this error on v3.1.0, v3.1.1, and v3.2.1 cgminer packages downloaded from http://ck.kolivas.org/apps/cgminer/ as well as with the 3.2.1 version that I compiled myself. I'm guessing that this crash is just a timeout of being unable to connect to a mining server, and could be a configuration file issue. I'm starting cgminer using a batch file generated on the WeMineLTC site:
Code:
cgminer.exe --scrypt -o stratum+tcp://stratum.wemineltc.com:3333 -u spazcoin.1 -p *** -I 13 2>logfile.txt

Based on tutorial pages from others, I also tried using the following batch file for solo mining optimized use with my Radeon 5450 card:
Code:
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer.exe --scrypt --shaders 80 --intensity 9 --worksize 64 -g 1 --auto-gpu --auto-fan -o http://192.168.0.5:9332 -u spazcoin.1 -p *** --failover-only -o stratum+tcp://eu.wemineltc.com:3333 -u spazcoin.1 -p *** 2>logfile.txt
However, that configuration to point to the Litecoin server on my PC (http://192.168.0.5:9332) has always been rejected by cgminer.

2) Using the v3.2.1 precompiled version, I've gotten farther (sometimes) and the cgminer application actually runs.  However, it fails to submit a piece of work to the GPU and disables the GPU thread. logfile shown below:

Quote
[2013-06-15 23:50:21] Started cgminer 3.2.1
 [2013-06-15 23:50:21] Probing for an alive pool
 [2013-06-15 23:50:22] Pool 0 difficulty changed to 96.000000
 [2013-06-15 23:50:31] Network diff set to 46.7M
 [2013-06-15 23:50:31] Error -55: Enqueueing kernel onto command queue. (clEnqueueNDRangeKernel)
 [2013-06-15 23:50:31] GPU 0 failure, disabling!
 [2013-06-15 23:50:31] Thread 0 being disabled
 [2013-06-15 23:56:36] Stratum from pool 0 detected new block
 [2013-06-15 23:59:43] Stratum from pool 0 detected new block
 [2013-06-16 00:01:38] Stratum from pool 0 detected new block

I've searched through the forums and read the OpenCL documentation for that clEnqueueNDRangeKernel command, but I can't figure out what is causing the problem with enqueueing the kernel. If I exit cgminer (using 'q'), I get the following statistics, so clearly nothing is running:

Quote
Summary of runtime statistics:

 [2013-06-16 00:44:00] Started at [2013-06-15 23:50:22]
 [2013-06-16 00:44:00] Pool: stratum+tcp://stratum.wemineltc.com:3333

 [2013-06-16 00:44:00] Runtime: 0 hrs : 53 mins : 29 secs
 [2013-06-16 00:44:00] Average hashrate: 0.0 Kilohash/s
 [2013-06-16 00:44:00] Solved blocks: 0
 [2013-06-16 00:44:00] Best share difficulty: 0
 [2013-06-16 00:44:00] Share submissions: 0
 [2013-06-16 00:44:00] Accepted shares: 0
 [2013-06-16 00:44:00] Rejected shares: 0
 [2013-06-16 00:44:00] Accepted difficulty shares: 0
 [2013-06-16 00:44:00] Rejected difficulty shares: 0
 [2013-06-16 00:44:00] Hardware errors: 0
 [2013-06-16 00:44:00] Utility (accepted shares / min): 0.00/min

 [2013-06-16 00:44:00] Work Utility (diff1 shares solved / min): 0.00/min

 [2013-06-16 00:44:00] Stale submissions discarded due to new blocks: 0

 [2013-06-16 00:44:00] Unable to get work from server occasions: 0

 [2013-06-16 00:44:00] Work items generated locally: 142
 [2013-06-16 00:44:00] Submitting work remotely delay occasions: 0
 [2013-06-16 00:44:00] New blocks detected on network: 16

 [2013-06-16 00:44:00] Summary of per device statistics:

 [2013-06-16 00:44:00] GPU0                | (5s):0.000 (avg):0.000h/s | A:0 R:0
 HW:0 U:0.0/m I:13
 [2013-06-16 00:44:00]


BTW, I also downloaded the 'reaper' miner (http://zerosignalgame.com/reaperv13beta4_32.zip), but when I run it, it also stops working, just after printing a line saying
Quote
Compiling kernel... this could take up to 2 minutes.
Therefore, maybe these issues are linked and pointing to an issue with my graphics card.

OS: Windows 7 64-bit.
Graphics Card: ATI Radeon HD 5450 - driver 12.1 installed today