Author

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

hero member
Activity: 772
Merit: 500
is there a solutiion for the problem other than downgrading the driver back to 11-6
I haven't been able to find one. It appears to really be a driver bug.

11.7 on Windows has a new OpenCL APP 2.5 runtime, compared to the earlier 2.4 runtime ... could be the source of the problem.

Dia
sr. member
Activity: 360
Merit: 250
Same here, if I press Q the program displays something and then just hangs.

It says "Satan <3 U", but it's too fast for the human eye to perceive...
hero member
Activity: 772
Merit: 500
I can't see the summary either on windows 7. It is an excellent idea to save it to a text file. Thx in advance, great program Smiley

Same here, if I press Q the program displays something and then just hangs.

Dia
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
is there a solutiion for the problem other than downgrading the driver back to 11-6
I haven't been able to find one. It appears to really be a driver bug.
full member
Activity: 157
Merit: 100
is there a solutiion for the problem other than downgrading the driver back to 11-6
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
i have updated my ATI Driver on Ubuntu to the newest Version 11.7. Now I am encountering the Problem, that the miner generates 100% of CPU Usage and is significiantly slower than before the update. Anybody here with experience on that?


Yep, that's one dodgy driver. I've reproduced it.
full member
Activity: 157
Merit: 100
i have updated my ATI Driver on Ubuntu to the newest Version 11.7. Now I am encountering the Problem, that the miner generates 100% of CPU Usage and is significiantly slower than before the update. Anybody here with experience on that?

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Make sure you're redirecting STDERR, not stdout. You need to use 2>filename.txt
Also you can enable/disable verbose mode on the fly once it's running.


Which is a little bit of a pain to do when used in combination with screen.
Being able to specify an actual log file on the command line would be neat.

I'm trying to tell you it will work... just redirect 2>filename.txt instead of >filename.txt

eg: no log
./cgminer -o blah -u blah -p blah

with log
./cgminer -o blah -u blah -p blah 2>filename.txt
sr. member
Activity: 378
Merit: 250
Make sure you're redirecting STDERR, not stdout. You need to use 2>filename.txt
Also you can enable/disable verbose mode on the fly once it's running.

And your birthday helps pay for my hundreds of hours of coding how exactly?  Tongue
I'm sure the year to hour ratio equals out somehow.  lol
sr. member
Activity: 378
Merit: 250
Out of curiosity, would the SSE4 only using SSE2 instructions be considered a bug or feature?  Because having two things that do exactly the same thing is sort of a problem.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Make sure you're redirecting STDERR, not stdout. You need to use 2>filename.txt
Also you can enable/disable verbose mode on the fly once it's running.

And your birthday helps pay for my hundreds of hours of coding how exactly?  Tongue
full member
Activity: 168
Merit: 100
Live long and prosper. \\//,
I did gave a try to
Code:
> 001.txt
and
Code:
>> 001.txt
with and without --verbose, the result are that the program exits with the error msg:
Code:
COLS value must be >= 2 and <= 4840: got -8251
initscr(): Unable to create SP


No more features for now. Just bug fixes till I return in 2 weeks' time. Plus features take time to implement, and I'll be giving priority to features requested by donors.
And what about those who have birthday? Grin
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
No more features for now. Just bug fixes till I return in 2 weeks' time. Plus features take time to implement, and I'll be giving priority to features requested by donors.
sr. member
Activity: 378
Merit: 250
*Yawn*  Here's the list of things I found through the forum.  Let's not try to depend on one person fixing them all, okay?   Grin

Some issues with certain pools: "No pools active.  Exiting" Most likely due to redirects.
Verbosity levels
JSON-config file format correction
Correction of the C code, intrinsics (*mmintrin.h and add in x86intrin.h/ia32intrin.h) and configuration for SSE4 or simply enable optimizations based upon CPU detected (cpuid.h).
Funky libcurl (cached) version check in configure. Detects lower version but finds higher version next.
Dramatic slow-down of hashing after a while.
GPU 0 gets enabled or disabled automatically when only wanting to enable or disable GPU 1 or else.
Different work sized for different GPUs.  Alternatively, separate settings in general for each GPU as GPUs can often be different.
Perhaps adding prefetching to the C code.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I am giving cgminer a shot (from phoenix + smartcoin).  My initial impression is positive.  However, I am hesitant because I had modified phoenix to record in a sql database every time a share was submitted.  

So now I am thinking how I can do this with cgminer.  Coding in C to connect to a database is over my head, so I am going with a simpler solution.  

My first thought was to use the -T option and pipe it to python for processing.  This seems like it would work great.  However, I am greedy and would also like the curses interface.  Do you think you can add an option to direct status updates ([2011-07-27 18:05:05 Accepted xxxxxx GPU 1 thread 1 pool 0) to another stderr?  That way I could direct share submissions for sql processing, and still maintaining the stdout interface.

That is, unless you have a more elegant solution.

Excellent work so far.

Dan
It already works. Just pipe output from stderr and you get the curses interface _and_ the piped output.

This doesn't appear to be working for me.  I am redirecting (2> file.txt) but nothing is getting passed to that file.  
Enable verbose mode. I'll modify the next version to log even when verbose mode is off.
newbie
Activity: 73
Merit: 0
I can't see the summary either on windows 7. It is an excellent idea to save it to a text file. Thx in advance, great program Smiley
sr. member
Activity: 378
Merit: 250
Anyone want to compile together a list of requests?  It seems that we have quite a few.  Actually...I've got time!  I'll read through here and put a list together.  Perhaps if we all work together, we can also knock the list out with our combined programming efforts.  I'll tell you all now, I suck at programming, but I know a few things about settings.
full member
Activity: 168
Merit: 100
Live long and prosper. \\//,
Great work, great miner program, but on MicroSux's Windows I can't see the whole "on exit" summary, because the fixed terminal size....
It is possible to implement, that the "on exit" summary would be saved to a text file, whit the date as filename? Like: 2011-07-28-09-41-25.txt

Plz, it's my birthday! Grin
sr. member
Activity: 349
Merit: 250
BTCPak.com - Exchange your Bitcoins for MP!
I am giving cgminer a shot (from phoenix + smartcoin).  My initial impression is positive.  However, I am hesitant because I had modified phoenix to record in a sql database every time a share was submitted. 

So now I am thinking how I can do this with cgminer.  Coding in C to connect to a database is over my head, so I am going with a simpler solution. 

My first thought was to use the -T option and pipe it to python for processing.  This seems like it would work great.  However, I am greedy and would also like the curses interface.  Do you think you can add an option to direct status updates ([2011-07-27 18:05:05 Accepted xxxxxx GPU 1 thread 1 pool 0) to another stderr?  That way I could direct share submissions for sql processing, and still maintaining the stdout interface.

That is, unless you have a more elegant solution.

Excellent work so far.

Dan
It already works. Just pipe output from stderr and you get the curses interface _and_ the piped output.

This doesn't appear to be working for me.  I am redirecting (2> file.txt) but nothing is getting passed to that file. 
sr. member
Activity: 378
Merit: 250
Wink for amd X6.. for X4 set -ftree-parallelize-loops=4
Code:
#//** AMD Family 10h, x86_64 (Phenom X6)
#//**-ffast-math : might cause issues
CFLAGS="-O3 -Wall -march=amdfam10 -msse4a -mtune=amdfam10 -mabm -combine -funroll-all-loops -ffast-math -fprefetch-loop-arrays -ftree-parallelize-loops=6  -I/extras/AMDAPP/include" LDFLAGS="-L/extras/AMDAPP/lib/ -g" ./configure

http://developer.amd.com/assets/AMDGCCQuickRef.pdf

Interestingly enough, most of those options you had enabled were already enabled via the -O3 flag.  You could leave out the -mtune and simply use -march=native to automatically utilize the best available setting for your processor.  As a matter of fact, -ffast-math is already in use if I remember correctly.  But would you do me a BIG favor?  I was wondering if you could disassemble the cgminer-sha256_sse4_64.o file created and see if it is actually taking advantage of the enabled optimizations or if it's still only at the SSE2 level?  You can simply use objconv with the -fyasm option (which oddly enough isn't YASM compatible) and it should tell you in the new asm file created.  It hasn't been enabling SSE4 optimizations for me even with them enabled in the CFLAGS.  I'm going to try including the x86intrin.h intrinsic into the c code to see if there's any change at all.  Wish me luck!
Jump to: