Question / Help Intel Quick Sync Problem

Ungeheuer

New Member
Hi guys!
So today I was trying out different gameplay capture methods and stumbled upon OBS and decided to give it a go. The Intel Quick Sync Technology looked really promising. I actually did a benchmark using it in "Shadow of Mordor" and it had absolutely no impact on the in-game framerate (of course, before that I enabled the iGPU Multi-Monitor option in my BIOS, I uninstalled the previous Intel graphics driver, which was already outdated, using DDU and then installed the latest one, tricked my system into believing that my Intel HD 4600 Graphics Adapter is connected to my display through VGA and so on). The problem is that the the video in the recordings runs for around 2 seconds, then freezes, while the audio playback goes on up until the end of the recording. I've already tried multiple configurations of the settings found in OBS but to no avail. Has anyone here ever encountered this issue? Any help would be appreciated.
System specifications:
CPU: Intel Core i5-4570
GPU: Sapphire Radeon R9 270 Dual-X Edition 2GB
Motherboard: ASRock Z87 Pro4
System RAM: 8GB 1600MHz
OS: Windows 8.1 Pro
 
Last edited:

Ungeheuer

New Member
Code:
11:59:17: Failed loading CUDA dll
12:00:22: Open Broadcaster Software v0.652b - 64bit ( ^ω^)
12:00:22: -------------------------------
12:00:22: CPU Name: Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
12:00:22: CPU Speed: 3199MHz
12:00:22: Physical Memory:  8048MB Total, 4522MB Free
12:00:22: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
12:00:22: monitor 1: pos={0, 0}, size={1920, 1080}
12:00:22: Windows Version: 6.2 Build 9200 
12:00:22: Aero is Enabled
12:00:22: -------------------------------
12:00:22: OBS Modules:
12:00:22: Base Address     Module
12:00:22: 00000000AD020000 OBS.exe
12:00:22: 0000000079260000 OBSApi.dll
12:00:22: 000000007F450000 DShowPlugin.dll
12:00:22: 000000007EA90000 GraphicsCapture.dll
12:00:22: 000000007DE50000 NoiseGate.dll
12:00:22: 000000007C5B0000 PSVPlugin.dll
12:00:22: 000000007C2A0000 scenesw.dll
12:00:22: ------------------------------------------
12:00:22: Adapter 1
12:00:22:   Video Adapter: AMD Radeon (TM) R9 200 Series
12:00:22:   Video Adapter Dedicated Video Memory: 2126213120
12:00:22:   Video Adapter Shared System Memory: 4026531840
12:00:22:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
12:00:22: ------------------------------------------
12:00:22: Adapter 2
12:00:22:   Video Adapter: Intel(R) HD Graphics 4600
12:00:22:   Video Adapter Dedicated Video Memory: 167772160
12:00:22:   Video Adapter Shared System Memory: 1845493760
12:00:22: =====Stream Start: 2015-07-15, 12:00:22===============================================
12:00:22:   Multithreaded optimizations: On
12:00:22:   Base resolution: 1920x1080
12:00:22:   Output resolution: 1920x1080
12:00:22: ------------------------------------------
12:00:22: Loading up D3D10 on AMD Radeon (TM) R9 200 Series (Adapter 1)...
12:00:22: ------------------------------------------
12:00:22: Audio Format: 48000 Hz
12:00:22: ------------------------------------------
12:00:22: Audio Channels: 2 Ch
12:00:22: Playback device Default
12:00:22: ------------------------------------------
12:00:22: Using desktop audio input: Headphones (Razer Kraken USB)
12:00:22: Global Audio time adjust: 0
12:00:22: ------------------------------------------
12:00:22: Using auxilary audio input: Microphone (Razer Kraken USB)
12:00:22: Mic time offset: 0
12:00:22: ------------------------------------------
12:00:22: Audio Encoding: AAC
12:00:22:     bitrate: 128
12:00:22: Using graphics capture
12:00:22: Trying to hook process: ShadowOfMordor.exe
12:00:22: Scene buffering time set to 700
12:00:22: Found QSV hardware support
12:00:22: QSV: Using custom parameters
12:00:22: ------------------------------------------
12:00:22: QSV version 1.8 using MFX_IMPL_HARDWARE_ANY | MFX_IMPL_VIA_D3D11 (actual: MFX_IMPL_HARDWARE2 | MFX_IMPL_VIA_D3D11)
12:00:22: Using 54 bitstreams and 54 frame buffers
12:00:22: ------------------------------------------
12:00:22: Video Encoding: QSV
12:00:22:     fps: 60
12:00:22:     width: 1920, height: 1080
12:00:22:     target-usage: MFX_TARGETUSAGE_1_BEST_QUALITY
12:00:22:     profile: MFX_PROFILE_AVC_HIGH
12:00:22:     CBR: no
12:00:22:     CFR: yes
12:00:22:     max bitrate: 24000
12:00:22:     buffer size: 25064
12:00:22:     rate control: LA_ICQ
12:00:22: ------------------------------------------
12:00:22: SharedTexCapture hooked
12:01:18: FlushBufferedVideo: Flushing 22 packets over 350 ms
12:01:18: Total frames encoded: 2849, total frames duplicated: 2636 (92.52%)
12:01:18: Number of frames skipped due to encoder lag: 2629 (92.28%)
12:01:18: Total frames rendered: 241, number of late frames: 3 (1.24%) (it's okay for some frames to be late)
12:01:18: 
12:01:18: Profiler time results:
12:01:18: 
12:01:18: ==============================================================
12:01:18: video thread frame - [100%] [avg time: 2.776 ms] [children: 42.8%] [unaccounted: 57.2%]
12:01:18: | scene->Preprocess - [0.036%] [avg time: 0.001 ms]
12:01:18: | GPU download and conversion - [42.7%] [avg time: 1.186 ms] [children: 30.4%] [unaccounted: 12.3%]
12:01:18: | | flush - [29.5%] [avg time: 0.82 ms]
12:01:18: | | CopyResource - [0.432%] [avg time: 0.012 ms]
12:01:18: | | conversion to 4:2:0 - [0.432%] [avg time: 0.012 ms]
12:01:18: Convert444Threads - [100%] [avg time: 1.545 ms] [children: 99.7%] [unaccounted: 0.324%]
12:01:18: | Convert444toNV12 - [99.7%] [avg time: 1.54 ms]
12:01:18: encoder thread frame - [100%] [avg time: 18.188 ms] [children: 99.9%] [unaccounted: 0.126%]
12:01:18: | QueueEncodeTask - [0.418%] [avg time: 0.076 ms]
12:01:18: | ProcessEncodedFrame - [99.3%] [avg time: 18.065 ms]
12:01:18: | sending stuff out - [0.132%] [avg time: 0.024 ms]
12:01:18: ==============================================================
12:01:18: 
12:01:18: 
12:01:18: Profiler CPU results:
12:01:18: 
12:01:18: ==============================================================
12:01:18: video thread frame - [cpu time: avg 0.389 ms, total 93.75 ms] [avg calls per frame: 1]
12:01:18: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
12:01:18: | GPU download and conversion - [cpu time: avg 0.129 ms, total 31.25 ms] [avg calls per frame: 1]
12:01:18: | | flush - [cpu time: avg 0.064 ms, total 15.625 ms] [avg calls per frame: 1]
12:01:18: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
12:01:18: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
12:01:18: Convert444Threads - [cpu time: avg 1.217 ms, total 484.375 ms] [avg calls per frame: 2]
12:01:18: | Convert444toNV12 - [cpu time: avg 1.217 ms, total 484.375 ms] [avg calls per frame: 2]
12:01:18: encoder thread frame - [cpu time: avg 0.022 ms, total 62.5 ms] [avg calls per frame: 1]
12:01:18: | QueueEncodeTask - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
12:01:18: | ProcessEncodedFrame - [cpu time: avg 0.005 ms, total 15.625 ms] [avg calls per frame: 1]
12:01:18: | sending stuff out - [cpu time: avg 0.011 ms, total 31.25 ms] [avg calls per frame: 1]
12:01:18: ==============================================================
12:01:18: 
12:01:18: =====Stream End: 2015-07-15, 12:01:18=================================================
12:02:11: Terminating 0x16a8


Last game capture log:
2015-07-15, 12:00:22: we're booting up: 
12:00:22: CaptureThread: attached to process ShadowOfMordor.exe
12:00:22: DXGI Present
12:00:22: (half life scientist) everything..  seems to be in order
12:00:22: DXGI: Found D3D 11
12:00:22: setting up d3d11 data
12:00:22: ---------------------- Cleared D3D11 Capture ----------------------
12:00:22: found dxgi format (dx11) of: 28, size: {1920, 1080}, multisampled: false
12:00:22: DoD3D11Hook: success
12:00:22: successfully capturing d3d11 frames via GPU
12:01:18: stop requested, terminating d3d11 capture
12:01:18: ---------------------- Cleared D3D11 Capture ----------------------
12:01:20: ---------------------- Cleared D3D11 Capture ----------------------
12:01:21: DXGI: Found D3D 11
12:01:21: setting up d3d11 data
12:01:21: ---------------------- Cleared D3D11 Capture ----------------------
 

koala

Active Member
Quicksync works with 1920x1200@60 on my PC, on a i5-3570k.
But Ungeheuer, you seem to have activated some advanced quality setting: LA_ICQ. This is the most GPU-stressing compression algorithm. Try ICQ instead, and if that doesn't work, CQP. I use CQP (it's the only available quality-based algorithm on my CPU), and that works with 60fps. The quality of the video isn't affected by this, only the size of the video. Or don't use any advanced Quicksync settings at all, use only the standard settings and boost your bitrate for some quality.
 

Ungeheuer

New Member
I recently upgraded to Windows 10 Pro 64-bit. I've already installed the latest Intel Integrated Graphics Drivers and the latest version of OBS. I tried all rate control methods and the only ones that kind of work are the CQP and ICQ ones (LA ICQ and LA (VBR) cause OBS to crash, while the rest cause the recording to freeze after the first couple of seconds and it doesn't unfreeze at all after that). The CQP and ICQ methods actually capture gameplay, though they cause the recording to freeze and then unfreeze over and over again, resulting in a stuttery mess. Any ideas how I can fix this?
 

Krelian

Member
Hi guys!
So today I was trying out different gameplay capture methods and stumbled upon OBS and decided to give it a go. The Intel Quick Sync Technology looked really promising. I actually did a benchmark using it in "Shadow of Mordor" and it had absolutely no impact on the in-game framerate (of course, before that I enabled the iGPU Multi-Monitor option in my BIOS, I uninstalled the previous Intel graphics driver, which was already outdated, using DDU and then installed the latest one, tricked my system into believing that my Intel HD 4600 Graphics Adapter is connected to my display through VGA and so on). The problem is that the the video in the recordings runs for around 2 seconds, then freezes, while the audio playback goes on up until the end of the recording. I've already tried multiple configurations of the settings found in OBS but to no avail. Has anyone here ever encountered this issue? Any help would be appreciated.
System specifications:
CPU: Intel Core i5-4570
GPU: Sapphire Radeon R9 270 Dual-X Edition 2GB
Motherboard: ASRock Z87 Pro4
System RAM: 8GB 1600MHz
OS: Windows 8.1 Pro

On advanced options select quick sync preset balanced instead of best quality if you are going to record at 60 fps.
 

Ungeheuer

New Member
On advanced options select quick sync preset balanced instead of best quality if you are going to record at 60 fps.
Thanks, that finally fixed the freezing, but there is one more issue - why does Quick Sync limit the in-game framerate to 60 FPS? Is there any way this can be undone?
 
Last edited:
Top