Author

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

hero member
Activity: 529
Merit: 500
I tried upgrading from 2.0.8 to 2.2.5 but my 5s average dropped from 715 Mh/s to 600 Mh/s.

Dual 5850, one at 850, the other at 900 Mhz, memory at 300 Mhz on both. Windows 7, intensity 9.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
export DISPLAY=:0
before running, and try latest  cgminer only please
legendary
Activity: 1988
Merit: 1012
Beyond Imagination
This is what I experienced during the weekend:

I received a 5970 and replaced one of my 5870 with it, after graphic card change, the previous LinuxCoin installation cannot start correctly

So, I took another USB stick, installed freshly a new LinuxCoin on it, boot it into LinuxCoin, run phoenix miner, and all 5 GPU gave decent hash rates stable for 6 hours

Then, I downloaded cgminer 2.2.4, updated and installed other dependency packages, then compiled and started it, after 1 minute, it claimed 2 of 5 GPUs dead and rest of GPUs' hash rate dropped 20%

I downloaded cgminer 2.1.2 (which worked flawlessly on the original USB stick), compiled and started (after removing the .bin file from home directory), same problem

Then, I rebooted the machine, fall back to my original phoenix miner method, surprisingly found out that even phoenix only worked on one of the GPU and hang on rest of them

There is one thing I remember: Last time when I tried to compile cgminer 2.1.2, I tried to install libcurl4-openssl-dev and  libncurses5-dev but one of them just can not be found, so eventually I installed something else to bypass the dependency check. But this time, it went all smooth. I think one or both of the packages have changed since one month ago and caused these new issues

Finally I have to switch back to the previous working HW/SW configuration, hoping that I could just fix the xorg.conf to get new graphic card recognized



-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Con, Kano,

Is there a readme somewhere on how to compile for Windows?
Actually - it's in the README Smiley
(well that's what I used to do it)
Someone else is trying to make a detailed one at the moment that may or may not work well.
Stay tuned ... for a few more weeks maybe? Smiley

Hehe ;-) I actually read over that in the README... I'll see whether I can get it build as well ;-)
It's a disaster, don't waste your time. It just happened to build with certain versions of all the necessary packages when I got it working at one time in the past approximately 6 months ago, and if you get the latest versions of all the packages, it won't build. One day we'll slowly shake out that mess, but given windows users are not used to compiling their own software, it has priority zero at the moment.
sr. member
Activity: 349
Merit: 250
Con, Kano,

Is there a readme somewhere on how to compile for Windows?
Actually - it's in the README Smiley
(well that's what I used to do it)
Someone else is trying to make a detailed one at the moment that may or may not work well.
Stay tuned ... for a few more weeks maybe? Smiley

Hehe ;-) I actually read over that in the README... I'll see whether I can get it build as well ;-)
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Con, Kano,

Is there a readme somewhere on how to compile for Windows?
Actually - it's in the README Smiley
(well that's what I used to do it)
Someone else is trying to make a detailed one at the moment that may or may not work well.
Stay tuned ... for a few more weeks maybe? Smiley
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Since you're not doing the --donation any more is just sent you 1 BTC.
Thanks a lot! Looking at the numbers from --donation, the most I got was about 400Mhash which amounts to about .2BTC per day... not really worth the effort, plus the flaming I got for setting it up and suggesting it was on by default. Strangely, a lot of people haven't noticed nor care that p2pool has donation enabled by default. Anyway it's gone now so I don't need to stress over it.
sr. member
Activity: 349
Merit: 250
Con, Kano,

Is there a readme somewhere on how to compile for Windows?
legendary
Activity: 3586
Merit: 1099
Think for yourself
New version: 2.2.5

Finally fixed the opencl created zero sized binary bug.


Hey, I finally have a brand spanking new set of .bin files for Windoze.  Smiley
Sam
Excellent. I could cry seeing you say that  Kiss Especially since the kernel filenames and format has changed and it's essential that it can actually create the binaries. In fact it was this bug that made me reluctant to try and make any new kernels in the past.

Well it sounds like we can all move forward more confidently now.
Since your not doing the --donation anymore is just sent you 1 BTC.
Thanks,
Sam
legendary
Activity: 3586
Merit: 1099
Think for yourself

@Elmojo: you forgot to add at least some of the following arguments, otherwise the header wouldn't show:
-D -T --verbose

Here's a sample of what it should look like:

Yeah, I put in all the args.
It looked just like your example, until it crashed the GPU driver, then it went crazy.
By the time I could get control back, that's the part I could copy/paste.
No, because when you use -T you will not get that output you pasted ...

However, the problem is CUDA related (from the -n output)
nVidia mining, not ATI mining - in case anyone didn't notice

I did, that's why I suggested the ufasoft miner.

Not having ADL support and not needing failover, since he's mining to localhost, there is not much need to use CGMiner, regardless of where the problem lies.
Sam
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4

@Elmojo: you forgot to add at least some of the following arguments, otherwise the header wouldn't show:
-D -T --verbose

Here's a sample of what it should look like:

Yeah, I put in all the args.
It looked just like your example, until it crashed the GPU driver, then it went crazy.
By the time I could get control back, that's the part I could copy/paste.
No, because when you use -T you will not get that output you pasted ...

However, the problem is CUDA related (from the -n output)
nVidia mining, not ATI mining - in case anyone didn't notice
So unless the nVidia part of cgminer has stopped working, it's probably your drivers are not installed/setup properly

I have no idea how to do that but I'm sure someone else here does?
full member
Activity: 373
Merit: 100

@Elmojo: you forgot to add at least some of the following arguments, otherwise the header wouldn't show:
-D -T --verbose

Here's a sample of what it should look like:

Yeah, I put in all the args.
It looked just like your example, until it crashed the GPU driver, then it went crazy.
By the time I could get control back, that's the part I could copy/paste.

OK, I'm too tired to do more than point you in a direction, so here goes:
I'm pretty sure the command prompt supports some output redirection, and since the display is obviously screwed, you may want to try it. Just run cgminer with your normal arguments, the debugging ones and "> cgminer-stdout.log 2> cgminer-stderr.log". If that doesn't work, you may need to google how to redirect both stdout and stderr to a file on windows.
Anyway, after that, the contents of the cgminer-stdout.log and cgminer-stderr.log files will hopefully provide some insight into what is going wrong.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
New version: 2.2.5

Finally fixed the opencl created zero sized binary bug.


Hey, I finally have a brand spanking new set of .bin files for Windoze.  Smiley
Sam
Excellent. I could cry seeing you say that  Kiss Especially since the kernel filenames and format has changed and it's essential that it can actually create the binaries. In fact it was this bug that made me reluctant to try and make any new kernels in the past.

Just for the record, I'm now getting 714Mhash out of the 7970 clocked at 1200/1050+5% with default cgminer 2.2.5 settings.
full member
Activity: 155
Merit: 100

@Elmojo: you forgot to add at least some of the following arguments, otherwise the header wouldn't show:
-D -T --verbose

Here's a sample of what it should look like:

Yeah, I put in all the args.
It looked just like your example, until it crashed the GPU driver, then it went crazy.
By the time I could get control back, that's the part I could copy/paste.
legendary
Activity: 3586
Merit: 1099
Think for yourself
Dang thing keeps crashing, and I've lost my reply twice.
Okay...*deep breath*...one more time...

I've rebooted, reinstalled cgminer (2.2.5) directly to c:
Lauched cgminer with full argument string:
It ramps up (can see activity in Precision), then crashes my GPU driver.

Here's the output:
Code:
cgminer version 2.2.5 - Started: [2012-02-12 22:55:48]
--------------------------------------------------------------------------------
 (5s):0.0 (avg):0.0 Mh/s | Q:12  A:0  R:1  HW:0  E:0%  U:0.00/m
 TQ: 2  ST: 3  SS: 1  DW: 15  NB: 1  LW: 2  GF: 0  RF: 0
 Connected to http://127.0.0.1:9332 with LP as user noob
 Block: 00000823816ead253c6222e8d262e6c8...  Started: [22:55:48]
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0: DEAD /  0.0Mh/s | A:0 R:1 HW:0 U:0.00/m I:14
--------------------------------------------------------------------------------

K!
[2012-02-12 22:55:56] Attempting to restart GPU
[2012-02-12 22:55:56] Thread 0 still exists, killing it off
[2012-02-12 22:55:56] Thread 1 still exists, killing it off
[2012-02-12 22:55:56] Error: Creating Context. (clCreateContextFromType)
[2012-02-12 22:55:56] Failed to reinit GPU thread 0
[2012-02-12 22:55:59] Device 0 not responding for more than 10 minutes, GPU 0 de
clared DEAD!
[2012-02-12 22:56:02] LONGPOLL requested work restart, waiting on fresh work

I've just about had it with this program.
Anyone have any ideas?

The Ufasoft miner is pretty easy to use.  At least I thought so.
Sam
full member
Activity: 373
Merit: 100
And just is case you thought otherwise ...
My last line comment was in no way directed at you at all Smiley

I'm just a little anal about completeness... Tongue


@Elmojo: you forgot to add at least some of the following arguments, otherwise the header wouldn't show:
-D -T --verbose

Here's a sample of what it should look like:
Code:
[2012-02-13 05:02:41] Started cgminer 2.2.5                    
[2012-02-13 05:02:42] CL Platform 0 vendor: Advanced Micro Devices, Inc.                   
[2012-02-13 05:02:42] CL Platform 0 name: AMD Accelerated Parallel Processing                   
[2012-02-13 05:02:42] CL Platform 0 version: OpenCL 1.1 AMD-APP-SDK-v2.5 (684.213)                   
[2012-02-13 05:02:42] Platform 0 devices: 1                   
[2012-02-13 05:02:42] GPU 0 iAdapterIndex 0 strUDID 256:26817:4098:878:4133 iBusNumber 1 iDeviceNumber 0 iFunctionNumber 0 iVendorID 4098 strAdapterName  AMD Radeon HD 6500M/5600/5700 Series                     
[2012-02-13 05:02:42] GPU 0 AMD Radeon HD 6500M/5600/5700 Series hardware monitoring enabled                   
[2012-02-13 05:02:42] Popping work to work thread                   
[2012-02-13 05:02:42] Probing for an alive pool                   
[2012-02-13 05:02:42] Testing pool http://btcguild.com:8332                   
[2012-02-13 05:02:42] Popping work to stage thread                   
[2012-02-13 05:02:42] Successfully retrieved and deciphered work from pool 0 http://btcguild.com:8332                   
[2012-02-13 05:02:42] Pushing pooltest work to base pool                   
[2012-02-13 05:02:42] Pool 0 http://btcguild.com:8332 active                   
[2012-02-13 05:02:42] Pushing work to getwork queue                   
[2012-02-13 05:02:42] Popping work to stage thread                   
[2012-02-13 05:02:42] Pushing ping to longpoll thread                   
[2012-02-13 05:02:42] Pushing ping to thread 0                   
[2012-02-13 05:02:42] Init GPU thread 0 GPU 0 virtual GPU 0                   
[2012-02-13 05:02:42] Long-polling activated for http://btcguild.com:8332/LP/                   
[2012-02-13 05:02:42] CL Platform vendor: Advanced Micro Devices, Inc.                   
[2012-02-13 05:02:42] CL Platform name: AMD Accelerated Parallel Processing                   
[2012-02-13 05:02:42] CL Platform version: OpenCL 1.1 AMD-APP-SDK-v2.5 (684.213)                   
[2012-02-13 05:02:42] List of devices:                   
[2012-02-13 05:02:42]   0       Redwood                   
[2012-02-13 05:02:42] Selected 0: Redwood                   
[2012-02-13 05:02:42] Preferred vector width reported 4                   
[2012-02-13 05:02:42] Max work group size reported 256                   
[2012-02-13 05:02:42] Loaded binary image phatk120213Redwoodbitalignv2w128long8.bin                   
[2012-02-13 05:02:42] Initialising kernel phatk120213.cl with bitalign, 2 vectors and worksize 128                   
[2012-02-13 05:02:42] initCl() finished. Found Redwood                   
[2012-02-13 05:02:42] Pushing ping to thread 1                   
[2012-02-13 05:02:42] Init GPU thread 1 GPU 0 virtual GPU 0                   
[2012-02-13 05:02:42] CL Platform vendor: Advanced Micro Devices, Inc.                   
[2012-02-13 05:02:42] CL Platform name: AMD Accelerated Parallel Processing                   
[2012-02-13 05:02:42] CL Platform version: OpenCL 1.1 AMD-APP-SDK-v2.5 (684.213)                   
[2012-02-13 05:02:42] List of devices:                   
[2012-02-13 05:02:42]   0       Redwood                   
[2012-02-13 05:02:42] Selected 0: Redwood                                                                                                                                                       
[2012-02-13 05:02:42] Preferred vector width reported 4                                                                                                                                         
[2012-02-13 05:02:42] Max work group size reported 256                                                                                                                                         
[2012-02-13 05:02:42] Popping ping in miner thread                                                                                                                                             
[2012-02-13 05:02:42] Queueing getwork request to work thread                                                                                                                                   
[2012-02-13 05:02:42] Popping work from get queue to get work                                                                                                                                   
[2012-02-13 05:02:42] Pool 0 http://btcguild.com:8332 alive                                                                                                                                     
[2012-02-13 05:02:42] Popping work to work thread                                                                                                                                               
[2012-02-13 05:02:42] DBG: sending http://btcguild.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}                                                                           
                   
[2012-02-13 05:02:42] Loaded binary image phatk120213Redwoodbitalignv2w128long8.bin                   
[2012-02-13 05:02:42] Initialising kernel phatk120213.cl with bitalign, 2 vectors and worksize 128                   
[2012-02-13 05:02:43] initCl() finished. Found Redwood                   
[2012-02-13 05:02:43] 2 gpu miner threads started                   
[2012-02-13 05:02:43] Popping ping in miner thread                   
[2012-02-13 05:02:43] Queueing getwork request to work thread                   
[2012-02-13 05:02:43] Popping work from get queue to get work                   
[2012-02-13 05:02:43] Popping work to work thread                   
[2012-02-13 05:02:43] DBG: sending http://btcguild.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}
                   
[2012-02-13 05:02:43] Pushing work to requesting thread                   
[2012-02-13 05:02:43] Pushing work to getwork queue                   
[2012-02-13 05:02:43] Popping work to stage thread                   
[2012-02-13 05:02:43] Pushing work to requesting thread                   
[2012-02-13 05:02:43] Pushing work to getwork queue                   
[2012-02-13 05:02:43] Popping work to stage thread                   
[2012-02-13 05:02:46] 61.5 C  F: 30%(-1RPM)  E: 550MHz  M: 800Mhz  V: 1.000V  A: 97%  P: 0%                   
full member
Activity: 155
Merit: 100
Dang thing keeps crashing, and I've lost my reply twice.
Okay...*deep breath*...one more time...

I've rebooted, reinstalled cgminer (2.2.5) directly to c:
Lauched cgminer with full argument string:
It ramps up (can see activity in Precision), then crashes my GPU driver.

Here's the output:
Code:
cgminer version 2.2.5 - Started: [2012-02-12 22:55:48]
--------------------------------------------------------------------------------
 (5s):0.0 (avg):0.0 Mh/s | Q:12  A:0  R:1  HW:0  E:0%  U:0.00/m
 TQ: 2  ST: 3  SS: 1  DW: 15  NB: 1  LW: 2  GF: 0  RF: 0
 Connected to http://127.0.0.1:9332 with LP as user noob
 Block: 00000823816ead253c6222e8d262e6c8...  Started: [22:55:48]
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0: DEAD /  0.0Mh/s | A:0 R:1 HW:0 U:0.00/m I:14
--------------------------------------------------------------------------------

K!
[2012-02-12 22:55:56] Attempting to restart GPU
[2012-02-12 22:55:56] Thread 0 still exists, killing it off
[2012-02-12 22:55:56] Thread 1 still exists, killing it off
[2012-02-12 22:55:56] Error: Creating Context. (clCreateContextFromType)
[2012-02-12 22:55:56] Failed to reinit GPU thread 0
[2012-02-12 22:55:59] Device 0 not responding for more than 10 minutes, GPU 0 de
clared DEAD!
[2012-02-12 22:56:02] LONGPOLL requested work restart, waiting on fresh work

I've just about had it with this program.
Anyone have any ideas?
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
@Elmojo:
Do a cd "D:\X\Bitcoin Stuff\cgminer-2.2.3-win32\" first.
Actually you have to D: on it's own first (well you do under XP at least)

Right, I forgot. Actually, you can simply keep the cd as is and do the "D:" after, that'll also have the desired effect.
And just is case you thought otherwise ...
My last line comment was in no way directed at you at all Smiley
full member
Activity: 373
Merit: 100
@Elmojo:
Do a cd "D:\X\Bitcoin Stuff\cgminer-2.2.3-win32\" first.
Actually you have to D: on it's own first (well you do under XP at least)

Right, I forgot. Actually, you can simply keep the cd as is and do the "D:" after, that'll also have the desired effect.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
@Elmojo:
Do a cd "D:\X\Bitcoin Stuff\cgminer-2.2.3-win32\" first.
Actually you have to D: on it's own first (well you do under XP at least)
Then cd \X\Bitcoin Stuff\cgminer-2.2.3-win32\
Then cgminer -blah -blah -blah -blah ..........

And I have no idea where he got a 'guide' with windows shortcuts ...

... how to use the windows console ...
Jump to: