Replies: 1 comment 8 replies
-
@sieskei this module works by hooking using see https://github.com/osresearch/safeboot-loader. you will need to setup a minimal kernel + initrd which does the bar resizing and then boots into windows |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have an interesting case. I have an Asus M16 2021 laptop and I'm using an eGPU (RX 6800 XT) through an Oculink x4 Gen 4.0 connection. It's connected via the NVMe port and works great, but without resizable BAR (re-bar) support.
I managed to enable resizable BAR support using setup_var.efi, but it only works for the built-in GPU (dGPU, 3060). I even disabled the dGPU and iGPU through the BIOS, but it still doesn't work.
An interesting fact is that in Linux, I can boot with pci=realloc and set bar2 to 16GB. I can even dynamically resize it at runtime using resource2_resize.
So, my thought is the following: Is it possible to create this an EFI tool that can be invoked manually before booting into Windows?
It would be great for people like me who don't have the option to flash the entire BIOS.
Thank you in advance!
Miro.
Beta Was this translation helpful? Give feedback.
All reactions