-
Notifications
You must be signed in to change notification settings - Fork 68
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
.EFI vs .FFS #92
Comments
@r8bit99 it won't work because ReBarDxe works by hooking This has been discussed before #6 There are still ways to get Resizable BAR without modifying BIOS, Using Linux with 4G decoding on or DSDT edit is the easiest. |
hello curio, im currently investigating a similar issue with the dxe driver module from nvstrabsrebar. i was trying to find a way to side- / chainload the preconfigured NvStrapsReBar.ffs with a grub 2 / linux based live usb prior to windows 10 to have the gpu driver inside win 10 access to the driver module and enable full or partial rebar (anything higher than the default resized bar of 214/256mb). ive created a question about the possibility on stackoverflow: to me it seems theoretically possible but i have no clue about any of this stuff. you said there would be an issue to trigger pci enumeration. would it be possible to load the dxe driver as runtime persistently and then have the machine rebooted with the driver loaded and injected into pci enumeration? or would it be possible to run pci enum seperately beforehand and mold that over into a preconfigured NvStrapsReBar.ffs?
please also have a look at my issue here and the points ive made: since (re)bar is a pcie 2.0, pcie 2.1 feature im not sure if it really needs an extra driver or if everything could already be handled already natively by default from the chipset? this is due to the fact that rebar seems to always on and always present with any d3d capable gpu: bar is active and has been resized (rebar is active). see the screenshots in my issue thread and excerpts from the pcie spec pdf. some of these native (re)bar functions could already be included in the uefi specs:
|
i don't think it's possible for uefi to do pci re-enumeration. it is very much technically possible to resize BARs after PCI initialization though. linux does it, the first commit of this project did it, xelafics first version of nvstrapsrebar also did it. however it's kinda complicated to write an efi application which can do all this without any hardcoding |
thanks for your quick answering. thats very interesting. according to my theory resizing the bar(s) could be everything that needs to be done because all the rest of the mechanisms seem to be in place working already by default natively (bar always present, always on with d3d9+ capable gpu, bar is active and has been resized, but size is statically limited to 214mb vulkan, 256mb hw, yet full rebar across the whole gpu vram is always available in d3d according to capframex but its unclear as to why this is). if someone wanted to only change the bar size could that be done from grub2, uefi shell or similar? do you have any idea why capframex is reporting full rebar in d3d for gtx1080 and 2080ti (as well as probably any other d3d gpu) even when rebar is "physically disabled" (which it never is imo and is just a marketing scam)? why are there different sizes reported for hw and vulkan? doesnt this mean its possible to achieve different rebar sizes with different graphic apis? like vulkan could probably support full memory as well like d3d. what would be the difference between d3d and vulkan in regards to this and why is this being done by the industry? ive tried to investigate this with the capframex support but i received no answer. could it be that d3d somehow can do a full software rebar via the a4g setting? and is this the reason why the performance gain for nvidia cards may be relatively low in the 1-3% range (because full rebar is done anyway in d3d)? another idea would be to merely trick windows 10 into believing rebar is "on" by only setting the environment / uefi variables that the machine receives in the case of actually fully configured rebar: if the right environment variables - or whatever is needed and passed on to the os / gpu - are detected by the os / gpu maybe its already enough to have rebar going on natively. |
2080ti and all turing 16/20 series cards can do rebar using nvstrapsrebar
probably just an error
on stuff like amd polaris (my gpu) the driver disables rebar by default because it's experimental and needs a registry edit to enable it.
no such thing |
Rakesh P N: Hi, my name is Rakesh P N. How may I help you?
This is not available. Only updates done were for the 30 series cards and none for 20 series unfortunately. Cheers, ZOTAC Technical Support Department: Technical Support END OF STORY |
I don't understand specifics of EFI / DXE drivers, but seems they are closly linked. Just thinking.....can the ReBarDxe be loaded with an EFI shell, kind of like this:
Found this online, where loading of NVME drivers was using this method. Thought this could be a possibility for OEM BIOSes where modifications was difficult?
The text was updated successfully, but these errors were encountered: