-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
4000 series compatibility? #9
Comments
|
I also have a 4800H. If I can help, please let me know. |
Hi, could you try this version? I'm not going to support the old one anymore. Leave the manual overclock function untouched for now (it won't do anything anyway) and test if it gets detected correctly and if the P-States work. Normally you would want to set DID lower than default to enable overclock mode. FID is recalculated automatically so you have the same target frequency (or as close as possible). |
Will do as soon as I get back home on Monday!
…On May 29, 2020, 06:25, at 06:25, Ivan Rusanov ***@***.***> wrote:
@Freekers @alexantone
Hi, could you try this version? I'm not going to support the old one
anymore.
Version 2 is not finished and I've only implemented few things for now,
but it should be better when done.
Leave the manual overclock function untouched for now (it won't do
anything anyway) and test if it gets detected correctly and if the
P-States work. Normally you would want to set DID lower than default to
enable overclock mode. FID is recalculated automatically so you have
the same target frequency (or as close as possible).
[ZenStates_2.0.0_debug_20200529.zip](https://github.com/irusanov/ZenStates/files/4699513/ZenStates_2.0.0_debug_20200529.zip)
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#9 (comment)
|
I'm unsure what safe voltages would be for my 4800H. What would be your recommendation? Additionally, I can only select All Cores or Core0,1,2,3 whereas the 4800H is an 8 core CPU. |
The manual overclock won't work for the 4000 series, because I don't know the commands for it, also don't know if it is possible at all. You can only play with P-States for now, if they get respected by the CPU. |
I don't notice any difference. It seems the CPU boosts past the P0 state. Perhaps I'm doing something wrong. Let's wait for the feedback of @alexantone |
Usually on these APUs you need to change the DID to something lower than the default, then the CPU goes into OC mode, but this means it would stay at that fixed frequency. I haven't found any other method to control the frequency. Changing power limits might have some effect, but they are not available in the new app yet. |
Yeah, this happens because of XFR or smth like it, that allows cores to boost higher than P0.
These frequency limits are pretty obscure and probably hidden behind the SMU.
There is a way to disable the boost though, via MSR 0xC0010015 bit 25 (Core Performance Boost disable bit / Hardware Configuration Register) [1].
This will cap the upper freq to the P0 one.
Unfortunatelly i get immediatevsystem crash when I try to play with the P0 parameters for Ryzen 4800H.
[1] Open source Register Reference For AMD Family 17h Processors
…On Jun 1, 2020, 13:14, at 13:14, Freekers ***@***.***> wrote:
I don't notice any difference. It seems the CPU boosts past the P0
state. Perhaps I'm doing something wrong. Let's wait for the feedback
of @alexantone
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#9 (comment)
|
Yes, that MSR is used for controlling the PB bit, but last time I tried it didn't work either. It just gets ignored. |
For me, on Ryzen 4800H it works when I manually set it with RWEverything with the "Set on all CPUs" checkbox checked.
The bit does get reset by the BIOS at reboot and resume from sleep though.
BR,
Alex
…On Jun 1, 2020, 21:07, at 21:07, Ivan Rusanov ***@***.***> wrote:
Yes, that MSR is used for controlling the PB bit, but last time I tried
it didn't work either. It just gets ignored.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#9 (comment)
|
That's a good news. It was working on the 1000 series before, then stopped after one of the AGESA updates. Currently, you can't do much on the 1800X with new bios/AGESA. Most of the old commands don't work anymore. I'm afraid the mobile chips are also almost completely locked and not much can be changed, unfortunately :( Even though you can successfully change some parameters, they are not respected by the CPU. It's almost completely autonomous. |
Probably manual OC does not work or it depends on some other option. Attached is the latest beta build, but I don't think it will make any difference. I might get a Renoir myself to try. |
I ve got a Ryzen 4800H mobile on an ASUS A15 (506IV with 309 BIOS). I hope it helps you. I am also interested in this topic. |
Have anyone tried if Ryzen Master work on these mobile CPUs? I don't think ZenStates will work on mobile, unless I get a Renoir-based laptop which I don't need. The command IDs seem to be completely different and are probably the same as on previous mobile chips. It's not advisable to run these tools on mobiles. I will have to probably add mobile CPUs to the unsupported ones, unless I get a chance to actually test anything on a real system. Otherwise it might be even dangerous for these APUs. I have found one reasonably specced Lenovo laptop, but have to pay 700+ euro for something I don't need. I can't find any evidence it's possible to set higher frequencies on the mobile chips, only power limits. |
Ryzen Master is unsupported in mobile ryzen. |
@yutouyes Yes, the command for forcing manual oc mode fails. It's either unsupported or has a different ID. If I get a chance to test on an actual laptop, I will try to find something useful. Until then there's nothing I can do. The mobile variant of the app should probably have a completely different CPU tab though. If someone feels like experimenting, then you can try the ids from this table: https://github.com/flygoat/ryzen_nb_smu and use either that tool to send the desired command and arguments or my SMUDebugTool, but I will have to release the new version with Renoir support first. |
Pushed a new release of the debug tool with Renoir support (desktop). It should start on mobile as well, but OC frequency and voltage won't work. I will have to split the detection by socket as well and add another logic if mobile is detected. https://github.com/irusanov/SMUDebugTool/releases/ PS: Could someone get me a report from SMUDebugTool (v1.2.7)? Should look like this: {
"AppVersion": "1.2.7.0",
"OSVersion": "Microsoft Windows 10 Pro",
"CpuId": "870F10",
"CpuCodeName": "Matisse",
"CpuName": "AMD Ryzen 9 3900X 12-Core Processor",
"ExtendedModel": "00000071",
"PackageType": 2,
"CCDCount": "2",
"CCXCount": "4",
"NumCoresInCCX": 3,
"FusedCoreCount": 12,
"PhysicalCoreCount": 16,
"Threads": 24,
"MbVendor": "ASUSTeK COMPUTER INC.",
"MbName": "CROSSHAIR VI HERO",
"BiosVersion": "7803",
"Microcode": "08701021",
"SmuVersion": "46.62.00",
"Mailboxes": [
{
"MsgAddress": "0x03B10524",
"RspAddress": "0x03B10570",
"ArgAddress": "0x03B10A40"
},
{
"MsgAddress": "0x03B10528",
"RspAddress": "0x03B10574",
"ArgAddress": "0x03B10A60"
},
{
"MsgAddress": "0x03B10530",
"RspAddress": "0x03B1057C",
"ArgAddress": "0x03B109C4"
}
]
} |
{ |
Would be nice to know if the Desktop Renoir have a different SMU Version behause our Mobile variants already have different SMU versions.
|
I have some Renoir reports from users
The detected versions might be inaccurate though, because some of the reports are from older versions of ZenTimings prior to adding support for both SMU version formats. To me, mobile and desktop Renoir seem to be on the same SMU node. Generally things with Zen2 and Zen3 seem to be more consistent than with previous generations. |
Spicy! According to the ryzen master reverse engineering result Desktop Renoir does still use other message Ids then Mobile Renoir. Or is my conclusion wrong? |
If you're only interested in Mobile Renoir, then you can check the Renoir Mobile Tuning: https://github.com/sbski/Renoir-Mobile-Tuning/blob/Update-1.0/renoir_tuning_utility/renoir_tuning_utility/PowerSettings.cs |
Thank you, but Renoir Mobile Tuning values are already the result of the joint effort between sbski and FlyGoat. So nothing new there :) Edit: I'm not sure if I'm too late, but I can confirm the message Ids from your spreadsheet to be working
|
For disable prochot (0x17) you might need an argument 0x1000000, but I don't know if it works on Renoir and it's not that important anyway. It's only useful on extreme cooling and not recommended. Zen2 (Matisse) and Zen3 (Vermeer) combine that "disable prochot" command with "enable manual overclock" (with default 0x0 argument). 0x19 and 0x1A should only work if you manage to enable manual oc mode first. Same for 0x1B. |
I did search for prochot adjustments because even with tctl, prochot gets trigger on my system. Prochot is very painful because it does apply maximum throttle which nearly freezes the system. But I guess found the issue. Seams like tctl is to slow. Here is my contribution to this topic
quote from Renoir Tuning Guide |
I did try to find out if Pstates are used at all at Renoir. However, I couldn't get PState to do anything. After setting PState values bit 21 get set (LockTscToCurrentP0: lock the TSC to the current P0 frequency) This doesn't help either. Maybe it does prevent it from working. So I did also try to see what's happening without it. Then I did repeat all these tests with bit 25 CpbDis: core performance boost disable But the only thing which this is doing: applying the 1700Mhz Limit. Even after and during PState value changes and with or without bit 21. Seams like the mobile CPUs do ignore the values which can be written and read from the usual PState registers. The interesting thing is that Windows can not limit the Core frequency either.
Both options are hidden on my AMD installation, so I did enable the GUI options
But one thing does work:
Surprise surprise, changing this value does automatically set bit 25 according to the picklist value. Thanks for the hint @alexantone we now know who windows is doing this. Edit: |
Hi!
Are there any plans for Ryzen 4000 series compatibility in the near future?
Thank you!
The text was updated successfully, but these errors were encountered: