Author

Topic: litecoin cgminer (Read 16167 times)

hero member
Activity: 644
Merit: 500
November 09, 2012, 06:34:39 AM
#16
the two main Cryptographic API sets
    kCryptoServerCouldNotBindToIPv4Address = 1,

    kCryptoServerCouldNotBindToIPv6Address = 2,

    kCryptoServerNoSocketsAvailable = 3,

    kCryptoServerCouldNotBindOrEstablishNetService = 4

} CryptoServerErrorCode;

 
full member
Activity: 126
Merit: 100
Web Programmer, Gamer
October 18, 2012, 05: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.
SAC
sr. member
Activity: 322
Merit: 250
October 03, 2012, 05: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.
legendary
Activity: 1191
Merit: 1001
October 03, 2012, 04: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
Activity: 322
Merit: 250
October 03, 2012, 04: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.
legendary
Activity: 1191
Merit: 1001
October 03, 2012, 03: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
Activity: 322
Merit: 250
October 03, 2012, 02: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.
legendary
Activity: 1191
Merit: 1001
October 03, 2012, 01:51:52 PM
#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
Activity: 322
Merit: 250
October 03, 2012, 12: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.
legendary
Activity: 1191
Merit: 1001
October 03, 2012, 12: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.
sr. member
Activity: 266
Merit: 250
LitecoinTalk
September 25, 2012, 09:18:15 AM
#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
member
Activity: 70
Merit: 10
Litecoin Core Developer
September 23, 2012, 07:33:25 PM
#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.
hero member
Activity: 574
Merit: 500
September 23, 2012, 07:27:17 PM
#4
For CPU mining, try the one by pooler.
legendary
Activity: 1191
Merit: 1001
September 23, 2012, 07:24:54 PM
#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.
member
Activity: 70
Merit: 10
Litecoin Core Developer
September 23, 2012, 07:20:16 PM
#2

Where did you download the binary from?
cgminer needs to be compiled with CPU & scrypt support for it to work with litecoin.
legendary
Activity: 1191
Merit: 1001
September 23, 2012, 07:17:03 PM
#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.
Jump to: