Bitcoin Forum
December 06, 2016, 07:49:01 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4820060 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
KJaneway
Full Member
***
Offline Offline

Activity: 158


View Profile
July 14, 2011, 10:40:16 AM
 #61

hi ckolivas: The libncurses-dev package is installed.

This is the message i got:
martin@latrop:~/cgminer/cgminer-1.2.4$ LANG=C sudo apt-get install libncurses-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libncurses5-dev' instead of 'libncurses-dev'
libncurses5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 180 not upgraded.
martin@latrop:~/cgminer/cgminer-1.2.4$

So what can I do else?




Code:
martin@latrop:~/cgminer/cgminer-1.2.4$ sudo make install
[sudo] password for martin:
Making install in lib
make[1]: Betrete Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/lib'
make  install-recursive
make[2]: Betrete Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/lib'
make[3]: Betrete Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/lib'
make[4]: Betrete Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/lib'
make[4]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[4]: Für das Ziel »install-data-am« ist nichts zu tun.
make[4]: Verlasse Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/lib'
make[3]: Verlasse Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/lib'
make[2]: Verlasse Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/lib'
make[1]: Verlasse Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/lib'
Making install in compat
make[1]: Betrete Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/compat'
Making install in jansson
make[2]: Betrete Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/compat/jansson'
make[3]: Betrete Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/compat/jansson'
make[3]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[3]: Für das Ziel »install-data-am« ist nichts zu tun.
make[3]: Verlasse Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/compat/jansson                              '
make[2]: Verlasse Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/compat/jansson                              '
make[2]: Betrete Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/compat'
make[3]: Betrete Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/compat'
make[3]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[3]: Für das Ziel »install-data-am« ist nichts zu tun.
make[3]: Verlasse Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/compat'
make[2]: Verlasse Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/compat'
make[1]: Verlasse Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/compat'
Making install in ccan
make[1]: Betrete Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/ccan'
make[2]: Betrete Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/ccan'
make[2]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[2]: Für das Ziel »install-data-am« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/ccan'
make[1]: Verlasse Verzeichnis '/home/martin/cgminer/cgminer-1.2.4/ccan'
make[1]: Betrete Verzeichnis '/home/martin/cgminer/cgminer-1.2.4'
gcc  -O3 -Wall -march=native -I/home/martin/AMD-APP-SDK-v2.4-lnx64/ -pthread -L/                              home/martin/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/ -o cgminer cgminer-main.o cgminer                              -util.o cgminer-ocl.o cgminer-findnonce.o cgminer-sha256_generic.o cgminer-sha25                              6_4way.o cgminer-sha256_via.o cgminer-sha256_cryptopp.o cgminer-sha256_sse2_amd6                              4.o -lcurl -Wl,-Bsymbolic-functions -L/usr/lib/x86_64-linux-gnu compat/jansson/l                              ibjansson.a -lpthread -lOpenCL lib/libgnu.a ccan/libccan.a
cgminer-main.o: In function `submit_upstream_work':
main.c:(.text+0x194e): undefined reference to `wmove'
main.c:(.text+0x1961): undefined reference to `wattr_on'
main.c:(.text+0x1974): undefined reference to `wprintw'
main.c:(.text+0x1987): undefined reference to `wattr_off'
main.c:(.text+0x199a): undefined reference to `wmove'
main.c:(.text+0x19b0): undefined reference to `whline'
main.c:(.text+0x19c3): undefined reference to `wmove'
main.c:(.text+0x19db): undefined reference to `wprintw'
main.c:(.text+0x19e7): undefined reference to `wclrtoeol'
main.c:(.text+0x19fa): undefined reference to `wmove'
main.c:(.text+0x1a10): undefined reference to `whline'
main.c:(.text+0x1a26): undefined reference to `wmove'
main.c:(.text+0x1a3c): undefined reference to `whline'
main.c:(.text+0x1a88): undefined reference to `wmove'
main.c:(.text+0x1ace): undefined reference to `wprintw'
main.c:(.text+0x1ada): undefined reference to `wclrtoeol'
main.c:(.text+0x1ae6): undefined reference to `wrefresh'
main.c:(.text+0x1c2d): undefined reference to `wmove'
cgminer-main.o: In function `hashmeter':
main.c:(.text+0x212a): undefined reference to `wmove'
main.c:(.text+0x213d): undefined reference to `wattr_on'
main.c:(.text+0x2150): undefined reference to `wprintw'
main.c:(.text+0x2163): undefined reference to `wattr_off'
main.c:(.text+0x2176): undefined reference to `wmove'
main.c:(.text+0x218c): undefined reference to `whline'
main.c:(.text+0x219f): undefined reference to `wmove'
main.c:(.text+0x21b7): undefined reference to `wprintw'
main.c:(.text+0x21c3): undefined reference to `wclrtoeol'
main.c:(.text+0x21d6): undefined reference to `wmove'
main.c:(.text+0x21ec): undefined reference to `whline'
main.c:(.text+0x2202): undefined reference to `wmove'
main.c:(.text+0x2218): undefined reference to `whline'
main.c:(.text+0x225f): undefined reference to `wmove'
main.c:(.text+0x229f): undefined reference to `wprintw'
main.c:(.text+0x22ab): undefined reference to `wclrtoeol'
main.c:(.text+0x22b7): undefined reference to `wrefresh'
main.c:(.text+0x23e3): undefined reference to `wmove'
cgminer-main.o: In function `watchdog_thread':
main.c:(.text+0x2617): undefined reference to `wmove'
main.c:(.text+0x265e): undefined reference to `wprintw'
main.c:(.text+0x266a): undefined reference to `wclrtoeol'
main.c:(.text+0x2686): undefined reference to `wmove'
main.c:(.text+0x2699): undefined reference to `wattr_on'
main.c:(.text+0x26ac): undefined reference to `wprintw'
main.c:(.text+0x26bf): undefined reference to `wattr_off'
main.c:(.text+0x26d2): undefined reference to `wmove'
main.c:(.text+0x26e8): undefined reference to `whline'
main.c:(.text+0x26fb): undefined reference to `wmove'
main.c:(.text+0x2713): undefined reference to `wprintw'
main.c:(.text+0x271f): undefined reference to `wclrtoeol'
main.c:(.text+0x2732): undefined reference to `wmove'
main.c:(.text+0x2748): undefined reference to `whline'
main.c:(.text+0x275e): undefined reference to `wmove'
main.c:(.text+0x2774): undefined reference to `whline'
main.c:(.text+0x27b1): undefined reference to `wmove'
main.c:(.text+0x2800): undefined reference to `wredrawln'
main.c:(.text+0x2814): undefined reference to `wredrawln'
main.c:(.text+0x2859): undefined reference to `wresize'
cgminer-main.o: In function `log_curses':
main.c:(.text+0x3dad): undefined reference to `vwprintw'
main.c:(.text+0x3db9): undefined reference to `wrefresh'
cgminer-main.o: In function `main':
main.c:(.text+0x46cf): undefined reference to `delwin'
main.c:(.text+0x46db): undefined reference to `delwin'
main.c:(.text+0x46e0): undefined reference to `endwin'
main.c:(.text+0x46e7): undefined reference to `stdscr'
main.c:(.text+0x46ec): undefined reference to `wrefresh'
main.c:(.text+0x4a8b): undefined reference to `initscr'
main.c:(.text+0x4ab7): undefined reference to `newwin'
main.c:(.text+0x4ad1): undefined reference to `newwin'
main.c:(.text+0x4ae5): undefined reference to `idlok'
main.c:(.text+0x4af6): undefined reference to `scrollok'
main.c:(.text+0x4b07): undefined reference to `leaveok'
main.c:(.text+0x4b18): undefined reference to `leaveok'
main.c:(.text+0x4b74): undefined reference to `wmove'
main.c:(.text+0x4bc0): undefined reference to `wprintw'
main.c:(.text+0x4bcc): undefined reference to `wclrtoeol'
main.c:(.text+0x4bd8): undefined reference to `wrefresh'
main.c:(.text+0x4c13): undefined reference to `wmove'
main.c:(.text+0x4c26): undefined reference to `wattr_on'
main.c:(.text+0x4c39): undefined reference to `wprintw'
main.c:(.text+0x4c4c): undefined reference to `wattr_off'
main.c:(.text+0x4c5f): undefined reference to `wmove'
main.c:(.text+0x4c75): undefined reference to `whline'
main.c:(.text+0x4c88): undefined reference to `wmove'
main.c:(.text+0x4ca0): undefined reference to `wprintw'
main.c:(.text+0x4cac): undefined reference to `wclrtoeol'
main.c:(.text+0x4cbf): undefined reference to `wmove'
main.c:(.text+0x4cd5): undefined reference to `whline'
main.c:(.text+0x4ceb): undefined reference to `wmove'
main.c:(.text+0x4d01): undefined reference to `whline'
main.c:(.text+0x4d4b): undefined reference to `wmove'
collect2: ld returned 1 exit status
make[1]: *** [cgminer] Fehler 1
make[1]: Verlasse Verzeichnis '/home/martin/cgminer/cgminer-1.2.4'
make: *** [install-recursive] Fehler 1
martin@latrop:~/cgminer/cgminer-1.2.4$


You're missing the libncurses dev library.

sudo apt-get install libncurses-dev


If you like my advise, i would be thankful getting a small donation at:
1Hvpgt5U6EgrWX1WpA25W6mRoH1Ltr8ydm
1481053741
Hero Member
*
Offline Offline

Posts: 1481053741

View Profile Personal Message (Offline)

Ignore
1481053741
Reply with quote  #2

1481053741
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481053741
Hero Member
*
Offline Offline

Posts: 1481053741

View Profile Personal Message (Offline)

Ignore
1481053741
Reply with quote  #2

1481053741
Report to moderator
1481053741
Hero Member
*
Offline Offline

Posts: 1481053741

View Profile Personal Message (Offline)

Ignore
1481053741
Reply with quote  #2

1481053741
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
July 14, 2011, 10:43:02 AM
 #62

Make install doesn't work, sorry. Just make it in its own directory and run it from there. Make sure to do ./configure again after you install any new libraries etc.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
ancow
Sr. Member
****
Offline Offline

Activity: 373


View Profile WWW
July 14, 2011, 10:57:09 AM
 #63

I have a 64bit natty here, too, and it works. Could you try without the GPU mining stuff to see whether it compiles that way? If so, there might be a conflict between the specified LDFLAGS and the expected default.

BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
OCedHrt
Member
**
Offline Offline

Activity: 98


View Profile
July 14, 2011, 11:05:39 AM
 #64

Couple of issues (on windows)

1. --ndev | -n also uses -n, which is also used to turn off dynamic intensity.
2. ctrl-break doesn't restore the command prompt back to normal - no cursor, no scrolling, insert mode turned on, etc. and ctrl-c doesn't work.
3. default detected parameter for 6870 (whatever they are) are not optimal. -w 128 -v 2 is better. i think it detects -w 256.
4. LP doesn't work with bithopper's. don't know if this is because of bithopper or some issue w/ LP on cgminer side. it just loops LP requests.
Code:
[2011-07-14 04:04:04] LONGPOLL detected new block, flushing work queue
[2011-07-14 04:04:04] LONGPOLL detected new block, flushing work queue
[2011-07-14 04:04:05] LONGPOLL detected new block, flushing work queue
[2011-07-14 04:04:06] LONGPOLL detected new block, flushing work queue
[2011-07-14 04:04:06] LONGPOLL detected new block, flushing work queue
[2011-07-14 04:04:07] LONGPOLL detected new block, flushing work queue
5. no output at all if missing url, user, pass. For some pools pass is optional.
6. Even if it does not connect to host it is hashing...what is it hashing? this is with an invalid/incorrect url
Code:
Totals: [(5s):227.3  (avg):293.3 Mh/s] [Q:0  A:0  R:0  HW:2  E:0%  U:0.00/m]
-------------------------------------------------------------------------------
GPU 0: [293.3 Mh/s] [Q:0  A:0  R:0  HW:2  E:0%  U:0.00/m]
-------------------------------------------------------------------------------

[2011-07-14 04:04:36] HTTP request failed: couldn't connect to host
[2011-07-14 04:04:36] HTTP request failed: couldn't connect to host
iopq
Hero Member
*****
Offline Offline

Activity: 644


View Profile
July 14, 2011, 01:02:08 PM
 #65

I'm telling you, there's some kind of a weird display bug when a share gets solved in under 5 seconds, it shows hashrates way higher than what my card can do

-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
July 14, 2011, 01:03:19 PM
 #66

You can log to a file with the curses output. Just redirect stderr to a file.
./cgminer blah 2>mylogfile.txt

cgminer detects if stderr is going to a file or just the console and decides on whether to log to it or not.

Crashes are part of the game early on in code, and hopefully I can close in on all of them.

More code to come shortly (most in git tree already)...

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
simplecoin
Sr. Member
****
Offline Offline

Activity: 406



View Profile WWW
July 14, 2011, 02:35:45 PM
 #67

Trying to install on Natty 64bit.

I can build both tarball and git versions, but neither works.

The 1.2.4 tarball just says: Segmentation fault
The git repo says: 2 GPUs Detected. Then back to shell

trying against 2.4sdk, 11.6 catalyst. Dual 5830s.

I have no problems running hashkill, phoenix or poclbm on this box.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
KJaneway
Full Member
***
Offline Offline

Activity: 158


View Profile
July 14, 2011, 02:36:37 PM
 #68

Make install doesn't work, sorry. Just make it in its own directory and run it from there. Make sure to do ./configure again after you install any new libraries etc.


I don't know exactly why, but that made it. I re- ./configured and "make"ed again and now it works.

Thanks fot the help. Now i will do a bit of testing and optimizing to look what the miner can do in comparison to phoenix. But what is weird: the CPU usage of my triple Core CPU is about 30% on each core. While using 4 Instances of Phoenix, i used only 3 to 4 % of each core. So the XPU usage is quite higher with the cgminer. Any theories on that?


EDIT:
==> SOLVED:I forgot the -n flag. Now the CPU usage is around 2% for each core.


If you like my advise, i would be thankful getting a small donation at:
1Hvpgt5U6EgrWX1WpA25W6mRoH1Ltr8ydm
KJaneway
Full Member
***
Offline Offline

Activity: 158


View Profile
July 14, 2011, 02:37:22 PM
 #69

Trying to install on Natty 64bit.

I can build both tarball and git versions, but neither works.

The 1.2.4 tarball just says: Segmentation fault
The git repo says: 2 GPUs Detected. Then back to shell

trying against 2.4sdk, 11.6 catalyst. Dual 5830s.

I have no problems running hashkill, phoenix or poclbm on this box.

what exactly have you done? I had also issues on 64 bit natty, but now it works....

If you like my advise, i would be thankful getting a small donation at:
1Hvpgt5U6EgrWX1WpA25W6mRoH1Ltr8ydm
simplecoin
Sr. Member
****
Offline Offline

Activity: 406



View Profile WWW
July 14, 2011, 03:01:06 PM
 #70

Ah, it works if I leave off -n. But I can only run 1 instance in linux, 2 doesn't seem to work.

Without -n I'm about 7-8 mhash behind hashkill on my dedicated miner and 20-25 on my workstation

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
dikidera
Full Member
***
Offline Offline

Activity: 126


View Profile
July 14, 2011, 03:21:16 PM
 #71

No, this is what the curses UI looks like

-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
July 14, 2011, 03:30:52 PM
 #72

New release version.

Source only at the moment:
http://ck.kolivas.org/apps/cgminer-1.2.5.tar.bz2

New features:
- I removed the -n option being no dynamic and left it how it was as number of devices
- Setting an intensity now of any value automatically disables the dynamic feature. It was basically completely overrided if dynamic was enabled, so these are now mutually exclusive features.
- I've added signal handling to try and clean up at the end and return the shell/console neatly if you press ctrl-c. I believe you need to use ctrl-break on windows still (when the binary comes out).
- There is a new option:
 --text-only|-T      Disable ncurses formatted screen output
- I've made it so that the watchdog thread only restarts threads if they're inactive in the setting of normal network conditions and will not try to restart them if the network connectivity is down.
- cgminer now tests on startup that it can connect at least once with the url and credentials to not try and reconnect indefinitely.
- There is no "fake work" at startup now with one hard lot of work handed to the gpu mining thread which should prevent the false positive hardware errors reported.
- CPU mining has been fixed, it was not resetting back properly on getting a new work item.
- The status window in curses mode will update more reliably and do less work now.
- Modifications to build on mingw32 for windows and now to build on osx courtesy of Ycros
- A status summary is now printed on exiting cgminer. It looks like this:

---
Summary of runtime statistics:

Started at [2011-07-15 01:05:28]
Runtime: 0 hrs : 12 mins : 13 secs
Average hashrate: 178.4 Megahash/s
Queued work requests: 33
Share submissions: 28
Accepted shares: 24
Rejected shares: 4
Reject ratio: 14.3
Hardware errors: 0
Efficiency (accepted / queued): 73%
Utility (accepted shares / min): 1.97/min

Discarded work due to new blocks: 4
Stale submissions discarded due to new blocks: 0
Unable to get work from server occasions: 0
Work items generated locally: 0
Submitting work remotely delay occasions: 0
New blocks detected on network: 2

Summary of per device statistics:

 GPU 0: [178.4 Mh/s] [Q:33  A:24  R:4  HW:0  E:73%  U:2.04/m]


... I think I need a little break now

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
indio007
Full Member
***
Offline Offline

Activity: 210


View Profile
July 14, 2011, 03:55:53 PM
 #73

I'm disappointed to report,losing like 20mh on 6850. Maybe CGMINER is not configured optimally? This is what i'm using as of the moment. -w 256 -g 7 --intensity 9
OCedHrt
Member
**
Offline Offline

Activity: 98


View Profile
July 14, 2011, 03:59:06 PM
 #74

I'm disappointed to report,20mh on 6850. Maybe CGMINER is not configured optimally? This is what i'm using as of the moment. -w 256 -g 7 --intensity 9

Try -v 2 as well. Since it may pick v 4. But you really should be on -w 128 for a 6850 I think. I lose 5mh/s going from 128 to 256 on a 6870.
burp
Member
**
Offline Offline

Activity: 98


View Profile
July 14, 2011, 06:14:53 PM
 #75

This is just a reminder Wink

Hello,

It appears that you use post instead of get when doing Long Polling. That is contradictory to the unofficial spec and really annoying when trying to debug software LP failures.

See https://deepbit.net/longpolling.php

-C00w

That's good to know, thanks. I didn't implement any of the original communications parts that cgminer grew out of, so I had no idea. I'll look into correcting that.
Shevek
Sr. Member
****
Offline Offline

Activity: 252



View Profile
July 14, 2011, 07:35:26 PM
 #76

... I think I need a little break now

Sure! Thanks for your effort.

But still it produces a lot of rejections...  Cry

Proposals for improving bitcoin are like asses: everybody has one
1SheveKuPHpzpLqSvPSavik9wnC51voBa
Paul4games
Jr. Member
*
Offline Offline

Activity: 46


View Profile
July 14, 2011, 08:11:18 PM
 #77

ckolivas when you get some time please post an windows compiled version too as i don't have mingw on this computer and because of some problems i can't install it now.
dikidera
Full Member
***
Offline Offline

Activity: 126


View Profile
July 14, 2011, 09:03:58 PM
 #78

I noticed a bug in the CPU miner which was not in the previous versions. If i set the scantime to very high(above 60) eventually the cpu miner runs out of nonces and shit start to happen.
PcChip
Sr. Member
****
Offline Offline

Activity: 294



View Profile
July 14, 2011, 09:10:34 PM
 #79

I noticed a bug in the CPU miner which was not in the previous versions. If i set the scantime to very high(above 60) eventually the cpu miner runs out of nonces and shit start to happen.

Is that a technical term?

All rates with Phoenix 1.50 / PhatK
------------------------------------------------------------------------------------------------------------------------------
5850 - 400 MH/s  |  5850 - 355 MH/s | 5830 - 310 MH/s  |  GTX570 - 115 MH/s | 5770 - 210 MH/s | 5770 - 200 MH/s
dikidera
Full Member
***
Offline Offline

Activity: 126


View Profile
July 14, 2011, 09:24:18 PM
 #80

I noticed a bug in the CPU miner which was not in the previous versions. If i set the scantime to very high(above 60) eventually the cpu miner runs out of nonces and shit start to happen.

Is that a technical term?
Which exactly?
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 ... 830 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!