Encoder lag with Chivalry 2, high end PC

totenkult

New Member
Hey all, casual streamer here who doesn't have much experience in tuning performance in OBS.
My PC setup is:
RTX 3080 FTW
Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
32GB RAM
Nothing overclocked

I play the game (Chivalry 2) at max settings at 3440x1440 on an ultrawide monitor, which then is scaled down to 1964x822. My goal would be to get my output to be a consistent 60fps at the scaled-down resolution.The game plays flawlessly itself, but when recording or streaming, it gets rather blurry and lags a decent amount. You can see the dropped frames in the log file of my multiple recording attempts. I am running task manager while streaming/recording and my GPU usage is always 95-99% and CPU is around 50-75% usage. My intuition is telling me that I am just demanding too much from my gpu and would be better off with an encoding PC if I want to run my source at such a high resolution/fidelity. I welcome any advice to help me out here! :)

I've tried messing with a lot of different settings based on comments in these forums but I can't quite seem to get it right. Below are the settings in my OBS and the logs:
1624651240687.png
1624651279632.png

Log file:
 

FerretBomb

Active Member
Any downscale will carry a quality loss, especially non full-integer downscales. You're scaling to a wonky mid-value instead of just using 720p (a 2:1 full-integer downscale).

You're getting a good amount of rendering lag (around 3%). You already have Admin Mode on, but it isn't working in this case; you'll need to lower your in-game settings to reduce your GPU load. Capping your framerate or using vsync can also help with this.

You're also running mixed refresh rates on your monitors. There's a long-standing Windows bug with the compositor and 3D accelerated applications that was SUPPOSED to be fixed in Win10 v2004 (you are on 2009), but it doesn't fix it in every case. You can test if this is affecting you by right-clicking the Preview window and selecting 'Disable Preview'. If it records/streams fine, then you'll have to either leave the preview disabled, or run all of your monitors at the same refresh rate to avoid it.
On a side note, you may want to consider running your 144hz monitor at 120hz instead. This will provide a clean 2:1 pulldown to 60fps or 4:1 to 30fps, giving you even frame pacing and a better, smoother-motion stream.

Really though, it may just be that you have A TON of Game Captures in your scene. You should only have ONE (even two is risking performance problems, and should be avoided unless you need both concurrently in one scene). They can conflict when you have multiple, and cause performance issues that can lead to the rendering lag your log is showing.
 
Top