Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Any one mining scrypt based coins?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sat Dec 21, 2013 8:45 am    Post subject: Any one mining scrypt based coins? Reply with quote

This turned out be a MAJOR pain in the butt.

bfgminer under Windows works well, but it returns 100% hardware errors on Gentoo. Now I'm trying Debian.

I tried reaper, but it cant connect to the wallets --

Code:
2013-12-21 10:34:54 Could not connect. Server down?
2013-12-21 10:34:54 Couldn't connect to server. Trying again in a few seconds...
2013-12-21 10:35:01 Could not connect. Server down?


Anyone successful with this? I'm running fglrx 13.11_beta6.
_________________
My blog
Back to top
View user's profile Send private message
soka
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2006
Posts: 99
Location: Argentina

PostPosted: Sat Dec 21, 2013 12:45 pm    Post subject: Reply with quote

I'm using cgminer-3.7.2 and ati-drivers-13.11_beta6.
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sat Dec 21, 2013 4:31 pm    Post subject: Reply with quote

soka wrote:
I'm using cgminer-3.7.2 and ati-drivers-13.11_beta6.


:cry: :cry: :cry: WHY ME??!!??

Command arguments to cgminer?
_________________
My blog
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3103

PostPosted: Sat Dec 21, 2013 7:11 pm    Post subject: Reply with quote

I've decided to test it with bfgminer-3.5.1 (accept keywords ~<arch>, stable has different command line), allows mining on both, CPU and GPU. Either ati or nvidia, I think it requires prop drivers for OCL support though. (cpu mining has really poor performace compared to gpu)


Quote:
bfgminer -o http://localhost:8332 -u "username for logging to your bitcoin client" -p "long, random password you don't have to remember" --coinbase-addr "bitcoin address here, you can have many, but only paste one" --coinbase-sig "some arbitraty string making this config unique"
params should also work with cgminer

pay attention to text appearing at th ebegining, it might report errors you will not consider errrors until you read it carefully.
Once you deal with errors you can write config to file and drop launcher.
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sun Dec 22, 2013 8:38 am    Post subject: Reply with quote

You're using sha256 or scrypt?
_________________
My blog
Back to top
View user's profile Send private message
soka
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2006
Posts: 99
Location: Argentina

PostPosted: Sun Dec 22, 2013 1:34 pm    Post subject: Reply with quote

dE_logics wrote:
soka wrote:
I'm using cgminer-3.7.2 and ati-drivers-13.11_beta6.


:cry: :cry: :cry: WHY ME??!!??

Command arguments to cgminer?


In a 3 card mining rig where gpu0 is a 7970, gpu1 a 7950 and gpu2 a 5850 I'm using the following script

Code:
#!/bin/bash
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
cgminer --scrypt -o stratum+tcp://ltc.give-me-coins.com:3334 -u user -p pass -d 0 -d 1 -d 2 --auto-fan --gpu-fan 0-95,0-85,0-85 --gpu-engine 985,1050,775 --gpu-memclock 1575,1500,1000 --temp-target 80 -I 20,20,18 --thread-concurrency 22400,21712,6144
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sun Dec 22, 2013 4:48 pm    Post subject: Reply with quote

I'm getting hardware errors cpu mining in bfgminer.

-o localhost:9007 -u xxxx -p xxxxxx --scrypt

solo mining low difficulty alts for testing.
_________________
My blog
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Mon Dec 23, 2013 4:04 pm    Post subject: Reply with quote

Reaper was the answer --

http://delogics.blogspot.com/2013/12/reaper-linux-howto-scrypt-sha256-coins.html
_________________
My blog
Back to top
View user's profile Send private message
MarcoMarin
Apprentice
Apprentice


Joined: 12 Mar 2014
Posts: 151

PostPosted: Fri Apr 18, 2014 11:46 am    Post subject: Reply with quote

Hey guys, if you're still interested in this, I learned a trick here (H/T to TomWij) to install the right version of stuff:
Code:
emerge -a =net-misc/cgminer-3.7.2

and as you know, version 3.7.2 is the last one to support scrypt. (also, typing only =cgminer-3.7.2 will work as well, I dunno why it's not on net-p2p anyway :) )

You must not forget to add scrypt and opencl to /etc/portage/package.use
Code:
 =net-misc/cgminer-3.7.2 opencl scrypt

I've forgot at first to add scrypt (I thought it was default) and cgminer would not even start complaining it was not a valid option. So I had to rebuild it. :x Perhaps some other option like this was the problem there, dE_logics? (maybe opencl itself, use emerge -pv to make it list them all)

otherwise are you sure your driver and opengl are working properly? did you test glxinfo and glxgears? also remember to eselect opengl list and then set your driver there. You must also start X with your card's driver set at /etc/X11/xorg.conf

Of course, this all assumes you've compiled your kernel with support for your card and it shows the correct driver being used under lspci -k

those were the things needed to make it work here. : )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum