[Problem] GA-Z68P-DS3: PCIe slots don't work properly

Hello everyone!

I have an old Gigabyte motherboard (GA-Z68P-DS3 Rev. 2.0) with the latest (and the only) UA6 UEFI beta bios, it’s a bit buggy though and has a problem where its x4 PCI-E slot only works in x1 mode even though no other PCI-E slots are in use beside x16, by googling a bit I found this forum and particularly this thread with the same issue where solution was found around post 69.
However since it’s not a guide and just a discussion of two experienced users and personally I have no experience in modding bios I need someone to confirm that by doing things below I won’t brick my board by missing or misunderstanding some obvious step, I can buy a programmer but desoldering an ic from mobo would be an unnecessary hassle I’d like to avoid.

Here’s what I’m going to do, do note that unlike the person in that thread I don’t need NVME functionality, I only need PCI-E slot to work at its full x4 speed so I can use it for a second video card:

First I need to fix flash descriptor bios starting offset of the original file as mentioned there in posts 137 & 141 otherwise Flash Image Tool won’t build it later, opening UA6 file with UEFITool shows that bios starts at 180000h: pic, dividing it by 1000 and then converting from Big Endian to Little Endian gives me 8001, adding it to original file at the supposedly correct place with HxD looks like this: pic, this is the part I doubt the most, is everything correct?
Now I save and open this modified file with Flash Image Tool v8.1.40.1456 (opens without errors), go to Flash Image > Descriptor Region > PCH Straps > PCH Strap 9 directory and change PCIe Port Configuration 2 entry from 00: 4x1 Ports 5-8 (x1) to 11: 1x4 Port 5 (x4)… like this: pic and press build, it builds without errors, I guess now I have outfile.bin that I can flash, right? Can I flash it the normal way through bios itself with USB drive or do I explicitly need to use Flash Programming Tool?

Additional questions: can I change bios version (UA6) that is shown in software like CPU-Z and inside bios itself to something like UA6m to easily distinguish this modified version? Why my newly built bios file still shows old 8.0.0.1351 FIT version in MEAnanlyzer (pic) even though I compiled it using v8.1.40.1456? Will I be able to roll back to unmodified UA6 from dual bios second bios chip if something goes wrong?

Edit by Fernando: Thread title specified

@aitch-zed be careful, when you fix the flash descriptor, since the bios region is 00 00 00 00 00 FF and you fix it accordingly for intel fit usage, once you have the output.bin, edit the output.bin flash descriptor back to the original state (back to 00’s), since if you copy/update the backup bios, the backup bios read that flash descriptor region where does the bios start, and then copy that to backup bios.

I think the reason why gigabyte done it was because they set the Dual Bios copy main to backup bios by seeing the bios region in flash descriptor. If the flash descriptor bios region was set to the actual bios region, it will copy the bios region only, but if it was unset, it will copy the whole bios.

I think the best practice to fix it (with your method) is by opening the old non uefi bios that does not have that bug with intel fit, save config, and then do the same with the uefi beta bios, and then compare both.

Edit: You can try this: Z68PDS32UA6_Mod.rar (2.8 MB). After you flash it using intel fpt (i assume you do -f instead of -f -bios ), dont forget to do -greset after the flashing was complete, and let it reboot. But you could try to just use QFlash and flash this bios, see if the ME Ver is now 8.1 instead 8.0 (or with HwInfo64 > Main > Motherboard > Intel ME, it shows the FITc is 8.1 instead 8.0), and then see if lower x16 slot runs at x4.


List of updated modules:
ME Firmware Ver: 8.0.0.1351 → 8.1.70.1590
Disk Controller

  • EFI Intel RST for SATA - 11.6.0.1702 → 12.9.0.2006
  • OROM Intel RST for SATA - 11.1.0.1413 → 12.9.0.2006 (“Universally Trim Modified” rom)

Video OnBoard

  • EFI GOP Driver IvyBridge - 3.0.1023 → 3.0.1030
  • EFI GOP Driver SandyBridge - 2.0.1023 → 2.0.1024
  • OROM VBIOS SNB-IVB - 2137 → 2171

Network

  • EFI Realtek UNDI Driver - 2.015 → 2.075
  • OROM Realtek Boot Agent GE - 2.50 → 2.70

Inserted Modules:

  • NvmExpressDxe_5
  • Samsung_M2_DXE
  • ReBarDxe v0.3
  • NvStrapsRebar v0.4-rc1

Misc:

  • Microcodes updated to the latest
  • Dual Output Fast Read Support has been set to TRUE
  • PCH Strap 9 for PCIe Port Configuration 2 changed from “00: 4x1 Ports 1-4 (x1)” to “11: 1x4 Ports 5 (x4), Ports 6-8 (disabled)” (this is the supposedly original configuration from past bios before UEFI, in this case i use version FE that has ME v7, and yes this is the original config)
  • Rebuilt the bios using Intel FIT + updating it to ME v8.1.70.1590 (1.5mb SKU), then restored the FD back from 8001 to 0000 for dual bios functionality.

If everything is working flawlessly, and your lower pcie can do x4 instead of x1, and there is no quirks with the system while in bios and after booting, then this bios could be safely be updated to backup bios (by spamming ALT+F10 during power on).

You could also try to set the OS Type in the bios to Windows 8 WHQL and set Launch CSM to disabled, then go to System Information menu > Invisible Menu below ATA Information > Enable Above 4G Decoding, and dont forget to set sata mode to AHCI, then save and exit, see if it boots to pure UEFI normally (with sata drive or even nvme drive if you use that lower x16 slot for nvme drive boot).

Personally speaking, im impressed that even though this is a 4MiB Bios, it still has enough room to add mods for nvme and rebar, while also the updated modules and the microcodes.

Thank you for your reply, got a bit busy in the last few days but I think I’ll try flashing the board today or tomorrow

Though I don’t think I really need any additional features like NVME support or ReBAR as I only have sata ssds and my gpu is cmp30hx which supposedly won’t work with ReBAR as it’s mining version of 1660s without direct video output, that’s why I need a second card but x1 slot limits my fps to 30 something

1 Like

@aitch-zed Oh you use CMP HX card? Have you make sure that the card could run at x4 or even x16 in other system? From what i’ve known, CMP cards at stock are strap limited at x1, which could be modded to x16 but still remains at pcie gen 1.

I included NVMe boot and Rebar capability just in case anyone else with the same board want to use it.

Also, i think rebar would work if you could get Above 4G Decoding (it’s on System → Invisible Menu below ATA Information) running after you set the OS to windows 8/windows 8 whql with it Launch CSM disabled. Once you enabled above 4g decoding and disabled launch csm, and the system could boot, you can run this app as admin, Press E, then press P, type 13 and enter, then press S, and then exit and reboot. Rebar should run on turing since i included the mod with this bios.

Yeah I bought the card from a miner for like 20$ and soldered missing caps to unlock 16 lanes, with modified driver it works fine on another PC with more modern intel CPU/iGPU even though it only uses 1.1 pcie gen, however the PC I plan to use it with has i7 2600k and Sandy Bridge Intel video drivers are too old to properly pass through the image without buggy workarounds so I decided to use cheap 2nd GPU like rx550 or gt1030 in the second slot for this task, that’s when I discovered the issue

1 Like

Good reasoning with your need for rx 550/gt 1030. BTW, did the modified bios i did works for you?

Any follow up @aitch-zed ?