Author

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

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Hmm... could be a race on the work item. Can you "git checkout a3e77937c8b8d924b2671aa4a77e9f13689ac64a", rebuild, and see if it goes away?

Running more than twice as long as before and no crash yet. I'll post again, should this post trigger another crash, but so far it looks good.


@kano: The first thing I did before posting was "ulimit -c unlimited; make clean; ./autogen.sh && ..." just to get a clean core dump.
Quick bugfix then, and I'm going to release it as 2.2.3. Thanks.
full member
Activity: 373
Merit: 100
Hmm... could be a race on the work item. Can you "git checkout a3e77937c8b8d924b2671aa4a77e9f13689ac64a", rebuild, and see if it goes away?

Running more than twice as long as before and no crash yet. I'll post again, should this post trigger another crash, but so far it looks good.


@kano: The first thing I did before posting was "ulimit -c unlimited; make clean; ./autogen.sh && ..." just to get a clean core dump.
hero member
Activity: 518
Merit: 500
IMHO all of these strange cgminer issues are on Windblows only / mostly. I would avoid that platform if I were mining.

You are gamers so that is why you won't consider Linux. Try dual booting and cgminer works flawlessfly for me on Linux.

I think it should be like Xchat program : free for Linux and if you need support on Windows you have to pay.

Windows is just too much hassle for mining. Good luck !
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Sigh - after running for quite a while - even my lowly 725MH/s finally got the error (just now) ... wait for another update.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
A mining buddy Eliden got some weird problem with all versions of cgminer from 2.0.7 to 2.1.2

http://img841.imageshack.us/img841/6650/88077886.png this is the screenshot

The temps and the rpm of the fan disappearing on start of cgminer

Cgminer only reports what the ATI display library shows and does not show anything if it's not reporting results from a device. At the mercy of the ATI display library. If it stops reporting values there's nothing cgminer can do about it.
hero member
Activity: 686
Merit: 500
I haven't used it remote. I have one with a monitor and it is the same.
sr. member
Activity: 383
Merit: 250
have you find something why cgminer stats go away after a longer term? (on y rigs on windows 64bit after 10-10.5 days cgminer don't show temp and fan speed, after quit and restart (only cgminer) all is okay)

They will tell you it is because you are remote controlling your computer. As in you are controlling your PC form another PC (VNC, Logmein, etc...)

For me that explanation is rubbish though. I use a KVM.

I too would like a valid explanation as to why this is happening.
sr. member
Activity: 457
Merit: 251
I just compiled the new cgminer direct from git using git clone and the steps recommended (./autogen.sh then CFLAGS="-O3 -Wall -march=native" ./configure)
I'm getting an incomprehensible bunch of data after a few minutes of mining (cgminer with -w 256 and --submit-stale shuts down and gives me this info):
Code:
00000000 00:00 0 
                  7f7175ebb000-7f71766b5000 r-xp 00000000 08:06 7210304                    /usr/lib/fglrx/libaticaldd.so
                                        7f71766b5000-7f71767b5000 ---p 007fa000 08:06 7210304                    /usr/lib/fglrx/libaticaldd.so
                                                              7f71767b5000-7f7176803000 rw-p 007fa000 08:06 7210304                    /usr/lib/fglrx/libaticaldd.so
    7f7176803000-7f71768c0000 rw-p 00000000 00:00 0
                                                    7f71768c0000-7f71768c5000 r-xp 00000000 08:06 4070088                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
        7f71768c5000-7f7176ac4000 ---p 00005000 08:06 4070088                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
                                            7f7176ac4000-7f7176ac5000 r--p 00004000 08:06 4070088                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f7176ac5000-7f7176ac6000 rw-p 00005000 08:06 4070088                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
                                    7f7176ac6000-7f7176ac8000 r-xp 00000000 08:06 4070080                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
                                                                      7f7176Aborted

Any ideas why?  Huh (I wasn't getting this with 2.2.1)
hero member
Activity: 686
Merit: 500
have you find something why cgminer stats go away after a longer term? (on y rigs on windows 64bit after 10-10.5 days cgminer don't show temp and fan speed, after quit and restart (only cgminer) all is okay)
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
1) does the binary also give you that?
oops no binary yet - sorry
I compiled it without checking if there was a binary.
(and my lowly 725Mh/s is running OK on 2.2.2)
Quote
2) If you must compile, did you start afresh?
3) If you didn't it's better to, but at least be sure you autogen'd and configure'd and make clean'd
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
With the latest version from git, I keep getting this:
Code:
(gdb) bt
#0  0x00007fae64776405 in *__GI_raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007fae64779680 in *__GI_abort () at abort.c:92
#2  0x00007fae647ace0b in __libc_message (do_abort=, fmt=) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#3  0x00007fae647b6656 in malloc_printerr (action=3, str=0x7fae6488d3e8 "double free or corruption (!prev)", ptr=) at malloc.c:6283
#4  0x00007fae647bb38c in *__GI___libc_free (mem=) at malloc.c:3738
#5  0x000000000040d4af in free_work (work=0x1573ee0) at cgminer.c:1550
#6  miner_thread (userdata=0x124eda0) at cgminer.c:3211
#7  0x00007fae6580ab50 in start_thread (arg=) at pthread_create.c:304
#8  0x00007fae648194ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()
Hmm... could be a race on the work item. Can you "git checkout a3e77937c8b8d924b2671aa4a77e9f13689ac64a", rebuild, and see if it goes away?
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
1) does the binary also give you that?
2) If you must compile, did you start afresh?
3) If you didn't it's better to, but at least be sure you autogen'd and configure'd and make clean'd
full member
Activity: 373
Merit: 100
With the latest version from git, I keep getting this:
Code:
(gdb) bt
#0  0x00007fae64776405 in *__GI_raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007fae64779680 in *__GI_abort () at abort.c:92
#2  0x00007fae647ace0b in __libc_message (do_abort=, fmt=) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#3  0x00007fae647b6656 in malloc_printerr (action=3, str=0x7fae6488d3e8 "double free or corruption (!prev)", ptr=) at malloc.c:6283
#4  0x00007fae647bb38c in *__GI___libc_free (mem=) at malloc.c:3738
#5  0x000000000040d4af in free_work (work=0x1573ee0) at cgminer.c:1550
#6  miner_thread (userdata=0x124eda0) at cgminer.c:3211
#7  0x00007fae6580ab50 in start_thread (arg=) at pthread_create.c:304
#8  0x00007fae648194ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
...
- Update example web miner.php to use new API commands
Anyone who used the old one this one should be interesting to look at once or twice Smiley
(I of course use it to view the status of my rig since it's all in one page)
Of course there are other more complex ones out there for pure display only
This one also happens to allow you to change everything that the API allows (unless I missed something Tongue)
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
New version 2.2.2, source up for now, top post, binaries pending.

Changelog:
Version 2.2.2 - February 6, 2012

- Provide support for the submitold extension on a per-pool basis based on the
value being detected in a longpoll.
- Don't send a ping to a dynamic device if it's not enabled as that will just
enable it for one pass and then disable it again.
- Rewrite the convoluted get_work() function to be much simpler and roll work as
much as possible with each new work item.
- Roll as much work as possible from the work returned from a longpoll.
- Rolling work on each loop through the mining thread serves no purpose.
- Allow to stage more than necessary work items if we're just rolling work.
- Replace divide_work with reuse_work function used twice.
- Give rolled work a new ID to make sure there is no confusion in the hashtable
lookups.
- Remove now-defunct hash_div variables.
- Remove unused get_dondata function.
- Silence ADL warnings.
- Silence unused parameter warnings.
- Stagger the restart of every next thread per device to keep devices busy ahead
of accessory threads per device.
- Deprecate the --donation feature. Needlessly complex, questionable usefulness,
depends on author's server and a central pool of some kind, and was not heavily
adopted.
- It's devices that report back now, not threads, update message.
- Continue auto-management of fan and engine speeds even if a device is disabled
for safety reasons.
- No need to check we're highest performance level when throttling GPU engine
speed.
- Abstract out tests for whether work has come from a block that has been seen
before and whether a string is from a previously seen block.
- Probe but don't set the timeout to 15 seconds as some networks take a long
time to timeout.
- Remove most compiler warnings from api.c
- Add last share's pool info in cgpu_info
- Allow the OpenCL platform ID to be chosen with --gpu-platform.
- Iterate over all platforms displaying their information and number of devices
when --ndevs is called.
- Deprecate main.c
- Some networks can take a long time to resolve so go back to 60 second timeouts
instead of 15.
- Only enable curses on failure if curses is desired.
- Fix warnings in bitforce.c
- Bugfix: Need to open BitForce tty for read-write
- Fix various build issues.
- Modularize code: main.c -> device-cpu + device-gpu
- Fix phatk kernel not working on non-bitalign capable devices (Nvidia, older
ATI).
- Update poclbm kernel for better performance on GCN and new SDKs with bitalign
support when not BFI INT patching. Update phatk kernel to work properly for non
BFI INT patched kernels, providing support for phatk to run on GCN and non-ATI
cards.
- Return last accepted share pool/time for devices
- Display accepted share pool/time for CPUs
- Bug intensity always shows GPU 0
- Update example web miner.php to use new API commands
sr. member
Activity: 378
Merit: 250
Why is it so damn hot in here?
OK. So AFAIK there are 5 kernel settings we have to adjust here :

BFI_INT ( where can I see if this is on / off ? )
Fastloop ( where can I see if this is on / off ? )

Vectors
Worksize
Intensity

What is the long8 at the end of the .bin produced ?

Thanks !

Honestly, unless you are running 7000 series cards, you can leave all these at their defaults with the exception of "Intensity", which should be set to "d" for you desktop monitor, and 8 for dedicated mining cards.
hero member
Activity: 518
Merit: 500
OK. So AFAIK there are 5 kernel settings we have to adjust here :

BFI_INT ( where can I see if this is on / off ? )
Fastloop ( where can I see if this is on / off ? )

Vectors
Worksize
Intensity

What is the long8 at the end of the .bin produced ?

Thanks !
sr. member
Activity: 322
Merit: 250
We are bees, and we hate you.
Just started using this over GUI, and I must say, I am very impressed.
I bumped up from 1.8Ghash to 2.1. The improvement was definitely worth the few seconds of setup.  Grin
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Yeah it just passes through the check for "dynamic" and might enable/disable once or twice before doing the right thing in the end. It does end up disabled doesn't it?

That it does. Just looks a little strange.
I'll make it prettier
full member
Activity: 373
Merit: 100
Yeah it just passes through the check for "dynamic" and might enable/disable once or twice before doing the right thing in the end. It does end up disabled doesn't it?

That it does. Just looks a little strange.
Jump to: