Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASUS Sabertooth X99 pad-file issue #214

Open
4 tasks done
gravufo opened this issue Jun 16, 2024 · 6 comments
Open
4 tasks done

ASUS Sabertooth X99 pad-file issue #214

gravufo opened this issue Jun 16, 2024 · 6 comments

Comments

@gravufo
Copy link

gravufo commented Jun 16, 2024

System

  • Motherboard: ASUS Sabertooth X99
  • BIOS Version: 4101
  • GPU: AMD RX480
  • CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • I have read Common issues (and fixes)

Description

First off, thanks a lot for this repo and all the effort put into the wiki. It was really helpful!

I have successfully flashed a BIOS with the ReBarSmiDxe module as well as the NvramSmiDxe patch (required for X99).
However, I end up with no video at POST and I can't see anything if I manage to enter the UEFI settings (similar to issue #4 ).
I realise that the UEFIPatch was also trying to patch my PciBus with the patch PciBus | Don't downgrade 64-bit BARs to 32-bit, which is probably what is causing the no video issue.

Unfortunately, if I apply that patch whether it's through UEFIPatch, UEFITool or even MMTool 5.x (can't use 4.x on my BIOS), it seems to add a new pad-file that wasn't there before:
image

I have even tried messing around with the hex editor, however I can only do that on the extracted uncompressed version of the module, so it ends up being the same problem at the end.

Any idea how I could proceed to fix that?

@ZOXZX
Copy link

ZOXZX commented Jun 18, 2024

I've used another version of mmtool to replace pcibus and now bios is free of padding issue, but beware:
on x79 that version caused CPU voltage to be fixed at 1.5V. Thankfully, it's under water cooling and I've seen the voltage error in BIOS and shut down the system.
Maybe there was some config error or it's x79 specific, but use it at your own risk and check immediately for cpu voltage ...
asus.rom.zip

@gravufo
Copy link
Author

gravufo commented Jun 19, 2024

I've used another version of mmtool to replace pcibus and now bios is free of padding issue, but beware: on x79 that version caused CPU voltage to be fixed at 1.5V. Thankfully, it's under water cooling and I've seen the voltage error in BIOS and shut down the system. Maybe there was some config error or it's x79 specific, but use it at your own risk and check immediately for cpu voltage ... asus.rom.zip

Thanks for the response! So the zip you provided is for which board? Highly doubt I can use it if it's a BIOS for another model.
1.5V on CPU is quite high, even with watercooling, it will degrade the CPU pretty fast. I am on air cooling, so not willing to risk running at 1.5V.

@ZOXZX
Copy link

ZOXZX commented Jun 19, 2024

It is for your board, what else?
Voltage problem was with x79 and mmtool that supports both 4 and 5, maybe it's not present here ...

@gravufo
Copy link
Author

gravufo commented Jun 19, 2024

Thanks, opening it in UEFITool NE does show that the pad-file is not there, so it looks pretty good (I'm assuming both the PciBus and the NvramSmiDxe patches were applied).
That's really helpful! I'm not sure when I'll have time to test/flash it, but I'll report back as soon as I do.

@AiSuperBot
Copy link

AiSuperBot commented Jul 10, 2024

The cause of the added pad file is that after the patch you applied the module has changed his size causing it to be unaligned, hence needing to add a pad file to realign the other module after the patched one.

There is more than one solution to this:
Try modding an older BIOS version.
Try compressing the module and the insert it to the BIOS (@Sweet_Kitten’s solution).
If you have more than one module to patch, try patching them (like DSDT or whatever, while ignoring the added pad file) and if you have enough luck it might fix the pad file issue (this solution counts on other modules change of size as a fix).

I went through the same issue. Here is the post that concludes all the process, in case this would be helpful to you.

@Ruffy47
Copy link

Ruffy47 commented Jul 18, 2024

Hey I tried to modify the BIOS file from Asus. I don´t own this board and can´t test it, but you can try if you want. I added the NVStrapsRebar module too.

https://easyupload.io/yq82fu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants