Question / Help OBS lagging during preview and Playback

zgxii

New Member
I had never had such a problem with OBS before, including lag. Recently I decided to open it up again and try to start recording some roblox videos with my buddy.
Anyways, when I started to record there was lag on the preview screen and it was very choppy with the video on the playback after hitting stop recording. I then tried to see if streaming was any different and it was the same. I tried going the lowest settings and playing around with it. Also, I tried uninstalling it and reinstalling OBS. Still having same problems. My laptop is a Lenovo Ideapad 330 with 1TB of space, and AMD RYZEN 3 and RADEON vega graphics.

Do you know what I can do? it has been driving me crazy.

Here is a picture of my settings Right now and video settings.
 

Attachments

  • OBS 23.1.0 (64-bit, windows) - Profile_ Untitled - Scenes_ Untitled 6_12_2019 11_32_50 AM.png
    OBS 23.1.0 (64-bit, windows) - Profile_ Untitled - Scenes_ Untitled 6_12_2019 11_32_50 AM.png
    77.6 KB · Views: 61
  • OBS 23.1.0 (64-bit, windows) - Profile_ Untitled - Scenes_ Untitled 6_12_2019 11_33_00 AM.png
    OBS 23.1.0 (64-bit, windows) - Profile_ Untitled - Scenes_ Untitled 6_12_2019 11_33_00 AM.png
    96.4 KB · Views: 62

zgxii

New Member
15:55:05.602: CPU Name: AMD Ryzen 3 2200U with Radeon Vega Mobile Gfx
15:55:05.602: CPU Speed: 2495MHz
15:55:05.602: Physical Cores: 2, Logical Cores: 4
15:55:05.602: Physical Memory: 7733MB Total, 2751MB Free
15:55:05.602: Windows Version: 10.0 Build 17134 (revision: 799; 64-bit)
15:55:05.603: Running as administrator: false
15:55:05.603: Aero is Enabled (Aero is always on for windows 8 and above)
15:55:05.603: Windows 10 Gaming Features:
15:55:05.603: Game Bar: On
15:55:05.603: Game DVR: On
15:55:05.603: Game DVR Background Recording: Off
15:55:05.607: Sec. Software Status:
15:55:05.608: Avast Antivirus: enabled (AV)
15:55:05.609: Windows Defender Antivirus: disabled (AV)
15:55:05.609: McAfee VirusScan: disabled (AV)
15:55:05.609: McAfee Firewall: disabled (FW)
15:55:05.609: Windows Firewall: enabled (FW)
15:55:05.610: Windows Defender Antivirus: disabled (ASW)
15:55:05.610: McAfee VirusScan: disabled (ASW)
15:55:05.610: Avast Antivirus: enabled (ASW)
15:55:05.610: Current Date/Time: 2019-06-12, 15:55:05
15:55:05.610: Browser Hardware Acceleration: true
15:55:05.610: Portable mode: false
15:55:10.785: OBS 23.1.0 (64-bit, windows)
15:55:10.785: ---------------------------------
15:55:10.803: ---------------------------------
15:55:10.803: audio settings reset:
15:55:10.803: samples per sec: 44100
15:55:10.803: speakers: 2
15:55:10.839: ---------------------------------
15:55:10.839: Initializing D3D11...
15:55:10.839: Available Video Adapters:
15:55:10.843: Adapter 1: AMD Radeon(TM) Vega 3 Graphics
15:55:10.843: Dedicated VRAM: 253255680
15:55:10.843: Shared VRAM: 4054622208
15:55:10.843: output 1: pos={0, 0}, size={1366, 768}, attached=true
15:55:10.843: output 2: pos={1366, 0}, size={1360, 768}, attached=true
15:55:10.912: Loading up D3D11 on adapter AMD Radeon(TM) Vega 3 Graphics (0)
15:55:10.947: D3D11 loaded successfully, feature level used: 45056
15:55:12.922: ---------------------------------
15:55:12.922: video settings reset:
15:55:12.922: base resolution: 1280x720
15:55:12.922: output resolution: 1280x720
15:55:12.922: downscale filter: Lanczos
15:55:12.922: fps: 60/1
15:55:12.922: format: NV12
15:55:12.922: YUV mode: 601/Partial
15:55:12.922: NV12 texture support enabled
15:55:13.731: Audio monitoring device:
15:55:13.731: name: Default
15:55:13.731: id: default
15:55:13.757: ---------------------------------
15:55:13.904: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
15:55:13.954: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
15:55:15.269: [AMF] Version 2.4.2 loaded (Compiled: 1.4.7.0, Runtime: 1.4.6.0, Library: 1;4;6;0;17.40.6001.2809;201810260549;CL#1624383).
15:55:15.368: [AMF] [Capability Manager] Testing Direct3D 11 Adapter 'AMD Radeon(TM) Vega 3 Graphics (VEN_1002/DEV_15dd/SUB_38ef17aa/REV_00c5)':
15:55:15.368: H264/AVC: Supported
15:55:15.368: H265/HEVC: Supported
15:55:15.368:
15:55:15.434: [AMF] [Capability Manager] Testing Direct3D 9 Adapter 'AMD Radeon(TM) Vega 3 Graphics [\\.\DISPLAY4] (VEN_1002/DEV_15dd/SUB_38ef17aa/REV_00c5)':
15:55:15.434: H264/AVC: Supported
15:55:15.434: H265/HEVC: Supported
15:55:15.434:
15:55:16.217: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
15:55:16.393: [obs-browser]: Version 2.3.1
15:55:17.523: VLC found, VLC video source enabled
15:55:17.635: No blackmagic support
15:55:18.079: ---------------------------------
15:55:18.079: Loaded Modules:
15:55:18.079: win-wasapi.dll
15:55:18.079: win-mf.dll
15:55:18.079: win-dshow.dll
15:55:18.079: win-decklink.dll
15:55:18.079: win-capture.dll
15:55:18.079: vlc-video.dll
15:55:18.079: text-freetype2.dll
15:55:18.079: rtmp-services.dll
15:55:18.079: obs-x264.dll
15:55:18.079: obs-vst.dll
15:55:18.079: obs-transitions.dll
15:55:18.079: obs-text.dll
15:55:18.079: obs-qsv11.dll
15:55:18.079: obs-outputs.dll
15:55:18.079: obs-filters.dll
15:55:18.079: obs-ffmpeg.dll
15:55:18.079: obs-browser.dll
15:55:18.079: image-source.dll
15:55:18.079: frontend-tools.dll
15:55:18.079: enc-amf.dll
15:55:18.079: decklink-ouput-ui.dll
15:55:18.079: coreaudio-encoder.dll
15:55:18.079: ---------------------------------
15:55:18.145: ==== Startup complete ===============================================
15:55:18.181: Service '' not found
15:55:18.269: All scene data cleared
15:55:18.269: ------------------------------------------------
15:55:19.280: WASAPI: Device 'Speakers (Realtek(R) Audio)' initialized
15:55:19.323: WASAPI: Device 'Microphone (Logitech USB Microphone)' initialized
15:55:19.343: Switched to scene 'Scene'
15:55:19.359: ------------------------------------------------
15:55:19.359: Loaded scenes:
15:55:19.359: - scene 'Scene':
15:55:19.359: - source: 'Game Capture 2' (game_capture)
15:55:19.359: - source: 'Display Capture' (monitor_capture)
15:55:19.359: ------------------------------------------------
15:55:19.465: adding 139 milliseconds of audio buffering, total audio buffering is now 139 milliseconds (source: Mic/Aux)
15:55:19.465:

https://obsproject.com/logs/KDzWZhjVFXzoZXw2
 

Narcogen

Active Member
Need a log with an output session. Startup log only includes no performance data.

You need to start a recording or streaming session, observe your issue, then stop the session and then upload the log.
 

Narcogen

Active Member
You can start by updating Windows, though.

15:55:05.602: Windows Version: 10.0 Build 17134 (revision: 799; 64-bit)
 

zgxii

New Member
Sorry that was the wrong log. Here is a new one I did

15:55:05.602: CPU Name: AMD Ryzen 3 2200U with Radeon Vega Mobile Gfx
15:55:05.602: CPU Speed: 2495MHz
15:55:05.602: Physical Cores: 2, Logical Cores: 4
15:55:05.602: Physical Memory: 7733MB Total, 2751MB Free
15:55:05.602: Windows Version: 10.0 Build 17134 (revision: 799; 64-bit)
15:55:05.603: Running as administrator: false
15:55:05.603: Aero is Enabled (Aero is always on for windows 8 and above)
15:55:05.603: Windows 10 Gaming Features:
15:55:05.603: Game Bar: On
15:55:05.603: Game DVR: On
15:55:05.603: Game DVR Background Recording: Off
15:55:05.607: Sec. Software Status:
15:55:05.608: Avast Antivirus: enabled (AV)
15:55:05.609: Windows Defender Antivirus: disabled (AV)
15:55:05.609: McAfee VirusScan: disabled (AV)
15:55:05.609: McAfee Firewall: disabled (FW)
15:55:05.609: Windows Firewall: enabled (FW)
15:55:05.610: Windows Defender Antivirus: disabled (ASW)
15:55:05.610: McAfee VirusScan: disabled (ASW)
15:55:05.610: Avast Antivirus: enabled (ASW)
15:55:05.610: Current Date/Time: 2019-06-12, 15:55:05
15:55:05.610: Browser Hardware Acceleration: true
15:55:05.610: Portable mode: false
15:55:10.785: OBS 23.1.0 (64-bit, windows)
15:55:10.785: ---------------------------------
15:55:10.803: ---------------------------------
15:55:10.803: audio settings reset:
15:55:10.803: samples per sec: 44100
15:55:10.803: speakers: 2
15:55:10.839: ---------------------------------
15:55:10.839: Initializing D3D11...
15:55:10.839: Available Video Adapters:
15:55:10.843: Adapter 1: AMD Radeon(TM) Vega 3 Graphics
15:55:10.843: Dedicated VRAM: 253255680
15:55:10.843: Shared VRAM: 4054622208
15:55:10.843: output 1: pos={0, 0}, size={1366, 768}, attached=true
15:55:10.843: output 2: pos={1366, 0}, size={1360, 768}, attached=true
15:55:10.912: Loading up D3D11 on adapter AMD Radeon(TM) Vega 3 Graphics (0)
15:55:10.947: D3D11 loaded successfully, feature level used: 45056
15:55:12.922: ---------------------------------
15:55:12.922: video settings reset:
15:55:12.922: base resolution: 1280x720
15:55:12.922: output resolution: 1280x720
15:55:12.922: downscale filter: Lanczos
15:55:12.922: fps: 60/1
15:55:12.922: format: NV12
15:55:12.922: YUV mode: 601/Partial
15:55:12.922: NV12 texture support enabled
15:55:13.731: Audio monitoring device:
15:55:13.731: name: Default
15:55:13.731: id: default
15:55:13.757: ---------------------------------
15:55:13.904: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
15:55:13.954: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
15:55:15.269: [AMF] Version 2.4.2 loaded (Compiled: 1.4.7.0, Runtime: 1.4.6.0, Library: 1;4;6;0;17.40.6001.2809;201810260549;CL#1624383).
15:55:15.368: [AMF] [Capability Manager] Testing Direct3D 11 Adapter 'AMD Radeon(TM) Vega 3 Graphics (VEN_1002/DEV_15dd/SUB_38ef17aa/REV_00c5)':
15:55:15.368: H264/AVC: Supported
15:55:15.368: H265/HEVC: Supported
15:55:15.368:
15:55:15.434: [AMF] [Capability Manager] Testing Direct3D 9 Adapter 'AMD Radeon(TM) Vega 3 Graphics [\\.\DISPLAY4] (VEN_1002/DEV_15dd/SUB_38ef17aa/REV_00c5)':
15:55:15.434: H264/AVC: Supported
15:55:15.434: H265/HEVC: Supported
15:55:15.434:
15:55:16.217: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
15:55:16.393: [obs-browser]: Version 2.3.1
15:55:17.523: VLC found, VLC video source enabled
15:55:17.635: No blackmagic support
15:55:18.079: ---------------------------------
15:55:18.079: Loaded Modules:
15:55:18.079: win-wasapi.dll
15:55:18.079: win-mf.dll
15:55:18.079: win-dshow.dll
15:55:18.079: win-decklink.dll
15:55:18.079: win-capture.dll
15:55:18.079: vlc-video.dll
15:55:18.079: text-freetype2.dll
15:55:18.079: rtmp-services.dll
15:55:18.079: obs-x264.dll
15:55:18.079: obs-vst.dll
15:55:18.079: obs-transitions.dll
15:55:18.079: obs-text.dll
15:55:18.079: obs-qsv11.dll
15:55:18.079: obs-outputs.dll
15:55:18.079: obs-filters.dll
15:55:18.079: obs-ffmpeg.dll
15:55:18.079: obs-browser.dll
15:55:18.079: image-source.dll
15:55:18.079: frontend-tools.dll
15:55:18.079: enc-amf.dll
15:55:18.079: decklink-ouput-ui.dll
15:55:18.079: coreaudio-encoder.dll
15:55:18.079: ---------------------------------
15:55:18.145: ==== Startup complete ===============================================
15:55:18.181: Service '' not found
15:55:18.269: All scene data cleared
15:55:18.269: ------------------------------------------------
15:55:19.280: WASAPI: Device 'Speakers (Realtek(R) Audio)' initialized
15:55:19.323: WASAPI: Device 'Microphone (Logitech USB Microphone)' initialized
15:55:19.343: Switched to scene 'Scene'
15:55:19.359: ------------------------------------------------
15:55:19.359: Loaded scenes:
15:55:19.359: - scene 'Scene':
15:55:19.359: - source: 'Game Capture 2' (game_capture)
15:55:19.359: - source: 'Display Capture' (monitor_capture)
15:55:19.359: ------------------------------------------------
15:55:19.465: adding 139 milliseconds of audio buffering, total audio buffering is now 139 milliseconds (source: Mic/Aux)
15:55:19.465:
15:59:53.308: ---------------------------------
15:59:53.309: [x264 encoder: 'recording_h264'] preset: faster
15:59:53.309: [x264 encoder: 'recording_h264'] profile: main
15:59:53.409: [x264 encoder: 'recording_h264'] x264 param: opened=true failed
15:59:53.409: [x264 encoder: 'recording_h264'] settings:
15:59:53.409: rate_control: CBR
15:59:53.409: bitrate: 4005
15:59:53.409: buffer size: 4005
15:59:53.409: crf: 0
15:59:53.409: fps_num: 60
15:59:53.409: fps_den: 1
15:59:53.409: width: 1280
15:59:53.409: height: 720
15:59:53.409: keyint: 120
15:59:53.409:
15:59:53.409: [x264 encoder: 'recording_h264'] custom settings: opened=true
15:59:53.537: ---------------------------------
15:59:53.538: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
15:59:53.538:
15:59:53.818: ==== Recording Start ===============================================
15:59:53.818: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/supma/Videos/2019-06-12 15-59-53.mov'...
16:00:37.130: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/supma/Videos/2019-06-12 15-59-53.mov' stopped
16:00:37.130: Output 'adv_file_output': stopping
16:00:37.130: Output 'adv_file_output': Total frames output: 1774
16:00:37.130: Output 'adv_file_output': Total drawn frames: 2145 (2600 attempted)
16:00:37.130: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 455 (17.5%)
16:00:37.131: ==== Recording Stop ================================================
16:00:40.021: Video stopped, number of skipped frames due to encoding lag: 1888/1978 (95.4%)

https://obsproject.com/logs/J6lJF56C4FG5qsQF
 

Narcogen

Active Member
15:55:05.602: Windows Version: 10.0 Build 17134 (revision: 799; 64-bit)

Windows is still out of date.

16:00:37.130: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 455 (17.5%)

That's a significant amount of rendering lag, and at least part of it can be caused by having an out of date version of windows with a broken Game Mode feature on by default. You should update.

If that doesn't resolve it, look here:

https://obsproject.com/wiki/GPU-overload-issues

16:00:40.021: Video stopped, number of skipped frames due to encoding lag: 1888/1978 (95.4%)

That is more than significant encoding lag. Drop to the veryfast preset, it doesn't look like you are close to being able to do 720p60 at faster. Either that or use AMF.

https://obsproject.com/wiki/General-Performance-And-Encoding-Issues
 
Top