Bitcoin Forum
December 10, 2016, 04:54:03 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 [117] 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4826755 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 19, 2011, 04:48:12 PM
 #2321

I have done a clean install of Ubuntu 11.10 as part of a conservative strategy to eliminate as many variables as possible in order to get cgminer 2.0.8 to run successfully.  Anyone unfamiliar with my problems thus far who's interested can see my previous posts here and here.

I have 5970 GPUs. How shall I install the ATI driver/utility/dev, or in other words, which version?  The packages version offered by Ubuntu 11.10 (not to be confused with AMD Catalyst 11.10) is 8.881, or with the post-release updates, 8.901.  The version in the current Catalyst 11.12 download from AMD is 8.920.  Or if I should be seeking some even earlier version, where?
1481388843
Hero Member
*
Offline Offline

Posts: 1481388843

View Profile Personal Message (Offline)

Ignore
1481388843
Reply with quote  #2

1481388843
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481388843
Hero Member
*
Offline Offline

Posts: 1481388843

View Profile Personal Message (Offline)

Ignore
1481388843
Reply with quote  #2

1481388843
Report to moderator
1481388843
Hero Member
*
Offline Offline

Posts: 1481388843

View Profile Personal Message (Offline)

Ignore
1481388843
Reply with quote  #2

1481388843
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
December 19, 2011, 11:36:15 PM
 #2322

If one of my GPUs dies, cgminer hasn't ever successfully restarted it.  If I hit "q" to quit, it hangs.  I've just been rebooting the server and that works easy enough.  5970 and a 5830 on BAMT. 
There are numerous potential modes of failure for a GPU, some soft hangs that cgminer successfully restarts, some soft hangs that cgminer cannot restart, and some hard hangs like the one you describe. I spent literally a month trying to find the right balance with the restarts such that more than anything else, cgminer would not immediately crash the machine or stop mining with whatever was remaining.

The restart we're talking about above, however, is for when cgminer voluntarily stops the GPU due to overheat, not because the GPU has stoppped responding to the code. This should be safe to restart at any time, PROVIDED I modify the code to know the GPU has not died, but has been voluntarily shut down. It will take some more code to do this of course, but I'm waiting for the RPC mods by Kano to be completed before doing anything more to cgminer. It makes it much easier for him to hack on if the code target does not move.

Also, Merry non-denominational festive season, everyone.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
AniceInovation
Donator
Sr. Member
*
Offline Offline

Activity: 314


Interesting.


View Profile
December 20, 2011, 01:56:50 AM
 #2323

Hi,

Just installed CGMINER 2.08 on a windows rig with a 5870 overclocked to 990 MHZ, i was getting 400 Mhash/s.
Quite low i thought, so i tried 2.05.
Now i'm getting 440 MHash/s.

Did some code changed from 2.05 to 2.08 that can get this difference in performance?

The00Dustin
Hero Member
*****
Offline Offline

Activity: 806


View Profile
December 20, 2011, 02:13:01 AM
 #2324

Hi,

Just installed CGMINER 2.08 on a windows rig with a 5870 overclocked to 990 MHZ, i was getting 400 Mhash/s.
Quite low i thought, so i tried 2.05.
Now i'm getting 440 MHash/s.

Did some code changed from 2.05 to 2.08 that can get this difference in performance?
I am not sure about 10%, but I have seen stopping and restarting cgminer on F15 net a pretty significant MH/s difference.  Perhaps switching to 2.0.5 was just A red herring.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
December 20, 2011, 03:16:36 AM
 #2325

Hi,

Just installed CGMINER 2.08 on a windows rig with a 5870 overclocked to 990 MHZ, i was getting 400 Mhash/s.
Quite low i thought, so i tried 2.05.
Now i'm getting 440 MHash/s.

Did some code changed from 2.05 to 2.08 that can get this difference in performance?
No

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 20, 2011, 03:21:54 AM
 #2326

I have done a clean install of Ubuntu 11.10 as part of a conservative strategy to eliminate as many variables as possible in order to get cgminer 2.0.8 to run successfully.  Anyone unfamiliar with my problems thus far who's interested can see my previous posts here and here.

I have 5970 GPUs. How shall I install the ATI driver/utility/dev, or in other words, which version?  The packages version offered by Ubuntu 11.10 (not to be confused with AMD Catalyst 11.10) is 8.881, or with the post-release updates, 8.901.  The version in the current Catalyst 11.12 download from AMD is 8.920.  Or if I should be seeking some even earlier version, where?

I chose to install Catalyst 11.12 and AMD-APP-SDK 2.6, which was released today.  No joy.  I can't think of anything else to try, so I guess I'll put cgminer on the shelf for now.
P4man
Hero Member
*****
Offline Offline

Activity: 504



View Profile
December 20, 2011, 11:23:35 AM
 #2327

Hi,

Just installed CGMINER 2.08 on a windows rig with a 5870 overclocked to 990 MHZ, i was getting 400 Mhash/s.
Quite low i thought, so i tried 2.05.
Now i'm getting 440 MHash/s.

FYI, Im using a 5870 @ 1 GHz and Im getting 457 MH using cgminer 2.0.8 on linuxcoin.

P4man
Hero Member
*****
Offline Offline

Activity: 504



View Profile
December 20, 2011, 01:50:50 PM
 #2328

Is it possible cgminer doesnt handle DHCP public IP address changes properly?

I am having this problem once in a while, like once or twice per week: on both my machines (one windows, one linux), on both configured pools (failover) cgminer stalls complaining it cant connect to the pool, too slow to respond, switches to the other pool, then it will sometimes connect briefly and fail again over and over. Hashrate is +-0 with only very short moments of normal speeds.

Internet connection is fine. Restarting the router does nothing. Restarting cgminer solves it on both machines.

Im puzzled. THe only thing I can think off that both machines have in common is the NAT  router and therefore my public IP. I dont know when or how often it changes (ill start logging it now) but could there be a correlation, something with long polling perhaps?

Anything else anyone can think off?

Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 20, 2011, 05:13:35 PM
 #2329

I chose to install Catalyst 11.12 and AMD-APP-SDK 2.6, which was released today.  No joy.  I can't think of anything else to try, so I guess I'll put cgminer on the shelf for now.

Yeah, right.  Like I'm ever going to sleep again if I don't get or make a fix.   So...

The notorious ATI 100% CPU bug:  I could use a little more info.  Is this bug consistent with what I'm experiencing, namely:  after about 15 seconds, i.e., after cgminer appears to have initialized all 6 GPU threads (I have three 5970s) and after the sixth output of
Code:
[2011-12-20 08:08:31] X-Roll-Ntime found
[2011-12-20 08:08:31] Pushing work to requesting thread
[2011-12-20 08:08:31] Pushing work to getwork queue
[2011-12-20 08:08:31] Popping work to stage thread
there is no more output (-D and --verbose are on), single-core CPU usage is 100% (16% x 6), and there is no response to keypress commands (g q, etc.); but there is a response to Ctrl-C.

Is that merely the "100% CPU" bug, which is platform and application independent, or is it a different problem more specific to my setup?  I think it's the latter, but I'm not positive.
ancow
Sr. Member
****
Offline Offline

Activity: 373


View Profile WWW
December 20, 2011, 05:20:18 PM
 #2330

Is that merely the "100% CPU" bug, which is platform and application independent, or is it a different problem more specific to my setup?  I think it's the latter, but I'm not positive.

The 100% bug is simply that any usage of the driver's 3D capabilities results in an immediate jump in CPU usage, which doesn't really affect mining except for the increased heat (unless you're also CPU mining, which would become even more useless).

What you describe seems more like an endless loop that causes the program to hang. I find it kind of curious that there's no more output, though. To me, that suggests that the problem probably isn't in cgminer.

BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
December 20, 2011, 05:31:39 PM
 #2331

The notorious ATI 100% CPU bug:  I could use a little more info.  Is this bug consistent with what I'm experiencing, namely:  after about 15 seconds, i.e., after cgminer appears to have initialized all 6 GPU threads (I have three 5970s) and after the sixth output of
Code:
[2011-12-20 08:08:31] X-Roll-Ntime found
[2011-12-20 08:08:31] Pushing work to requesting thread
[2011-12-20 08:08:31] Pushing work to getwork queue
[2011-12-20 08:08:31] Popping work to stage thread
there is no more output (-D and --verbose are on), single-core CPU usage is 100% (16% x 6), and there is no response to keypress commands (g q, etc.); but there is a response to Ctrl-C.

Is that merely the "100% CPU" bug, which is platform and application independent, or is it a different problem more specific to my setup?  I think it's the latter, but I'm not positive.

That is 100% not the "100% CPU" bug.  CPU bug is simply a condition where you waste power because of a flaw in AMD driver which pegs CPU at 100% usage when running OpenCL code.  What you describe is something else and something I haven't seen before.   One thing you could try is running it w/ option "real-quiet" and check for output on the remote server.   If still nothing then likely you got some config/system issue which is putting cgminer into a race condition.
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 20, 2011, 05:41:21 PM
 #2332

Is that merely the "100% CPU" bug, which is platform and application independent, or is it a different problem more specific to my setup?  I think it's the latter, but I'm not positive.

The 100% bug is simply that any usage of the driver's 3D capabilities results in an immediate jump in CPU usage, which doesn't really affect mining except for the increased heat (unless you're also CPU mining, which would become even more useless).

What you describe seems more like an endless loop that causes the program to hang. I find it kind of curious that there's no more output, though. To me, that suggests that the problem probably isn't in cgminer.

My plan is to start by downgrading the fglrx driver to the version that's in the Ubuntu 11.10 repository (currently the Catalyst 11.12 version is installed), which I think is approximately equivalent to Catalyst 11.8.

I hope I don't have to end by becoming proficient in GDB, but if that's what it takes...

Meanwhile, any other ideas are welcome!
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 20, 2011, 05:59:15 PM
 #2333

[...]  One thing you could try is running it w/ option "real-quiet" and check for output on the remote server.   If still nothing then likely you got some config/system issue which is putting cgminer into a race condition.

Sorry, don't know what you mean by the remote server.  I access the miner (Ubuntu) rig via ssh from my Mac; both are on my LAN.  A couple of times I've tried running it from the local (miner rig) terminal window, but then when the output stops I'm completely locked out -- no keyboard, no mouse -- and to regain control I have to go back to my Mac, where via ssh I "sudo reboot".  (I always reboot, to reduce the GPU fans' speed.)  I just tried this again, and noticed that the output stopped earlier -- in the initializing of the 2nd or 3rd (of 6) GPU cores -- but that could be because that the hang/freeze occurred before all the terminal output was flushed.
ancow
Sr. Member
****
Offline Offline

Activity: 373


View Profile WWW
December 20, 2011, 06:00:12 PM
 #2334

My plan is to start by downgrading the fglrx driver to the version that's in the Ubuntu 11.10 repository (currently the Catalyst 11.12 version is installed), which I think is approximately equivalent to Catalyst 11.8.

Versions 11.7 through 11.10 had the 100% bug and versions 11.11+ can behave strange (sometimes displaying the buggy behaviour, sometimes not), so the safe bet is to go with 11.6.

I hope I don't have to end by becoming proficient in GDB, but if that's what it takes...

Don't! Using gdb to debug cgminer while it's executing OpenCL code on the card connected to your display *will* lead to a complete X server freeze. (If you're still using VNC to access an X server not using the fglrx driver, you might be fine.)

BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 20, 2011, 06:10:30 PM
 #2335

[Catalyst] Versions 11.7 through 11.10 had the 100% bug and versions 11.11+ can behave strange (sometimes displaying the buggy behaviour, sometimes not), so the safe bet is to go with 11.6.

Is 11.6 compatible with Linux kernel 3 (Ubuntu 11.10)?  I thought I'd seen somewhere that it's not.

Quote
I hope I don't have to end by becoming proficient in GDB, but if that's what it takes...

Don't! Using gdb to debug cgminer while it's executing OpenCL code on the card connected to your display *will* lead to a complete X server freeze. (If you're still using VNC to access an X server not using the fglrx driver, you might be fine.)

No more VNC: I'm using ssh -X, which not only gives me remote access via a terminal but lets me run GUI apps (e.g., synaptic) as well.
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 20, 2011, 06:57:31 PM
 #2336

I use Gentoo linux on the x86_64 platform, I'm currently running kernel 3.1.4 with the Con Kolivas patches. Either the ATI driver 11.6 or the recently released 11.11 driver work fine for me *without* the 100% cpu use bug. Neither is the current "production" gentoo version of the driver, which is 11.8 .

As an aside, I do have an older system that dual boots to Windows XP Pro 32 bit. I tried the 11.11 driver there and the 100% cpu bug was present. 11.6 works fine. I have not tried a 32 bit linux platform.

Video driver compatibility has most to do with your linux kernel version and options. It's likely any recent ATI driver should at least mostly work for any kernel that you are likely to have in use.
(Emphasis added)

What Con Kolivas patches?
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
December 20, 2011, 07:13:29 PM
 #2337

Sorry, don't know what you mean by the remote server.  I access the miner (Ubuntu) rig via ssh from my Mac; both are on my LAN.  A couple of times I've tried running it from the local (miner rig) terminal window, but then when the output stops I'm completely locked out -- no keyboard, no mouse -- and to regain control I have to go back to my Mac, where via ssh I "sudo reboot".  (I always reboot, to reduce the GPU fans' speed.)  I just tried this again, and noticed that the output stopped earlier -- in the initializing of the 2nd or 3rd (of 6) GPU cores -- but that could be because that the hang/freeze occurred before all the terminal output was flushed.

I mean check for shares on pool server.  I was wondering if it was just some display glitch but if you are getting system lock outside of cgminer it is far beyond that.  I have never have cgminer lockup a linux system like that.  Very weird behavior. 
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 20, 2011, 07:33:44 PM
 #2338

Anyone tried this?

The ATI drivers after 11.6 have a bug that makes them consume 100% of CPU.
But drivers before 11.7 not work with kernel 3.0+
So I have found a patch:
http://eduard-x.blogspot.com/2011/05/amd-catalyst-115-2639-debian.html
and using 3.1 kernel and 11.6 drivers with this patch on Ubuntu oneiric.
Everything works fine (also spent full day to found this solution).

The direct source of the patch, in English:
http://www.mindwerks.net/2011/04/ubuntu-11-04-natty-with-fglrx-and-2-6-39/
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 20, 2011, 10:44:28 PM
 #2339

I mean check for shares on pool server.  I was wondering if it was just some display glitch but if you are getting system lock outside of cgminer it is far beyond that.  I have never have cgminer lockup a linux system like that.  Very weird behavior.  

According to the pool server, my last activity was 15,328 days ago, i.e., at the beginning of time (in the Unix universe).  Cgminer reported getting some work from it, but that might not count as "activity."

I fell back to fglrx 8.881, the version w/o post-release update, that 11.10 installs from its repositories.  The only difference is that now running cgminer locks up the system so tight that I can't get in via ssh; with the Catalyst 11.12 driver, I was getting in via ssh.

Very weird behavior, indeed.  Two other anomalies that seem unrelated but which I'll mention in case any bells ring:  with fglrx installed, (1) Gnome Classic comes up with only the desktop, no top panel and hence no way to do anything with the GUI; (2) there's no way (that I've found) to dismiss the screen blanker in Unity other than Ctrl-Alt-F2 to get a shell login prompt followed by Ctrl-Alt-F7 to return to the GUI.  Without fglrx, these two anomalies are not present.  But without fglrx, cgminer exits immediately  Smiley

Other than the cgminer problem and those two 11.10 anomalies the system seems normal to me, although I'm a newbie w/r Linux.  For completeness, I mention that this is a homebrew system which first had power applied about a week ago.

I'll bet that if a solution is found, it's going to be of the forehead-slapping, "you did [or didn't do] WHAT!?" variety.
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784


firstbits:1MinerQ


View Profile WWW
December 20, 2011, 11:15:43 PM
 #2340

Anyone tried this?

The ATI drivers after 11.6 have a bug that makes them consume 100% of CPU.
But drivers before 11.7 not work with kernel 3.0+
So I have found a patch:
http://eduard-x.blogspot.com/2011/05/amd-catalyst-115-2639-debian.html
and using 3.1 kernel and 11.6 drivers with this patch on Ubuntu oneiric.
Everything works fine (also spent full day to found this solution).

The direct source of the patch, in English:
http://www.mindwerks.net/2011/04/ubuntu-11-04-natty-with-fglrx-and-2-6-39/


I'm running Ubuntu 11.04 (32 bit) Desktop with ADK 2.4 and drivers 11.6 and cgminer. No problems at all. I'd suggest starting from fresh and following closely the Ubuntu headless tutorial here,

https://bitcointalk.org/index.php?topic=9239.0

(in my case I used 32 bit versions where suitable, and I ran Phoenix for a while before trying and prefering cgminer) This combo works great for me and I wouldn't suggest bothering with newer driver versions as there are generally cpu problems and no advantages afaik.


Pages: « 1 ... 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 [117] 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 ... 830 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!