Page 6 of 11
#76 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by dsanke 24.08.2018 03:46

avatar

I modified @Mov AX, 0xDEAD 's pcie patcher to ht patcher .
Put ht_patcher.cmd into pcie patcher folder and run .

#77 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by ItxLeo 24.08.2018 12:29

So I do not need to do step 1? Anyway, s.napi was kind enough to do step 1 for me, and there it is the bios with the step 1 done. The problem is that it still does not lock in the multiplier https://www.sendspace.com/file/9k2cwr
I have a few problems with the step 2:
I have the ACPI tables a bit different from the ones explained there, so I have to go a bit random. but let's suppose it is all correct, I cannot use iASL to convert all of them from DSL to AML. I manage to convert most of them, but not all.
Oh, sorry for the noob question, bot how do I run the ht_fix.cmd?
I did: Shift+right click on the folder, write ht_patcher.cmd bios.bin
It gave me an error saying I must do .\ht_patcher.cmd bios.bin
I did it and nothing happens.
Doing the "cd" command in CMD and then doing "ht_patcher.cmd bios.bin" from CMD still nothing.

#78 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by s.napi 24.08.2018 13:58

@ItxLeo
I sent you updated/corrected BIOS via private message. And you are not correct - it has nothing to do with step 1 of this guide. It's fix for "sync all cores" only. There is no reason to do the HT fix for 6 thread CPU.

#79 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by ItxLeo 24.08.2018 15:10

Zitat von s.napi im Beitrag #78
@ItxLeo
I sent you updated/corrected BIOS via private message. And you are not correct - it has nothing to do with step 1 of this guide. It's fix for "sync all cores" only. There is no reason to do the HT fix for 6 thread CPU.

Working! Thanks a lot mate ;)
Now, if I upgraded to 8700k (Since I have it in my main rig and I'll upgrade to the 9900k) it would lock in the multi? I imagine I should do the HT patch. But since it's an Asrock mobo it should be fine, or am I wrong?
Sorry if I ask, but what have you edited in the end to make it work? I'm trying to learn ;)

#80 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by Driv3r 24.08.2018 19:10

Is there any need to modify another ACPI tables except the ones inside the spoiler (DptfSds and DptfTabl for example) ?

Zitat von s.napi im Beitrag #2
/6B5C8FE5-70DD-4E17-BFF4-D21C26586EB3/
|__ 08_6B5C8FE5-70DD-4E17-BFF4-D21C26586EB3.raw "Ther_Rvp"
|__ 09_6B5C8FE5-70DD-4E17-BFF4-D21C26586EB3.raw "Ther_Sds"

/C118F50D-391D-45F4-B3D3-11BC931AA56D/
|__ 01_C118F50D-391D-45F4-B3D3-11BC931AA56D.raw "A M I "

/C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3/
|__ 01_C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3.raw "ApCst"
|__ 02_C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3.raw "ApHwp"
|__ 03_C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3.raw "ApIst"
|__ 04_C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3.raw "ApTst"
|__ 06_C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3.raw "Cpu0Hwp"
|__ 09_C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3.raw "CpuSsdt"
|__ 10_C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3.raw "CtdpB"
|__ 11_C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3.raw "HwpLvt"

#81 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by s.napi 24.08.2018 22:03

@ItxLeo
Sync all cores will work with up to 8 core CPUs (even for 9900K). Try running 8700K on your BIOS. If it won't work try patching CpuMpPei (step 1). After patch, it should boot into operating system. Then you should patch ACPI.

See Post 17.
patches.txt from Post 71 contains one line:

299D6F8B-2EC9-4E40-9EC6-DDAA7EBF5FD9 10 P:8B55F08B45ECB9AD0100000F30:8B55EC8B45ECB9AD0100000F30

with meaning:

in module
299D6F8B-2EC9-4E40-9EC6-DDAA7EBF5FD9

search for sequence of bytes
8B 55 F0 8B 45 EC B9 AD 01 00 00 0F 30

and replace it with sequence
8B 55 EC 8B 45 EC B9 AD 01 00 00 0F 30

That's it.

#82 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by s.napi 24.08.2018 22:05

@Driv3r
I would patch every table that contains reference to CPU according to the step 2 of the guide.

#83 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by ItxLeo 24.08.2018 22:58

Zitat von s.napi im Beitrag #81
@ItxLeo
Sync all cores will work with up to 8 core CPUs (even for 9900K). Try running 8700K on your BIOS. If it won't work try patching CpuMpPei (step 1). After patch, it should boot into operating system. Then you should patch ACPI.

See Post 17.
patches.txt from Post 71 contains one line:
299D6F8B-2EC9-4E40-9EC6-DDAA7EBF5FD9 10 P:8B55F08B45ECB9AD0100000F30:8B55EC8B45ECB9AD0100000F30

with meaning:

in module
299D6F8B-2EC9-4E40-9EC6-DDAA7EBF5FD9

search for sequence of bytes
8B 55 F0 8B 45 EC B9 AD 01 00 00 0F 30

and replace it with sequence
8B 55 EC 8B 45 EC B9 AD 01 00 00 0F 30

That's it.


Since both of my CPUs are delidded is a bit of work to swap them, I will wait for the 9900k and then keep you updated. I could also try the 9900k on the Z170 just to see

#84 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by Driv3r 24.08.2018 23:46

Zitat von s.napi im Beitrag #82
@Driv3r
I would patch every table that contains reference to CPU according to the step 2 of the guide.

The problem is that ACPI tables which I mentioned before (DptfSds and DptfTabl) don't compile even without modification (extract, decompile, try to compile right after decompilation, get error). You can edit them easily, but that's kinda all you can do with it.

#85 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by s.napi 25.08.2018 06:48

Maybe if you share some information about the error someone might help you.

#86 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by Driv3r 26.08.2018 03:07

Zitat von s.napi im Beitrag #85
Maybe if you share some information about the error someone might help you.

Well, here is it. There are some syntax errors and I don't think anyone will bother to fix them (Biostar probably thinks this is fine). Also dsanke confirmed that there is no need to modify these tables.

#87 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by s.napi 26.08.2018 09:42

Read Post 40 and Post 42

#88 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by dsanke 27.08.2018 16:00

avatar

@s.napi
Test on MSI H110M PRO-V MS-7A15 and BAZOOKA D3 MS-7982, debug post stuck in B2 , previous is 79→96. I found 79 means CSM initialization , and B2 means Legacy Option ROM initialization . So I replace CsmDxe CsmBlockIo CsmVideo 3 dxe modules to Z370 extracted one , but nothing happen , i3 8100 also works fine . I turn off CSM in BIOS , nothing happens too , still stuck in 60→B6→62→79→B2 .
video uploaded here http://s000.tinyupload.com/index.php?fil...782142020719830

#89 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by asrwin 28.08.2018 18:55

I am modifying the acpi table with asrock z170 OC formula and b150m pro4
in this file C118F50D-391D-45F4-B3D3-11BC931AA56D.raw

An error occurs when i attempt to disassemble and recompile the dsl file
Whether moded or not, there are still 3 errors
asrock z170 OCF AND b150m Both are the same

Even if i ignore the error with the -f option, no aml file is generated (iasl.exe -f xxx.dsl)
iasl is the latest version 180810
Please advise
----------------------refer------------------------------------------------------------------------------------
C:\coffee4>iasl.exe -f bc118.dsl

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180810
Copyright (c) 2000 - 2018 Intel Corporation

Ignoring all errors, forcing AML file generation

Compiler aborting due to parser-detected syntax error(s)
bc118.dsl 14144: Arg1
Error 6126 - ^ syntax error, unexpected PARSEOP_ARG1

bc118.dsl 17570: }
Error 6126 - ^ syntax error, unexpected '}'

