Bitcoin Forum
November 07, 2024, 03:21:12 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: litecoin cgminer  (Read 16158 times)
avirdoz (OP)
Legendary
*
Offline Offline

Activity: 1191
Merit: 1001



View Profile
September 24, 2012, 12:17:03 AM
 #1

Hello. I try to mine litecoin with cgminer (v. 2.7.5, xubuntu 12.04, sdk 2.7). But when i try to start it:
Code:
./cgminer --scrypt -o xxx -u xxx -p xxx
[2012-09-23 23:56:42] ./cgminer: --scrypt: unrecognized option
What í'm doing wrong? Bitcoin mining work fine. Even in cgminer --help i cant find option --scrypt.
Thx.
laSeek
Member
**
Offline Offline

Activity: 70
Merit: 10


Litecoin Core Developer


View Profile WWW
September 24, 2012, 12:20:16 AM
 #2


Where did you download the binary from?
cgminer needs to be compiled with CPU & scrypt support for it to work with litecoin.

Litecoin Core Developer
 - Dev Repo - https://github.com/dasher/litecoin.git
Donations:  LTC LX2aYdR8jPiHUHVmegBiK1DBGa2fusz1fx  BTC 1PnAbtTnQJTiZ1N1RVHLq2vop77PWwsCoC
avirdoz (OP)
Legendary
*
Offline Offline

Activity: 1191
Merit: 1001



View Profile
September 24, 2012, 12:24:54 AM
 #3


Where did you download the binary from?
cgminer needs to be compiled with CPU & scrypt support for it to work with litecoin.
Thank for your answer. I build cgminer without necessary options for cpu mining.
live627
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


View Profile
September 24, 2012, 12:27:17 AM
 #4

For CPU mining, try the one by pooler.
laSeek
Member
**
Offline Offline

Activity: 70
Merit: 10


Litecoin Core Developer


View Profile WWW
September 24, 2012, 12:33:25 AM
 #5


Where did you download the binary from?
cgminer needs to be compiled with CPU & scrypt support for it to work with litecoin.
Thank for your answer. I build cgminer without necessary options for cpu mining.

heh - ok - then you can rebuild with --enable-cpumining & --enable-scrypt and you should be good to go. Just check you have the needed dependencies Smiley
I prefer to build the miner on my own hardware also - it helps ensure I know what the code is doing and that it's optimised for what it's running on.

Litecoin Core Developer
 - Dev Repo - https://github.com/dasher/litecoin.git
Donations:  LTC LX2aYdR8jPiHUHVmegBiK1DBGa2fusz1fx  BTC 1PnAbtTnQJTiZ1N1RVHLq2vop77PWwsCoC
Greedi
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


LitecoinTalk


View Profile WWW
September 25, 2012, 02:18:15 PM
 #6


Where did you download the binary from?
cgminer needs to be compiled with CPU & scrypt support for it to work with litecoin.
Thank for your answer. I build cgminer without necessary options for cpu mining.

heh - ok - then you can rebuild with --enable-cpumining & --enable-scrypt and you should be good to go. Just check you have the needed dependencies Smiley
I prefer to build the miner on my own hardware also - it helps ensure I know what the code is doing and that it's optimised for what it's running on.


and also remember --shader for you're card Smiley

LitecoinTalk - Sign up today!
Try out LTC-Aarade!
Buy Shares!
avirdoz (OP)
Legendary
*
Offline Offline

Activity: 1191
Merit: 1001



View Profile
October 03, 2012, 05:29:52 PM
 #7

Hello again. Some info about my rig:
Xubuntu Live (on 4 gb flash usb);
4 GB RAM;
HD 6950 unlocked @6970;
HD 6970
I build cgminer with --enable-cpumining & --enable-scrypt. When i start cgminer i receive error message:
Code:
 
 sudo ./cgminer --scrypt -o http://ltc.kattare.com:9332 -u xxx -p xxx --shaders 1536 --intensity 19 --thread-concurrency 6144 -g 2
 [2012-10-03 17:20:48] Started cgminer 2.7.6
 [2012-10-03 17:20:49] Probing for an alive pool
 [2012-10-03 17:20:49] Long-polling activated for http://ltc.kattare.com:9332/LP
 [2012-10-03 17:20:49] Maximum buffer memory device 0 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:20:49] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:20:49] Failed to init GPU thread 0, disabling device 0
 [2012-10-03 17:20:49] Restarting the GPU from the menu will not fix this.
 [2012-10-03 17:20:49] Try restarting cgminer.
Press enter to continue:

 [2012-10-03 17:21:11] Maximum buffer memory device 0 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:21:11] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:21:11] Failed to init GPU thread 1, disabling device 0
 [2012-10-03 17:21:11] Maximum buffer memory device 1 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:21:11] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:21:11] Failed to init GPU thread 2, disabling device 1
 [2012-10-03 17:21:11] Maximum buffer memory device 1 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:21:11] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:21:11] Failed to init GPU thread 3, disabling device 1
Before i export GPU_MAX_ALLOC_PERCENT=100 & GPU_USE_SYNC_OBJECTS=1. Maybe trouble with freespace on my usb flash drive.
Without --thread-concurrency option maximum hashrate about 340 on each gpu khash/s.
SAC
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
October 03, 2012, 05:49:46 PM
 #8

Hello again. Some info about my rig:
Xubuntu Live (on 4 gb flash usb);
4 GB RAM;
HD 6950 unlocked @6970;
HD 6970
I build cgminer with --enable-cpumining & --enable-scrypt. When i start cgminer i receive error message:
Code:
 
 sudo ./cgminer --scrypt -o http://ltc.kattare.com:9332 -u xxx -p xxx --shaders 1536 --intensity 19 --thread-concurrency 6144 -g 2
 [2012-10-03 17:20:48] Started cgminer 2.7.6
 [2012-10-03 17:20:49] Probing for an alive pool
 [2012-10-03 17:20:49] Long-polling activated for http://ltc.kattare.com:9332/LP
 [2012-10-03 17:20:49] Maximum buffer memory device 0 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:20:49] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:20:49] Failed to init GPU thread 0, disabling device 0
 [2012-10-03 17:20:49] Restarting the GPU from the menu will not fix this.
 [2012-10-03 17:20:49] Try restarting cgminer.
Press enter to continue:

 [2012-10-03 17:21:11] Maximum buffer memory device 0 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:21:11] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:21:11] Failed to init GPU thread 1, disabling device 0
 [2012-10-03 17:21:11] Maximum buffer memory device 1 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:21:11] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:21:11] Failed to init GPU thread 2, disabling device 1
 [2012-10-03 17:21:11] Maximum buffer memory device 1 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:21:11] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:21:11] Failed to init GPU thread 3, disabling device 1
Before i export GPU_MAX_ALLOC_PERCENT=100 & GPU_USE_SYNC_OBJECTS=1. Maybe trouble with freespace on my usb flash drive.
Without --thread-concurrency option maximum hashrate about 340 on each gpu khash/s.

Try something like I used in a machine with two 6950s flashed to 70s.

Code:

cat ltc.sh
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export DISPLAY=:0

~/cgminer --scrypt --worksize 256,256 --thread-concurrency 7040,7040 --vectors 4,4 --gpu-threads 2 -I 18,18 -g 1 --auto-fan --auto-gpu  --temp-target 81

And the card speeds.

Code:


cat vset.sh
DISPLAY=:0 aticonfig --od-enable --adapter=all
DISPLAY=:0 aticonfig --od-setclocks=770,1230 --adapter=0
DISPLAY=:0 aticonfig --od-setclocks=770,1230 --adapter=1
DISPLAY=:0 aticonfig --odgc --adapter=all

This gives me 410kh/s per card, leave out the --shaders like I do only one of them is needed so it is it or the --thread-concurrency option not both.
avirdoz (OP)
Legendary
*
Offline Offline

Activity: 1191
Merit: 1001



View Profile
October 03, 2012, 06:51:52 PM
Last edit: October 03, 2012, 07:18:04 PM by avirdoz
 #9

Hello again. Some info about my rig:
Xubuntu Live (on 4 gb flash usb);
4 GB RAM;
HD 6950 unlocked @6970;
HD 6970
I build cgminer with --enable-cpumining & --enable-scrypt. When i start cgminer i receive error message:
Code:
 
 sudo ./cgminer --scrypt -o http://ltc.kattare.com:9332 -u xxx -p xxx --shaders 1536 --intensity 19 --thread-concurrency 6144 -g 2
 [2012-10-03 17:20:48] Started cgminer 2.7.6
 [2012-10-03 17:20:49] Probing for an alive pool
 [2012-10-03 17:20:49] Long-polling activated for http://ltc.kattare.com:9332/LP
 [2012-10-03 17:20:49] Maximum buffer memory device 0 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:20:49] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:20:49] Failed to init GPU thread 0, disabling device 0
 [2012-10-03 17:20:49] Restarting the GPU from the menu will not fix this.
 [2012-10-03 17:20:49] Try restarting cgminer.
Press enter to continue:

 [2012-10-03 17:21:11] Maximum buffer memory device 0 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:21:11] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:21:11] Failed to init GPU thread 1, disabling device 0
 [2012-10-03 17:21:11] Maximum buffer memory device 1 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:21:11] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:21:11] Failed to init GPU thread 2, disabling device 1
 [2012-10-03 17:21:11] Maximum buffer memory device 1 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:21:11] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:21:11] Failed to init GPU thread 3, disabling device 1
Before i export GPU_MAX_ALLOC_PERCENT=100 & GPU_USE_SYNC_OBJECTS=1. Maybe trouble with freespace on my usb flash drive.
Without --thread-concurrency option maximum hashrate about 340 on each gpu khash/s.

Try something like I used in a machine with two 6950s flashed to 70s.

Code:

cat ltc.sh
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export DISPLAY=:0

~/cgminer --scrypt --worksize 256,256 --thread-concurrency 7040,7040 --vectors 4,4 --gpu-threads 2 -I 18,18 -g 1 --auto-fan --auto-gpu  --temp-target 81

And the card speeds.

Code:


cat vset.sh
DISPLAY=:0 aticonfig --od-enable --adapter=all
DISPLAY=:0 aticonfig --od-setclocks=770,1230 --adapter=0
DISPLAY=:0 aticonfig --od-setclocks=770,1230 --adapter=1
DISPLAY=:0 aticonfig --odgc --adapter=all

This gives me 410kh/s per card, leave out the --shaders like I do only one of them is needed so it is it or the --thread-concurrency option not both.
I try with your confgs. 313 khash/s per device. Why you decrease stock engine and memory clocks?
SAC
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
October 03, 2012, 07:51:37 PM
 #10

I try with your confgs. 313 khash/s per device. Why you decrease stock engine and memory clocks?

Through many hours of messing about one day those are the settings I found give me the max hash rate possible. I did this on every card I have and every one without exception gives more hashes if you lower the gpu engine below stock speeds and raise the memory speed once you get to a certain point on the memory nothing above it will give you more speed in fact usually decreases it.
avirdoz (OP)
Legendary
*
Offline Offline

Activity: 1191
Merit: 1001



View Profile
October 03, 2012, 08:30:30 PM
 #11

I try with your confgs. 313 khash/s per device. Why you decrease stock engine and memory clocks?

Through many hours of messing about one day those are the settings I found give me the max hash rate possible. I did this on every card I have and every one without exception gives more hashes if you lower the gpu engine below stock speeds and raise the memory speed once you get to a certain point on the memory nothing above it will give you more speed in fact usually decreases it.
You use --auto-gpu option. This option only decrease engine?
SAC
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
October 03, 2012, 09:27:27 PM
 #12

I try with your confgs. 313 khash/s per device. Why you decrease stock engine and memory clocks?

Through many hours of messing about one day those are the settings I found give me the max hash rate possible. I did this on every card I have and every one without exception gives more hashes if you lower the gpu engine below stock speeds and raise the memory speed once you get to a certain point on the memory nothing above it will give you more speed in fact usually decreases it.
You use --auto-gpu option. This option only decrease engine?

No it automatically manages the gpu engine if it gets above the --temp-target you set the --auto-fan does the fan speed to keep it below the --temp-target. The second set of my posting is the speed settings I set for ltc mining the --od-setclocks lines.
avirdoz (OP)
Legendary
*
Offline Offline

Activity: 1191
Merit: 1001



View Profile
October 03, 2012, 09:57:36 PM
 #13

I try with your confgs. 313 khash/s per device. Why you decrease stock engine and memory clocks?

Through many hours of messing about one day those are the settings I found give me the max hash rate possible. I did this on every card I have and every one without exception gives more hashes if you lower the gpu engine below stock speeds and raise the memory speed once you get to a certain point on the memory nothing above it will give you more speed in fact usually decreases it.
You use --auto-gpu option. This option only decrease engine?

No it automatically manages the gpu engine if it gets above the --temp-target you set the --auto-fan does the fan speed to keep it below the --temp-target. The second set of my posting is the speed settings I set for ltc mining the --od-setclocks lines.
Thx for  answers. What version of SDK you use? I cant understand why my hashrate is so low.
SAC
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
October 03, 2012, 10:13:00 PM
 #14

I try with your confgs. 313 khash/s per device. Why you decrease stock engine and memory clocks?

Through many hours of messing about one day those are the settings I found give me the max hash rate possible. I did this on every card I have and every one without exception gives more hashes if you lower the gpu engine below stock speeds and raise the memory speed once you get to a certain point on the memory nothing above it will give you more speed in fact usually decreases it.
You use --auto-gpu option. This option only decrease engine?

No it automatically manages the gpu engine if it gets above the --temp-target you set the --auto-fan does the fan speed to keep it below the --temp-target. The second set of my posting is the speed settings I set for ltc mining the --od-setclocks lines.
Thx for  answers. What version of SDK you use? I cant understand why my hashrate is so low.

AMD-APP-SDK-v2.7-RC-lnx64 is the directory I get from the tarball I downloaded and fglrx_8.980-0ubuntu1_amd64.deb is the package that was built from the .run file I downloaded I think the 12.6 version. You want to check the proper speeds are being set in my experience with cgminer unless you set them manually then it will use whatever is programmed in the cards BIOS ignoring the values put into your .cgminer.conf. You do this by using.

Code:
DISPLAY=:0 aticonfig --od-enable --adapter=all
DISPLAY=:0 aticonfig --odgc --adapter=all

In a terminal/console window.
SaintDevil
Full Member
***
Offline Offline

Activity: 126
Merit: 100


Web Programmer, Gamer


View Profile
October 18, 2012, 10:35:05 AM
 #15

Hello again. Some info about my rig:
Xubuntu Live (on 4 gb flash usb);
4 GB RAM;
HD 6950 unlocked @6970;
HD 6970
I build cgminer with --enable-cpumining & --enable-scrypt. When i start cgminer i receive error message:
Code:
 
 sudo ./cgminer --scrypt -o http://ltc.kattare.com:9332 -u xxx -p xxx --shaders 1536 --intensity 19 --thread-concurrency 6144 -g 2
 [2012-10-03 17:20:48] Started cgminer 2.7.6
 [2012-10-03 17:20:49] Probing for an alive pool
 [2012-10-03 17:20:49] Long-polling activated for http://ltc.kattare.com:9332/LP
 [2012-10-03 17:20:49] Maximum buffer memory device 0 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:20:49] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:20:49] Failed to init GPU thread 0, disabling device 0
 [2012-10-03 17:20:49] Restarting the GPU from the menu will not fix this.
 [2012-10-03 17:20:49] Try restarting cgminer.
Press enter to continue:

 [2012-10-03 17:21:11] Maximum buffer memory device 0 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:21:11] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:21:11] Failed to init GPU thread 1, disabling device 0
 [2012-10-03 17:21:11] Maximum buffer memory device 1 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:21:11] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:21:11] Failed to init GPU thread 2, disabling device 1
 [2012-10-03 17:21:11] Maximum buffer memory device 1 supports says 268435456, your scrypt setti
ngs come to 402653184
 [2012-10-03 17:21:11] Error -61: clCreateBuffer (padbuffer8), decrease CT or increase LG
 [2012-10-03 17:21:11] Failed to init GPU thread 3, disabling device 1
Before i export GPU_MAX_ALLOC_PERCENT=100 & GPU_USE_SYNC_OBJECTS=1. Maybe trouble with freespace on my usb flash drive.
Without --thread-concurrency option maximum hashrate about 340 on each gpu khash/s.

You will get this error message if your thread-concurrency is set high but the memory clock on the graphics card is under clocked.
I've ran into this problem while trying to mine litecoins, then I restored my graphics card settings back to original and it started hashing without problem.

Join pyraming and let someone else host the equipment http://pyramining.com/referral/934khztg6
Only if it's legal where you are: Legal Bud
PM if you need to translate to Russian or the other way around.
josephliton
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


View Profile
November 09, 2012, 11:34:39 AM
 #16

the two main Cryptographic API sets
    kCryptoServerCouldNotBindToIPv4Address = 1,

    kCryptoServerCouldNotBindToIPv6Address = 2,

    kCryptoServerNoSocketsAvailable = 3,

    kCryptoServerCouldNotBindOrEstablishNetService = 4

} CryptoServerErrorCode;

 

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!