xCuri0 / ReBarUEFI

Resizable BAR for (almost) any UEFI system
MIT License
1.29k stars 57 forks source link

MSI GE65 Raider - 9SF - ReBAR - UEFI Patch issue #152

Closed Leznuk closed 3 months ago

Leznuk commented 3 months ago

System

Hi All, Im trying to add ReBAR functionality into my MSI GE65 Raider. i9-9880H, RTX 2070 Mobile. In the unlocked MSI BIOS I'm able to enable 4G decoding and disable CSM which does enable ReBAR on the integrated Intel GPU, but not on the RTX 2070 mobile. See below: Intel GPU 1 Intel GPU 2 RTX 2070 1

Clearly, I need to add the NvStrapsReBar.ffs into my BIOS to get it working for the dGPU. I followed the instructions, generated my own NvStrapsReBar.ffs and inserted it into the BIOS as per the instructions. As for the BIOS itself, I updated the laptop to the latest BIOS and ME firmware from MSI and dumped it via Intel FTP. I performed ffs mod in said BIOS dump file. My intent is to flash the modified BIOS via Intel FTP.

However, when I run UEFI Patch on the patched ReBAR BIOS, I get this issue: image

Can someone please take a look at this? I compared the original BIOS dump to the modified ReBAR BIOS and all the paddings are in the same place. Something I'm missing?

I also included the three BIOS files. MSI BIOS Mods.zip Thank you.

xCuri0 commented 3 months ago

@Leznuk try without Uefipatch first if you're worried it corrupts BIOS

Idk where you got that patch tho because it is not in ReBarUEFI repo