-
Notifications
You must be signed in to change notification settings - Fork 12
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
GPU-side ReBAR Configured without PCI confirm (0x0300000000000082) #29
Comments
Probably because you haven't removed the ReBarUEFI module |
Uploading Z97Ex9_2_nvstraps_16GB.zip… EDIT: I removed RebarDxe from bios using UefiTool and flashed bios again but i still got same: I have dedicated sound card in one of the PCI slot x16 mounted below 2080TI (x16 slot) is it possible that this card is preventing changing ReBAR with NVStrapsReBar.exe? I dont understand why Prazola could enable Rebar with same BIOS and i cant and we have same motherboard model. |
@eurano try patching a clean bios instead of trying to edit this modified one sound card shouldnt affect anything |
Im trying to follow instruction from - > https://github.com/xCuri0/ReBarUEFI
What i should do ? |
@eurano read the dsdt patching again. you're doing the wrong one not for asrock haswell |
@eurano Can you update the source code at this line, and build the DXE driver ? https://github.com/terminatorul/NvStrapsReBar/blob/master/ReBarDxe/ReBar.c#L70 uint_least32_t getReBarSizeMask(UINTN pciAddress, uint_least16_t capabilityOffset, uint_least16_t vid, uint_least16_t did, uint_least16_t subsysVenID, uint_least16_t subsysDevID, uint_least8_t barIndex)
{
uint_least32_t barSizeMask = pciRebarGetPossibleSizes(pciAddress, capabilityOffset, vid, did, barIndex);
/* Sapphire RX 5600 XT Pulse has an invalid cap dword for BAR 0 */
if (vid == PCI_VENDOR_ID_ATI && did == 0x731fu && barIndex == PCI_BAR_IDX0 && barSizeMask == 0x7000u)
barSizeMask = 0x3f000u;
// else
// if (NvStraps_CheckBARSizeListAdjust(pciAddress, vid, did, subsysVenID, subsysDevID, barIndex))
// barSizeMask = NvStraps_AdjustBARSizeList(pciAddress, vid, did, subsysVenID, subsysDevID, barIndex, barSizeMask);
return barSizeMask;
} Modify the line with PCI_VENDOR_ATI and:
You can see the next 3 commented lines, where I tried to do the same thing in a more automated way, but in the meantime I have deleted the functions used for this, as my motherboard started to work fine without them .... I don't know why. My functions are still present in git history, just one or two commits ago, if you want to search for them |
@terminatorul yes i will try @xCuri0 yes i read wrong section but after pasting correct one and using I think i will just load your working BIOS for Prazola again because its too hard for me to make it myself. I will try to use @terminatorul solution for now. My DSTDTMod.dls file -> https://file.io/jA9Q5nhfFwG3 |
@terminatorul |
Can you follow the build instructions that are linked from the main project page ? And b uild from the command line ? |
@eurano After a better look at the source code, you can achieve the same effect without changing source code or flashing the motherboard, if you just use value 64 instead of 14 for PCI BAR size. Any reason you used 14 in the first place ? |
@terminatorul Im in the middle of building nvstraps |
@terminatorul Ok so i did the following:
Unfortunently the result is the same. First thing i noticed is that unmodified current bar size is 128mb and after 256mb so maybe thats this GPU limit? Do you guys know what else i can try? Maybe removing my sound card and try again? :( |
The screenshot shows you manually configured GPU bar size to 64 GiB, any reason for you to do that ? |
Any reason you need both ReBarUEFI and NvStrapsReBar ? Can you set ReBarState to 0 in ReBarUEFI ? |
Can you also show the output of from "Show DXE driver configuration" (option W) ? |
Can you show output from IFR-Extractor ? Is the byte offset 0x1 correct for your Above 4G Decoding option ? |
@terminatorul setting ReBarState to 0 didnt change anything i tryed :( yes the byte offset is correct (4g is enabled now) Got frustrated and tryed random settings :( |
Sorry I don't know what else to try. The driver configuration looks as expected. Option 1 overrides option E. Option E searches the GPU in a pre-defined list of all Turing GPUs, using the PCI device ID (0x1E07). From that list the expected BAR size is read and the Target BAR size column is populated in the output table. Option 1 is for manually selecting a different BAR size if the default one is wrong or doesn't work, or for trying the mod on non-Turing GPUs (mostly unsuccessful). To clear option 1 there is option C right in the main menu. There is nothing special to understand about using the tool. You applied the right sequence in your previous message: E, P , 64 , S , Q. When I do the same, it just works on my MB. |
Remember to disable NvStrapsReBar if you make hardware changes, or UEFI Setup changes ... |
System
The text was updated successfully, but these errors were encountered: