Back to HPET-TSC timers or why underclocking CPU helps

Everything about latency. Tips, testing methods, mouse lag, display lag, game engine lag, network lag, whole input lag chain, VSYNC OFF vs VSYNC ON, and more! Input Lag Articles on Blur Busters.
triplese
Posts: 130
Joined: 13 Dec 2021, 12:20

Re: Back to HPET-TSC timers or why underclocking CPU helps

Post by triplese » 28 Oct 2022, 05:30

MegaMelmek wrote:
27 Oct 2022, 16:12
my ping not go over 5ms still is unplayable so this is not internet issue for most of the ppl… strange is that most off the ppl with this issue hase ryzen CPU now so maybe is time give intel a try again…
Your ping not showing realtime graph and ICMP is unreliable protocol for investigating such problems.
I have 2 ISPs, on one of them ISP have ultra bad uplink to AWS, GCP and steam servers in Frankfurt only. Google meet have nice graph in troubleshooting section, where I see jigsaw pattern 300-1000 ms, but traceroute or continuous ping to this exact server not showing any spikes. Hitreg on Frankfurt servers is fully absent in all games, but ping is low. At first round I can say you with 100% probability, is that server located in Frankfurt or somewhere else, so I turned it off in games with server choosing. And on Warsaw or London servers I dont have such problems even with bigger ping.

User avatar
dervu
Posts: 249
Joined: 17 Apr 2020, 18:09

Re: Back to HPET-TSC timers or why underclocking CPU helps

Post by dervu » 28 Oct 2022, 05:37

Maybe pingplotter with UDP type packets is worth a try then.
Ryzen 7950X3D / MSI GeForce RTX 4090 Gaming X Trio / ASUS TUF GAMING X670E-PLUS / 2x16GB DDR5@6000 G.Skill Trident Z5 RGB / ASUS ROG SWIFT PG279QM / Logitech G PRO X SUPERLIGHT / SkyPAD Glass 3.0 / Wooting 60HE / DT 700 PRO X || EMI Input lag issue survivor

Anonymous768119

Re: Back to HPET-TSC timers or why underclocking CPU helps

Post by Anonymous768119 » 28 Oct 2022, 06:00

dervu wrote:
28 Oct 2022, 05:37
Maybe pingplotter with UDP type packets is worth a try then.
But there is no handshake, so actually you don't know what Pingplotter shows

IIHydraII
Posts: 2
Joined: 24 May 2023, 10:28

Re: Back to HPET-TSC timers or why underclocking CPU helps

Post by IIHydraII » 24 May 2023, 10:36

triplese wrote:
27 Oct 2022, 06:07
We can try to collect list of affected systems (CPU+MB, bios ver) to take some stats.
So I will start and add here:

AFFECTED:

Code: Select all

5950x, gigabyte b550 aorus pro v2, all bios ver
5800x Gigabyte X570 Aorus Elite, all Versions.
5800x, ASUS TUF X570-PLUS, all BIOS ver.
5600x, asus rog strix x570 f-gaming
UNAFFECTED:

Code: Select all



5700X, MSI B550 Mortar, Latest Bios.

Does anyone have any other possible suggestions to fix this desync? I tried both forcing HPET and PMT (with HPET disabled in the BIOS vis. SCEWIN) as shown here https://sites.google.com/view/melodystw ... v7ue62w883, which dratically improved resposivness, mouse input, hit registration, synchronisation etc, significantly improving my gaming experience - but it caused audio issues and the occasional stutter. Though I guess I have to put up with this for the time being, as stock settings with regular TSC is completely unplayable. I'm tempted to sell my platform and go back to intel since i had a better gaming experience on my 9400f system.

Any help would be greatly appreciated.

Sebichek45
Posts: 62
Joined: 01 Dec 2022, 08:06

Re: Back to HPET-TSC timers or why underclocking CPU helps

Post by Sebichek45 » 25 May 2023, 10:52

IIHydraII wrote:
24 May 2023, 10:36
triplese wrote:
27 Oct 2022, 06:07
We can try to collect list of affected systems (CPU+MB, bios ver) to take some stats.
So I will start and add here:

AFFECTED:

Code: Select all

5950x, gigabyte b550 aorus pro v2, all bios ver
5800x Gigabyte X570 Aorus Elite, all Versions.
5800x, ASUS TUF X570-PLUS, all BIOS ver.
5600x, asus rog strix x570 f-gaming
UNAFFECTED:

Code: Select all



5700X, MSI B550 Mortar, Latest Bios.

Does anyone have any other possible suggestions to fix this desync? I tried both forcing HPET and PMT (with HPET disabled in the BIOS vis. SCEWIN) as shown here https://sites.google.com/view/melodystw ... v7ue62w883, which dratically improved resposivness, mouse input, hit registration, synchronisation etc, significantly improving my gaming experience - but it caused audio issues and the occasional stutter. Though I guess I have to put up with this for the time being, as stock settings with regular TSC is completely unplayable. I'm tempted to sell my platform and go back to intel since i had a better gaming experience on my 9400f system.

Any help would be greatly appreciated.


Which combination did you try?

IIHydraII
Posts: 2
Joined: 24 May 2023, 10:28

Re: Back to HPET-TSC timers or why underclocking CPU helps

Post by IIHydraII » 25 May 2023, 18:18

Sebichek45 wrote:
25 May 2023, 10:52
Which combination did you try?
bcdedit /set useplatformclock yes
bcdedit /set useplatformtick yes
HPET disabled in bios

Was the combination which worked best, despite the odd audio issue.

User avatar
imprecise
Posts: 277
Joined: 16 Nov 2022, 13:47

Re: Back to HPET-TSC timers or why underclocking CPU helps

Post by imprecise » 31 May 2023, 21:04

AMD guidance in 2018 was to disable HPET:

https://www.anandtech.com/show/12678/a- ... -results/3

Any updates since 2018 that would suggest using HPET increases performance?

This article has a tool called TimerBench if anyone wants to benchmark their system. I haven't tried it myself, I found enough evidence to return to my old HPET-off days and am enjoying the increased fluidity.
https://www.overclockers.at/articles/th ... at-it-isnt

This post has more detailed information about different ways to configure the timers.
https://www.xbitlabs.com/hpet-settings/

sherifmagdy32
Posts: 121
Joined: 08 Jan 2022, 23:43

Re: Back to HPET-TSC timers or why underclocking CPU helps

Post by sherifmagdy32 » 01 Jun 2023, 01:46

This is melodys explanation of the timer part hopeful it helps someone

"How do I use certain combinations of clocks and ticks?
TSC + TSC without desync: bcdedit /deletevalue useplatformclock - bcdedit /deletevalue useplatformtick - make sure HPET is enabled in BIOS
TSC + RTC: bcdedit /deletevalue useplatformclock - bcdedit /set useplatformtick Yes
HPET + RTC: bcdedit /set useplatformclock Yes - bcdedit /set useplatformtick Yes - make sure HPET is enabled in BIOS
PMT + RTC: bcedit /set useplatformclock Yes - bcdedit /set useplatformtick Yes - make sure HPET is disabled in BIOS"

source: https://sites.google.com/view/melodystw ... et-tsc-pmt

User avatar
Tiberiusmoon
Posts: 147
Joined: 10 Feb 2023, 05:05

Re: Back to HPET-TSC timers or why underclocking CPU helps

Post by Tiberiusmoon » 01 Jun 2023, 03:19

sherifmagdy32 wrote:
01 Jun 2023, 01:46
This is melodys explanation of the timer part hopeful it helps someone

"How do I use certain combinations of clocks and ticks?
TSC + TSC without desync: bcdedit /deletevalue useplatformclock - bcdedit /deletevalue useplatformtick - make sure HPET is enabled in BIOS
TSC + RTC: bcdedit /deletevalue useplatformclock - bcdedit /set useplatformtick Yes
HPET + RTC: bcdedit /set useplatformclock Yes - bcdedit /set useplatformtick Yes - make sure HPET is enabled in BIOS
PMT + RTC: bcedit /set useplatformclock Yes - bcdedit /set useplatformtick Yes - make sure HPET is disabled in BIOS"

source: https://sites.google.com/view/melodystw ... et-tsc-pmt
I love this article, its very informative.
Thank you!

Post Reply