How to change clocksource to tsc for gaming?

I am currently playing the PC game “Horizon Forbidden West” but the game running in slow motion.
I found a comment that said changing the clocksource to tsc might help.
It seems that I should add a command to the kernel parameters:
tsc=reliable clocksource=tsc
But I am new to linux and don’t know how to add this command to kernel parameters.
Can anyone help? Thanks!

I believe this article in the Arch Wiki has the information you need.

https://wiki.archlinux.org/title/kernel_parameters

I read the wiki and realized I used systemd-boot.
Then I found the systemd-boot article on the EndeavourOS website:
https://discovery.endeavouros.com/installation/systemd-boot/2022/12/
According to that article, I put the command into /etc/kernel/cmdline and successfully changed the clocksource to tsc.

Thanks for the help!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.