halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[CS 1.6] Lags when running at lower fps settings.

Open z3r0gr4v17y opened this issue 1 year ago • 11 comments

Hi there!

I’ve got a pretty solid notebook with an NVIDIA 4080 and an Intel i9 13980HX. I’m getting a stable 1,000 fps at 1.6 without any lags, but I start experiencing lag when I set the fps lower than 200. For instance, if I set fps_max to 100, my 240Hz monitor feels like it’s only running at 30-40Hz.

Does anyone have any suggestions on how to fix this? I know this game is 20 years old, but not everyone with a high-end PC faces this issue. Any help would be greatly appreciated!

z3r0gr4v17y avatar Sep 06 '24 21:09 z3r0gr4v17y

i tried ansio 0, vsync 0, setting hz to 60, 100 nothing helps (p.s. when i set frequency to 60 or 100 i get x2 more lags). I played with rate settigs, i change "rate to 25000, place of 100k", nothing helps. What can i try more? any help, information is like a gold for me.

z3r0gr4v17y avatar Sep 07 '24 10:09 z3r0gr4v17y

I don't believe this has anything to do with Half-Life. It's more about how your monitor handles frame delivery, you could try enabling G-Sync or FreeSync, which synchronize the monitor's refresh rate with the GPU's frame rate. Micro stuttering and frame pacing issues would often happen when a game's FPS is significantly lower than the monitor's refresh rate.

0Ky avatar Sep 07 '24 14:09 0Ky

Does toggling the "Lower Input Latency" option make any difference to the perceived lag?

shawns-valve avatar Oct 04 '24 00:10 shawns-valve

Does toggling the "Lower Input Latency" option make any difference to the perceived lag?

Right now i disabled(off) this option from nvidia control panel, but problem exists. If i enable again problem exist again :/

z3r0gr4v17y avatar Oct 09 '24 11:10 z3r0gr4v17y

there is such a problem, at 144 Hz and 100 FPS the picture is not stable, there are tears. How to make it smoother? Only at 144 FPS it works normally.

voron7777 avatar Nov 21 '24 12:11 voron7777

there is such a problem, at 144 Hz and 100 FPS the picture is not stable, there are tears. How to make it smoother? Only at 144 FPS it works normally.

did u found any fix?

z3r0gr4v17y avatar Jan 30 '25 02:01 z3r0gr4v17y

I am having the same problems. Is there a solution?

josephderler avatar Apr 09 '25 17:04 josephderler

Find the highest multiple of your monitor refresh rate that you can maintain and multiply by 1.01 (then subtract 0.5)

All halflife builds after SteamPipe 5957 (Feb 2013) add 0.5fps to fps_max

240hz = (2401.01)-0.5 = fps_max 241.9 60hz = (601.01)-0.5 = fps_max 60.1 / 120.7 / 181.3 / 241.9 75hz = (75*1.01)-0.5 = fps_max 75.25 / 151 / 226.75 etc

ZOVBOT avatar Apr 10 '25 07:04 ZOVBOT

Find the highest multiple of your monitor refresh rate that you can maintain and multiply by 1.01

240hz x 1.01 = fps_max 242.4 60hz x 1.01 = fps_max 60.6 / 121.2 / 181.8 / 242.4 75hz x 1.01 = fps_max 75.75 / 151.5 / 227.25 etc,

So you might try 121.2 (120*1.01) with 240hz

The server that i want to play is limited to 100 fps (there is no difference im lagging under 200fps in each online server, in local New Game server there is no lags). My noteobok only gives me to switch between 2 hz's: 60 and 240. i tried with 60 too, there is lags still.

z3r0gr4v17y avatar Apr 18 '25 06:04 z3r0gr4v17y

I thought you meant the display looked like a slideshow (tearing, judder), that's inevitable when the framerate is not a multiple but some displays use strobing patterns (a different hold time) for motion blur reduction, that can make it worse, and that might be part of the problem.

If you are talking about input lag, use the launch options -nomsaa -nofbo -mousethread, set the monitor to 240hz and set the console variables, "m_rawinput" & "m_mousethread_sleep" both to "1". And keep in mind, raising the framerate lowers the time to get a frame on the screen, so you may always feel lag at 60fps for example.

60fps 16.66ms frametime 120fps 8.33ms frametime 240fps 4.16ms frametime 480fps 2.08ms frametime etc

ZOVBOT avatar Apr 18 '25 08:04 ZOVBOT

Since your monitor is native 240hz it should be possible to create a custom resolution with 100hz refresh.

  1. Download the "Custom Resolution Utility" by ToastyX here https://www.monitortests.com/forum/Thread-Custom-Resolution-Utility-CRU

  2. Select your primary monitor(s) in the drop down list (active monitors have the 'restart required' label)

  3. In detailed resolutions click "Add..."

  4. Select "Exact" for timing.

  5. Type in the precise resolution you use in game.

  6. Type 100.000 in the refresh rate box, hit OK, and again on the main screen.

  7. Restart your computer, or run the included restart.exe/restart64.exe to reload the graphics driver.

  8. In HL/CS launch options options add, (for example) -width 1920 -height 1080 -freq 100 -forceres

  9. Open console and set fps_max to 100.5

In some cases you will have to set your desktop to 100hz before launching the game.

ZOVBOT avatar Apr 21 '25 01:04 ZOVBOT