EU ASRock Rack B450D4U-V1LQ5 mATX AM4

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

ALinden

Member
Mar 21, 2025
36
15
8
There are ECC settings in the bios:
Advanced -> AMD CBS -> UMC Common Options -> DDR4 Common Options -> Common RAS -> ECC Configuration
So it turns out these CBS settings are visible with the board that has 5500 Cezanne, but not visible on the board with 5700X Vermeer.
I have read that bios can be modded to enable hidden menus, but I have not done it myself. If anyone has pointers to instructions I would try it.
I have the ch341 programmer with correct adapter for flashing the chip.
 

RolloZ170

Well-Known Member
Apr 24, 2016
8,075
2,528
113
germany
So it turns out these CBS settings are visible with the board that has 5500 Cezanne, but not visible on the board with 5700X Vermeer.
i found these CbsSetupDxe functions in the BIOS, one for each supported arch.type.
CbsSetupDxeZP
CbsSetupDxeRN
CbsSetupDxeRV
CbsSetupDxeSSP
CbsSetupDxeZP extracted looks like this
sorry, code and picture upload don't work at STH currently
 

luckylinux

Active Member
Mar 18, 2012
766
185
43
So it turns out these CBS settings are visible with the board that has 5500 Cezanne, but not visible on the board with 5700X Vermeer.
I have read that bios can be modded to enable hidden menus, but I have not done it myself. If anyone has pointers to instructions I would try it.
I have the ch341 programmer with correct adapter for flashing the chip.
Or you can use setup_var.efi as I wrote here to patch the Settings from UEFI Shell:

 
Last edited:

luckylinux

Active Member
Mar 18, 2012
766
185
43
i doubt this works here, the options are suppressed.
That would be the Point. Or you mean suppressed != hidden from the Menu ?

EDIT 1: Because I always assumed that when there are these SuppressIf Conditions, it's something that gets evaluated when the BIOS Menu is rendered (graphically)
 

luckylinux

Active Member
Mar 18, 2012
766
185
43
So it turns out these CBS settings are visible with the board that has 5500 Cezanne, but not visible on the board with 5700X Vermeer.
I have read that bios can be modded to enable hidden menus, but I have not done it myself. If anyone has pointers to instructions I would try it.
I have the ch341 programmer with correct adapter for flashing the chip.
But let me understand ... so ECC is NOT working (or at least the ECC Function is not Enabled) on the 5700X :oops: ?

That's an absolute BUMMER. It's basically no ECC Support at all then with the latest AM4 Gen Ryzen :rolleyes:.
 

ALinden

Member
Mar 21, 2025
36
15
8
Yes ECC is NOT working for me at the moment with 5700X and yes exactly - big big BUMMER.
I tried with a Samsung M391 module, a SKhynix module and with Goodram modules.
 
  • Sad
Reactions: luckylinux

luckylinux

Active Member
Mar 18, 2012
766
185
43
Yes ECC is NOT working for me at the moment with 5700X and yes exactly - big big BUMMER.
I tried with a Samsung M391 module, a SKhynix module and with Goodram modules.
Did you try several BIOS Versions ? We might need to contact ASRock otherwise. This is VERY BAD !

EDIT 1: @ALinden, which BIOS Version did you use ? L2.12 ?
 
Last edited:

luckylinux

Active Member
Mar 18, 2012
766
185
43
I just got confirmation from NOCTUA that the NH-L12 S1 Ghost Edition CPU Cooler is NOT compatible with this Board. Well, unless you don't mind doing the Fit like I tried. I just hope I didn't damage one DIMM Module or bent the VRM Heatsink in the Process :eek: .

They just created the Non-Compatible List for this Motherboard:

And of course Amazon also had to **** up my Order so I'm not even getting the Thermalright AXP120-X67 Cooler I ordered as an alternative in the Meantime.

Shipping these Days turned into a big Nightmare with everybody messing up the Delivery Schedule o_O.
 
Last edited:
  • Wow
Reactions: etorix

RolloZ170

Well-Known Member
Apr 24, 2016
8,075
2,528
113
germany
Yes ECC is NOT working for me at the moment with 5700X and yes exactly - big big BUMMER.
I tried with a Samsung M391 module, a SKhynix module and with Goodram modules.
CBS Setup->Common RAS->ECC Configuration
Code:
VarStore Guid: 3A997502-647A-4C82-998E-52EF9486A247, VarStoreId: 0x5000, Size: 0x5A8, Name: "AmdSetup"

Form FormId: 0x7024, Title: "ECC Configuration"
        Subtitle Prompt: "ECC Configuration", Help: "", Flags: 0x0
        End
        Subtitle Prompt: "", Help: "", Flags: 0x0
        End
        OneOf Prompt: "DRAM ECC Symbol Size", Help: "DRAM ECC Symbol Size (x4/x8) - UMC_CH::EccCtrl[EccSymbolSize]", QuestionFlags: 0x10, QuestionId: 0x8A, VarStoreId: 0x5000, VarOffset: 0x90, Flags: 0x10, Size: 8, Min: 0x0, Max: 0xFF, Step: 0x0
            OneOfOption Option: "x4" Value: 0
            OneOfOption Option: "x8" Value: 1
            OneOfOption Option: "Auto" Value: 255, Default
        End
        OneOf Prompt: "DRAM ECC Enable", Help: "Use this option to enable / disable DRAM ECC. Auto will set ECC to enable.", QuestionFlags: 0x10, QuestionId: 0x8B, VarStoreId: 0x5000, VarOffset: 0x91, Flags: 0x10, Size: 8, Min: 0x0, Max: 0xFF, Step: 0x0
            OneOfOption Option: "Disabled" Value: 0
            OneOfOption Option: "Enabled" Value: 1
            OneOfOption Option: "Auto" Value: 255, Default
        End
        OneOf Prompt: "DRAM UECC Retry", Help: "Use this option to enable / disable DRAM UECC Retry.", QuestionFlags: 0x10, QuestionId: 0x8C, VarStoreId: 0x5000, VarOffset: 0x92, Flags: 0x10, Size: 8, Min: 0x0, Max: 0x1, Step: 0x0
            OneOfOption Option: "Enabled" Value: 1
            OneOfOption Option: "Disabled" Value: 0, Default
        End
    End
 

ALinden

Member
Mar 21, 2025
36
15
8
I tried changing the "ECC Enable" setting today with setup_var.efi.
Different CbsSetupDxe use different offset for the ECC enable setting.
I am not sure which CbsSetupDxe is used with Vermeer 5700X.
(It seems that Cezanne 5500 uses RN. UMC Common Options are supressed with SSP and ZP and not supressed with RN and RV. So most likely Vermeer uses ZP).
So I just set all to enable with:
AmdSetup:0x91=0x01
AmdSetup:0xE2=0x01
AmdSetup:0x11B=0x01
AmdSetup:0xF1=0x01

And nothing. Still ECC not active (dmidecode dsplays: "Error Correction Type: None".)

Then I tried the same with bios 2.09 (Just swapped the chip from another board. 2.09 uses same offsets) - Same result

I then loaded bios defaults and took a look at the default ECC enable settings:
2.09:
AmdSetup:0x91=0x00
AmdSetup:0xE2=0xFF
AmdSetup:0x11B=0xFF
AmdSetup:0xF1=0x00

2.12:
AmdSetup:0x91=0x01
AmdSetup:0xE2=0xFF
AmdSetup:0x11B=0xFF
AmdSetup:0xF1=0x00

If Vermeer uses ZP (offset 0xF1) then the defaults are to disable ECC!
And manually enabling it will not activate ECC.

Is anyone else testing/using ECC memory?
Are there any other settings that need to be set to specific value for ECC activation?

@luckylinux So you can't test anything because no coolers at the moment for your 5700X?
 

RolloZ170

Well-Known Member
Apr 24, 2016
8,075
2,528
113
germany
If Vermeer uses ZP (offset 0xF1) then the defaults are to disable ECC!
And manually enabling it will not activate ECC.
AMD Ryzen 7 2700X, ... Stepping: ZP-B2
AMD Ryzen 5 4500, ... Stepping: RN-A1, Renoir-X Zen2
AMD Ryzen 5 2400B, ... Stepping: RV-B0

looks to me Ryzen 5000 ( VMR ) do NOT have a CBS Setup Dxe file

ZP ECC configuration
Code:
    Form FormId: 0x7042, Title: "ECC Configuration"
        Subtitle Prompt: "ECC Configuration", Help: "", Flags: 0x0
        End
        Subtitle Prompt: "", Help: "", Flags: 0x0
        End
        OneOf Prompt: "DRAM ECC Symbol Size", Help: "DRAM ECC Symbol Size (x4/x8) - UMC_CH::EccCtrl[EccSymbolSize]", QuestionFlags: 0x10, QuestionId: 0x8B, VarStoreId: 0x5000, VarOffset: 0xF0, Flags: 0x10, Size: 8, Min: 0x0, Max: 0xFF, Step: 0x0
            OneOfOption Option: "x4" Value: 0
            OneOfOption Option: "x8" Value: 1
            OneOfOption Option: "Auto" Value: 255, Default
        End
        OneOf Prompt: "DRAM ECC Enable", Help: "Use this option to enable / disable DRAM ECC. Auto will set ECC to enable.", QuestionFlags: 0x10, QuestionId: 0x8C, VarStoreId: 0x5000, VarOffset: 0xF1, Flags: 0x10, Size: 8, Min: 0x0, Max: 0xFF, Step: 0x0
            OneOfOption Option: "Disabled" Value: 0
            OneOfOption Option: "Enabled" Value: 1
            OneOfOption Option: "Auto" Value: 255, Default
        End
    End
 
Last edited:

luckylinux

Active Member
Mar 18, 2012
766
185
43
@luckylinux So you can't test anything because no coolers at the moment for your 5700X?
Pretty much so yeah. Amazon ****** up the delivery of the Thermalright AXP120-X67 Cooler (they say they Shipped, but Tracking shows no updates since 2024-04-04). I ordered 2 other of the same (Thermalright AXP120-X67) but these will most likely come on Monday only :( .

I could do a Test with only 1 DIMM, as in one Orientation the NOCTUA NH-L12 S1 Ghost Edition fits, provided you do NOT install the DIMM closest to the CPU.

You are using a weird Syntax However.
Take a look at e.g. aspm-troubleshooting/patching/ASUS/P9DWS/2402/patch.nsh at main · luckylinux/aspm-troubleshooting

It should be something like (NOT for this Motherboard Though)
Code:
setup_var.efi Setup(0x1):0x9D=3
 

luckylinux

Active Member
Mar 18, 2012
766
185
43
AMD Ryzen 7 2700X, ... Stepping: ZP-B2
AMD Ryzen 5 4500, ... Stepping: RN-A1, Renoir-X Zen2
AMD Ryzen 5 2400B, ... Stepping: RV-B0

looks to me Ryzen 5000 ( VMR ) do NOT have a CBS Setup Dxe file

ZP ECC configuration
Code:
    Form FormId: 0x7042, Title: "ECC Configuration"
        Subtitle Prompt: "ECC Configuration", Help: "", Flags: 0x0
        End
        Subtitle Prompt: "", Help: "", Flags: 0x0
        End
        OneOf Prompt: "DRAM ECC Symbol Size", Help: "DRAM ECC Symbol Size (x4/x8) - UMC_CH::EccCtrl[EccSymbolSize]", QuestionFlags: 0x10, QuestionId: 0x8B, VarStoreId: 0x5000, VarOffset: 0xF0, Flags: 0x10, Size: 8, Min: 0x0, Max: 0xFF, Step: 0x0
            OneOfOption Option: "x4" Value: 0
            OneOfOption Option: "x8" Value: 1
            OneOfOption Option: "Auto" Value: 255, Default
        End
        OneOf Prompt: "DRAM ECC Enable", Help: "Use this option to enable / disable DRAM ECC. Auto will set ECC to enable.", QuestionFlags: 0x10, QuestionId: 0x8C, VarStoreId: 0x5000, VarOffset: 0xF1, Flags: 0x10, Size: 8, Min: 0x0, Max: 0xFF, Step: 0x0
            OneOfOption Option: "Disabled" Value: 0
            OneOfOption Option: "Enabled" Value: 1
            OneOfOption Option: "Auto" Value: 255, Default
        End
    End
Shouldn't we "just" ask ASRock then ? Or they will just tell us to **** off ?

I don't know how to go through the different settings without exporting manually everything one by one to be honest.

setup_var.efi is an Interesting Tool, provided you find and export the correct Setup Section ...
 
Last edited:

luckylinux

Active Member
Mar 18, 2012
766
185
43
AMD Ryzen 7 2700X, ... Stepping: ZP-B2
AMD Ryzen 5 4500, ... Stepping: RN-A1, Renoir-X Zen2
AMD Ryzen 5 2400B, ... Stepping: RV-B0

looks to me Ryzen 5000 ( VMR ) do NOT have a CBS Setup Dxe file

ZP ECC configuration
Code:
    Form FormId: 0x7042, Title: "ECC Configuration"
        Subtitle Prompt: "ECC Configuration", Help: "", Flags: 0x0
        End
        Subtitle Prompt: "", Help: "", Flags: 0x0
        End
        OneOf Prompt: "DRAM ECC Symbol Size", Help: "DRAM ECC Symbol Size (x4/x8) - UMC_CH::EccCtrl[EccSymbolSize]", QuestionFlags: 0x10, QuestionId: 0x8B, VarStoreId: 0x5000, VarOffset: 0xF0, Flags: 0x10, Size: 8, Min: 0x0, Max: 0xFF, Step: 0x0
            OneOfOption Option: "x4" Value: 0
            OneOfOption Option: "x8" Value: 1
            OneOfOption Option: "Auto" Value: 255, Default
        End
        OneOf Prompt: "DRAM ECC Enable", Help: "Use this option to enable / disable DRAM ECC. Auto will set ECC to enable.", QuestionFlags: 0x10, QuestionId: 0x8C, VarStoreId: 0x5000, VarOffset: 0xF1, Flags: 0x10, Size: 8, Min: 0x0, Max: 0xFF, Step: 0x0
            OneOfOption Option: "Disabled" Value: 0
            OneOfOption Option: "Enabled" Value: 1
            OneOfOption Option: "Auto" Value: 255, Default
        End
    End
In UEFITool if you search for VMR then CbsSetupDxeSSP (SSP) Comes up ;)
 

luckylinux

Active Member
Mar 18, 2012
766
185
43
@ALinden

If it's SSP like my simple Search seems to suggest, it should be these Parameters
Code:
        Form FormId: 0x7025, Title: "ECC Configuration"
                Subtitle Prompt: "ECC Configuration", Help: "", Flags: 0x0
                End
                Subtitle Prompt: "", Help: "", Flags: 0x0
                End
                OneOf Prompt: "DRAM ECC Symbol Size", Help: "DRAM ECC Symbol Size (x4/x8/x16) - UMC_CH::EccCtrl[EccSymbolSize16, EccSymbolSize]", QuestionFlags: 0x10, QuestionId: 0xB1, VarStoreId: 0x5000, VarOffset: 0x11A, Flags: 0x10, Size: 8, Min: 0x0>
                        OneOfOption Option: "x4" Value: 0
                        OneOfOption Option: "x8" Value: 1
                        OneOfOption Option: "x16" Value: 2
                        OneOfOption Option: "Auto" Value: 255, Default
                End
                OneOf Prompt: "DRAM ECC Enable", Help: "Use this option to enable / disable DRAM ECC. Auto will set ECC to enable.", QuestionFlags: 0x10, QuestionId: 0xB2, VarStoreId: 0x5000, VarOffset: 0x11B, Flags: 0x10, Size: 8, Min: 0x0, Max: 0xFF, >
                        OneOfOption Option: "Disabled" Value: 0
                        OneOfOption Option: "Enabled" Value: 1
                        OneOfOption Option: "Auto" Value: 255, Default
                End
                OneOf Prompt: "DRAM UECC Retry", Help: "Use this option to enable / disable DRAM UECC Retry.", QuestionFlags: 0x10, QuestionId: 0xB3, VarStoreId: 0x5000, VarOffset: 0x11C, Flags: 0x10, Size: 8, Min: 0x0, Max: 0xFF, Step: 0x0
                        OneOfOption Option: "Auto" Value: 255, Default
                        OneOfOption Option: "Enabled" Value: 1
                        OneOfOption Option: "Disabled" Value: 0
                End
        End
So probably something like
Code:
setup_var.efi AmdSetup(0x5000):0x11B=0x1
EDIT 1: I checked on BIOS L2.12 disassembled, NOT the L2.09 that I have currently on my System.

EDIT 2: if you change ANY Settings in the BIOS after running setup_var.efi, you might need to re-apply your Changes.

@ALinden: Did you try with BIOS L2.09 for real, or did you just try disassembling it ?

EDIT 3: maybe you could also try to enable the other Settings:
Code:
setup_var.efi AmdSetup(0x5000):0x11C=0x1

BTW Not sure what to make of the Flags Parameter, maybe there is something else there too ... -> Nevermind, also supermicro has that apparently
 
Last edited:

chlastakov

Active Member
Jan 26, 2025
208
63
28
Czech Republic
Guys, I'm lost when I read what you talking about :)

I suppose you are somehow activating hidden BIOS settings? How you do it? How you searching for that options? Can you please point me right direction how to start with these things?