Question / Help OBS struggling to maintain 60fps in R6 Siege

zehDoughnut

New Member
Hi, I'm trying to record Rainbow Six Siege at 1920x1080 60fps. However, OBS struggles to stay at 60fps (even in an emtpy lobby where there's nothing happening). This only happens with R6, all other games (including way more demanding ones) are fine.

I am playing the game at 2560x1440 (I have also tried it at 1920x1080, same result). The ingame settings and fps don't seem to make a difference.

Edit: I'm using the new AMD encoder, but x264 Ultrafast has the same problem.
 

Attachments

  • 2017-06-06 18-16-37.txt
    13.7 KB · Views: 171

Boildown

Active Member
Post the x264 log, make sure its of a recording of at least 5 minutes of high action content.

Maybe someone familiar with the AMD encoder can comment on that one.

There's some inconsistencies that I can see in the AMD log though. You say you're playing at 2560x1440, but yet I see in the log that your base resolution is 1920x1080 and your output resolution is 1280x720, but (again) the AMD encoder sees your resolution as 1920x1080. So it seems like you're downscaling twice and upscaling once? Your framerate is set to 30FPS but the AMD encoder sees it as 60fps, is it decimating then duplicating?

18:16:38.568: output 1: pos={0, 0}, size={2560, 1440}, attached=true

18:16:39.453: base resolution: 1920x1080
18:16:39.453: output resolution: 1280x720
18:16:39.453: downscale filter: Bicubic
18:16:39.453: fps: 30/1

18:18:51.653: [AMF] [H264]<Id: 5> Format: NV12 601 Partial
18:18:51.653: [AMF] [H264]<Id: 5> Resolution: 1920x1080
18:18:51.653: [AMF] [H264]<Id: 5> Frame Rate: 60/1

Set your base resolution to your actual resolution. Set the framerate in all places to what you want to record/stream at. Set the output resolution to what you actually want to stream or record at (if recording, I'd recommend just recording at the base resolution, no downscaling, unless your editor can't handle >1080p or something).

18:19:27.838: Output 'Replay Buffer': Total encoded frames: 2171
18:19:27.838: Output 'Replay Buffer': Total drawn frames: 2171
18:19:27.838: Output 'Replay Buffer': Number of lagged frames due to rendering lag/stalls: 543 (25.0%)

Your test was only 30-some seconds long. You want to do a 5 minute (minimum) test under harsh conditions (lots of visual game action) to get valid results. And when well configured it should have less than 1% lagged frames (yours is 25% right now).
 

zehDoughnut

New Member
To clarify, my output and base resolution is set to 1920x1080 (because that's what the autoconfig recommended).

It might say 1280x720 because R6 is scaling to half the resolution internally.


I'll get the additional logs in a moment.
 

Boildown

Active Member
Autoconfig probably isn't advanced enough to know what to do with monitors larger than 1080p.
 

zehDoughnut

New Member
Here's the x264 log - testing Different base res and ingame scaling now

Edit: Both settings don't make a difference.
 

Attachments

  • 2017-06-06 19-30-25.txt
    51.5 KB · Views: 45
Last edited:

Boildown

Active Member
20:19:48.048: Output 'Replay Buffer': Number of lagged frames due to rendering lag/stalls: 581 (3.1%)
20:19:48.049: ==== Replay Buffer Stop ============================================
20:19:48.049: Video stopped, number of skipped frames due to encoding lag: 98/18765 (0.5%)

This is significantly better though. Try setting your base resolution to 2560x1440 and your output resolution to 1280x720p.

Your log is spammed with this "trying to hook" message:
19:30:26.824: - source: 'Display Capture' (monitor_capture)
19:30:26.824: - source: 'Game Capture' (game_capture)
19:30:26.824: ------------------------------------------------
19:30:31.801: [game-capture: 'Game Capture'] attempting to hook process: RainbowSix.exe
19:30:31.803: [game-capture: 'Game Capture'] could not open process: RainbowSix.exe
19:30:33.818: [game-capture: 'Game Capture'] attempting to hook process: RainbowSix.exe
19:30:33.819: [game-capture: 'Game Capture'] could not open process: RainbowSix.exe
19:30:35.834: [game-capture: 'Game Capture'] attempting to hook process: RainbowSix.exe

I'm not the best at this part since I do it another way, maybe someone can chime in on what to change. But generally I think monitor capture is "bad", try to just use game capture and/or window capture? Not sure for OBS Studio on Windows 10 any more....

Oh yeah if the Windows Game Mode is enabled, disable it, I believe it hurts more than helps.
 
Top