-
Notifications
You must be signed in to change notification settings - Fork 74
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
Asus Z10PE-D16 WS C612 - ReBAR requires pci=realloc in linux and does not really work in Win10 #216
Comments
Try changing BIOS settings related to MMIOH, I know X99/C612 have a few options relating to it under IntelRCSetup. these boards should work fine with rebar when configured properly, they're made to be used with tesla/a gpus that require large bar after all |
Thanks for the advice, will try that. Found two options under IntelRCSetup -> Common RefCode Configuration. They are hidden by default, will need to expose them in AMIBCP in order to play with:
There are other options in BIOS that are PCIe-port specific, about single 64-bit bar or two split 32-bit bars, I tried to play with them briefly, but as far as I can tell those don't affect my problem. Another question that interests me: does it matter which CPU the GPU is connected to? Do they both share common address space? Do QPI settings and limitations play any role in ReBAR at all? |
Hey @xCuri0, so I've done some additional testing.
I played with all 4 of the "MMIOH size", but none worked without pci=realloc. Any ideas as to what I should try next? Any other options to look for in bios? |
@xCuri0
So As far as ReBarUEFI with Z10PE-D16 WS, we can declare partial success, but not full success. |
I have a board that's C612 and although UEFIPatch initially wouldn't patch anything I'm curious which patch you applied. Edit: I happen to have a dual-CPU/C612 and I'm trying for two different GPUs, an Nvidia Quadro P4000 (8GB) and an Intel Arc 310 (4GB). I haven't been able to get the bar resized but I'm using Linux and checking via nvidia-smi -q -x and dmesg. Also, isn't our E5-26XXv4 CPUs and this chipset Broadwell-EP (is that different from Broadwell?) I come from AMD-land, so I'm unaware of a lot of Intel's chipsets. I wonder if the boards try to put MMIO space above 64GB. |
As you can tell, it was quite some time ago, so my recollection is a bit vague about specifics, but I'm pretty certain that it was this one that was found and updated:
P4000 is pascal generation, isn't it? If it is, I'd say it is not the correct GPU to check for ReBAR, as I'm quite certain that pascal and its drivers are not aware of resizable BAR. Arc A380 should be the GPU to check is ReBAR works - be mindful of kernel memory allocations though, some extra parameters might be required as I referred above.
Sorry, I don't understand the question. E5-26xx v3/v4 and C61x are indeed Haswell-EP and Broadwell-EP, in the sense that they use hsw/brw core, but otherwise they differ. It goes as follows:
Haswell/Broadwell-E for HEDT:
Haswell/Broadwell-EP for servers:
As far as I'm aware, there's nothing wrong with putting MMIO region above 64GB (which is not a lot of space actually) provided that Above 4G decoding is enabled. MMIOH base in my case was way above 64GB, it was at 56T |
UEFITool never sees those bytes to patch. I'll try to find some like-patternness in that DXE, maybe my BIOS needs a slightly-tweaked one.
I wouldn't have a clue, I left Nvidia around the GTX480 series. It has an upgraded UEFI-capable BIOS and Nvidia drivers report it has a bar size but it's just capped to 256MB. The Intel Arc 310 is UEFI-enabled from factory and can use rebar as well, according to Intel anyway. It's pretty much required for any performance out of it. Granted the 380's faster and better but I wanted one that could survive on PCIe power alone. I might upgrade but I'd rather try if I can. It can handle enough transcoding streams simultaneous for what I wanted.
Haswell/Broadwell-EP server then, it's a humble Supermicro SYS-1028-TR4T+.
The default it was giving me was also 56T, I can't recall more about the MMIO configuration. Above 4G Decoding is enabled. I wonder if that NVRAM patch not being found is an issue. The USB3 patches, none of them would be relevant? I recall finding a very similar byte-sequence that only differed in the PCI ID of the chipset being blocklisted. I never tried adjusting and patching that, though. I haven't used USB at all on the board (except via IPMI's 2.0, etc). When erasing via IPMI/BMC, should I erase the SMBIOS as well? That's always left checked by default in the upgrade. Thank you very much for you reply, it's been wracking to try to figure this board out. Edit: Just dumped my AMI APTIO V NvramSmiDxe 54B070F3-9EB8-47CC-ADAF-39029C853CBB, nothing even remotely close to a matching byte-pattern (even after decompression). Is this just so ReBar can read/write to NVRAM? I don't mind hard-coding the value and removing NVRAM-stuff from ReBar if that'd work around it. Edit: Nvidia's Quadro P4000 8GB does appear to be Pascal. I don't usually touch Nvidia so I'm unaware of the implications. It does support aperture sizes from what I see online but I guess it might just not have the support it should. For now I'll focus on the Intel Arc. I wonder if having both in might affect resizing efforts by ReBar or Linux? |
System
Description
Hey, I'd like to ask for an advice and a feedback. I run Z10PE-D16 WS - it is a dual socket board with 16 memory slots and c612 chipset. BIOS used for modification is v.4101, latest available at asus.com
The intention was to make ReBAR work with ARC A770
Current state:
First step
of enabling resizable BAR was performed in Linux Mint with Kernel v.6.5
So to that end adding ReBAR appears to be working provided that pci=realloc is configured during linux boot. However I have an impression that reallocation should not be required.
Second step
Now, to confirm that ReBAR was really working I tried to install a clean Windows 10. At this time Rebarstate is set at 32.
As a side note, installing win10 with all associated drivers and playing with rebarstate messed post codes. Before win10 post codes as seen on LED display on the MB matched the ones shown on my monitor. After win10 and drivers only onboard display shows correct codes, monitor just shows A9 "Start of setup" code till the end of the post.
So is there something wrong with either resource allocation, or with the way .ffs module behaves on dual-CPU/c612 platforms? I guess this result cannot be considered a complete failure, and yet I would not regard it as a success either. Have I done anything wrong? Can you please share any thoughts or suggestions as to what should be done next? I can provide dmesg or lspci output if needed.
The text was updated successfully, but these errors were encountered: