Skip to content
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

Help: Asus Rampage IV Extreme (RIVE) #24

Closed
1337-537h opened this issue Dec 21, 2022 · 36 comments
Closed

Help: Asus Rampage IV Extreme (RIVE) #24

1337-537h opened this issue Dec 21, 2022 · 36 comments

Comments

@1337-537h
Copy link

System

  • Asus Rampage IV Extreme:
  • BIOS Version:4901
  • AMD Radeon RX Vega 64
  • [Y] CSM is turned off
  • [N] 4G decoding is enabled

I cant find 4G decoding in my bios.
Propablyt it is hidden.. but i lost when i trying this guide "Enabling hidden 4G decoding"
What can i do?

@xCuri0
Copy link
Owner

xCuri0 commented Dec 22, 2022

You can also use AMIBCP to set 4G decoding ACCESS to USER but the method in "Enabling hidden 4G decoding" is typically safer.

@1337-537h
Copy link
Author

I dont know AMIBCP and i cant find it.
Also i can do it via "Enabling hidden 4G decoding"

@xCuri0
Copy link
Owner

xCuri0 commented Dec 22, 2022

@1337-537h then use that method

@1337-537h
Copy link
Author

Sorry my mistake i mean i CAN NOT do that method.
Im stuck after some steps..

@AbraxasVi
Copy link

Sorry my mistake i mean i CAN NOT do that method. Im stuck after some steps..

RIVE-4901-NVMEBAR-4G.zip
I had insert the modules into the bios file, and used AMIBCP to set 4G decoding ACCESS to USER.
But I don't have a RIVE board to make a test, so USING IT ON YOUR OWN RISK😂

@1337-537h
Copy link
Author

1337-537h commented Dec 26, 2022

Thanks but your file is in *.rom file.
My bios files are *.bin
I also have bios flashback if that maters.

@colepcsx2
Copy link

Try the ASUS Bios Renamer for USB BIOS Flashback

1.Put Bios file and Bios renamer in same folder
2.Execute the Utility
3.Use new Bios file for USB BIOS Flashback.

@1337-537h
Copy link
Author

OK thanks i"ll try it.
I didn't know about ASUS Bios Renamer.

@Squall-Leonhart
Copy link

Squall-Leonhart commented Jan 3, 2023

it'll just change the file name to R4E.CAP anyway.

modified bios files cannot be flashed from inside the bios, or any windows tool, only via flashback port/button on the back.

@post7794
Copy link

My motherboard is also rampage iv extreme, when I enable above 4g decode, I can't get into the BIOS when I boot, I just get a black screen, I can't select the boot drive, it shows boot0af:error

@1337-537h
Copy link
Author

How did you enable above 4g decode?
I still can't do that.

@post7794
Copy link

It's the tutorial in the Wiki, you have to note that the USB drive has to be in gpt format and choose uefi boot, but the modification didn't help, I was going to install Hackintosh

@xCuri0
Copy link
Owner

xCuri0 commented Jan 16, 2023

@post7794 make sure everything CSM/legacy is off or set to UEFI only

What GPU do you have ?

@post7794
Copy link

@post7794 make sure everything CSM/legacy is off or set to UEFI only

What GPU do you have ?

rx560

@xCuri0
Copy link
Owner

xCuri0 commented Jan 16, 2023

@post7794 is it on the stock vbios ? GCN/Polaris GPUs commonly have problems with GOP that are fixed by restoring original VBIOS or updating GOP

@post7794
Copy link

Thanks, I'll give it a try

@xCuri0
Copy link
Owner

xCuri0 commented Mar 4, 2023

Closing due to inactivity

@xCuri0 xCuri0 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2023
@franckythebest
Copy link

franckythebest commented May 2, 2023

bonjour petit déterrage. J'ai une rampage iv extrême avec un Xeon e5 1680V2, 32GB DDR3 2400MHZ et une RX5700XT THICC III.
bios 4901 moddé avec accès du menu "Above 4G". J' ai le même problème que @poste7794 . une fois activé et CSM désactivé, écran noir. impossible de bouter. avez vous une idée. merci

@xCuri0
Copy link
Owner

xCuri0 commented May 3, 2023

@franckythebest english please (translator is ok)

@franckythebest
Copy link

hello little deterrent. I have an extreme rampage iv with a Xeon e5 1680V2, 32GB DDR3 2400MHZ and a RX5700XT THICC III.
bios 4901 modded with menu access "Above 4G". I have the same problem as @poste7794 . once enabled and CSM disabled, black screen. impossible to kick. you have an idea. THANKS

@xCuri0
Copy link
Owner

xCuri0 commented May 3, 2023

@franckythebest same as #48

@dimitrogen
Copy link

dimitrogen commented Mar 18, 2024

Hi everyone,

I registered on this forum because of this posts I had the same problem with rbar and 4g above decoding on rampage 4 extreme. I spent a lot of time trying to solve the issue, and it was easier than you might think.

Let me just say that from what I finally saw in the hidden menu in the BIOS, the Asus Rampage was a really serious server motherboard. It has an overclocking section called Extreme Tweaker added to the BIOS, and the main one is hidden, so it became Rampage 4 Extreme.

Here's something interesting: Back then and now, Windows titles old systems like mine as PCI bus, but in this case, it's recognized as PCI root complex (which is PCI 4.0 5.0) video adress is 00003FF800000000 - 00003FFBFFFFFFFF(35,184,372,088,832-35,184,372,090,495) (seriously, this motherboard became a beast :D).a lot of modern systems with 3080 are around 0000007800000000 - 0000007BFFFFFFFF(2,147,483,648-2,147,483,647)

Since I didn't do DSDT patching, I just followed the steps for importing the rbar element (thanks @xCuri0). Let me just add that in our BIOS (since it's quite different with this hidden menu from the regular one), the values from the patch are distributed in several bodies (as you can see in picture 2).

The command (setup_var) doesn't work because above 4g decoding has administrator rights once, and the second time it's in the hidden menu, something gets confused and the screen goes black. You need to use \AMIBCP-4.53.0050, and extendend user not a regular user. If you open it as the first option, after activating 4g x.m.p, it stops working.
https://github.com/xCuri0/ReBarUEFI/wiki/Unlocking-hidden-BIOS-menus#uefi-editor

I've been trying to do this for years, now I wanted to explain the steps to you so you can do it yourself, but... :), but come on :) So I'm uploading the BIOS without the unlocked menu (because there are settings there that you shouldn't play with). In this menu, 4g is activated by default and as an extended user, and it should work with xmp. I don't know if it works because Iм not close to my computer yet, but the only thing that can happen is xmp not working (everything else should be perfect). If that happens, I'll send you the dangerous BIOS (in picture 3 I show some of the things inside).

I hope this helps you guys. I'm personally happy that the system is finally working.
222
11111
ss
https://drive.google.com/file/d/1gX_2FWhbgVujc-7qsKQkUSH4VKMWSxHR/view

@franckythebest @1337-537h

@franckythebest
Copy link

If you are interested, I can provide the latest R4E bios with all the fixes, nvme driver, rebar, hidden menu. it is extremely stable. my e5 2697v2 holds 114mhz with the "extreme tweaker" settings in auto except for the vccsa which must be set to 1.1v.

@Hokomn
Copy link

Hokomn commented Mar 18, 2024

@franckythebest @dimitrogen can you just upload bios file ? I Have e5-2697v2 on Asus Rampage 4extreme (my pc&english knowledge is so poor)

@dimitrogen
Copy link

dimitrogen commented Mar 18, 2024

@Hokomn

link at the end of my first post from google drive....

@dimitrogen
Copy link

dimitrogen commented Mar 18, 2024

@franckythebest

If you dont mind i can try it...:) i dont make DSDT... This post says i dont need it if my nubmers in divice manager bigger
[ https://github.com/xCuri0/ReBarUEFI/wiki/DSDT-Patching#sandyivy-bridge-dsdt-patch ] i have all hidden menus - but don`t upload bios here with unhiden menu...did your bios have DSDT, and how you think- do my bios need it(from pic on my 1st post)? Did you change MaxPayload MaxReadRequest ? p.s i dont have vccsa problems...I have 4 x ssd in raid0 and cant go more than 101 i overcklock with cpu multiplier:) (47) when you patching bios how many values are patched by patcher?

@franckythebest
Copy link

yes my bios has DSDT with correction of filling errors, maxpayload and maxreadrequest do you have a tutorial and what is the point? you have a normal i7 that you use the multiplier to increase the cpu frequency. the xeon e5s are all blocked except the 1600 series. my e5 2697v2 being blocked, I use BCLK despite everything this cpu is a beast of performance.

Uploading R4E.zip…

@dimitrogen
Copy link

dimitrogen commented Mar 18, 2024

@franckythebest
in that hidden menu maxpayload and maxreadrequest ( https://enterprise-support.nvidia.com/s/article/understanding-pcie-configuration-for-maximum-performance) . there a values to adapt our boards to 4g and rebar...No problem with the default values, but they are the smallest, probably because it doesn't take into account that 4G decoding and RBAR will be enabled... just make sure you don't exceed the PCIe 3.0 bandwidth. The biggest you can set for PCIe without flooding is max payload 2048 and max request 4096, but there's no point in going to the limit.PCIe 3.0 bandwidth: PCIe 3.0 has a maximum bandwidth of 32 GB/s.
Max payload: The max payload is the maximum amount of data that can be transferred in a single PCIe transaction.
Max request: The max request is the maximum number of PCIe transactions that can be outstanding at a time.
Flooding: Flooding occurs when the PCIe bus is overloaded with too many transactions. :))
Yes my i7 is normal for a 1.2k euro in that times when i buy it - and yes your server proc is beast....What the point of DSDT modification in my scenario if i dont have any limitations in anything? i try 32 and 64gb bar.,...Can you tell me your values
of pci root complex in device manager-view-resources by type- in fact i dont no i mess something or not but normal range of 3080 in lardge memory is around 0000007800000000 - 0000007BFFFFFFFF and mine are 00003FF800000000 - 00003FFBFFFFFFFF... here what AI said
Address Space of RTX 3080 in a Modern Computer:
0000007800000000 - 0000007BFFFFFFFF:
This is the standard range for the 3080.
It is 4 GB, which is sufficient for most modern games.
Address Space of Your Modified 3080:
00003FF800000000 - 00003FFBFFFFFFFF:
This range is much larger than the standard one.
It is 2^50 bytes, which is approximately 1125899906842624 GB

@xCuri0
Copy link
Owner

xCuri0 commented Mar 19, 2024

@dimitrogen

maxpayload and maxreadrequest

do these actually make a difference in gaming performance ? seems like it's mostly used for compute tasks limited by PCIe bandwidth ?

atleast my rx 580 only supports maxpayload going up to 256 bytes and is already set to that on a ivy bridge consumer b75

and you can manipulate those settings on consumer motherboards too through registers (like we do for rebar) if anyone wanted to.

@dimitrogen
Copy link

dimitrogen commented Mar 19, 2024

@xCuri0

Hi!

In the hidden menu of my motherboard, the two settings are from 256 to 4096 (these settings are usually server settings and are well-coded in the BIOS, so I'm not sure if changing them through the registers will have any effect).These commands are at a higher level than Above 4G, which cannot be activated by itself, not with reg, and before the BIOS (setup var) in my scenario :)...

Otherwise, how much better are compute tasks limited by PCIe than games (of course, there are such other tasks)

To be honest, yesterday I managed to unlock everything correctly in my BIOS (because I dare to assume that here (Adding FFS module · xCuri0/ReBarUEFI Wiki (github.com)) some steps need to be added at least for Rampage. More precisely, it should be added that the values that are patched in the patch can be 4 (for example), but they exist in different bodies(same value in 4 different bodys) and if you extract only one body and the other with this value does not - you get boot errors and incomplete compatibility problems with the voltages all kind of stuff.(note this is my opinion!) but now with that method no problem with voltages no problem with xmp no problem with anything)and i thing with other bioses is the same... I played around with this a lot and didn't have to make a DSDT and at the end all perfect 64gb bar i scared to try 128:). As I said, I unlocked the BIOS yesterday and very quickly changed the settings. Personally, I have set maxpayload and maxreadrequest to 1024 4096,(2048 4096 pci3.0 limit) and the difference for me at least (I haven't looked in detail) is that, for example, when there are stutters in a game (I only tested one before loading the payload :) ), the processor load seems to increase somehow and the stutter itself is much smoother on the moments flat,you feel it a litle but dont see a lot... and the frame representation is more responsive. Maybe I'm just imagining things.

Excuse me for the inconvenience, can I ask you - I can't find and I don't know if there is an article on how to change BAR 0 and BAR 2-Can you point me? Thank you in advance.

@franckythebest
Copy link

@dimitrogen

my card is an rx5700xt

image

@xCuri0
Copy link
Owner

xCuri0 commented Mar 19, 2024

@dimitrogen have you checked using lspci on linux that the gpu supports and uses larger read/payload sizes ?

@dimitrogen
Copy link

dimitrogen commented Mar 19, 2024

@xCuri0
Unfortunately, I haven't tested on Linux. To be honest, I haven't had Linux for at least 3 4 years. Life took me in a different direction and I didn't have time to deal with Linux stuff much . Regarding read/payload sizes, I noticed that in that menu when I set something wrong, it doesn't boot at all (it stays codes that I haven't seen). Overall, these settings are administrator-level settings on mt motherboard and are executed in all positions. If something is not right, it will not boot. but i testted today in first impressions maybe 1, 1.5frame (but this is in teoretical error range) but definitely more responsiveness feel in the mouse movements on screen and visual how i say upper + frame is more fluid in my prespective....

Overall, settings below 256 are default settings that take into account that the PCI-E bus on motherboards with hidden 4G decoding does not have such bandwidth. Theoretically, increasing these values simply optimizes the better performance of PCI-E, taking into account the increased bandwidth capabilities. Increasing the ReadRequest can allow the PCI-E bus to request larger chunks of data at once MaximumPayload can allow the PCI-E bus to transfer larger chunks of data at once.By increasing these settings, you can potentially improve the performance of your PCI-E devices. However, it is important to note that:
Increasing these settings too high can lead to system instability

@dimitrogen
Copy link

dimitrogen commented Mar 20, 2024

@franckythebest
you have very good range....
in your post upper the link says bios i still uploading and can`t download it to try it :)Would you be so kind, if it is convenient and you have the opportunity, to fix the link so I can download the BIOS and try it out?

@dimitrogen
Copy link

dimitrogen commented Mar 21, 2024

Hi everyone, a few days ago I managed to activate ReBAR, but the fact that DSDT could also be modified didn't leave me alone, so I decided to try it... I did everything in the video, but in the end, no matter what I did, the structure would get lost when importing AmiBoardInfoMod.efi. Finally, I contacted a friend who is a professional in this field (but doesn't have much time to deal with it) and we came to the following conclusions and steps... After editing and importing the AmiBoardInfoMod.efi file, it also makes changes to the following files,which in turn corrupts the file structure
2

According to him, this is because you should not use "Replace All" when importing (Name\s+(_UID,\s*"PCI\d-CP(.*)") Name (_UID, 0x0$1) and other ones)But not have tame to investigate...That's why we came up with an alternative method. He first said that corrupting this kind the structure is not a problem as long as the values that are changed in the non-AmiBoardInfoMod.efi body are the ones that work (since some values are changed, as I said, after importing the body, and theoretically we only made corrections to the body).
That's why we need to restore the old values outside of this file... In my case, after UEFIPatch, the values in the following bodies change:
1
So now in these files we have the correctly changed values (note that they also rebuild exactly those parts that were previously changed without having to do so from importing AmiBoardInfoMod but dont change anything in AmiBoard section ). So we follow all the steps, but if the structure is corrupted when importing AMIBoard and thous 2 method don`t work, all the elements from picture 2 need to be imported again. This way the structure remains different, but everything is correct. According to the person, this simply adds an empty or duplicate step before the initial computer signal, which is not a problem. It would be a problem if, for example, the other values changed after importing AMIBoard were not corrected...So now i have perfectly workin all with in firs place (raw pad raw) and after (pad raw pad raw) 10 hours testing - no problems with auto voltages overcklocking and any kind of stress tests...mmtool to import

@dimitrogen
Copy link

dimitrogen commented Mar 21, 2024

!!!!I am making this a separate post because I think it is important!!!!
As we established above, we make changes to AmiBoardInfoMod, and it makes changes based on its changes, which we don't want... But we make these changes to adapt the BIOS to the two new elements, ReBAR and NVMe... What I want to say is that I noticed that after importing the elements, making a save, and then adding AmiBoardInfoMod later, everything works fine no proplem but no rebuild to rebat nvme. However, if you take the BIOS, uefipatch it first, then add ReBAR and NVMe with uefitool, and at the same time and last add AmiBoardInfoMod, it also makes changes to those two files... And as we established above, this file still changes other values based on its own changed values. I want to say that in my opinion, this way AmiBoardInfoMod communicates much better with ReBAR and NVMe because it has changed them for itself :)... And then the other elements can be replaced with MM Tool.(last is important too)As proof that something is happened, here is this picture. Look at the range of the PCIe root complex... (The lower example is when I do everything with bad structure + DSDT but without AmiBoardInfoMod putting its own in ReBAR and NVMe), and the upper example is when I do it the way AmiBoardInfoMod puts its own). Overall, the range is reduced, BUT in support of what I claim above about better communication, it can be seen that in the upper case the range has become similar to the others, which is also more correct.
4444

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

9 participants