Disclaimer: Modifying NVRAM variables using tools like RU.efi is strictly at your own risk. Incorrect values can brick your motherboard, requiring a hardware SPI flasher to recover. Proceed only if you know what you are doing.
Methodology: How these were found
Many guides rely on simple hex searches for text strings within the BIOS image, which often leads to incorrect offsets (dummy variables or dead code). To ensure 100% accuracy for the Acer Nitro N50-650 (BIOS R01-B3), these offsets were found through rigorous static analysis of the UEFI IFR (Internal Form Representation) bytecode.
By writing custom Python disassemblers, we bypassed AMI Aptio Vās obfuscated string packages and SUPPRESS_IF conditional branches to extract the raw machine code that draws the hidden BIOS menus. This proved conclusively that these are simple 1-byte binary switches (0x00 = Disabled, 0x01 = Enabled) and not complex multi-value arrays. Furthermore, it confirmed that the XMP toggles reside correctly in the Intel System Agent (SaSetup) variable store, not in the standard Setup.
Confirmed NVRAM Variable Map
| Feature |
Variable Store |
VarOffset (Hex) |
Value: Disabled (Default) |
Value: Enabled |
| Above 4G Decoding |
PCI_COMMON |
0x0001 |
0x00 |
0x01 |
| Re-BAR Support |
SaSetup |
0x042B |
0x00 |
0x01 |
| XMP / Memory Profile 1 |
SaSetup |
0x018D |
0x00 |
0x02 |
| XMP / Memory Profile 2 |
SaSetup |
0x0043 |
0x00 |
0x03 |
| CFG Lock |
CpuSetup |
0x018D |
0x01 |
0x00 |
| Overclocking Lock |
CpuSetup |
0x010E |
0x01 |
0x00 |
| OverClocking Feature |
CpuSetup |
0x01D9 |
0x00 |
0x01 |
(Note: The Setup store has a GUID starting with EC87D643*, and* SaSetup has a GUID starting with 72C5E28C*)*
Instructions for testing XMP:
Because the specific prompt names for the XMP variables are deeply packed/obfuscated in this OEM BIOS, there are two distinct memory profile switches right next to each other (0x0137 and 0x013D).
-
Using RU.efi, go to `SaSetup`.
-
First, try changing **only** `0x0137` to `01`. Save, reboot, and check your memory speed in Windows (Task Manager or CPU-Z).
-
If the speed didn't increase to your RAM's XMP rating, revert `0x0137` back to `00` and try changing `0x013D` to `01`.
Instructions for Re-BAR:
For Resizable BAR to work, you must enable both Above 4G Decoding (0x002E -> 01) and Re-BAR Support (0x0365 -> 01) inside the Setup variable store. Make sure your GPU supports it and that you are booting in pure UEFI mode with CSM disabled.
Disclaimer: Modifying NVRAM variables using tools like RU.efi is strictly at your own risk. Incorrect values can brick your motherboard, requiring a hardware SPI flasher to recover. Proceed only if you know what you are doing.
Edit by Fernando: Thread title customized and shortened
1 Like
Great writeup ā and a small but interesting cross-check: your Setup variable GUID (EC87D643-ā¦) is the exact same one I found on a completely unrelated board (Dell XPS 8900, i7-6700K, Z170, BIOS 2.7.1/2.9.1). Confirms that GUID is a shared AMI Aptio V reference default across OEMs, not Acer-specific.
Iāve been doing the same style of static IFR analysis (UEFIFind/UEFIExtract + IFRExtractor-RS rather than a custom disassembler, but same idea) trying to get a Tesla P40 (24GB VRAM, large BAR) working on this board. Found two hidden switches so far:
- Above 4G Decoding ā PCI_COMMON (GUID ACA9F304-ā¦), VarOffset 0x3, Disabled=0x00 / Enabled=0x01
-
- Above 4GB MMIO BIOS assignment ā Setup (GUID EC87D643-ā¦), VarOffset 0x355, Disabled=0x00 / Enabled=0x01
- Both confirmed enabled and persistent (wrote the first directly via Linux efivarfs since it has RUNTIME_ACCESS; the second via grub-mod-setup_varās setup_var_cv since Setup isnāt runtime-accessible).
Result: POST now succeeds with the card installed (real progress ā this card normally fails to POST at all on unmodified consumer boards), but the actual OS/bootloader load still fails and falls back to Setup. Ruled out CMOS battery, SATA mode, Aperture Size (unrelated ā thatās the iGPUās own aperture), Max TOLUD (governs the low/sub-4GB boundary, not the high window), and confirmed Resizable BAR doesnāt exist anywhere in this firmware at all ā no string match for āResizable BARā/āReBARā/āRe-Size BARā anywhere in the image (not surprising, this platform predates mainstream ReBAR support by several generations).
Given your board has a separate Re-BAR Support bit at 0x365 right next to my 0x355 one ā do you know of a similar pattern for something that controls the actual reserved size of the above-4G MMIO window, separate from whether itās assigned at all? I havenāt found a numeric size field near either of my two settings, just the two enable/disable bits. Wondering if thereās a chipset-specific form Iām missing, or if this is more likely a hard silicon limitation on Skylake/Z170 for a BAR this large (24GB) regardless of whatās toggled.
@RipaRapa
Welcome to the Win-Raid Forum and thanks for your interesting contribution!
Since your chosen thread title was too long (not completely visible with small display) and didnāt contain a hint regarding its main sense (āGuideā or āProblemā), I have tried to find a solution.
If you donāt agree with my proposal, feel free to customize the title according to your wishes by editing your initial post.
Enjoy the Forum!
1 Like
@applejack86
Reply regarding the MMIO Size and Aperture:
I just ran a raw string extraction script on my Acer BIOS image specifically looking for MMIO size variables, and I found something that might completely change your troubleshooting! Here some analysis with help from an AI.
You mentioned: āRuled out ⦠Aperture Size (unrelated ā thatās the iGPUās own aperture)ā
Take a look at these exact strings I just pulled from my AMI Aptio V image:
-
Note : Above 4GB MMIO BIOS assignment is automatically enabled when selecting 2048MB aperture. To use this feature, please disable CSM Support.
-
This is enabled automatically when Aperture Size is set to 2048MB.
In the AMI Aptio V reference code, Aperture Size is NOT completely decoupled from the dGPU. Setting the iGPU Aperture Size to its maximum (usually 2048MB) acts as a hardcoded trigger that forces the DXE PCI allocator to expand the QWordMemory window / MMIO space mapping.
Also, I did not find any string for a manual āMMIO High Sizeā. Instead, I found this: Maximum Value of TOLUD. Dynamic assignment would adjust TOLUD automatically based on largest MMIO length of installed graphic controller
This means there is no manual āSizeā variable to flip. The BIOS tries to calculate the MMIO ceiling dynamically. If setting your Aperture Size to 2048MB doesnāt fix your boot loop, it confirms that the dynamic TOLUD calculation algorithm in the Z170 era firmware simply integer-overflows or hits a hardcoded safety cap when it sees the 24GB request from your Tesla P40, resulting in the ACPI table building failure.
======= LOOKING FOR MMIO, APERTURE AND BAR SIZE =======
Summary
[0x89147] Reserve DPR memory size (0-255) MB
[0x8b376] Configurable Processor Base Power (cTDP) Mode as Nominal/Level/Leve2/Deactivate TDP selection. Deactivate option will set MSR to Nominal and MMIO to Zero.
[0x8bdbf] Power Limit 1 values from MMIO
[0x8be24] Power Limit 2 values from MMIO
[0x9d2f9] Max TOLUD
[0x9d30e] Maximum Value of TOLUD. Dynamic assignment would adjust TOLUD automatically based on largest MMIO length of installed graphic controller
[0x9eebc] PCIE Resizable BAR Support
[0x9eef3] Enable/Disable PCIE Resizable BAR Support
[0xa5dbb] Enable/Disable Memory Remap above 4GB
[0xa8133] Aperture Size
[0xa8150] Select the Aperture Size
[0xa8188] Note : Above 4GB MMIO BIOS assignment is automatically enabled when selecting 2048MB aperture. To use this feature, please disable CSM Support.
[0xadbad] Above 4GB MMIO BIOS assignment
[0xadbec] Enable/Disable above 4GB MemoryMappedIO BIOS assignment
[0xadc62] This is enabled automatically when Aperture Size is set to 2048MB.
[0xb37a7] VMD Config Bar Size
[0xb37d0] Set The VMD Config Bar Size
[0xb7853] PCIe Reserved Memory Size to be requested in MB.
[0xfd684] Above 4G Decoding
[0xfd6a9] Enabled or Disabled Above 4G Decoding
======================================================
@applejack86
Correction on XMP: Further static IFR extraction (ifrextractor) revealed the actual āMemory Profileā master selector menu is located at VarOffset 0x018D inside SaSetup. Instead of a 0/1 toggle, it requires specific profile values: 0x00 is Default SPD, 0x02 activates XMP Profile 1, and 0x03 activates XMP Profile 2.
Correction on Re-Bar: The initial raw string scan provided a misleading offset. A full static IFR extraction confirms that the actual āPCIE Resizable BAR Supportā toggle is NOT in the Setup variable store. It is actually located inside the SaSetup (System Agent) store at VarOffset 0x042B. To ensure it is enabled, the value at this offset must be set to 0x01.
Correction on Above 4G Decoding: Just like with Re-BAR, the initial string scan pointed to a ghost offset. The IFR extraction confirms that the āAbove 4G Decodingā toggle is NOT located in the standard Setup store. It actually resides in its own specific variable store called PCI_COMMON at VarOffset 0x0001. To enable it, you need to set the value at this exact offset to 0x01.
I have now all answers given by ifrextractor in a file.