Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 358. (Read 5806015 times)

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Not sure if it's because I'm on Ubuntu 13.04 or what, but I'm getting this error again when I upgrade to cgminer 3.1:

Code:
./cgminer: error while loading shared libraries: libjansson.so.4: cannot open shared object file: No such file or directory
My bad when I built it. Reuploaded now.
sr. member
Activity: 462
Merit: 250
Free World
Not sure if it's because I'm on Ubuntu 13.04 or what, but I'm getting this error again when I upgrade to cgminer 3.1:

Code:
./cgminer: error while loading shared libraries: libjansson.so.4: cannot open shared object file: No such file or directory

3.0 is working great; more stable (hashrate wise) than ever, actually. Probably has something to do with the sexy new version of Unity. Tongue

hi,

can you point me to where 3.0 installation guide is? Cheesy

hero member
Activity: 490
Merit: 501
well, i'm not sure how but i seem to have made some progress. now when i run cgminer -n i get the following:

$ ./cgminer -n
 [2013-04-28 14:31:26] CL Platform 0 vendor: Advanced Micro Devices, Inc.                   
 [2013-04-28 14:31:26] CL Platform 0 name: AMD Accelerated Parallel Processing                   
 [2013-04-28 14:31:26] CL Platform 0 version: OpenCL 1.1 AMD-APP-SDK-v2.5 (793.1)                   
 [2013-04-28 14:31:26] Error -1: Getting Device IDs (num)                   
 [2013-04-28 14:31:26] clDevicesNum returned error, no GPUs usable                   
 [2013-04-28 14:31:26] 0 GPU devices max detected

aticonfig sees the gpu:

$ sudo aticonfig --lsa
* 0. 00:01.0 AMD Radeon HD 6290 Graphics

* - Default adapter


Any suggestions?
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Haven't done a new one for a while ... I'm using all these 3 (linux) so I have tested them all.

3.1.0a
3.1.0 recompiled on 64 bit xubuntu 11.04 (as usual) and also on the RPi 32 (2012-12-16-wheezy-raspbian and rpi-update) and now also 64 bit Fedora18

https://github.com/kanoi/cgminer-binaries

To get the 64 bit xubuntu 11.04 binary:
wget https://github.com/kanoi/cgminer-binaries/raw/master/Ubuntu_11.04_x86_64/cgminer-3.1.0a
chmod +x cgminer-3.1.0a
md5sum cgminer-3.1.0a

9227a0f17215512a601bcb936a34bcf8  cgminer-3.1.0a
(this version should also work on Fedora 16 and Fedora 17)

To get the RPi 32bit binary:
wget https://github.com/kanoi/cgminer-binaries/raw/master/RPi_32/cgminer-3.1.0a
chmod +x cgminer-3.1.0a
md5sum cgminer-3.1.0a

f8b236c81d79855243cf3bbbc907ab34 cgminer-3.1.0a

To get the Fedora 18 binary:
wget https://github.com/kanoi/cgminer-binaries/raw/master/Fedora18_x86_64/cgminer-3.1.0a
chmod +x cgminer-3.1.0a
md5sum cgminer-3.1.0a

9c02a4b2719f69178dbb42c181d91de1  cgminer-3.1.0a

For anyone who didn't realise, it's just the executable file to put in place of 'cgminer'
Nothing else needs changing
On xubuntu 11.04 - first get and extract the full binary release from ckolivas and then copy my file in place of 'cgminer'

I've run all three binaries without any problems so far, with 1x6950, 1xBFL, 1xICA, 1xMMQ and 1xJalapeno (Total ~7.9GH/s)

The same configure options as cvolivas' binary version for 64 bit xubuntu 11.04
In case anyone was wondering:
CFLAGS="-O2 -W -Wall" ./autogen.sh --enable-icarus --enable-bitforce --enable-ztex --enable-modminer --enable-scrypt --enable-bflsc
make clean
make


All FPGAs (only) for the RPi 32bit version
CFLAGS="-g -W -Wall" ./autogen.sh --enable-icarus --enable-bitforce --enable-modminer --enable-ztex --enable-bflsc
make clean
make

However, the -g (instead of -O2) means it's a debug build so if anyone finds a problem and has core dumps enabled, it will dump a much more useful debug core.
You will need to install libusb-1.0.0

All FPGAs (only) for the Fedora18 x86_64 version
CFLAGS="-g -W -Wall" ./autogen.sh --enable-icarus --enable-bitforce --enable-modminer --enable-ztex --enable-bflsc
make clean
make

You will need to install libusb-1.0.0


Note I have binary folders of ckolivas official release files in my binaries git also, for if you can't get to his downloads
To get them you select the folder (e.g. 3.1.0) then click on the file you want then right-click save-as "View Raw"


Important: Read ASIC-README or FPGA-README about USB configuration on linux and windows
sr. member
Activity: 282
Merit: 250
hi guys,
i was wondering, how to create output/log file from cgminer?

i need cgminer automatically send me a logfile or output in .txt that state the current:
1. average Mh/s
2. need the current Mh/s for each GPU
3. Accepted, Rejected share

is this possible? if so, can u pls help me how to do it? im not a coder, but so far i can use .bat to run the scrypted cgminer.

thank oyu.
hero member
Activity: 770
Merit: 502
I've updated to 3.1.0-windows from 3.0.1-windows.

Everything seems to be just fine, hashing away as it normally does on my two 5850's. If you have a large mining setup, multiple machines, probably not worth the time of shutdown to upgrade for gpus.
hero member
Activity: 591
Merit: 500
Not sure if it's because I'm on Ubuntu 13.04 or what, but I'm getting this error again when I upgrade to cgminer 3.1:

Code:
./cgminer: error while loading shared libraries: libjansson.so.4: cannot open shared object file: No such file or directory

3.0 is working great; more stable (hashrate wise) than ever, actually. Probably has something to do with the sexy new version of Unity. Tongue
legendary
Activity: 952
Merit: 1000
Soooo... With the new version, unless you have a BFL thingy there is no point to upgrading?
If it ain't broke, don't fix it.

However, There are changes.
Human readable changelog:
BFL ASIC support.
(plus other stuff)
full member
Activity: 194
Merit: 100
Soooo... With the new version, unless you have a BFL thingy there is no point to upgrading?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
New release: Version 3.1.0, 28th April 2013

Lots of extra READMEs now.

EDIT: I was really tired when i posted this but really wanted to unleash it as soon as it was stable, and the BFL ASIC support really is the bulk of the change. Props to Kano for doing a large chunk of the driver work for this.

NOTE: If you are on windows and cannot get devices to initialise and they are on a USB 3 slot, try them on a USB 2 slot instead.

Human readable changelog:

BFL ASIC support.
(plus other stuff)

EDITS:
- The BFL ASIC driver uses direct USB instead of the serial USB interface, thus being much faster, more reliable, and using a lot less CPU. However as a consequence it needs a different driver installed on windows, and permissions set on linux. The ASIC-README has directions for all of these, and the zadig application which installs and configures the WinUSB driver for you is available from my download page.
- Updated READMEs, split up into GPU- and ASIC- as well.
- A fix for the corrupt display on exit on windows.


Full changelog:

- va_copy is meant to be matched by a va_end in log_generic.
- usbutils remove_in_use break
- usbutils remove_in_use missing prev
- usbutils missing add_in_use
- Clean up summary slightly better on exit.
- Make the scan sleep time after scanwork in bflsc dynamic to keep queues
between watermark levels.
- Remove unused temp counts in bflsc.
- Calculate a rolling 5 min average set of temperatures for bflsc.
- Damp the display of voltage for BFLSC devices.
- Damp the temperature display measurement for bflsc since it fluctuates so
wildly.
- bflsc add volt stats
- Handle failed tolines command in bflsc driver.
- Can use a read lock instead of a write lock in bflsc scanwork.
- Since we are filling a queue on the bflsc devices, there is no need to run
through scanwork frequently provided we use the restart_wait function to abort
early during a block change.
- Remove flushed work in bfl scanwork from the hash table.
- Set correct device in process_nonces in bflsc driver.
- bflsc add work reply INPROCESS: missing from the spec
- bflsc put in some error messages not yet written
- bflsc get completed hashes as late as possible
- Fix potential memory leak with unused work items in bflsc_queue_full
- Reverse bools in bflsc_queue_full
- Avoid recursive loop calling correct function instead.
- bflsc fix details identification
- Differentiate BFLSC device from regular bitforce and give warning if no
support is compiled in.
- util.c str_text make a fully text readable version of str
- BFLSC fix FPGA identity overlap
- Locking error in bflsc_send_work
- Use htobe32 function for converting nonce in bflsc.
- Replace deprecated bzero with memset in bflsc driver.
- Fix compilation of bflsc driver without opencl.
- Check for realloc failures in bflsc driver.
- Check for failure to calloc in bflsc driver.
- Trivial style change
- Use copy_time function in bflsc driver.
- Use cgtime in bflsc driver and update copyright notice.
- Use a separate function for bfl initialise that doesn't require locking.
- Fix BFLSC building.
- bflsc v0.1

EDIT:
Jalapeno hashing looks like this:

Code:
cgminer version 3.1.0 - Started: [2013-04-29 01:48:31]
--------------------------------------------------------------------------------
 (5s):6.630G (avg):6.412Gh/s | A:6262  R:12  HW:0  U:23.1/m  WU:90.0/m
 ST: 2  SS: 11  NB: 94  LW: 26762  GF: 0  RF: 0
 Connected to au.ozco.in diff 4 with stratum as user ckolivas.0
 Block: 00391bc278091c13...  Diff:8.97M  Started: [14:13:04]  Best share: 11.5K
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  73.0C 3368RPM | 718.2M/720.7Mh/s | A: 704 R: 1 HW:0 U:  2.60/m I:11
 BAJ 0:  max 42C 3.42V | 5.945G/5.693Gh/s | A:5560 R:11 HW:0 U: 20.55/m
--------------------------------------------------------------------------------

 [2013-04-29 14:12:27] Accepted 2153e014 Diff 7/4 BAJ 0 pool 0
 [2013-04-29 14:12:30] Accepted 32a3e846 Diff 5/4 BAJ 0 pool 0
 [2013-04-29 14:12:37] Accepted 3eb662db Diff 4/4 BAJ 0 pool 0
 [2013-04-29 14:12:39] Accepted 33c7365f Diff 4/4 BAJ 0 pool 0

See also Kano's blog post:
http://www.kano-kun.net/?p=65
sr. member
Activity: 324
Merit: 250
In reply to myself...Yes. Yes I Do.

Now i have a freshly compiled 3.0.1. Built with libncurses5 (since it was in the repos)

I still have no proper display!!!!!!!!!!!!

Maybe something is wrong with my terminal?
sr. member
Activity: 324
Merit: 250
i just compiled it.

But my compiled one doesn't recognise scrypt.

I used APP-SDK 2.5?

Do i maybe need newer?
hero member
Activity: 626
Merit: 500
Mining since May 2011.
I just used the 3.00 pre compiled binary.

I was able to compile on 13.04 for my BFL FPGA's with no issues. Maybe try that.
sr. member
Activity: 324
Merit: 250
I just used the 3.00 pre compiled binary.
full member
Activity: 216
Merit: 100
Can anyone help me with Ubuntu 13.04.

It's mining ok but i can't see the display in my terminal window.
CGminer starts, then blanks the window, then all I see is a flashing cursor.

I'd like to be able to tweak my settings here and there.
Which version of ncurses did you build with?
sr. member
Activity: 324
Merit: 250
Can anyone help me with Ubuntu 13.04.

It's mining ok but i can't see the display in my terminal window.
CGminer starts, then blanks the window, then all I see is a flashing cursor.

I'd like to be able to tweak my settings here and there.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
member
Activity: 86
Merit: 10
Hello.

Please, help.
My config:
cpu: amd A5800K
mb: gigabyte GA-F2A85X-UP4 (with nice power button  Grin)
ram: 2x4GB 1600MHz
hdd: 320GB
PSU: 1250W
GPU:
1x7660D (cpu)
1x6950@6970
4x7850

I installed ubuntu 12.04.2 server (without X), amd sdk 2.8, adl 5.0 and drivers 13.4 (promise OpenCL working without X running).
When I compile cgminer from sources then I can run it only under "sudo".
Some output:
Code:
sudo DISPLAY=:0 aticonfig --lsa* 0. 00:01.0 AMD Radeon HD 7660D
  1. 01:00.0 AMD Radeon HD 7800 Series
  2. 02:00.0 AMD Radeon HD 6900 Series
  3. 04:00.0 AMD Radeon HD 7800 Series
  4. 05:00.0 AMD Radeon HD 7800 Series
  5. 09:00.0 AMD Radeon HD 7800 Series

* - Default adapter
Code:
sudo ./cgminer -n
 [2013-04-28 12:20:05] CL Platform 0 vendor: Advanced Micro Devices, Inc.                   
 [2013-04-28 12:20:05] CL Platform 0 name: AMD Accelerated Parallel Processing                   
 [2013-04-28 12:20:05] CL Platform 0 version: OpenCL 1.2 AMD-APP (1113.2)                   
 [2013-04-28 12:20:05] Platform 0 devices: 6                   
 [2013-04-28 12:20:05] 0 Devastator                   
 [2013-04-28 12:20:05] 1 Cayman                   
 [2013-04-28 12:20:05] 2 Pitcairn                   
 [2013-04-28 12:20:05] 3 Pitcairn                   
 [2013-04-28 12:20:05] 4 Pitcairn                   
 [2013-04-28 12:20:05] 5 Pitcairn                   
 [2013-04-28 12:20:05] Failed to ADL_Adapter_ID_Get. Error -1                   
 [2013-04-28 12:20:05] Failed to ADL_Adapter_ID_Get. Error -1                   
 [2013-04-28 12:20:05] Failed to ADL_Adapter_ID_Get. Error -1                   
 [2013-04-28 12:20:05] Failed to ADL_Adapter_ID_Get. Error -1                   
 [2013-04-28 12:20:05] Failed to ADL_Adapter_ID_Get. Error -1                   
 [2013-04-28 12:20:05] Failed to ADL_Adapter_ID_Get. Error -1                   
 [2013-04-28 12:20:05] ADL found less devices than opencl!                   
 [2013-04-28 12:20:05] There is possibly more than one display attached to a GPU                   
 [2013-04-28 12:20:05] Use the gpu map feature to reliably map OpenCL to ADL                   
 [2013-04-28 12:20:05] WARNING: Number of OpenCL and ADL devices did not match!                   
 [2013-04-28 12:20:05] Hardware monitoring may NOT match up with devices!                   
 [2013-04-28 12:20:05] 6 GPU devices max detected

So ADL wan't work without X ?
full member
Activity: 158
Merit: 100
hi to all,

i have this configuration for my rig

CPU: AMD Athlon FX-4100 (stock speeds)
MOBO: GIGABYTE GA990FXA-UD7
RAM: Corsair Vengeance 2x2GB DDR1600
SSD: samsung 840
PSU: xfx 750 + seasonic 750
GPU: 4x Sapphire Vapor-X 7950

and i have this problem (cgminer 2.xx and 3.xx):

if i run cgminer it seem to run 620 Kh/s  every card, but in the pool it appear only 70 kh/s


if i use reaper, i can use only 2 gpu card without driver crush! and hare 1250 kh/s on reaper and on pool

do you have any suggestion?
hero member
Activity: 490
Merit: 501
you dont have opencl installed....

did you read.... https://github.com/ckolivas/cgminer/blob/master/linux-usb-cgminer ?

This was a big help, thanks. I had glanced at it before but didn't think it applied because, 1. i'm not making a USB based setup. i have several harddrives that i'm not using for anything so i threw one in the machine. 2. i don't know or understand what git is.

I really feel like i've made progress today, thank you to all. the rig i'm building is an under $200 machine that i'm using to see just how involved i want to get in this.

Well, I was making progress following that. now i'm getting:

Configuration Options Summary:

  curses.TUI...........: FOUND: -lncurses
  OpenCL...............: NOT FOUND. GPU mining support DISABLED
configure: error: No mining configured in

I followed the above guide up to it telling me to go find the binary for cgminer. i thought that that was was what ./configure would make.
Jump to: