Videos turn out real laggy with my RTX 2070 Super

rockbottom

Active Member
Good catch, C!

Disc maintenance is needed. The higher the bit-rate, more frames are dropping.

20:52:31.240: rate_control: CBR
20:52:31.240: bitrate: 2500
20:52:31.240: cqp: 20
20:52:31.240: keyint: 250
20:52:31.240: preset: hq
20:52:31.240: profile: high
20:52:31.240: width: 1920
20:52:31.240: height: 1080
20:52:31.240: 2-pass: false
20:52:31.240: b-frames: 2
20:52:31.240: lookahead: false
20:52:31.240: psycho_aq: true
20:52:31.240:
20:52:31.250: ---------------------------------
20:52:31.251: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
20:52:31.251:
20:52:31.738: ==== Recording Start ===============================================
20:52:31.738: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/Elijah/Videos/2020-07-09 20-52-31.mp4'...
21:00:58.581: [game-capture: 'Game Capture'] ------------------ vulkan capture freed ------------------
21:00:59.071: [game-capture: 'Game Capture'] capture window no longer exists, terminating capture
21:00:59.071: [game-capture: 'Game Capture'] capture stopped
21:01:00.625: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/Elijah/Videos/2020-07-09 20-52-31.mp4' stopped
21:01:00.625: Output 'adv_file_output': stopping
21:01:00.625: Output 'adv_file_output': Total frames output: 30516
21:01:00.625: Output 'adv_file_output': Total drawn frames: 30533
21:01:00.625: ==== Recording Stop ================================================
21:01:00.625: Video stopped, number of skipped frames due to encoding lag: 34/30531 (0.1%)

21:04:14.589: rate_control: CBR
21:04:14.589: bitrate: 6000
21:04:14.589: cqp: 20
21:04:14.589: keyint: 250
21:04:14.589: preset: hq
21:04:14.589: profile: high
21:04:14.589: width: 1920
21:04:14.589: height: 1080
21:04:14.589: 2-pass: false
21:04:14.589: b-frames: 2
21:04:14.589: lookahead: false
21:04:14.589: psycho_aq: true
21:04:14.589:
21:04:14.599: ---------------------------------
21:04:14.599: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
21:04:14.599:
21:04:14.646: ==== Recording Start ===============================================
21:04:14.646: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/Elijah/Videos/2020-07-09 21-04-14.mp4'...
21:11:04.834: [game-capture: 'Game Capture'] ------------------ vulkan capture freed ------------------
21:11:05.388: [game-capture: 'Game Capture'] capture window no longer exists, terminating capture
21:11:05.388: [game-capture: 'Game Capture'] capture stopped
21:11:13.840: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/Elijah/Videos/2020-07-09 21-04-14.mp4' stopped
21:11:13.840: Output 'adv_file_output': stopping
21:11:13.840: Output 'adv_file_output': Total frames output: 25055
21:11:13.840: Output 'adv_file_output': Total drawn frames: 25152
21:11:13.840: ==== Recording Stop ================================================
21:11:13.840: Video stopped, number of skipped frames due to encoding lag: 419/25097 (1.7%)
 

Mayhem_458

New Member
Good catch, C!

Disc maintenance is needed. The higher the bit-rate, more frames are dropping.

20:52:31.240: rate_control: CBR
20:52:31.240: bitrate: 2500
20:52:31.240: cqp: 20
20:52:31.240: keyint: 250
20:52:31.240: preset: hq
20:52:31.240: profile: high
20:52:31.240: width: 1920
20:52:31.240: height: 1080
20:52:31.240: 2-pass: false
20:52:31.240: b-frames: 2
20:52:31.240: lookahead: false
20:52:31.240: psycho_aq: true
20:52:31.240:
20:52:31.250: ---------------------------------
20:52:31.251: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
20:52:31.251:
20:52:31.738: ==== Recording Start ===============================================
20:52:31.738: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/Elijah/Videos/2020-07-09 20-52-31.mp4'...
21:00:58.581: [game-capture: 'Game Capture'] ------------------ vulkan capture freed ------------------
21:00:59.071: [game-capture: 'Game Capture'] capture window no longer exists, terminating capture
21:00:59.071: [game-capture: 'Game Capture'] capture stopped
21:01:00.625: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/Elijah/Videos/2020-07-09 20-52-31.mp4' stopped
21:01:00.625: Output 'adv_file_output': stopping
21:01:00.625: Output 'adv_file_output': Total frames output: 30516
21:01:00.625: Output 'adv_file_output': Total drawn frames: 30533
21:01:00.625: ==== Recording Stop ================================================
21:01:00.625: Video stopped, number of skipped frames due to encoding lag: 34/30531 (0.1%)

21:04:14.589: rate_control: CBR
21:04:14.589: bitrate: 6000
21:04:14.589: cqp: 20
21:04:14.589: keyint: 250
21:04:14.589: preset: hq
21:04:14.589: profile: high
21:04:14.589: width: 1920
21:04:14.589: height: 1080
21:04:14.589: 2-pass: false
21:04:14.589: b-frames: 2
21:04:14.589: lookahead: false
21:04:14.589: psycho_aq: true
21:04:14.589:
21:04:14.599: ---------------------------------
21:04:14.599: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
21:04:14.599:
21:04:14.646: ==== Recording Start ===============================================
21:04:14.646: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/Elijah/Videos/2020-07-09 21-04-14.mp4'...
21:11:04.834: [game-capture: 'Game Capture'] ------------------ vulkan capture freed ------------------
21:11:05.388: [game-capture: 'Game Capture'] capture window no longer exists, terminating capture
21:11:05.388: [game-capture: 'Game Capture'] capture stopped
21:11:13.840: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/Elijah/Videos/2020-07-09 21-04-14.mp4' stopped
21:11:13.840: Output 'adv_file_output': stopping
21:11:13.840: Output 'adv_file_output': Total frames output: 25055
21:11:13.840: Output 'adv_file_output': Total drawn frames: 25152
21:11:13.840: ==== Recording Stop ================================================
21:11:13.840: Video stopped, number of skipped frames due to encoding lag: 419/25097 (1.7%)


So what exactly should I do?
 

rockbottom

Active Member
It was on.

I really think you need to clear some space on the HD you're saving to & try again. Look back through all your logs, the higher the bit-rate, the higher percentage of dropped frames.
 

Mayhem_458

New Member
It was on.

I really think you need to clear some space on the HD you're saving to & try again. Look back through all your logs, the higher the bit-rate, the higher percentage of dropped frames.
I Will try that tmr. thank you for all your help today. ill get back to you sometime tmr.
 

Mayhem_458

New Member
okay so i was out at work today and it hit me, "could It be because its trying to load the video on the ssd while playing a game that's on the same ssd"? when i got home i checked to see if doom eternal was on my ssd and sure enough it was. so i decided to try a game that was on my hard drive. I tried sekiro shadows die twice and i don't think i ran into any errors. BUT, the video was really slow. it looked like it was at 20FPS. i thought it was because of the CQ level so i reduced it back from 20 to 2. when i tried to record again, the video still looked like it was at 20 fps and this time i ran into encoding errors.

(also i deleted some stuff off my ssd so it has 162/445 GB of free space like you suggested)

ALSO I doubled checked to make sure psycho visual turning was off and it for sure was


here is my latest log:
 

Attachments

  • 2020-07-10 14-34-17.txt
    18.4 KB · Views: 37

ChewieCGM

New Member
Not sure if it is already solved, but I got rid of the problem with OBS being laggy/chopped while streaming and/or recording, and stuttering gameplay.
(My specs: RTX 2080 Super, Ryzen 7 3800X, 16 gb of Ram, 1440p).

In OBS my canvas is 1440p, and I stream to 1080p. Spoiler alert: the resolution was not the problem.

I was really frustrated because I saw how my fellow streamers with much less PC power than me, were playing and streaming flawlessly.

I don´t know why but since a video card driver update (I think it was mid november 2020), my gameplay in any game started with some spikes, but the real problem started when I turned on the streaming or recording option in OBS, the gameplay felt sloppy, it was playable most of the time though -sometimes it went smooth for a short time, just to get a big huge spike in FPS-, but OBS streaming or recording was laggy and chopped as hell.

First of all I checked GPU usage in task manager (never had over 70%, not even on demanding games). 50%-70% of RAM usage, and less than 50% CPU usage (1%-4% in OBS). Temperatures were perfectly fine. Nonetheless I was having a hard time.

I tried several configurations (recommended, advanced, turning psycho visual off, look ahead off, simple). But the stream was stuttering most of the time, and when it ran fairly (and rarely) smooth, the image was all washed out, and it just didn´t felt like 60fps. I was stubborn to downgrade my gameplay and canvas to 1080p and output to 720p considering my specs.

So after a lot of tweakings and experiments, I fixed it doing this:
  1. Open Nvidea Control Panel.
  2. Look for the option: "Adjust Image Settings with Preview". (Its the one that has the rendering of the Nvidea logo spinning)
  3. Under the image you will locate three options.
  4. Click on the third option "Use my preference emphasizing:..."
  5. Turn down the knob to "Balanced". I think the default position here is "Quality". I am no tech, but I have found out that turning it down won´t affect how the resources of your GPU are used, most importantly if you have a good or beefy video card.
That simple tweak had me running gameplay canvas on 1440p with capped 80-120 fps, while streaming or recording output 1080p 60 fps in OBS with no problem.

Every game I´ve tried is set to ultra (obviously removing V Sync and that sort of stuff that is crap) with little to none spikes in gameplay. Laggy OBS went away, and image quality improved, right now it is perfect for my standards.

The stream even improved a lot in games where I had problems before such as Apex and Rainbow Six Siege.

I have even considered to turn down the settings to "performance" to see how it works. But since it is working perfectly for me, I prefer not to.

Miraculously, now streaming in OBS runs perfect in any output configuration I set (Simple or Advanced). Right now my personal settings in OBS are set to advanced with default options turned on, nothing fancy, and bitrate to 6000 (recommended bitrate for 1080p).

*SIDE NOTE: I always cap the fps running in the game to 80 fps if it is a non competitive game, and 100-120 fps if it gets competitive (The refresh rate of my monitor is 100hz), I highly recommend anyone to do this according to their setup!!!*

Hope this helps anyone, because it is not an obvious solution. I was frustrated, and it took me several weeks of experimentation and tweakings (including the ones mentioned in this thread) to get this right. I already tried this fix on a friend´s PC (GTX 1070, i5, 1080p) and it improved her stream quality and the gameplay was smoother. So I think this tweak might help you even if you have a less powerful card than mine.
 
Top