Post
Topic
Board Mining software (miners)
Re: Official CGMINER thread - CPU/GPU miner in C for linux/windows/osx
by
OCedHrt
on 18/07/2011, 15:18:44 UTC
Nvidia cards under win7 are working 100% with 1.2.8

How do i run cgminer to only use the cpu (disable Gpu) ? so that i can run 2 instances ? (one for cpu, one for gpu)

Also getting
Quote
[2011-07-18 17:01:37] HTTP request failed: Recv failure: Connection was rese
[2011-07-18 17:01:51] Share e34b098c accepted from GPU 0 thread 0
[2011-07-18 17:01:53] Share cad4e4ac accepted from GPU 0 thread 0
[2011-07-18 17:01:56] Share 86bbdd54 accepted from GPU 0 thread 2
[2011-07-18 17:02:03] Share 0a93ea28 accepted from GPU 0 thread 0
[2011-07-18 17:02:03] Share 1d0a2b8d accepted from GPU 0 thread 2
[2011-07-18 17:02:07] longpoll failed, sleeping for 30s
[2011-07-18 17:02:13] Share 57c1eff6 accepted from GPU 0 thread 2
[2011-07-18 17:02:22] Share ed20f93e accepted from GPU 0 thread 2
[2011-07-18 17:02:24] Share f8b59049 accepted from GPU 1 thread 3
[2011-07-18 17:02:29] Share 37edc62c accepted from GPU 1 thread 1
[2011-07-18 17:02:38] HTTP request failed: Recv failure: Connection was reset

-g 0 will give you only CPU mining

Looks like the longpoll dies when communicating with your pool's server. Should be harmless since it can detect block changes itself, but it's not ideal. Something funny going on with longpoll, and it seems to be every time I try converting from post to get.

DiabloMiner also uses POST I believe, but poclbm uses GET. I have no issues using poclbm though.

Update: GET is working fine for me. Great work.

Have you had a chance to look at the updated phatk kernel from 7-17? It would require interface changes between cgminer and the kernel, but it's the smallest kernel (least AUOPs) yet.

Update2: Or not...seems same issue everyone else is getting.
Code:
[2011-07-18 08:36:13] New block detected on network before longpoll, waiting on
fresh work
[2011-07-18 08:36:25] longpoll failed, sleeping for 30s