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

ZenTimings closing itself - how to make debug report ? #43

Open
mooms06 opened this issue Sep 12, 2023 · 19 comments
Open

ZenTimings closing itself - how to make debug report ? #43

mooms06 opened this issue Sep 12, 2023 · 19 comments

Comments

@mooms06
Copy link

mooms06 commented Sep 12, 2023

I'm trying to use it on an AMD 7840HS to see the timings but, apparently it's not supported, and the app says to run a debug report and sen it to you

image

But as soon as I click OK, it closes, so how can I run a debug report ?

HWiNFO is apparently able to read the timings, bit it is LPDDR5X 6400, so the frequency (400 MHz) seems wrong.

image

CPU-Z is reporting 800 MHz:

image

As AIDA64:

image

@irusanov
Copy link
Owner

Hi,
This APU model is not supported, indeed. I have no platform to test.
Have to change that message as it is not correct, you can't run a debug report without a supported processor. This needs to be added as e new functionality.

Attached is the current development version, there's a slight chance it works on Phoenix, but I have no way to test it myself.

ZenTimings_v1.30.1107-debug.zip

@mooms06
Copy link
Author

mooms06 commented Oct 11, 2023

Hi,

Sorry for the late answer, I wasn't notified about your reply.

Yes, the v1.30.1107 is working:, with missing/false info:

image

Please find the debug report attached.

Thank you.

Debug_Report_28283197.0074037.txt.zip

@irusanov
Copy link
Owner

irusanov commented Dec 3, 2023

@mooms06 There seem to be some problem with the noitifications or I have overlooked it.
Thanks for the debug report, this is unknown table version for me, will try to add it for the next 1.31 release.

@mooms06
Copy link
Author

mooms06 commented Dec 7, 2023

Version 1.31 is reporting more accurate information:

image

@mooms06
Copy link
Author

mooms06 commented Dec 7, 2023

If I click on Tools => System Info, it crashes after two seconds.

@irusanov
Copy link
Owner

irusanov commented Dec 7, 2023

It's probably due to these missing values on the right. I haven't been able to read the greyed out values on my 6800HS. If I ever manage to fix it for it, then it would probably work for you as well. It's something about Lenovo as mine is Ideapad 15 Pro and I see you're using Lenovo, too.

Does Tools -> Debug work for you?

@mooms06
Copy link
Author

mooms06 commented Dec 26, 2023

Sorry for the late answer, but you have asked about the debug in an edit, and Github don't send a new mail after an edit.

Yes, debug is working, here is the report if needed:

Debug_Report_28393674.9421841.txt.zip

@irusanov
Copy link
Owner

Thanks for the report.
Lenovo really messed up the AOD table. I have finally managed to retrieve it by an alternative method, but it's unusable.

You can try this build of ZenTimings, but the important values are missing in the table my Lenovo laptop bios returns.

ZenTimings_v1.31.1212-debug.zip

It looks like this for me

image

@mooms06
Copy link
Author

mooms06 commented Dec 28, 2023

Looks like this for me:

image

Debug_Report_28396414.0044209.txt.zip

@irusanov
Copy link
Owner

It's the stupid lenovo modifications. The same table version as yours work on an Asus laptop.
I guess you can try one more build, but I doubt there will be a difference.

ZenTimings_v1.31.1213-debug.zip

If no change, then we can try the Registry.
Do you know how to work with the registry editor?

Win + R -> regedit -> OK then navigate to Computer\HKEY_LOCAL_MACHINE\HARDWARE\ACPI\ and you should see bunch of folders. These are the ACPI tables and there should be several starting with SSD, expand one until there are no more levels. The IDs on my machine are CB-01___, but might be different on yours. One of these SSD entries will be the one we're looking for, but I need the identifier Lenovo decided to use to try and locate it. But it might be broken as mine and unusable.

image

@mooms06
Copy link
Author

mooms06 commented Dec 28, 2023

Seems the same :
image

Which one you want ?

image

Here is the first two:
SSD1-2.zip

@irusanov
Copy link
Owner

It's probably the SSD1 or SSD2 judging from the name.

@mooms06
Copy link
Author

mooms06 commented Dec 28, 2023

Then they are attached in the previous message.

@mooms06
Copy link
Author

mooms06 commented Dec 28, 2023

Unrelated: it appears LPDDR5 "6400" is actually 4x 1600 MT ?
Since it's DDR, the actual frequency is 800 MHz, is this correct ? That's quite low.

Latest HWiNFO64 is now reporting 800 MHz:

image

On my desktop, it's reporting 1900 MHz for the DDR4 3800 so it seems accurate:

image

image

@irusanov
Copy link
Owner

Can't find the signature on any of them, maybe Lenovo have changed that as well.

As for the speed, I'm not entirely sure, so I haven't changed the calculation yet. Currently it uses the DDR formula for the data rate.
for LPDDR5 it's more like 2 x IO Bus frequency as it is double data rate (2x3200), but the MCLK is reported as 800. I need to read some LPDDR specs to understand it better.

https://en.wikipedia.org/wiki/LPDDR

@irusanov
Copy link
Owner

irusanov commented Dec 28, 2023

I think we have to consider this formula

Data Transfer Rate (MT/s) = Clock Frequency (MHz) x Data Bus Width Factor
the clock frequency is the MCLK and is reported by the bios, then we have to detect the mode which the current configuration uses and determine the factor

16-bit mode: 2
32-bit mode: 4
64-bit mode: 8

@mooms06
Copy link
Author

mooms06 commented Dec 28, 2023

According to Wikipedia about LPDDR5:

The doubling of the transfer rate, and the quarter-speed master clock, results in a master clock which is half the frequency of a similar LPDDR4 clock. The command (CA) bus is widened to 7 bits, and commands are transferred at double data rate, so commands end up being sent at the same rate as LPDDR4.

Also, my Laptop is equipped with LPDDR5x according to Lenovo specs, but I don't know if there is a way to differentiate it from LPDDR5.

@mooms06
Copy link
Author

mooms06 commented Dec 28, 2023

HWiNFO64 is also reporting a 8:1 ratio:

image

@irusanov
Copy link
Owner

Yes, that's what it shows on mine as well (IdeaPad 5 Pro 16ARH7 with 6800HS and LPDDR5).

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

2 participants