Everything is working now. Seems like I should wait for 10 minutes after start, then it starts working.
btw where I can find shaders count table? I need to specify shaders count on my nvidia 8500 gt
Hello,
I have probably a very similar problem. My cgminer does not move forward from the phase of kernel compilation. The same problem actually occurs with reaper miner as well. There is no point in waiting, as I waited usually about one hour or more and it did not help.
I use gentoo linux distribution. I have never managed to run cgminer without faults, when I try to mine bitcoin it crashes. Therefore, for bitcoin I use rather phoenix miner (and stratum proxy), it works very well.
My card is Radeon HD 5850. I use ati-drivers/catalyst 12.8. I have jansson-2.3.1 installed.
I compiled cgminer from sources using following configuration:
CFLAGS="-O2 -Wall -march=native" ./configure --enable-scrypt --without-libudev --without-curses
nevertheless it did not work even when --enable-scrypt was the only option.
cgminer output:
~/scripts $ ./cgminer-2.11.3/cgminer --scrypt -o stratum+tcp://notroll.in:3333 -u USER -p PASS --thread-concurrency 5600 -I 18 -g 1 -w 256 -d 0 --verbose -D
[2013-04-03 23:19:29] Started cgminer 2.11.3
[2013-04-03 23:19:29] CL Platform 0 vendor: Advanced Micro Devices, Inc.
[2013-04-03 23:19:29] CL Platform 0 name: ATI Stream
[2013-04-03 23:19:29] CL Platform 0 version: OpenCL 1.1 ATI-Stream-v2.3 (451)
[2013-04-03 23:19:29] Platform 0 devices: 1
[2013-04-03 23:19:29] 0 Cypress
[2013-04-03 23:19:29] CL Platform 1 vendor: Intel(R) Corporation
[2013-04-03 23:19:29] CL Platform 1 name: Intel(R) OpenCL
[2013-04-03 23:19:29] CL Platform 1 version: OpenCL 1.1 LINUX
[2013-04-03 23:19:29] Error -1: Getting Device IDs (num)
[2013-04-03 23:19:29] CL Platform 2 vendor: Advanced Micro Devices, Inc.
[2013-04-03 23:19:29] CL Platform 2 name: AMD Accelerated Parallel Processing
[2013-04-03 23:19:29] CL Platform 2 version: OpenCL 1.2 AMD-APP (938.2)
[2013-04-03 23:19:29] Platform 2 devices: 1
[2013-04-03 23:19:29] 0 Cypress
[2013-04-03 23:19:29] GPU 0 iAdapterIndex 0 strUDID 256:26777:4098:57670:5963 iBusNumber 1 iDeviceNumber 0 iFunctionNumber 0 iVendorID 4098 strAdapterName ATI Radeon HD 5800 Series
[2013-04-03 23:19:29] GPU 0 ATI Radeon HD 5800 Series hardware monitoring enabled
[2013-04-03 23:19:29] Probing for an alive pool
[2013-04-03 23:19:29] Testing pool stratum+tcp://notroll.in:3333
[2013-04-03 23:19:29] Popping work to stage thread
[2013-04-03 23:19:29] JSON-RPC decode failed: [
20,
"_stratum_mining_subscribe() takes 1 positional argument but 2 were given",
"Traceback (most recent call last):\n File \"/root/eloipool/stratumserver.py\", line 91, in found_terminator\n rv = getattr(self, funcname)(*rpc['params'])\nTypeError: _stratum_mining_subscribe() takes 1 positional argument but 2 were given\n"
]
[2013-04-03 23:19:29] Failed to resume stratum, trying afresh
[2013-04-03 23:19:30] Pool 0 stratum session id: 50a698a1d57f00001
[2013-04-03 23:19:30] Pool 0 difficulty set to 32.000427
[2013-04-03 23:19:30] Stratum authorisation success for pool 0
[2013-04-03 23:19:30] Pool 0 stratum+tcp://notroll.in:3333 alive
[2013-04-03 23:19:30] Pushing ping to thread 0
[2013-04-03 23:19:30] Init GPU thread 0 GPU 0 virtual GPU 0
[2013-04-03 23:19:30] CL Platform vendor: Advanced Micro Devices, Inc.
[2013-04-03 23:19:30] CL Platform name: ATI Stream
[2013-04-03 23:19:30] CL Platform version: OpenCL 1.1 ATI-Stream-v2.3 (451)
[2013-04-03 23:19:30] List of devices:
[2013-04-03 23:19:30] 0 Cypress
[2013-04-03 23:19:30] Selected 0: Cypress
[2013-04-03 23:19:31] Preferred vector width reported 4
[2013-04-03 23:19:31] Max work group size reported 256
[2013-04-03 23:19:31] Max mem alloc size is 268435456
[2013-04-03 23:19:31] Selecting scrypt kernel
[2013-04-03 23:19:31] GPU 0: selecting lookup gap of 2
[2013-04-03 23:19:31] No binary found, generating from source
[2013-04-03 23:19:31] Setting worksize to 256
[2013-04-03 23:19:31] cl_amd_media_ops found, setting BITALIGN
[2013-04-03 23:19:31] BFI_INT patch requiring device found, patched source with BFI_INT
[2013-04-03 23:19:31] CompilerOptions: -D LOOKUP_GAP=2 -D CONCURRENT_THREADS=5600 -D WORKSIZE=256 -D BITALIGN -D BFI_INT -D GOFFSET
[2013-04-03 23:27:07] Generated stratum merkle a64a33a97c83b39facc7aa0aa2f3cc9d13c149bc0d87f4a1824163702318d6fa
[2013-04-03 23:27:07] Generated stratum header 000000029b27a8cb316f5f81989b117936a8455660a07fc7f2ff4e5a01068d7900000000a64a33a97c83b39facc7aa0aa2f3cc9d13c149bc0d87f4a1824163702318d6fa515c9eb51c01abdd00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
[2013-04-03 23:27:07] Work job_id 1365024437 395 nonce2 00000000 ntime 515c9eb5
[2013-04-03 23:27:07] Generated target 000000000000000000000000000000000000000000000000000000f1ff070000
[2013-04-03 23:27:07] New block: 8d79f2ff4e5a60a0... diff 10M
[2013-04-03 23:27:07] Stratum from pool 0 detected new block
[2013-04-03 23:36:24] Generated stratum merkle a81ca9999e8ed3ccbf18987ffce115b789f0078a96e9274e1ca728a26f90b53c
[2013-04-03 23:36:24] Generated stratum header 00000002499f94ae906b3d2c5a20a929076392ecf113d28c1ddadaecb28d0717221956c8a81ca9999e8ed3ccbf18987ffce115b789f0078a96e9274e1ca728a26f90b53c515ca0e21c01abdd00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
[2013-04-03 23:36:24] Work job_id 1365024994 412 nonce2 00000000 ntime 515ca0e2
[2013-04-03 23:36:24] Generated target 000000000000000000000000000000000000000000000000000000f1ff070000
[2013-04-03 23:36:24] New block: 07171ddadaecf113... diff 10M
[2013-04-03 23:36:24] Stratum from pool 0 detected new block
[2013-04-03 23:38:16] Generated stratum merkle 7342d06abf317792d405cd02590faac36569933f149bd37a8d9c2a1842fcf031
[2013-04-03 23:38:16] Generated stratum header 00000002aea580b5cd81c644913690d5b6c6883893af3c2e891794a05ab20ee46c808b557342d06abf317792d405cd02590faac36569933f149bd37a8d9c2a1842fcf031515ca1521c01abdd00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
[2013-04-03 23:38:16] Work job_id 1365025106 416 nonce2 00000000 ntime 515ca152
[2013-04-03 23:38:16] Generated target 000000000000000000000000000000000000000000000000000000f1ff070000
[2013-04-03 23:38:16] New block: 0ee4891794a093af... diff 10M
............... long ...............
[2013-04-04 00:02:08] New block: f41f241b54fe04bc... diff 10M
[2013-04-04 00:02:08] Stratum from pool 0 detected new block
[2013-04-04 00:03:41] Generated stratum merkle 49baf97f455c726937779c2906db5bdf7bacae47bd826d80a37688f0cbb6bf43
[2013-04-04 00:03:41] Generated stratum header 00000002415056b3f51fe312c93b164b8d0336fcd6239c427bdd0fc4008cf9cc0000000049baf97f455c726937779c2906db5bdf7bacae47bd826d80a37688f0cbb6bf43515ca7471c01abdd00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
[2013-04-04 00:03:41] Work job_id 1365026631 463 nonce2 00000000 ntime 515ca747
[2013-04-04 00:03:41] Generated target 000000000000000000000000000000000000000000000000000000f1ff070000
[2013-04-04 00:03:41] Deleted block 6 from database
[2013-04-04 00:03:41] New block: f9cc7bdd0fc4d623... diff 10M
[2013-04-04 00:03:41] Stratum from pool 0 detected new block
^C
Compilation terminated.
I built reaper also from a source, following the readme file without having to face any problems.
Reaper (I gave kernel about 2 hours to compile) output:
reaper $ ./reaper
\|||||||||||||||||||||/
- Reaper v13 64-bit -
- BETA 4 -
- coded by mtrlt -
/|||||||||||||||||||||\
/----------------------------------------------\
| Please donate to support Reaper development! |
|----------------------------------------------|
| SLC: sdJMdNAEaJMVaxPFxaWibty9bec6Y4ubJK |
| BTC: 1DjMcD5oQUap7kXrwa9J8S5esMryUs777o |
| LTC: LZ5xurMLgdEzeuXuJvYB4DwyprCC1asfmp |
\----------------------------------------------/
I'm now mining litecoin!
Share thread started
... line repeats many times ...
Share thread started
List of platforms:
0 ATI Stream
1 Intel(R) OpenCL
2 AMD Accelerated Parallel Processing
Using platform number 0
Using device 0
0 Cypress
Compiling kernel... this could take up to 2 minutes.
^C
Compilation terminated.
cpu_mining_threads 0
aggression 10
worksize 64
platform 0
device 0
kernel reaper.cl
save_binaries yes
enable_graceful_shutdown no
long_polling yes
host ltc.kattare.com
port 9332
user USER
pass PASS
mine litecoin
host ltc.kattare.com
port 9332
user USER
pass PASS
protocol litecoin
worksize 256
aggression 10
threads_per_gpu 1
sharethreads 18
lookup_gap 2
gpu_thread_concurrency 5600
Given that there is a problem with both cgminer and reaper and this problem occurs at the same moment, my hypothesis is that it is rather a system issue than a miner issue.
Any ideas? Thanks.
EDIT: Solved by upgrading AMD-APP-SDK and ati-drivers to the latest version.