Skip to content

feat: PCIe Resizeable Bar (ReBAR) Support (via Thunderbolt or USB 4) #37

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

Open
ChihweiLHBird opened this issue Jan 7, 2025 · 4 comments

Comments

@ChihweiLHBird
Copy link

ChihweiLHBird commented Jan 7, 2025

Many people are working with an external GPU (eGPU) enclosure to run a discrete graphics card with the laptop.

There are some recent launched graphic cards like Intel Arc series which can utilize the Resizable Bar (ReBAR) feature to get a significant performance improvement.

The BIOS and chipset used by Framework laptops should have the ReBAR option under the hood but not exposed as a configurable option in the BIOS UI.

There is also a long-waiting feature request in the Framework Community for this feature: https://community.frame.work/t/rebar-support/22392

And one community member used a third-party tool to modify the BIOS file and managed to enable it, as a workaround solution:
https://community.frame.work/t/rebar-support/22392/39

And another member reported the performance improvement of the workaround is significant:
https://community.frame.work/t/rebar-support/22392/44

Implementing it seems to be very simple, and I would imagine it's just to add another entry in the BIOS UI for enabling it. I wonder if there is any chance we may get this feature in the foreseeable future. Thanks!

@ChihweiLHBird ChihweiLHBird changed the title feat: Resizeable Bar Support (via Thunderbolt or USB 4) feat: Resizeable Bar (ReBAR) Support (via Thunderbolt or USB 4) Jan 7, 2025
@ChihweiLHBird ChihweiLHBird changed the title feat: Resizeable Bar (ReBAR) Support (via Thunderbolt or USB 4) feat: PCIe Resizeable Bar (ReBAR) Support (via Thunderbolt or USB 4) Jan 7, 2025
@Vashiru
Copy link

Vashiru commented Jan 11, 2025

Very much this. I bought a framework to have a compact PC that if needed I can take with me, I bought an eGPU enclosure so I can game with it at home, but I've not pulled the trigger on the GPU yet because it turns out Framework doesn't have the option to enable ReBAR. ReBAR is required for performance from the new Intel GPUs and those are really appealing at the moment.

The chipset supports it, people have enabled it with hacks and it works, it's just a matter of we don't currently have the option for it.

@amstan
Copy link
Member

amstan commented Jan 11, 2025

Sounds like a useful thing, sure!

@ReedGraf
Copy link

I also have been waiting for this to come to FW13 laptops for quite a while! I've looked at the BIOS mod for the FW13 but 13th gen didn't have a public BIOS at the time. Plus, it seems too risky for how important my laptop is to my daily life. I'd really appreciate it if Framework released a BIOS update that gave ReBAR as an option! ❤

@CDRXavier
Copy link

CDRXavier commented Feb 3, 2025

There are some recent launched graphic cards like Intel Arc series which can utilize the Resizable Bar (ReBAR) feature to get a significant performance improvement.

The reason is because Intel Arc (so far only the Alchemist) have silicon-level bug. When the GPU runs, sometimes it would "cache miss" (think like CPU cache, but for GPU as well). Specifically the silicon bug will let the core that triggered the "cache miss" to stall (wait around doing nothing), instead of trying to figure out something else to do.

This is why anything that cuts down latency (e.g., ReBar) significantly increase performance, as it reduce the time GPU stalls.

Since this bug is not present on the Battlemage, I expect all the B-series to not be significantly affected.

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

5 participants