Bitcoin Forum
April 25, 2024, 03:30:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: CGminer - GPU0: invalid nonce - HW error  (Read 31060 times)
Fallon (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0



View Profile WWW
April 18, 2013, 03:16:59 PM
 #1

I started getting the following errors on my wife's Windows 7 x64 gaming system. Additionally Slush's pool reports no activity from that miner in about the same amount of time. It's got an ATI/AMD HD 6950 in it I believe. It may have started after a driver upgrade, but I've since tried a couple newer (including the latest beta) driver versions. I keep the drivers updated on my gaming system & HD 7950 (currently running Catalyst 13.3, the latest beta) up to date & haven't had any issues. There aren't any obvious errors or graphics glitches showing up when she does any gaming, so I'm a little suspicious of it being an actual problem with the video card.

Any thoughts? My only remaining thought is uninstall the video drivers & try to figure out what the old one she had been running, then revert to it.

Code:
cgminer version 2.11.4 - Started: [2013-04-17 23:00:31]
--------------------------------------------------------------------------------
(5s):141.4M (avg):139.7Mh/s | A:0 R:0 HW:14 U:0.0/m WU:1.8/m
ST: 2 SS: 0 NB: 2 LW: 53 GF: 0 RF: 0
Connected to stratum.bitcoin.cz diff 1 with stratum as user Fallon.Ivory
Block: 00487eaf99c94c2b... Diff:8.97M Started: [23:07:57] Best share: 0
--------------------------------------------------------------------------------
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
GPU 0: 73.0C 2358RPM | 140.8M/140.9Mh/s | A:0 R:0 HW:14 U:0.00/m I: 4
--------------------------------------------------------------------------------
[2013-04-17 23:04:00] GPU0: invalid nonce - HW error
[2013-04-17 23:04:06] GPU0: invalid nonce - HW error
[2013-04-17 23:04:07] GPU0: invalid nonce - HW error
[2013-04-17 23:05:31] GPU0: invalid nonce - HW error
[2013-04-17 23:06:02] GPU0: invalid nonce - HW error
[2013-04-17 23:06:15] GPU0: invalid nonce - HW error
[2013-04-17 23:07:07] GPU0: invalid nonce - HW error
[2013-04-17 23:07:31] GPU0: invalid nonce - HW error
[2013-04-17 23:07:37] GPU0: invalid nonce - HW error
[2013-04-17 23:07:57] LONGPOLL from pool 2 detected new block
[2013-04-17 23:08:07] GPU0: invalid nonce - HW error
[2013-04-17 23:08:13] Stratum from pool 0 requested work restart
[2013-04-17 23:08:24] GPU0: invalid nonce - HW error
1714015847
Hero Member
*
Offline Offline

Posts: 1714015847

View Profile Personal Message (Offline)

Ignore
1714015847
Reply with quote  #2

1714015847
Report to moderator
1714015847
Hero Member
*
Offline Offline

Posts: 1714015847

View Profile Personal Message (Offline)

Ignore
1714015847
Reply with quote  #2

1714015847
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714015847
Hero Member
*
Offline Offline

Posts: 1714015847

View Profile Personal Message (Offline)

Ignore
1714015847
Reply with quote  #2

1714015847
Report to moderator
1714015847
Hero Member
*
Offline Offline

Posts: 1714015847

View Profile Personal Message (Offline)

Ignore
1714015847
Reply with quote  #2

1714015847
Report to moderator
1714015847
Hero Member
*
Offline Offline

Posts: 1714015847

View Profile Personal Message (Offline)

Ignore
1714015847
Reply with quote  #2

1714015847
Report to moderator
dude0000
Newbie
*
Offline Offline

Activity: 10
Merit: 0



View Profile
May 01, 2013, 02:45:31 PM
 #2

Having the same problem with a 6950 calling cgminer directly from DOS box in Win7Pro.

Try using BTCGuild's version of GUIMiner and configure it to use anything other than cgminer, e.g. Phoenix with phatk2 kernel.

also see https://bitcointalk.org/index.php?topic=139406.0 - may be a bug in cgminer
specifically see rs77063 reply of 2013-02-04 00:12:18 re Phoenix works, cgminer doesn't

Note: I use cgminer on most of my other miners and I love it. I use GUIMiner (BTCGuild's) on one machine that has a 5970 with one GPU burned out. Can't get cgminer to ignore GPU1.
Zanatos666
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


Sometimes man, just sometimes.....


View Profile
May 01, 2013, 03:01:45 PM
 #3

Ive read this a couple of times and it seems to be the same cards being the problem.  Solutions I have seen are:

1) Upgrade CG to at least 3.0.1
2) Roll back your drivers to 12.8

If you are using it for gaming, you might have to decide whether or not you are going to mine if you want the updated drivers for gaming, otherwise just stick to the 12.8 ones that will keep CG happy and still allow you to game.

Squiggly letters, written really fast, with a couple of dots for good measure.
os2sam
Legendary
*
Offline Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
May 01, 2013, 10:57:48 PM
 #4

Having the same problem with a 6950 calling cgminer directly from DOS box in Win7Pro.

Try using BTCGuild's version of GUIMiner and configure it to use anything other than cgminer, e.g. Phoenix with phatk2 kernel.

also see https://bitcointalk.org/index.php?topic=139406.0 - may be a bug in cgminer
specifically see rs77063 reply of 2013-02-04 00:12:18 re Phoenix works, cgminer doesn't

Note: I use cgminer on most of my other miners and I love it. I use GUIMiner (BTCGuild's) on one machine that has a 5970 with one GPU burned out. Can't get cgminer to ignore GPU1.


Try adding "-d 1 --remove-disabled" to your command line.

Here's the info from the CGMiner Top Post

--device|-d <arg>   Select device to use, (Use repeat -d for multiple devices, default: all)
--remove-disabled   Remove disabled devices entirely, as if they didn't exist

Sam

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
os2sam
Legendary
*
Offline Offline

Activity: 3578
Merit: 1090


Think for yourself


View Profile
May 01, 2013, 11:00:44 PM
 #5


2) Roll back your drivers to 12.8


From CGMiner FAQ

Q: Which AMD driver is the best?
A: Unfortunately AMD has a history of having quite a few releases with issues
when it comes to mining, either in terms of breaking mining, increasing CPU
usage or very low hashrates. Only experimentation can tell you for sure, but
some good releases were 11.6, 11.12, 12.4 and 12.8. Note that older cards may
not work with the newer drivers.

Q: Which AMD SDK is the best for cgminer?
A: At the moment, versions 2.4 and 2.5 work the best for R5xxx and R6xxx GPUS.
SDK 2.6 or 2.7 works best for R7xxx. SDK 2.8 is known to have many problems.
If you are need to use the 2.6+ SDK or R7xxx or later, the phatk kernel will
perform poorly, while the diablo or my custom modified poclbm kernel are
optimised for it.

Sam

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
dude0000
Newbie
*
Offline Offline

Activity: 10
Merit: 0



View Profile
May 03, 2013, 01:40:46 PM
 #6

12.8 seems to have done the trick for radeon 6950 invalid nonce errors. Now I can use cgminer, which is where I wanted to be in the first place.

Thanks, Zanatos666!

clocked to 935, 375 MH/s, temp 57. Not fully tuned yet. Phoenix claimed 415 MH/s at 925 clock and 56 degrees. unstable when clocked to 950.

yvero78
Newbie
*
Offline Offline

Activity: 7
Merit: 0



View Profile
May 30, 2013, 05:19:07 PM
 #7

I too was having the same issues nonce issues with cgminer past version 2.11.2 on my 6970. CGminer 2.11.2 and AMD Catalyst 13.3 beta was working fine on Windows Vista x64. When I upgraded to cgminer 2.11.3 or newer, I kept getting nonce errors.

I tried Catalyst 12.8 and it didn't work for me, I kept getting the nonce errors. I rolled back all the way back to Catalyst 12.4 and I can use the latest and greatest CGminer 3.11.1

It appears that versions 12.4 - 12.9 use AMD APP SDK 2.7 as per this webpage http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/system-requirements-driver-compatibility/

Here's a table from that webpage for future reference:
Quote
Driver Conformance
AMD APP SDK v2.8   AMD Catalyst™ 12.10 (9.002)
AMD APP SDK v2.7   AMD Catalyst™ 12.4 (8.961)
AMD APP SDK v2.6   AMD Catalyst™ 11.12 (8.92)
AMD APP SDK v2.5   AMD Catalyst™ 11.7 (8.872)
AMD APP SDK v2.4   ATI Catalyst™ 11.4 Update Driver (8.841)
AMD APP SDK v2.3   ATI Catalyst™ 10.12 (8.801)
ATI Stream SDK v2.2   ATI Catalyst™ 10.7 Update Driver for OpenCL™ 1.1 Support (8.753.1)
ATI Stream SDK v2.1   ATI Catalyst™ 10.4 (8.723)
ATI Stream SDK v2.01   ATI Catalyst™ 10.2 (8.701)
ATI Stream SDK v2.0   ATI Catalyst™ 9.12 (8.682)
Khertan
Full Member
***
Offline Offline

Activity: 193
Merit: 100


View Profile WWW
May 31, 2013, 01:36:16 PM
 #8

Could be due to change in driver ... and more recent version of cgminer use some optimisation unsupported/regression by recent amd driver :

see : https://bitcointalk.org/index.php?topic=221041.0

ArmoredDragon
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
June 11, 2013, 08:50:56 AM
 #9

I'm being constantly frustrated with this issue, and I'm still not sure the best way to solve it.

I have my ubuntu server running headless with cgminer, and it is configured to automatically take security updates. However it keeps updating kernel versions that break my existing and working radeon drivers. When it does so, I am forced to update the driver. I was at a state where everything was working fine with APP 2.6, however this morning I had a power outage and when the server came back up, cgminer segfaulted.

It seemed that this was due to a kernel incompatibility, which required a driver update. I tried a minor update, which wouldn't install due to some kind of DKMS issue. Only driver that installs is catalyst 13.4. So I updated the driver, seg fault goes away. But now I get the dreaded invalid nonce error (like I've had in the past.) Tried reinstalling APP 2.6, and I get a seg fault. So, I update to app 2.8; no more seg fault, but now I get nonce error.

I like automatic security updates because this server IS exposed to the public internet (its only exposed port protected by FWKNOPD though,) but these compatibility breaking kernel updates have finally done me in, so I'm turning it off (It would be nice if it security updated everything *but* the kernel, and notified me if a very serious vulnerability was found and is in need of immediate attention - otherwise none of these updates have ever been truly needed.)

Having said all of that, is there any known working driver/app sdk combo that works with the 3.7.0-7-generic kernel and bitcoin mining? By the way, this all happens with bfgminer too, old versions and new.

Alternatively, is there a way I can get DKMS installation to work when I install older amd drivers on newer kernels?
algobait
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 13, 2013, 04:17:53 AM
 #10

I was having the same problem on my Sapphire 7950 Vapor X - I could only run it at 12 intensity and 375 kH/s, anything over that gave endless HW errors.  I was on the 13.1 driver.  I rolled my driver back to 12.4 with AMD APP SDK of 2.7 and set the following GPU memory command in my Windows command line:

setx GPU_MAX_ALLOC_PERCENT 100

I believe it was this last step that solved my problem.  Now I can run cgminer 3.1.1 at 19 intensity getting 610kH/s (for LTC).  Hope this helps!
Aureum_Coffee
Full Member
***
Offline Offline

Activity: 130
Merit: 100


View Profile
June 13, 2013, 04:29:21 AM
 #11

Reduce intensity.  I have Gigabite 7970.  Intensity over 14 gives the same errors you have.  I started with intensity 8, and then increase 1 at a time until the HW error.

I can run for days without HW error at intensity 13.

Cgminer 3.1.1 
Catalyst driver 13.1
ArmoredDragon
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
June 13, 2013, 07:57:02 AM
 #12

I'm certain that none of those are the cause - it's entirely a driver problem. Trouble is I can't get the right driver to work with my newer kernel. It's a linux specific problem I suppose. I'm really wanting it to work on this rig because I use it for oh so many things, but linux GPU support is just horrid.
Aureum_Coffee
Full Member
***
Offline Offline

Activity: 130
Merit: 100


View Profile
June 13, 2013, 04:59:03 PM
 #13

Try running Cgminer in benchmark mode, eliminate network from variables.

--benchmark         Run cgminer in benchmark mode - produces no shares
--debug|-D          Enable debug output

So it's  " cgminer  --benchmark   --debug  "
Khertan
Full Member
***
Offline Offline

Activity: 193
Merit: 100


View Profile WWW
June 13, 2013, 09:55:31 PM
 #14

I'm certain that none of those are the cause - it's entirely a driver problem. Trouble is I can't get the right driver to work with my newer kernel. It's a linux specific problem I suppose. I'm really wanting it to work on this rig because I use it for oh so many things, but linux GPU support is just horrid.

That not a linux driver error only, that's happen also on windows.
Look like amd made change in their driver and amd_bytealign function didn't work as expected.

If you want to use 13.4 driver, just modify the opencl kernel by removing the BFI_INT optimization which cause the problem on 13.4

ArmoredDragon
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
June 14, 2013, 03:45:37 AM
 #15

I'm certain that none of those are the cause - it's entirely a driver problem. Trouble is I can't get the right driver to work with my newer kernel. It's a linux specific problem I suppose. I'm really wanting it to work on this rig because I use it for oh so many things, but linux GPU support is just horrid.

That not a linux driver error only, that's happen also on windows.
Look like amd made change in their driver and amd_bytealign function didn't work as expected.

If you want to use 13.4 driver, just modify the opencl kernel by removing the BFI_INT optimization which cause the problem on 13.4

How do I do that?

Try running Cgminer in benchmark mode, eliminate network from variables.

--benchmark         Run cgminer in benchmark mode - produces no shares
--debug|-D          Enable debug output

So it's  " cgminer  --benchmark   --debug  "

Benchmark mode results in invalid nonce.
Khertan
Full Member
***
Offline Offline

Activity: 193
Merit: 100


View Profile WWW
June 15, 2013, 05:00:16 PM
 #16

https://bitcointalk.org/index.php?topic=221041.0
https://bitcointalk.org/index.php?topic=227918.0

fractalbc
Full Member
***
Offline Offline

Activity: 192
Merit: 100


View Profile
June 19, 2013, 05:45:28 AM
 #17

I'm being constantly frustrated with this issue, and I'm still not sure the best way to solve it.

I have my ubuntu server running headless with cgminer, and it is configured to automatically take security updates.
WHY is it configured to automatically take updates?  You aren't running windows.

I think you have identified the source of your frustrations.

Turn off automatic updated.  If it ain't broken, don't break it.
ArmoredDragon
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
June 23, 2013, 12:15:56 AM
 #18

I'm being constantly frustrated with this issue, and I'm still not sure the best way to solve it.

I have my ubuntu server running headless with cgminer, and it is configured to automatically take security updates.
WHY is it configured to automatically take updates?  You aren't running windows.

I think you have identified the source of your frustrations.

Turn off automatic updated.  If it ain't broken, don't break it.

Not all updates, just security ones. The intent is to prevent the server from being compromised, however ubuntu "security only" updates aren't just security updates.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!