Pages:
Author

Topic: (OLD) BFGMiner: modular FPGA/GPU, GBT, Stratum, RPC, Avalon/Lnx/OpnWrt/PPA/W64 (Read 260035 times)

legendary
Activity: 2576
Merit: 1186
As of BFGMiner 3.0, we have a new forum thread.
MOD Note: For those who can't read: the above is a link.
legendary
Activity: 2576
Merit: 1186
What should I do, to make bfgminer from git working properly on my system? I prefere to use git version instead of Ubuntu Lucid version on Debian system. Please help  Smiley
Best bet is probably to bisect it.
I'm planning to release BFGMiner 3.0 tonight, so if you want this fixed in it, it may be best to get in touch on IRC.
.m.
sr. member
Activity: 280
Merit: 260
I had strange problem recently with two cards - I do not know which part helped :
patched old ati.12.4 driver for kernel 3.6
installed AMD_APP 2.8
installed "MATE Desktop"
aticonfig -f --adapters=all --initial
reboot
telinit 5

aticonfig --lsa
[test@localhost /]$ aticonfig --lsa
* 0. 01:00.0 AMD Radeon HD 7900 Series
  1. 02:00.0 AMD Radeon HD 7800 Series

* - Default adapter
[test@localhost /]$ aticonfig --adapter=0 --odgc

Adapter 0 - AMD Radeon HD 7900 Series
                            Core (MHz)    Memory (MHz)
           Current Clocks :    1150           1000
             Current Peak :    1150           1000
  Configurable Peak Range : [1150-1200]     [1000-1575]
                 GPU load :    99%
[test@localhost /]$ aticonfig --adapter=1 --odgc

Adapter 1 - AMD Radeon HD 7800 Series
                            Core (MHz)    Memory (MHz)
           Current Clocks :    1120           970
             Current Peak :    1120           970
  Configurable Peak Range : [1120-1050]     [970-1450]
                 GPU load :    99%

( I had error with adapter "1" before - see : https://bitcointalksearch.org/topic/m.1704657 )
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
Hey guys,
I am trying to make bfgminer from git working with my Cairnsmore1 boards with HashVoodoo bitstream.
Some details:
AMD A10 APU + ASRock FM2A75 Pro4
Code:
# uname -a
Linux amd-a10 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux
Code:
n# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.0 (wheezy)
Release:        7.0
Codename:       wheezy
Code:
# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 006: ID 0403:8350 Future Technology Devices International, Ltd
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 010 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 011 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 1ea7:0002
Code:
# ls /dev/ttyUSB*
/dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2  /dev/ttyUSB3
I tried to use latest bfgminer from git dated as below:
Code:
commit 7454181fcffdea59bb2cf6f32809df6c78bc47a5
Merge: f374013 d41b6b2
Author: Luke Dashjr
Date:   Thu Apr 4 00:42:38 2013 +0000
I successfully compiled it with default settings. When I am running bfgminer from command line, that's what I have:
Code:
./bfgminer -D -T
 [2013-04-05 14:30:05] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:30:05] ft232r_scan: Found 1d6b:0003 - not a ft232r
 [2013-04-05 14:30:05] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:30:05] ft232r_scan: Found 1d6b:0003 - not a ft232r
 [2013-04-05 14:30:05] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:30:05] ft232r_scan: Found 1d6b:0003 - not a ft232r
 [2013-04-05 14:30:05] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:30:05] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:30:05] ft232r_scan: Found 1d6b:0001 - not a ft232r
 [2013-04-05 14:30:05] ft232r_scan: Found 1d6b:0001 - not a ft232r
 [2013-04-05 14:30:05] ft232r_scan: Found 1d6b:0001 - not a ft232r
 [2013-04-05 14:30:05] ft232r_scan: Found 1ea7:0002 - not a ft232r
 [2013-04-05 14:30:05] ft232r_scan: Found 0403:8350 - not a ft232r
 [2013-04-05 14:30:05] Started bfgminer 2.99.1
 [2013-04-05 14:30:05] Loaded configuration file /root/.bfgminer/bfgminer.conf
 [2013-04-05 14:30:05] DISPLAY not set, setting :0 just in case
 [2013-04-05 14:30:05] Failed to load OpenCL library, no GPUs usable
 [2013-04-05 14:30:05] Icarus Detect: Attempting to open /dev/ttyUSB0
 [2013-04-05 14:30:05] Icarus Detect: Test succeeded at /dev/ttyUSB0: got 000187a2
 [2013-04-05 14:30:05] Found ECM 0 at /dev/ttyUSB0
 [2013-04-05 14:30:05] ECM 0: Init: baud=115200 work_division=2 fpga_count=2
 [2013-04-05 14:30:05] ECM 0: Init: mode=long read_count=50 Hs=2.448400e-09
 [2013-04-05 14:30:05] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:30:05] Not a ZTEX device 1d6b:0003
 [2013-04-05 14:30:05] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:30:05] Not a ZTEX device 1d6b:0003
 [2013-04-05 14:30:05] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:30:05] Not a ZTEX device 1d6b:0003
 [2013-04-05 14:30:05] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:30:05] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:30:05] Not a ZTEX device 1d6b:0001
 [2013-04-05 14:30:05] Not a ZTEX device 1d6b:0001
 [2013-04-05 14:30:05] Not a ZTEX device 1d6b:0001
 [2013-04-05 14:30:05] Not a ZTEX device 1ea7:0002
 [2013-04-05 14:30:05] Not a ZTEX device 0403:8350
 [2013-04-05 14:30:05] ECM 0 : Set temperature config: target=89 cutoff=95
 [2013-04-05 14:30:05] Probing for an alive pool
 [2013-04-05 14:30:05] Testing pool http://localhost:9332
 [2013-04-05 14:30:05] Popping work to stage thread
 [2013-04-05 14:30:05] JSON-RPC call failed: {
   "data": null,
   "code": -32601,
   "message": "Method not found"
}
 [2013-04-05 14:30:05] Failed to connect in json_rpc_call
 [2013-04-05 14:30:05] X-Roll-Ntime expiry set to 100
 [2013-04-05 14:30:05] Testing pool 0 stratum stratum+tcp://localhost:9332
 [2013-04-05 14:30:05] initiate_stratum with sockbuf=(nil)
 [2013-04-05 14:30:05] Failed to get sessionid in initiate_stratum
 [2013-04-05 14:30:05] Switching pool 0 http://localhost:9332 to stratum+tcp://localhost:9332
 [2013-04-05 14:30:05] Pool 0 stratum bdifficulty set to 9.042282
