Haggyy,
I have the *EXACT* same problem as you. I've spent the last 12+ hours debugging to no avail. I've read every post online umpteen times before I saw your post and realized it was recent. I see the same blasted Code 12 "not enough free resources" error on my cards.
I'm uisng 6x GTX 1070 cards and 6 powered risers on the AsRock H81 Pro BTC R2.0 motherboard. I have 8GB RAM in my rig and I can tell you the amount of RAM doesn't matter for this issue, probably not worth you upgrading. My PSU is a Corsair 1200W platinum, not that it matters.
Even though I'm using 6 cards, I had the same problem with fewer cards. My first 2 cards worked fine so I ordered more. After I added 2 more cards (total of 4), I could only get some of them working. When my last 2 cards arrived (total of 6), 4 out of 6 are working.
4 of my cards work great and I can mine on them no problem. 2 of the cards have the yellow bang in Device Manager.
I also disabled non-essentials in BIOS, changed out risers with working video cards, reloaded Win10 from scratch, checked and re-checked all connections, set virtual memory to 16,384 Mb, set Bios to gen1, NONE of it works.
Both molex plugs are in the mobo. I also contacted AsRock, they sent me the 1.30 beta Bios and said turn on the "4G Decoding" setting but it didn't work.
This is my first time building a rig and it's working, but at two-thirds hash rate...
I've re-ordered risers to change them out to see if that's the issue since I see some forum users reporting bad risers causing this. After trying that, I'm going to return the mobo and get a replacement.
Screenshot:
http://oi67.tinypic.com/24q67ia.jpgHave you made any progress?
We may need to start a therapy support group for the pain and suffering caused...
Russell
Hi Russel
I cant believe you're having the same issues to, what a dilemma.. ASRock also advised me to install to a previous version of windows but tbh I really do not think this is the problem.
The amount of hours I've spent doing this to is crazy it hasn't been a smooth experience to say the least lol..

No more progress as of yet I was going to wait until this weekend to get my hands dug into it again. I'm literally debating to change to a completely new motherboard and move to a later generation socket praying that will fix the issues. Please let me know how you get on with the new risers that is one thing I never tried, I have stuck to the same 3 PCI risers that I know for a fact work as they have been tested individually over and over again.
Oh and I noticed you said you were going to replace the mobo however I have already tried this and results are still the same.. Not to sure if that will help save you some time.
Hahahaha and yeah we will definitely need some serious therapy after this haha.
Keep me updated on how you are getting on man.
ALSO: Interesting point CryptoWatcher420 made about the CPU handling more than a certain amount of cards, my CPU in my mining rig is a (Intel Pentium G3260, 3.3GHz, 3MB Cache, LGA1150, 2 Core, 2 Threads) - If anyone is clued up on CPU's and their interaction with GPU's please let me know, is it possible that my CPU cant handle these later generation cards perhaps?