Bitcoin Forum
December 03, 2016, 11:47:22 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   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 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4815076 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.
ancow
Sr. Member
****
Offline Offline

Activity: 373


View Profile WWW
July 13, 2011, 09:14:38 PM
 #41

I installed the opencl-headers package from debian on my ubuntu... Now the configure process works. But i am not able to "make" the installation.

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$


For future reference, if you prefix a "LANG=C" to commands, their output will usually be in English:
Code:
LANG=C make
That way, people who don't speak German will be more likely to be able to help you.

BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480765642
Hero Member
*
Offline Offline

Posts: 1480765642

View Profile Personal Message (Offline)

Ignore
1480765642
Reply with quote  #2

1480765642
Report to moderator
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
July 13, 2011, 10:07:12 PM
 #42

I was giving this a test run today and coincidentally had a complete internet connectivity failure for 3-4 hours due to problems with my ISP.   Because the ISP problem was long, I would expect that there were not only network connectivity problems but that also at some point DNS requests started failing as well because the cache expired and it couldn't do new lookups.  Obviously, during the Internet downtime, the miner wasn't working, but after the ISP problems resolved themselves, cgminer did not recover.  I had to kill it and start it again for it to start working.  I didn't think to copy the then-current screen output, but I do remember that the screen was filled with messages about the miner being idle for more than 60 seconds (that was recently added to address OpenCL or the GPU breaking).   

In contrast, the one machine that I was still running poclbm on recovered as soon as the Internet connection was back up.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
July 13, 2011, 11:26:07 PM
 #43

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

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

Activity: 1988


Ruu \o/


View Profile WWW
July 13, 2011, 11:28:20 PM
 #44

I was giving this a test run today and coincidentally had a complete internet connectivity failure for 3-4 hours due to problems with my ISP.   Because the ISP problem was long, I would expect that there were not only network connectivity problems but that also at some point DNS requests started failing as well because the cache expired and it couldn't do new lookups.  Obviously, during the Internet downtime, the miner wasn't working, but after the ISP problems resolved themselves, cgminer did not recover.  I had to kill it and start it again for it to start working.  I didn't think to copy the then-current screen output, but I do remember that the screen was filled with messages about the miner being idle for more than 60 seconds (that was recently added to address OpenCL or the GPU breaking).   

In contrast, the one machine that I was still running poclbm on recovered as soon as the Internet connection was back up.
Thanks. I was very aggressive with trying to make the idle threads restart and made it do it indiscriminately. I'll add some more logic to know that it's just the network down in the future and not restart the threads from scratch.

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

Activity: 158


View Profile
July 14, 2011, 12:44:36 AM
 #45

sudo apt-get install libncurses-dev give the following result:


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, the package is already installed. Other suggestions?

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

Activity: 737



View Profile
July 14, 2011, 12:46:10 AM
 #46

I was giving this a test run today and coincidentally had a complete internet connectivity failure for 3-4 hours due to problems with my ISP.   Because the ISP problem was long, I would expect that there were not only network connectivity problems but that also at some point DNS requests started failing as well because the cache expired and it couldn't do new lookups.  Obviously, during the Internet downtime, the miner wasn't working, but after the ISP problems resolved themselves, cgminer did not recover.  I had to kill it and start it again for it to start working.  I didn't think to copy the then-current screen output, but I do remember that the screen was filled with messages about the miner being idle for more than 60 seconds (that was recently added to address OpenCL or the GPU breaking).   

In contrast, the one machine that I was still running poclbm on recovered as soon as the Internet connection was back up.
Thanks. I was very aggressive with trying to make the idle threads restart and made it do it indiscriminately. I'll add some more logic to know that it's just the network down in the future and not restart the threads from scratch.

I don't know if the idle threads restart was causing problems or not.  The biggest problem was that after the network came back, it didn't start doing getworks again to restart mining.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
ancow
Sr. Member
****
Offline Offline

Activity: 373


View Profile WWW
July 14, 2011, 01:06:04 AM
 #47

I don't know about GPU mining, but for CPU mining, the hardcoded 60s restart interval is definitely too strict. Maybe using scantime as the base for the restart interval might be a better idea? (Something like max{60s, scantime + 10s} seems like a decent idea to me, at least for CPUs.)

Also, I just noticed when enabling debug output, the values displayed for hashing speed seem somewhat unrealistic:
Code:
--------------------------------------------------------------------------------
 CPU 0: [0.6 Mh/s] [Q:1  A:0  R:0  HW:0  E:0%  U:0.00/m]
 CPU 1: [0.5 Mh/s] [Q:1  A:0  R:0  HW:0  E:0%  U:0.00/m]
--------------------------------------------------------------------------------

[2011-07-14 03:03:03] Long-polling activated for http://swepool.net:8337/LP
[2011-07-14 03:03:09] [(5s):0.0  (avg):0.0 Mh/s] [Q:2  A:0  R:0  HW:0  E:0%  U:0.00/m]
[2011-07-14 03:03:15] [(5s):0.0  (avg):0.0 Mh/s] [Q:2  A:0  R:0  HW:0  E:0%  U:0.00/m]
[2011-07-14 03:03:21] [(5s):0.0  (avg):0.0 Mh/s] [Q:2  A:0  R:0  HW:0  E:0%  U:0.00/m]
[2011-07-14 03:03:27] [(5s):0.0  (avg):0.0 Mh/s] [Q:2  A:0  R:0  HW:0  E:0%  U:0.00/m]
[2011-07-14 03:03:33] [(5s):0.0  (avg):0.0 Mh/s] [Q:2  A:0  R:0  HW:0  E:0%  U:0.00/m]
[2011-07-14 03:03:35] [thread 1: 16777216 hashes, 530737 khash/sec]
[2011-07-14 03:03:36] [thread 1: 524288 hashes, 609959 khash/sec]
[2011-07-14 03:03:37] [thread 1: 524288 hashes, 599290 khash/sec]
[2011-07-14 03:03:37] [thread 0: 16777216 hashes, 499222 khash/sec]
[2011-07-14 03:03:38] [thread 1: 524288 hashes, 538693 khash/sec]
[2011-07-14 03:03:38] [thread 0: 493448 hashes, 404442 khash/sec]
[2011-07-14 03:03:39] [thread 1: 524288 hashes, 475726 khash/sec]
[2011-07-14 03:03:39] [(5s):3.4  (avg):1.0 Mh/s] [Q:2  A:0  R:0  HW:0  E:0%  U:0.00/m]
[2011-07-14 03:03:39] [thread 0: 493448 hashes, 570370 khash/sec]
[2011-07-14 03:03:40] [thread 1: 524288 hashes, 594254 khash/sec]
[2011-07-14 03:03:40] [thread 0: 493448 hashes, 713252 khash/sec]
[2011-07-14 03:03:41] [thread 0: 493448 hashes, 693377 khash/sec]
[2011-07-14 03:03:41] [thread 1: 524288 hashes, 481640 khash/sec]
[2011-07-14 03:03:41] [thread 0: 493448 hashes, 591000 khash/sec]
(also, note the time values - they seem a *little* suspicious...)

BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
July 14, 2011, 01:36:37 AM
 #48

There's something wrong with the increment of work in the cpu miner thread. Working on it...

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

Activity: 116



View Profile
July 14, 2011, 02:07:02 AM
 #49

This program just does not work for me under Windows, Windows error each and every time

PcChip
Sr. Member
****
Offline Offline

Activity: 294



View Profile
July 14, 2011, 03:06:07 AM
 #50

I love the robustness of it, and the many options to configure.  However, coming from Phoenix/phatk, I have a few questions:

1.) I see there are two kernel cl files, how do we go about selecting which gets used?  How do we add different ones to use?

2.) On my dedicated 5850 mining box, phoenix 1.50/phatk gets 400 MH/s,  I'm trying to match that with cgminer.  So far, by using the -n option and the -I 8 option, I've gotten it up to 395 MH/s, how do I make up the extra 5 MH/s difference?

Thanks for your hard work, this miner is really a big step forward compared to phoenix  Grin

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
bmgjet
Member
**
Offline Offline

Activity: 98


View Profile
July 14, 2011, 03:25:19 AM
 #51

Nice,Think I found my new default miner Wink

First try letting it use all default settings it would only get 209 mhash/s

Then using -n -w 128 -I 9 options got it up to 263 mhash/s
Then replacing poclbm and phatk110711 with the modded phatk brang the speed back up to where phoenix was with spikes going 2mhash/s faster.

Donations to: 1BMGjetfht9XLkGBYR4TSsuXjrYEKACcow
1stbits: 1bmgjet
300MHash/s 6850 http://www.techpowerup.com/gpuz/5u6wr/
Overclocked for 6 years and still strong http://valid.canardpc.com/show_oc.php?id=1931458 & http://valid.canardpc.com/show_oc.php?id=285337
Un zafado cualquiera
Full Member
***
Offline Offline

Activity: 159


aquí dice algo personal.


View Profile
July 14, 2011, 03:47:36 AM
 #52

Hi again.

I was try to use it on my netbook and found it depends on OpenCL. Is possible to override that need? I really want to use it because there is no good miners on CPU instead of ufasoft miner and by now is impossible to use it on Tycho's pool. I ask because I don't know who is invovled on the windows port.
PcChip
Sr. Member
****
Offline Offline

Activity: 294



View Profile
July 14, 2011, 04:17:58 AM
 #53

Hi again.

I was try to use it on my netbook and found it depends on OpenCL. Is possible to override that need? I really want to use it because there is no good miners on CPU instead of ufasoft miner and by now is impossible to use it on Tycho's pool. I ask because I don't know who is invovled on the windows port.

If it's not possible, I would suggest UFASoft's miner on BTCGuild or Slush's pool.  Only if you're not paying for electricity, that is.

Also, what compels you to mine on a netbook?  You can't be getting more than 4-5 MH/s out of it....

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
Un zafado cualquiera
Full Member
***
Offline Offline

Activity: 159


aquí dice algo personal.


View Profile
July 14, 2011, 04:36:50 AM
 #54

Hi again.

I was try to use it on my netbook and found it depends on OpenCL. Is possible to override that need? I really want to use it because there is no good miners on CPU instead of ufasoft miner and by now is impossible to use it on Tycho's pool. I ask because I don't know who is invovled on the windows port.

If it's not possible, I would suggest UFASoft's miner on BTCGuild or Slush's pool.  Only if you're not paying for electricity, that is.

Also, what compels you to mine on a netbook?  You can't be getting more than 4-5 MH/s out of it....

I really don't care so much about electricity. BTW is becuse I hve multiple machine set on different places and collect all for make some BTC.
Diapolo
Hero Member
*****
Offline Offline

Activity: 769



View Profile WWW
July 14, 2011, 05:25:55 AM
 #55

Nice,Think I found my new default miner Wink

First try letting it use all default settings it would only get 209 mhash/s

Then using -n -w 128 -I 9 options got it up to 263 mhash/s
Then replacing poclbm and phatk110711 with the modded phatk brang the speed back up to where phoenix was with spikes going 2mhash/s faster.

Hi, the phatk110711.cl is basicly my version (see: http://forum.bitcoin.org/index.php?topic=25860) with some mods to make it work with cgminer + added support for 4-component vectors, which was both added by ckolivas.

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
July 14, 2011, 05:30:55 AM
 #56

Nice,Think I found my new default miner Wink

First try letting it use all default settings it would only get 209 mhash/s

Then using -n -w 128 -I 9 options got it up to 263 mhash/s
Then replacing poclbm and phatk110711 with the modded phatk brang the speed back up to where phoenix was with spikes going 2mhash/s faster.
You cannot replace the kernels in cgminer with other kernels. They are incompatible. You will get mostly rejects and errors if you do that. The cgminer included kernel is the most advanced available phatk kernel at the moment anyway.

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

Activity: 378



View Profile WWW
July 14, 2011, 08:11:04 AM
 #57

Question about the GPU computing source code:  What method is being used to move data between the CPU and the GPU?  If using a caching method, you've created a slight bottleneck.  Since the GPU memory is non-cachable, using a caching method will cause a major slowdown.  Granted, I'm not awfully familiar with GPU computing code, it is certainly something to keep in mind.

Funroll_Loops, the theoretically quicker breakfast cereal!
Check out http://www.facebook.com/JupiterICT for all of your computing needs.  If you need it, we can get it.  We have solutions for your computing conundrums.  BTC accepted!  12HWUSguWXRCQKfkPeJygVR1ex5wbg3hAq
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
July 14, 2011, 08:15:18 AM
 #58

Question about the GPU computing source code:  What method is being used to move data between the CPU and the GPU?  If using a caching method, you've created a slight bottleneck.  Since the GPU memory is non-cachable, using a caching method will cause a major slowdown.  Granted, I'm not awfully familiar with GPU computing code, it is certainly something to keep in mind.
Hardly any data is actually moved between the gpu and the cpu. It would be extremely unlikely to be creating a bottleneck.

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

Activity: 769



View Profile WWW
July 14, 2011, 08:53:10 AM
 #59

Question about the GPU computing source code:  What method is being used to move data between the CPU and the GPU?  If using a caching method, you've created a slight bottleneck.  Since the GPU memory is non-cachable, using a caching method will cause a major slowdown.  Granted, I'm not awfully familiar with GPU computing code, it is certainly something to keep in mind.
Hardly any data is actually moved between the gpu and the cpu. It would be extremely unlikely to be creating a bottleneck.

Think so too, the only bottleneck performance wise will be how fast or how much ALU OPs a certain GPU can handle Smiley.

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
Paul4games
Jr. Member
*
Offline Offline

Activity: 46


View Profile
July 14, 2011, 09:15:40 AM
 #60

Every time i try to run it on my pc(under windows XP SP3 x32) i just get the following error:
http://img195.imageshack.us/img195/1565/screenshot0dq.png
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 ... 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!