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