Only one FPGA chip is detected (200MH/s) instead of 4 chips 4x200MH/s.
When I manually add devices to bfgminer like this:
Code:
r# bfgminer -D -T -S /dev/ttyUSB0 -S /dev/ttyUSB1 -S /dev/ttyUSB2 -S /dev/ttyUSB3
 [2013-04-05 14:37:52] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:37:52] ft232r_scan: Found 1d6b:0003 - not a ft232r
 [2013-04-05 14:37:52] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:37:52] ft232r_scan: Found 1d6b:0003 - not a ft232r
 [2013-04-05 14:37:52] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:37:52] ft232r_scan: Found 0403:8350 - not a ft232r
 [2013-04-05 14:37:52] ft232r_scan: Found 1d6b:0003 - not a ft232r
 [2013-04-05 14:37:52] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:37:52] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:37:52] ft232r_scan: Found 1d6b:0001 - not a ft232r
 [2013-04-05 14:37:52] ft232r_scan: Found 1d6b:0001 - not a ft232r
 [2013-04-05 14:37:52] ft232r_scan: Found 1d6b:0001 - not a ft232r
 [2013-04-05 14:37:52] ft232r_scan: Found 1ea7:0002 - not a ft232r
 [2013-04-05 14:37:52] Started bfgminer 2.99.1
 [2013-04-05 14:37:52] Loaded configuration file /root/.bfgminer/bfgminer.conf
 [2013-04-05 14:37:52] DISPLAY not set, setting :0 just in case
 [2013-04-05 14:37:52] Failed to load OpenCL library, no GPUs usable
 [2013-04-05 14:37:52] Icarus Detect: Attempting to open /dev/ttyUSB0
 [2013-04-05 14:37:52] Icarus Detect: Test succeeded at /dev/ttyUSB0: got 000187a2
 [2013-04-05 14:37:52] Found ECM 0 at /dev/ttyUSB0
 [2013-04-05 14:37:52] ECM 0: Init: baud=115200 work_division=2 fpga_count=2
 [2013-04-05 14:37:52] ECM 0: Init: mode=long read_count=50 Hs=2.448400e-09
 [2013-04-05 14:37:52] /dev/ttyUSB0 is already claimed... skipping probes
 [2013-04-05 14:37:52] Icarus Detect: Attempting to open /dev/ttyUSB1
 [2013-04-05 14:37:52] Icarus Detect: Test succeeded at /dev/ttyUSB1: got 000187a2
 [2013-04-05 14:37:52] Found ICA 0 at /dev/ttyUSB1
 [2013-04-05 14:37:52] ICA 0: Init: baud=115200 work_division=2 fpga_count=2
 [2013-04-05 14:37:52] ICA 0: Init: mode=default read_count=50 Hs=2.640830e-09
 [2013-04-05 14:37:52] Icarus Detect: Attempting to open /dev/ttyUSB2
 [2013-04-05 14:37:52] Icarus Detect: Test succeeded at /dev/ttyUSB2: got 000187a2
 [2013-04-05 14:37:52] Found ICA 1 at /dev/ttyUSB2
 [2013-04-05 14:37:52] ICA 1: Init: baud=115200 work_division=2 fpga_count=2
 [2013-04-05 14:37:52] ICA 1: Init: mode=default read_count=50 Hs=2.640830e-09
 [2013-04-05 14:37:52] Icarus Detect: Attempting to open /dev/ttyUSB3
 [2013-04-05 14:37:52] Icarus Detect: Test succeeded at /dev/ttyUSB3: got 000187a2
 [2013-04-05 14:37:52] Found ICA 2 at /dev/ttyUSB3
 [2013-04-05 14:37:52] ICA 2: Init: baud=115200 work_division=2 fpga_count=2
 [2013-04-05 14:37:52] ICA 2: Init: mode=default read_count=50 Hs=2.640830e-09
 [2013-04-05 14:37:52] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:37:52] Not a ZTEX device 1d6b:0003
 [2013-04-05 14:37:52] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:37:52] Not a ZTEX device 1d6b:0003
 [2013-04-05 14:37:52] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:37:52] Not a ZTEX device 0403:8350
 [2013-04-05 14:37:52] Not a ZTEX device 1d6b:0003
 [2013-04-05 14:37:52] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:37:52] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:37:52] Not a ZTEX device 1d6b:0001
 [2013-04-05 14:37:52] Not a ZTEX device 1d6b:0001
 [2013-04-05 14:37:52] Not a ZTEX device 1d6b:0001
 [2013-04-05 14:37:52] Not a ZTEX device 1ea7:0002
 [2013-04-05 14:37:52] ECM 0 : Set temperature config: target=89 cutoff=95
 [2013-04-05 14:37:52] ICA 0 : Set temperature config: target=89 cutoff=95
 [2013-04-05 14:37:52] ICA 1 : Set temperature config: target=89 cutoff=95
 [2013-04-05 14:37:52] ICA 2 : Set temperature config: target=89 cutoff=95
 [2013-04-05 14:37:52] Probing for an alive pool
 [2013-04-05 14:37:52] Testing pool http://localhost:9332
 [2013-04-05 14:37:52] Popping work to stage thread
 [2013-04-05 14:37:52] JSON-RPC call failed: {
   "data": null,
   "code": -32601,
   "message": "Method not found"
}
 [2013-04-05 14:37:52] Failed to connect in json_rpc_call
 [2013-04-05 14:37:52] X-Roll-Ntime expiry set to 100
 [2013-04-05 14:37:52] Testing pool 0 stratum stratum+tcp://localhost:9332
 [2013-04-05 14:37:52] initiate_stratum with sockbuf=(nil)
 [2013-04-05 14:37:52] Failed to get sessionid in initiate_stratum
 [2013-04-05 14:37:52] Switching pool 0 http://localhost:9332 to stratum+tcp://localhost:9332
I have one ECM 0 detected properly with dynamic hashrate and 3x ICA with default 150MH/s speed, no dynamic frequency scaling Sad

However, I was digging further and discovered, that Ubuntu Lucid Lynx AMD64 binary (bfgminer_2.10.5-0lucid1_amd64.deb) is working fine on my system:
Code:
# /usr/bin/bfgminer --version
bfgminer 2.10.5
Code:
# /usr/bin/bfgminer -D -T
 [2013-04-05 14:41:21] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:41:21] ft232r_scan: Found 1d6b:0003 - not a ft232r
 [2013-04-05 14:41:21] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:41:21] ft232r_scan: Found 1d6b:0003 - not a ft232r
 [2013-04-05 14:41:21] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:41:21] ft232r_scan: Found 0403:8350 - not a ft232r
 [2013-04-05 14:41:21] ft232r_scan: Found 1d6b:0003 - not a ft232r
 [2013-04-05 14:41:21] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:41:21] ft232r_scan: Found 1d6b:0002 - not a ft232r
 [2013-04-05 14:41:21] ft232r_scan: Found 1d6b:0001 - not a ft232r
 [2013-04-05 14:41:21] ft232r_scan: Found 1d6b:0001 - not a ft232r
 [2013-04-05 14:41:21] ft232r_scan: Found 1d6b:0001 - not a ft232r
 [2013-04-05 14:41:21] ft232r_scan: Found 1ea7:0002 - not a ft232r
 [2013-04-05 14:41:21] Started bfgminer 2.10.5
 [2013-04-05 14:41:21] Loaded configuration file /root/.bfgminer/bfgminer.conf
 [2013-04-05 14:41:21] DISPLAY not set, setting :0 just in case
 [2013-04-05 14:41:21] Failed to load OpenCL library, no GPUs usable
 [2013-04-05 14:41:21] Icarus Detect: Attempting to open /dev/ttyUSB0
 [2013-04-05 14:41:21] Icarus Detect: Test succeeded at /dev/ttyUSB0: got 000187a2
 [2013-04-05 14:41:21] Found ECM 0 at /dev/ttyUSB0
 [2013-04-05 14:41:21] ECM 0: Init: baud=115200 work_division=2 fpga_count=2
 [2013-04-05 14:41:21] ECM 0: Init: mode=long read_count=50 Hs=2.448400e-09
 [2013-04-05 14:41:21] Icarus Detect: Attempting to open /dev/ttyUSB1
 [2013-04-05 14:41:21] Icarus Detect: Test succeeded at /dev/ttyUSB1: got 000187a2
 [2013-04-05 14:41:21] Found ECM 1 at /dev/ttyUSB1
 [2013-04-05 14:41:21] ECM 1: Init: baud=115200 work_division=2 fpga_count=2
 [2013-04-05 14:41:21] ECM 1: Init: mode=long read_count=50 Hs=2.448400e-09
 [2013-04-05 14:41:21] Icarus Detect: Attempting to open /dev/ttyUSB2
 [2013-04-05 14:41:21] Icarus Detect: Test succeeded at /dev/ttyUSB2: got 000187a2
 [2013-04-05 14:41:21] Found ECM 2 at /dev/ttyUSB2
 [2013-04-05 14:41:21] ECM 2: Init: baud=115200 work_division=2 fpga_count=2
 [2013-04-05 14:41:21] ECM 2: Init: mode=long read_count=50 Hs=2.448400e-09
 [2013-04-05 14:41:21] Icarus Detect: Attempting to open /dev/ttyUSB3
 [2013-04-05 14:41:21] Icarus Detect: Test succeeded at /dev/ttyUSB3: got 000187a2
 [2013-04-05 14:41:21] Found ECM 3 at /dev/ttyUSB3
 [2013-04-05 14:41:21] ECM 3: Init: baud=115200 work_division=2 fpga_count=2
 [2013-04-05 14:41:21] ECM 3: Init: mode=long read_count=50 Hs=2.448400e-09
 [2013-04-05 14:41:22] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:41:22] Not a ZTEX device 1d6b:0003
 [2013-04-05 14:41:22] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:41:22] Not a ZTEX device 1d6b:0003
 [2013-04-05 14:41:22] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:41:22] Not a ZTEX device 0403:8350
 [2013-04-05 14:41:22] Not a ZTEX device 1d6b:0003
 [2013-04-05 14:41:22] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:41:22] Not a ZTEX device 1d6b:0002
 [2013-04-05 14:41:22] Not a ZTEX device 1d6b:0001
 [2013-04-05 14:41:22] Not a ZTEX device 1d6b:0001
 [2013-04-05 14:41:22] Not a ZTEX device 1d6b:0001
 [2013-04-05 14:41:22] Not a ZTEX device 1ea7:0002
 [2013-04-05 14:41:22] ECM 0: Set temperature config: target=89 cutoff=95
 [2013-04-05 14:41:22] ECM 1: Set temperature config: target=89 cutoff=95
 [2013-04-05 14:41:22] ECM 2: Set temperature config: target=89 cutoff=95
 [2013-04-05 14:41:22] ECM 3: Set temperature config: target=89 cutoff=95
 [2013-04-05 14:41:22] Probing for an alive pool
 [2013-04-05 14:41:22] Popping work to stage thread
 [2013-04-05 14:41:22] Testing pool http://localhost:9332
 [2013-04-05 14:41:22] JSON-RPC call failed: {
   "data": null,
   "code": -32601,
   "message": "Method not found"
}
 [2013-04-05 14:41:22] Failed to connect in json_rpc_call
 [2013-04-05 14:41:22] X-Roll-Ntime expiry set to 100
 [2013-04-05 14:41:22] Testing pool 0 stratum stratum+tcp://localhost:9332
 [2013-04-05 14:41:22] initiate_stratum with sockbuf=(nil)
 [2013-04-05 14:41:22] Switching pool 0 http://localhost:9332 to stratum+tcp://localhost:9332
As you can see, on this binary 4 chips ECM has been detected and they working absolutely fine, mining nicely:
Code:
bfgminer version 2.10.5 - Started: [2013-04-05 14:52:17] - [  0 days 00:00:12]
--------------------------------------------------------------------------------
 5s:1.204 avg:1.071 u:0.000 Gh/s | A:0 R:0 S:0 HW:0 U:0.0/m
 ST: 1  DW: 1  GW: 2  LW: 24  GF: 0  NB: 1  AS: 0  RF: 0  E: 0.00
 Connected to localhost diff 8 with stratum as user AMD-A10-bfgminer-HashVoodoo
 Block: ...c4d9b31d #229801  Diff:6.7M  Started: [14:52:17]  Best share: 1
--------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 ECM 0:                | 258.5/404.6/  0.0Mh/s | A:0 R:0 HW:0 U:0.00/m
 ECM 1:                | 258.3/404.7/  0.0Mh/s | A:0 R:0 HW:0 U:0.00/m
 ECM 2:                | 163.0/202.3/  0.0Mh/s | A:0 R:0 HW:0 U:0.00/m
 ECM 3:                | 132.0/261.8/  0.0Mh/s | A:0 R:0 HW:0 U:0.00/m
--------------------------------------------------------------------------------

 [2013-04-05 14:52:17] Probing for an alive pool
 [2013-04-05 14:52:17] Switching pool 0 http://localhost:9332 to stratum+tcp://localhost:9332
 [2013-04-05 14:52:17] Stratum from pool 0 detected new block
 [2013-04-05 14:52:17] Stratum from pool 0 requested work restart
 [2013-04-05 14:52:17] ECM 0: Frequency set to 200 MHz (range: 50-210)
 [2013-04-05 14:52:17] ECM 1: Frequency set to 200 MHz (range: 50-210)
 [2013-04-05 14:52:17] ECM 2: Frequency set to 200 MHz (range: 50-210)
 [2013-04-05 14:52:17] ECM 3: Frequency set to 200 MHz (range: 50-210)

What should I do, to make bfgminer from git working properly on my system? I prefere to use git version instead of Ubuntu Lucid version on Debian system. Please help  Smiley

Regards
Lenny
hero member
Activity: 924
Merit: 501
While I did not have python-twisted installed, after installing and recompiling it made no difference.

$ ./bfgminer -n
 [2013-04-03 06:52:21] CL Platform 0 vendor: Advanced Micro Devices, Inc.
 [2013-04-03 06:52:21] CL Platform 0 name: AMD Accelerated Parallel Processing
 [2013-04-03 06:52:21] CL Platform 0 version: OpenCL 1.1 AMD-APP-SDK-v2.4 (595.10)
 [2013-04-03 06:52:21] Error -1: Getting Device IDs (num)
 [2013-04-03 06:52:21] 0 GPU devices max detected


I do appreciate the suggestion, though.
.m.
sr. member
Activity: 280
Merit: 260
this worked for me some time ago on Fedora 16:

yum -y install jansson-devel  libcurl-devel python-twisted

git clone  https://github.com/luke-jr/bfgminer
cd bfgminer
./autogen.sh  ## --enable-cpumining --enable-scrypt

make -j3

cd /home/test/Downloads/AMD-APP-SDK-v2.7-lnx64
./Install-AMD-APP.sh

./bfgminer  --gpu-threads 1  -I d -o mining.eligius.st:8337 -O 12jNbMzoBGLcKa7qY45gbcDfG4ms8jRWyf --no-submit-stale --auto-fan --temp-target 70 --gpu-memclock 1000 --gpu-engine 1120
hero member
Activity: 924
Merit: 501
Trying to get any miner working.  Compiles fine but then cannot see GPU's....


$ bfgminer -n
 [2013-04-02 09:14:04] CL Platform 0 vendor: Advanced Micro Devices, Inc.
 [2013-04-02 09:14:04] CL Platform 0 name: AMD Accelerated Parallel Processing
 [2013-04-02 09:14:04] CL Platform 0 version: OpenCL 1.1 AMD-APP-SDK-v2.4 (595.10)
 [2013-04-02 09:14:04] Error -1: Getting Device IDs (num)
 [2013-04-02 09:14:04] 0 GPU devices max detected

$ lspci | grep VGA
06:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Barts XT [ATI Radeon HD 6800 Series]
0e:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Barts XT [ATI Radeon HD 6800 Series]


Any thoughts?

What OS and driver versions? How did you install the driver?

Cards are PowerColor 6870x2's

OS: Centos

$ uname -a
Linux localhost.localdomain 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

$ fglrxinfo
display: localhost:10.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: AMD Radeon HD 6800 Series
OpenGL version string: 1.2 (4.2.11631 Compatibility Profile Context)

aticonfig --lsa
* 0. 06:00.0 AMD Radeon HD 6800 Series
   1. 07:00.0 AMD Radeon HD 6800 Series
* - Default adapter

Currently getting:

$ bfgminer -n
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  136 ()
  Minor opcode of failed request:  19
  Serial number of failed request:  8
  Current serial number in output stream:  8


What steps do I need to take to make sure jansson is installed and linked correctly?  Doesn't seem to be a yum install JSON anywhere around.

I installed catalyst using the following:
Code:
cd /use/share/ati
./amd-uninstall.sh -force
on reboot enter init 3 by hitting "a" and adding a "3" to the end of the command line ...
yum install fglrx64_p_i_c... (which I had minutes before built upon this very machine)
on reboot enter init 3 by hitting "a" and adding a "3" to the end of the command line ...
aticonfig -f --adapters=all --initial  
init 5

Code:
$ ./autogen.sh
Getting submodules...
Running autoreconf -if...
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Configuring...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-unknown-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc option to accept ISO C99... -std=gnu99
checking for ranlib... ranlib
checking whether gcc -std=gnu99 needs -traditional... no
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for ranlib... (cached) ranlib
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for mprotect... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for siginterrupt... yes
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memmem is declared... yes
checking for memmem... yes
checking whether memmem works... yes
checking for C/C++ restrict keyword... __restrict
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for wchar_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether memmem is declared without a macro... yes
checking whether mempcpy is declared without a macro... yes
checking whether memrchr is declared without a macro... yes
checking whether rawmemchr is declared without a macro... yes
checking whether stpcpy is declared without a macro... yes
checking whether stpncpy is declared without a macro... yes
checking whether strchrnul is declared without a macro... yes
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... yes
checking whether strnlen is declared without a macro... yes
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... yes
checking whether strcasestr is declared without a macro... yes
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... yes
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... yes
checking whether strtok_r is declared... (cached) yes
checking whether memmem works in linear time... yes
checking for memmem... (cached) yes
checking whether memmem works... (cached) yes
checking for struct sigaction.sa_sigaction... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking whether sigaction is declared without a macro... yes
checking whether sigaddset is declared without a macro... yes
checking whether sigdelset is declared without a macro... yes
checking whether sigemptyset is declared without a macro... yes
checking whether sigfillset is declared without a macro... yes
checking whether sigismember is declared without a macro... yes
checking whether sigpending is declared without a macro... yes
checking whether sigprocmask is declared without a macro... yes
checking for sigprocmask... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for strtok_r... yes
checking whether strtok_r works... yes
checking for ANSI C header files... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for pthread_cancel... with -pthread -lpthread
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for json_loads in -ljansson... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... no
checking for libusb_init in -lusb-1.0... no
checking for libusb_init in -lusb... no
configure: WARNING: Could not find libusb, required for X6500 support
configure: WARNING: Could not find libusb, required for ZTEX support
checking for best native curses library... ncursesw5
checking for yasm... false
configure: yasm is required for the assembly algorithms. They will be skipped.
checking libudev.h usability... no
checking libudev.h presence... no
checking for libudev.h... no
checking for LIBCURL... yes
checking for bswap_* functions... found in byteswap.h
checking if bswap_16 is already a macro... yes
checking for platform endian... little endian (endian.h)
checking if GNU format attribute compiles... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating x86_64/Makefile
config.status: creating x86_32/Makefile
config.status: creating ccan/Makefile
config.status: creating lib/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
=== configuring in libblkmaker (/home/seanc/bfgminer/libblkmaker)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... no
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for strchr in -lws2_32... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libblkmaker_jansson-0.1.pc
config.status: executing depfiles commands
config.status: executing libtool commands



------------------------------------------------------------------------
bfgminer 2.99.1
------------------------------------------------------------------------


Configuration Options Summary:

  curses.TUI...........: FOUND: ncursesw5
  scrypt...............: Disabled

  OpenCL...............: Enabled
    ADL.monitoring.....: Enabled
  Avalon.ASICs.........: Disabled
  BitForce.devices.....: Enabled
  Icarus.FPGAs.........: Enabled
  ModMiner.FPGAs.......: Enabled
  X6500.FPGAs..........: Disabled (libusb not found)
  ZTEX.FPGAs...........: Disabled (libusb not found)
  libudev.detection....: no

  CPU Mining...........: Disabled

Compilation............: make (or gmake)
  CPPFLAGS.............: -pthread
  CFLAGS...............: -g -O2 -pthread
  LDFLAGS..............: -pthread -lpthread
  LDADD................: -ldl -lcurl -ljansson -lncursesw -lm

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local
legendary
Activity: 2576
Merit: 1186
Trying to get any miner working.  Compiles fine but then cannot see GPU's....


$ bfgminer -n
 [2013-04-02 09:14:04] CL Platform 0 vendor: Advanced Micro Devices, Inc.
 [2013-04-02 09:14:04] CL Platform 0 name: AMD Accelerated Parallel Processing
 [2013-04-02 09:14:04] CL Platform 0 version: OpenCL 1.1 AMD-APP-SDK-v2.4 (595.10)
 [2013-04-02 09:14:04] Error -1: Getting Device IDs (num)
 [2013-04-02 09:14:04] 0 GPU devices max detected

$ lspci | grep VGA
06:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Barts XT [ATI Radeon HD 6800 Series]
0e:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Barts XT [ATI Radeon HD 6800 Series]


Any thoughts?

What OS and driver versions? How did you install the driver?
hero member
Activity: 924
Merit: 501
Trying to get any miner working.  Compiles fine but then cannot see GPU's....


$ bfgminer -n
 [2013-04-02 09:14:04] CL Platform 0 vendor: Advanced Micro Devices, Inc.
 [2013-04-02 09:14:04] CL Platform 0 name: AMD Accelerated Parallel Processing
 [2013-04-02 09:14:04] CL Platform 0 version: OpenCL 1.1 AMD-APP-SDK-v2.4 (595.10)
 [2013-04-02 09:14:04] Error -1: Getting Device IDs (num)
 [2013-04-02 09:14:04] 0 GPU devices max detected

$ lspci | grep VGA
06:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Barts XT [ATI Radeon HD 6800 Series]
0e:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Barts XT [ATI Radeon HD 6800 Series]


Any thoughts?
full member
Activity: 189
Merit: 100
 BBQKorvASIC??!?!?!

ME TOO... PLEASE TAKE MY MONEY!!!
legendary
Activity: 1223
Merit: 1006
Please, people.

Code:
bfgminer version 2.99.2 - Started: [2013-03-30 23:37:17] - [  0 days 00:01:57
------------------------------------------------------------------------------
 5s:170.85 avg:160.58 u:140.26 Gh/s | A:3420 R:0 S:0 HW:0 U:1790.6/m
 ST: 2  DW: 10  GW: 3  LW: 494  GF: 0  NB: 1  AS: 0  RF: 0  E: 2.08
 Connected to mint.bitminter:8338 diff 9M with stratum as user BBQKorvASIC
 Block: ...ee2e8a72 #983123  Diff:9M  Started: [23:37:17]  Best share: 9.8M
------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 BBQKorvASIC 0:  65.0C         | 170.83/170.52/140.58Gh/s | A:3430 R:0 HW:0 U:1800.16/m
------------------------------------------------------------------------------

 [2013-03-30 23:38:52] Stratum from pool 0 requested work update
 [2013-03-30 23:38:52] Accepted 0ecf365f BFL 0  Diff 17/1
 [2013-03-30 23:38:53] Accepted a91d942c BFL 0  Diff 1/1
 [2013-03-30 23:38:53] Accepted 15d55ee2 BFL 0  Diff 11/1
 [2013-03-30 23:38:53] Accepted be2972c6 BFL 0  Diff 1/1
 [2013-03-30 23:38:53] Accepted 9e87d2fd BFL 0  Diff 1/1
 [2013-03-30 23:38:53] Accepted 7f854200 BFL 0  Diff 2/1
 [2013-03-30 23:38:54] Accepted 03c5d641 BFL 0  Diff 67/8
 [2013-03-30 23:39:08] Accepted 040aab96 BFL 0  Diff 63/8
 [2013-03-30 23:39:09] Accepted 14997fe3 BFL 0  Diff 12/8
 [2013-03-30 23:39:10] Accepted 123ded4b BFL 0  Diff 14/8
 [2013-03-30 23:39:11] Accepted 0453e37f BFL 0  Diff 59/8
 [2013-03-30 23:39:14] Accepted 06bd2321 BFL 0  Diff 37/8

Damn, my device is already 10x faster than BFLs competing product. And I only used 2 minutes to develop my ASIC!



OMG WHERE DO I PREORDER?!
sr. member
Activity: 280
Merit: 250
Please, people.

Code:
bfgminer version 2.99.2 - Started: [2013-03-30 23:37:17] - [  0 days 00:01:57
------------------------------------------------------------------------------
 5s:170.85 avg:160.58 u:140.26 Gh/s | A:3420 R:0 S:0 HW:0 U:1790.6/m
 ST: 2  DW: 10  GW: 3  LW: 494  GF: 0  NB: 1  AS: 0  RF: 0  E: 2.08
 Connected to mint.bitminter:8338 diff 9M with stratum as user BBQKorvASIC
 Block: ...ee2e8a72 #983123  Diff:9M  Started: [23:37:17]  Best share: 9.8M
------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 BBQKorvASIC 0:  65.0C         | 170.83/170.52/140.58Gh/s | A:3430 R:0 HW:0 U:1800.16/m
------------------------------------------------------------------------------

 [2013-03-30 23:38:52] Stratum from pool 0 requested work update
 [2013-03-30 23:38:52] Accepted 0ecf365f BFL 0  Diff 17/1
 [2013-03-30 23:38:53] Accepted a91d942c BFL 0  Diff 1/1
 [2013-03-30 23:38:53] Accepted 15d55ee2 BFL 0  Diff 11/1
 [2013-03-30 23:38:53] Accepted be2972c6 BFL 0  Diff 1/1
 [2013-03-30 23:38:53] Accepted 9e87d2fd BFL 0  Diff 1/1
 [2013-03-30 23:38:53] Accepted 7f854200 BFL 0  Diff 2/1
 [2013-03-30 23:38:54] Accepted 03c5d641 BFL 0  Diff 67/8
 [2013-03-30 23:39:08] Accepted 040aab96 BFL 0  Diff 63/8
 [2013-03-30 23:39:09] Accepted 14997fe3 BFL 0  Diff 12/8
 [2013-03-30 23:39:10] Accepted 123ded4b BFL 0  Diff 14/8
 [2013-03-30 23:39:11] Accepted 0453e37f BFL 0  Diff 59/8
 [2013-03-30 23:39:14] Accepted 06bd2321 BFL 0  Diff 37/8

Damn, my device is already 10x faster than BFLs competing product. And I only used 2 minutes to develop my ASIC!

sr. member
Activity: 386
Merit: 250
Code:
bfgminer version 2.99.2 - Started: [2013-03-30 23:37:17] - [  0 days 00:01:57
------------------------------------------------------------------------------
 5s:17.85 avg:16.58 u:14.26 Gh/s | A:342 R:0 S:0 HW:0 U:179.6/m
 ST: 2  DW: 10  GW: 3  LW: 494  GF: 0  NB: 1  AS: 0  RF: 0  E: 2.08
 Connected to 192.168.1.1 diff 8 with stratum as user test
 Block: ...ee2e8a72 #3123  Diff:153  Started: [23:37:17]  Best share: 528
------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 BFL 0:  45.0C         | 17.83/17.52/14.58Gh/s | A:343 R:0 HW:0 U:180.16/m
------------------------------------------------------------------------------

 [2013-03-30 23:38:52] Stratum from pool 0 requested work update
 [2013-03-30 23:38:52] Accepted 0ecf365f BFL 0  Diff 17/1
 [2013-03-30 23:38:53] Accepted a91d942c BFL 0  Diff 1/1
 [2013-03-30 23:38:53] Accepted 15d55ee2 BFL 0  Diff 11/1
 [2013-03-30 23:38:53] Accepted be2972c6 BFL 0  Diff 1/1
 [2013-03-30 23:38:53] Accepted 9e87d2fd BFL 0  Diff 1/1
 [2013-03-30 23:38:53] Accepted 7f854200 BFL 0  Diff 2/1
 [2013-03-30 23:38:54] Accepted 03c5d641 BFL 0  Diff 67/8
 [2013-03-30 23:39:08] Accepted 040aab96 BFL 0  Diff 63/8
 [2013-03-30 23:39:09] Accepted 14997fe3 BFL 0  Diff 12/8
 [2013-03-30 23:39:10] Accepted 123ded4b BFL 0  Diff 14/8
 [2013-03-30 23:39:11] Accepted 0453e37f BFL 0  Diff 59/8
 [2013-03-30 23:39:14] Accepted 06bd2321 BFL 0  Diff 37/8

Too Cool, just great!
hero member
Activity: 560
Merit: 500
www.OroCoin.co
Code:
bfgminer version 2.99.2 - Started: [2013-03-30 23:37:17] - [  0 days 00:01:57
------------------------------------------------------------------------------
 5s:17.85 avg:16.58 u:14.26 Gh/s | A:342 R:0 S:0 HW:0 U:179.6/m
 ST: 2  DW: 10  GW: 3  LW: 494  GF: 0  NB: 1  AS: 0  RF: 0  E: 2.08
 Connected to 192.168.1.1 diff 8 with stratum as user test
 Block: ...ee2e8a72 #3123  Diff:153  Started: [23:37:17]  Best share: 528
------------------------------------------------------------------------------
 [P]ool management [S]ettings [D]isplay options [Q]uit
 BFL 0:  45.0C         | 17.83/17.52/14.58Gh/s | A:343 R:0 HW:0 U:180.16/m
------------------------------------------------------------------------------

 [2013-03-30 23:38:52] Stratum from pool 0 requested work update
 [2013-03-30 23:38:52] Accepted 0ecf365f BFL 0  Diff 17/1

Suhweetah!

Wouldn't another solution be, for the aftermarket hacker, to augment the PS and let 'er rip? Looks like a heap of FET switchers like any other computer motherboard might have... Just liquid cool them, too...
full member
Activity: 196
Merit: 100
How many ASIC's are on that PCB? 2?

Guessing 4. Sources suggest that they're running at half speed due to power/heat issues with the pre-production boards.
donator
Activity: 1057
Merit: 1021
How many ASIC's are on that PCB? 2?
hero member
Activity: 767
Merit: 500
presumably remoted into a host somewhere in the bowels of BFL HQ - good to see it hashing Smiley

Will
Pages:
Jump to: