Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: Yoledo on December 06, 2017, 09:20:04 PM



Title: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: Yoledo on December 06, 2017, 09:20:04 PM
ive recently built my first mining rig with the following
asrock h81 probtc r2.0
intel 3258
4gb ram
120gb ssd
evga 1000w gold
2x pny NVidia gtx 1050ti
1 gigabyte gtx 1050ti
1 evga 1050ti

windows 10 build 1703

when I initially set it up it would only read one gpu, after doing the hackflags registry edit and increasing virtual memory to 16000 and going back to windows 1703 from 1709 I got it to read all 4  but gives me a code 12 on one
 
https://imgur.com/a/I90d0

I emailed asrock and they sent me a bios update for 1.3b which enabled 4g decoding and it didn't help. ive disabled sound, lan and onboard video from bios, set pci speed to gen1 and still get a lack of resources. shit, ive even gone as far as order another set of risers, another mobo, and a new ssd thinking that somehow that would fix it. the only thing I can think of now is I read somewhere that the cpu might be the culprit. Idk man, Ive been working on this for over a week and am at the end of my rope. any advice is appreciated!

Will reward .0014 BTC for correct solution!


Title: Re: help needed with mining rig please!! code 12!!
Post by: smoolae on December 06, 2017, 09:24:59 PM
Hello,
Maybe You can get some help from here https://bitcointalk.org/index.php?topic=2401059.0;topicseen  :)

Edit:
Oh, sorry! You have already posted on that topic. If nothing else works, You should RMA your MOBO.


Title: Re: help needed with mining rig please!! code 12!!
Post by: Yoledo on December 06, 2017, 09:48:54 PM
Hello,
Maybe You can get some help from here https://bitcointalk.org/index.php?topic=2401059.0;topicseen  :)

Edit:
Oh, sorry! You have already posted on that topic. If nothing else works, You should RMA your MOBO.

its my second mobo lol when I had 2 cards connected it only let me run one, then with 3 it said code 12 on the third, now with 4 itll let me run three but code 12 on the 4th


Title: Re: help needed with mining rig please!! code 12!!
Post by: Yoledo on December 07, 2017, 03:04:19 AM
bump


Title: Re: help needed with mining rig please!! code 12!!
Post by: Johny101010 on December 07, 2017, 04:21:31 AM
I'll bet you a whole Satoshi it is the risers.
One thing that you can do though is test with Linux and when you find the same thing just fine out which riser is damaged and swap.


Title: Re: help needed with mining rig please!! code 12!!
Post by: Yoledo on December 07, 2017, 04:27:43 AM
I'll bet you a whole Satoshi it is the risers.
One thing that you can do though is test with Linux and when you find the same thing just fine out which riser is damaged and swap.

I went through 12 different risers and all were good. I don't think it's a hardware as much as it's a bios/io problem.


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: shibob on December 07, 2017, 05:18:48 AM
I never got this problem so I'm not sure, but you may give a try as following reference:

https://forums.geforce.com/default/topic/470858/code-12/



Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: Yoledo on December 07, 2017, 05:44:01 AM
I never got this problem so I'm not sure, but you may give a try as following reference:

https://forums.geforce.com/default/topic/470858/code-12/



Ive tried that too.

But thank you for the reply!


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: leonix007 on December 07, 2017, 06:13:57 AM
I never got this problem so I'm not sure, but you may give a try as following reference:

https://forums.geforce.com/default/topic/470858/code-12/



Ive tried that too.

But thank you for the reply!

How about this one? TOLUD issues and bios settings.

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


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: Yoledo on December 07, 2017, 06:17:14 AM
I never got this problem so I'm not sure, but you may give a try as following reference:

https://forums.geforce.com/default/topic/470858/code-12/



Ive tried that too.

But thank you for the reply!

How about this one? TOLUD issues and bios settings.

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

There's no tolud setting on this motherboards bios, and I already have 4g rendering enabled.


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: Undefined31415 on December 07, 2017, 09:15:46 AM
Try setting PCIe link speed in the BIOS to GEN1. (Should that fail, try the other available options with this setting.) My guess is that PCIe lanes is your issue, since your system will likely default to having one card run in x8 mode, and 2 others run in x4 mode, causing problems for the fourth card.


Should that fail...
Clear CMOS (use the jumper or remove the CMOS battery for about 10 seconds)
Reseat CPU
Reseat RAM



Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: analyzing on December 07, 2017, 09:18:16 AM
Please pm me , i can fix this issue via team-viewer , if you are interested


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: Yoledo on December 07, 2017, 02:06:29 PM
Try setting PCIe link speed in the BIOS to GEN1. (Should that fail, try the other available options with this setting.) My guess is that PCIe lanes is your issue, since your system will likely default to having one card run in x8 mode, and 2 others run in x4 mode, causing problems for the fourth card.


Should that fail...
Clear CMOS (use the jumper or remove the CMOS battery for about 10 seconds)
Reseat CPU
Reseat RAM



tried running pcie speed as gen 1, gen 2, and auto, still no resources. just tried clearing cmos, reseating cpu and ram and nothing.
thank you though https://i.imgur.com/3MsQtCw.jpg


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: R0land on December 07, 2017, 02:34:03 PM
I also think, that you have problems with the pci-e lanes config from the mainboard.
You can use a 1 to 4 pci-e hub to use 4 cards in 1 pci-e slot from your mainboard. 8)


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: smoolae on December 07, 2017, 03:37:24 PM
Just saying, but a lot of people are having problems with ASRock h81 probtc r2.0. I was also one of them. And it does seem like PCI-E slot issue.

Like R0land said:
 
Quote
I also think, that you have problems with the pci-e lanes config from the mainboard.
You can use a 1 to 4 pci-e hub to use 4 cards in 1 pci-e slot from your mainboard. Cool
Posted on: Today at 02:06:29 PM Posted by: Yoledo


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: treanski on December 07, 2017, 03:56:41 PM
enable gen1/4g decoding in bios
disable audio, sata ports and everything else what u dont need in bios
try to increase systemagent offset voltage +0.1 - 0.5
increase min/max virtual memory

i had this mobo running with 7 gpus stable


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: Yoledo on December 08, 2017, 12:21:18 AM
all my gpus show up under pci express except the last one thats under pci to pci bridge but even then that gpu isnt the problem, its the one attached to pci express root 1


https://imgur.com/a/CHdoo



Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: Miner3000 on December 08, 2017, 02:56:46 AM
all my gpus show up under pci express except the last one thats under pci to pci bridge but even then that gpu isnt the problem, its the one attached to pci express root 1


https://imgur.com/a/CHdoo


Try uninstalling hd audio controllers, not just deactivating them


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: Yoledo on December 08, 2017, 03:10:54 AM
everytime I uninstall I wait a few minutes and they come right back


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: Yoledo on December 08, 2017, 04:11:17 AM
Bounty still up!


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: Miner3000 on December 08, 2017, 04:41:15 AM
everytime I uninstall I wait a few minutes and they come right back

Yeah I thought so to so I spammed uninstall on the audiocontrollers on different ports and then on the one I had problem with and then the whole thing seemed to arrange itself in a way that it didnt cause a conflict. Since you have tried everything else (same as me) im still thinking this is your best bet to mess around there.

Just in case, im dont think it matters, im running 4g decoding enabled, but gen2 pcie link (most recommend gen1). Also,  im sure you have your monitor connected to the correct pcislot (16x) but that is a problem I started with... couldnt get the cards to install the right way for the life of me before I got that out the way  :-[

Anyways I hope you figure it out, I know how frustrating it is.



Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: JaredKaragen on December 08, 2017, 06:01:45 AM
boot with one gpu... verify it works.

shutdown, reboot and confirm.

now, add one gpu.

let it get to the point where both are detected again.  test.

reboot and confirm.... and keep adding one more gpu like this.


sometimes windows gets wonky and needs to be walked step by step.....


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: llanaio on December 08, 2017, 10:03:35 AM
You have one of two problems, I think. (Or maybe both.)

• Your 1000W PSU may be underpowered for this configuration.
• Two or more cards are trying to access the same memory.

The process to correct it is to unplug everything but one GPU. Boot. See if you avoid this problem.

Continue adding one card at a time until you get a conflict. 9 times out of 10 it's the Interrupt Request (IRQ) number that's assigned to two card, but it can also be DMA and I/O. Look for a conflict in Windows Device Manager. Look at the resources for each card. All should be unique and not overlap. (Write a little grid to track it.) If the IRQ or another param repeats, set it to a different address and reboot.

If you find that you can add any three cards but never four (or whatever) without the error, then you could be unintentionally undervolting your cards. Moving up to a 1200w PSU would probably fix that.

Good luck!


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: Yoledo on December 08, 2017, 11:58:52 PM
boot with one gpu... verify it works.

shutdown, reboot and confirm.

now, add one gpu.

let it get to the point where both are detected again.  test.

reboot and confirm.... and keep adding one more gpu like this.


sometimes windows gets wonky and needs to be walked step by step.....
everything is good with gpu 1-3 then as soon as I add a 4, one will go code 12 on me and its not even necessarily the 4th one I plugged in


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: Yoledo on December 09, 2017, 12:06:09 AM
boot with one gpu... verify it works.

shutdown, reboot and confirm.

now, add one gpu.

let it get to the point where both are detected again.  test.

reboot and confirm.... and keep adding one more gpu like this.


sometimes windows gets wonky and needs to be walked step by step.....
everything is good with gpu 1-3 then as soon as I add a 4, one will go code 12 on me and its not even necessarily the 4th one I plugged in


in the memory part it shows 6of my graphic cards. could that be the problem, and if so how do I fix it
https://imgur.com/a/DeOjt


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: llanaio on December 09, 2017, 06:37:20 AM

in the memory part it shows 6of my graphic cards. could that be the problem, and if so how do I fix it
https://imgur.com/a/DeOjt


Your PCI Express root port #3 seems to be your problem. It's overlapping resources for 3 of your 1050 ti cards and your HD Audio Controller (00000000A0000000 - 00000000B30FFFFF). First, update the drivers to the latest and see if that corrects the problem on its own. If not, manually assign it another memory page from Windows Device Manager that doesn't overlap any of your other devices.


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: JaredKaragen on December 09, 2017, 06:47:01 AM
the audio should be disabled afaik......  its an unnecessary system resource in my book when it comes to miners.


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: ixonite on December 09, 2017, 08:45:43 AM
I have the same mobo, i had the same error on windows 10. 4x 1070ti connected to the mobo windows only could use 3 of them, I found a makeshift bios from asrock for 4g option. It did not fix it either. The only fix I could find is just ditching the windows all together and install linux. I have all GPUs working now. For testing I also added another card it can use 5x GPUs without problem.


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: llanaio on December 11, 2017, 07:30:00 AM
I have the same mobo, i had the same error on windows 10. 4x 1070ti connected to the mobo windows only could use 3 of them, I found a makeshift bios from asrock for 4g option. It did not fix it either. The only fix I could find is just ditching the windows all together and install linux. I have all GPUs working now. For testing I also added another card it can use 5x GPUs without problem.

Agree. There's a LOT to like about converting to a headless Linux build. Windows has its strengths, but to me, a simple miner that requires no license or automatic updates and restarts itself mining again every time it reboots is a joy.


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: JaredKaragen on December 11, 2017, 07:35:01 AM
I have the same mobo, i had the same error on windows 10. 4x 1070ti connected to the mobo windows only could use 3 of them, I found a makeshift bios from asrock for 4g option. It did not fix it either. The only fix I could find is just ditching the windows all together and install linux. I have all GPUs working now. For testing I also added another card it can use 5x GPUs without problem.
was your copy of 10 truly legitimate and fully updated to 17xx?  Because they made system changes in the recent updates to fix multiple GPU issues....


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: benj22_2 on December 11, 2017, 08:30:10 AM
I'll guide you through installing your system on a mining specific OS for a small fee, as I am sure that your problem is windows. Message me if you need so we can discuss this and get you running A.S.A.P.


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: cryptowizzard on December 11, 2017, 08:55:41 AM
I would say it's you need more power in the PSU. If you have a second PSU you can use it for one card. When the PSU can not feed all the cards it happens one little thing: there is enough power for all cards so they are seen by the operating system, but not for all the GPU. So the operating system can talk to the graphic cards controller, everything is reported normal, but when it tries to access the gpu it doesn't respond. On linux for example you have a command pcils which displays the PCI items but the opencl command to query the gpus would freeze. You can also switch the cards and you'll see they are working and only the "last" one is not detected.


Title: Re: help needed with mining rig please!! code 12!! BTC reward for solution!
Post by: Johny101010 on December 11, 2017, 09:48:41 PM
Make your life easy. Get a 16 gig USB stick, put simple mining os Rx dag fix , boot to it. If everything works than u good. If it doesn't u know u have a hardware issue.