bc118.dsl 34283:
Error 6126 - syntax error, unexpected $end and premature End-Of-File

ASL Input: bc118.dsl - 34283 lines, 1099708 bytes, 15708 keywords

Compilation complete. 3 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

#90 RE: [GUIDE] Fixing HT for Coffee Lake CPUs on Skylake and Kaby Lake motherboards (Z170, Z270) by dsanke 29.08.2018 09:13

avatar

Zitat von asrwin im Beitrag #89
I am modifying the acpi table with asrock z170 OC formula and b150m pro4
in this file C118F50D-391D-45F4-B3D3-11BC931AA56D.raw

An error occurs when i attempt to disassemble and recompile the dsl file
Whether moded or not, there are still 3 errors
asrock z170 OCF AND b150m Both are the same

Even if i ignore the error with the -f option, no aml file is generated (iasl.exe -f xxx.dsl)
iasl is the latest version 180810
Please advise
----------------------refer------------------------------------------------------------------------------------
C:\coffee4>iasl.exe -f bc118.dsl

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180810
Copyright (c) 2000 - 2018 Intel Corporation

Ignoring all errors, forcing AML file generation

Compiler aborting due to parser-detected syntax error(s)
bc118.dsl 14144: Arg1
Error 6126 - ^ syntax error, unexpected PARSEOP_ARG1

bc118.dsl 17570: }
Error 6126 - ^ syntax error, unexpected '}'

bc118.dsl 34283:
Error 6126 - syntax error, unexpected $end and premature End-Of-File

ASL Input: bc118.dsl - 34283 lines, 1099708 bytes, 15708 keywords

Compilation complete. 3 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Compare my provided file , and you will find how to kill these errors.

Xobor Forum Software von Xobor
Datenschutz