Question / Help Stream seems choppy. But in game I'm not losing frames.

wessla

Member
You need to post a logfile from a stream attempt.

Reopen OBS, start the stream, enter the game, play for a few, then exit game, stop stream, upload latest logfile.
 

RytoEX

Forum Admin
Forum Moderator
Developer
You're using a nearly one year old version of OBS Studio (OBS Studio 0.14.1 was released on April 24, 2016). Update to the latest version (18.0.1 as of this post), and then try again and provide a new log from a streaming attempt.
 

Xsoulsin

Member
Code:
04:50:10.609: Output 'simple_file_output': Total encoded frames: 51920
04:50:10.609: Output 'simple_file_output': Total drawn frames: 51919
04:50:10.609: Output 'simple_file_output': Number of skipped frames due to encoding lag: 3 (0.0%)
04:50:10.609: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 19476 (37.5%)


Looks like your computer not able to keep up. If I looked at log correct it looked like trying stream and record same time. You have present on slow, change to something like veryfast or close to that. Someone else can chime in on this that might have better idea on it. Just trying share some advice from what I see. It a trial and error so keep at it.
 

LordRuaak

New Member
Where can I choose to not record? I know in OBS Classic you could choose whether or not to record AND stream or just stream/record. I don't see that option on here.
 

RytoEX

Forum Admin
Forum Moderator
Developer
If I looked at log correct it looked like trying stream and record same time. You have present on slow, change to something like veryfast or close to that. Someone else can chime in on this that might have better idea on it. Just trying share some advice from what I see. It a trial and error so keep at it.
Where can I choose to not record? I know in OBS Classic you could choose whether or not to record AND stream or just stream/record. I don't see that option on here.

It actually was just recording in the first log, and just streaming in the second log. The recording in the first log used the stream encoder (In Simple Output Mode: Settings > Output > Recording > Recording Quality > Same as stream), which is why it's listed as "simple_h264_stream".

To answer the question of how to not record and stream automatically at the same time, that setting is located at Settings > General > Automatically record when streaming. I think that setting is disabled by default.

In any case, on to your actual issue...
04:50:10.609: Output 'simple_file_output': Total encoded frames: 51920
04:50:10.609: Output 'simple_file_output': Total drawn frames: 51919
04:50:10.609: Output 'simple_file_output': Number of skipped frames due to encoding lag: 3 (0.0%)
04:50:10.609: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 19476 (37.5%)
22:14:39.538: Output 'simple_stream': Total encoded frames: 296263
22:14:39.538: Output 'simple_stream': Total drawn frames: 296263
22:14:39.538: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 63966 (21.6%)
The issue you're having is rendering lag. Specifically, the biggest issue is getting the rendered graphics from the graphics card to the encoder, which could be an issue between the graphics card, PCI-E slot, and motherboard. You should verify that your graphics card is operating at the correct speed. You can check this with GPU-Z. I think the max speed for the GT 710 is PCI-E 2.0 x8 (unless that's the PCI-E 3.0 x1 variant) and the GT 610 is PCI-E 2.0 x16.

You have some options to try to alleviate this:
  • Set your OBS video output and game capture sources at 30 FPS or lower.
  • Lower your OBS video output resolution.
  • Turn down your in-game graphics settings and FPS.
  • Run your game in fullscreen mode.
  • Switch your main graphics card to your integrated graphics (if your motherboard has it, it might be better than the 710).
  • Switch your main graphics card to the 610 for the increased graphics bandwidth but reduced graphics performance (it'll only have more bandwidth if both cards are PCI-E 2.0).
  • Get a graphics card that runs at PCI-E 3.0 x16.
Incidentally, you were not experiencing encoder slowdowns, so you can probably set your encoder back to something between veryfast, fast, or medium once you solve your render lag issue, but one thing at a time here.
 

RytoEX

Forum Admin
Forum Moderator
Developer
By change primary graphics do you mean primary as in the whole computer? Or just OBS Settings?
OBS Studio doesn't currently have a setting to select a specific graphics card, so you'll have to set it system-wide. If your GT 610 is in a PCI-E slot capable of its max speed (likely 2.0 x16, but you should double check its specs per its manufacturer), then you should be able to set the default graphics card in the NVIDIA Control Panel without physically moving the cards.
 

RytoEX

Forum Admin
Forum Moderator
Developer
i7-6700k has only 16 PCI Express lanes
https://ark.intel.com/products/88195/Intel-Core-i7-6700K-Processor-8M-Cache-up-to-4_20-GHz
So, both cards are running at 8x maximum (if you have any other PCI Express card, one of them could be at 4x.

Using GPU-Z you can see their config.
I'd missed that. To be fair, the motherboard's chipset itself may also provide additional PCI-E lanes, but those may not be suitable for graphics cards. I still think that the integrated graphics would probably outperform either Nvidia card, but it would be fighting the rest of the system for RAM from a rather small memory pool (8GB).
 

RytoEX

Forum Admin
Forum Moderator
Developer
If you absolutely want to stream/record at 720p@30f, yes. I think that's your best shot without buying a new card. Keep in mind, it might not solve all of your problems, and if you decide to continue using the iGPU, you should probably get more RAM for your computer.
 
Top