-
Notifications
You must be signed in to change notification settings - Fork 70
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
Boots into windows but unable to access bios with ReBAR at or greater than 4gb #4
Comments
CSM is off right ? Don't believe what GPU-Z says about CSM or 4G decode because it's often wrong |
Yes, verified that CSM is off and 4G decode is enabled. I do get a performance boost when its set to 4gb+, its just that I'm unable to enter the bios and the screens stay off during boot until windows logon screen shows. Just noticed on your winraid forum post that someone else is having a similar problem with the same board, just diff gpu. |
@SqueakyAlex yeah the bios probably needs patching. I had to patch my bios (gigabyte b75m-d3h) to get BARs over 2GB to work. But I haven't made a patch to fix this issue since I don't have it. Can you send a screenshot of Device Manager resources tab for your GPU when using 1GB BAR ? |
@SqueakyAlex the issue of High Definition Audio Bus not having enough resources can be fixed by patching the PciHostBridge module's call to AddMemorySpace to increase the size it uses (and DSDT QWordMemory too if needed). EDIT: This isn't the case, AddMemorySpace adds a 64GB region which is more than enough |
Assuming your patches would not work for Skylake, I spent a few hours checking pcihostbrige on ghidra and came to the conclusion that I don’t know what I’m looking for and that I know nothing about assembly. Eventually I did try your patches and as expected the result was "No patches can be applied to input file" I did manage to extract my DSDT and found this
|
@SqueakyAlex Just send a screenshot of Device Manager showing Resources By Type Large Memory it will show how much the space the DSDT gives. The only patches I developed are for Ivy Bridge systems and maybe a few Haswell ones which is why it finds nothing to patch. I hope that more patches are contributed in the future because I can't test hardware that I don't have. |
Hi,
Behaviour is the same as in this thread after applying ReBAR patch: CSM disabled, 4G decode enabled. If there is anything useful, that I could provide to resolve the issue, tell me. Thanks for your work! |
If anyone wants to try and develop patches to fix it you can search for "ffffffff000" in the PciBus module on your disassembler to find the code that reads the BAR size and categorizes them as 32-bit (4/5) or 64-bit (6/7). |
Try booting Linux with 4GB+ BAR and seeing what dmesg says. |
Unrelated to your ReBarUEFI, but while testing different Above 4G settings to do comparisons on PCIe Root Port default allocations between AMI BIOS and Coreboot to track a bug, I discovered that recent amdgpu versions can enable Above 4G Decoding and ReBAR completely OS side even if they're disabled on Firmware: Dasharo/dasharo-issues#245 |
can anyone tell me how to disable Above 4g Decoding Patch? what line should i edit and what? i extracted body from my bios where search find 4g decoding but im unable to find any string related to above 4g decoding patch. is that mean i cant disable 4g Decoding patch or ? |
@Dadovvv please read wiki common issues and fixes. if you can't find the string then the setting doesn't exist |
Hi, I have a H110M-R which has a LGA1151 socket. For me, display blacks out mid way through the booting process (it's past the boot screen with del for bios and then past the asus logo with win11 spin). My CPU does has an iGPU but the problem is I didn't build this PC myself and the motherboard IO shield has something physically blocking the port from being used. Is there anyway around this or do I have to remove the motherboard from the case and remove the blocker? I'm not sure if this is relevant but the mouse and keyboard are still receiving power and it shuts down normally upon pressing the power button on the case. |
Strangely, after writing this comment it works? It's booted to windows normally and display and sound work fine through HDMI. I will add to working motherboards in a sec. |
FWIW I had found out that when I'm just using the igp of my i5-9600K (on a Z390 GAMING X with F10i bios) I'm getting a black screen with aperture sizes higher than 1024MB. |
I have the same case, I can not boot into bios when rebar unlimited . There is an option Above 4G Decoding on my bios。 “Try disable the option”, Did I see it wrong? @xCuri0 GPU: RX6950 xt |
I believe this issue is more severe on Intel GPUs, as referenced in #66 and corroborated by my own testing. System Specifications:
I’ve ensured that: Steps Taken:
I also experimented with a 2GB ReBar size for fun, and as expected, it failed: Intel Arc GPUs need ReBar enabled to be fully functional, so this issue is really a bummer. Maybe consider adding Intel GPU not working to the Common Issues list under the LGA1151 various issues for now. I really want to fix this and if there's anything else I can provide please let me know! Edit: Searching through the issue again I came across this reply by the owner: #11 (comment) So apparently 64GB of ram is not working with 16GB A770. Edit Edit: Just checked that 32GB RAM(16GB x2) is not working on my PC too. Single 16GB RAM is also not working. Edit Edit Edit: I was able to find a Sapphire RX580 Nitro+ and use that to test since @xCuri0 used this card. I was then able to confirmed that ReBar indeed works just not with A770. I even have HD Audio working: I quickly patch the registry and enabled ReBar in driver without issue: So it seems that there really is a compatible issue with Intel GPUs on Gigabyte LGA 1151 platforms. |
Easily managed to set it up and get it running.
After some quick testing I found out that...
1gb = According to Radeon drivers (ver22.10.2) and GPU-Z, ReBAR gets enabled, works as expected.
2gb = Halts on bootlogo, unable to enter bios. Need to reset bios.
4gb+ = Boots into Windows but unable to see bootlogo during boot and unable to enter bios, trying to enter bios using the Windows troubleshooting menu also fails. (tested up to 16gb with the same behavior)
Did some benchmarks on 4gb and 16gb to test for system instability, all seemed fine except that I was unable to see the bootlogo on boot or access the bios which can be confusing because during the whole booting process it does seem like the computer has failed to post.
The text was updated successfully, but these errors were encountered: