Question / Help Need help with Quick Sync

norko

New Member
I'm not sure if this is normal but I get huge fps drops while streaming with Quick Sync, which I thought the appeal of Quick Sync was to make your games run without the typical streaming lag. As well is there any way to use game capture or am I stuck to using monitor capture? Using monitor capture pretty much makes my games unplayable due to brightness(my monitor needs negative brightness on desktop to look reasonable), also the FPS drops from playing in windowed mode itself(which is not too bad compared to the drops from Quick Sync streaming).

In a place where I would get around 200 fps normally it drops to about 100 while streaming with QS. While streaming without QS I don't drop nearly as much albeit with a lower fps of 40. I'm hoping ShadowPlay becomes Twitch enabled soon to solve my streaming woes

My Setup:
Intel 3570k @ 4.5ghz
HD 4000 with memory set to maximum(1024 I think)
GTX 770 ACX
ASUS VG248QE 144hz

My Settings
1920x1080 I've tried this default and downscaled 1.25-1.5
FPS 50-60(runs with no frames dropped and the stream looks great)

Any response would be greatly appreciated!
 

Krazy

Town drunk
Yeah, it kind of sounds like QSV wasn't set up properly or something. It really should result in practically 0 performance impact on your game.
 

norko

New Member
Hopefully you're right and that I can fix it, or that it's something silly that I've overlooked.

Code:
07:16:53: Settings::Video: Disabling Aero
07:21:10: Open Broadcaster Software v0.59b - 32bit (´・ω・`)
07:21:10: -------------------------------
07:21:10: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
07:21:10: CPU Speed: 3401MHz
07:21:10: Physical Memory:  4095MB Total, 4095MB Free
07:21:10: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
07:21:10: monitor 1: pos={0, 0}, size={1920, 1080}
07:21:10: monitor 2: pos={1920, 0}, size={1920, 1080}
07:21:10: monitor 3: pos={3840, 0}, size={1920, 1080}
07:21:10: Windows Version: 6.1 Build 7601 S
07:21:10: Aero is Disabled
07:21:10: -------------------------------
07:21:10: OBS Modules:
07:21:10: Base Address     Module
07:21:10: 01340000         OBS.exe
07:21:10: 71220000         OBSApi.dll
07:21:10: 73CB0000         DShowPlugin.dll
07:21:10: 73C90000         GraphicsCapture.dll
07:21:10: 73880000         NoiseGate.dll
07:21:10: 73860000         PSVPlugin.dll
07:21:10: ------------------------------------------
07:21:10: Adapter 1
07:21:10:   Video Adapter: NVIDIA GeForce GTX 770
07:21:10:   Video Adapter Dedicated Video Memory: 2087387136
07:21:10:   Video Adapter Shared System Memory: 2147807232
07:21:10:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
07:21:10:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
07:21:10: ------------------------------------------
07:21:10: Adapter 2
07:21:10:   Video Adapter: Intel(R) HD Graphics 4000
07:21:10:   Video Adapter Dedicated Video Memory: 1073741824
07:21:10:   Video Adapter Shared System Memory: 771751936
07:21:10:   Video Adapter Output 1: pos={3840, 0}, size={1920, 1080}, attached=true
07:21:10: =====Stream Start: 2013-12-13, 07:21:10===============================================
07:21:10:   Multithreaded optimizations: On
07:21:10:   Base resolution: 1920x1080
07:21:10:   Output resolution: 1920x1080
07:21:10: ------------------------------------------
07:21:10: Loading up D3D10 on Intel(R) HD Graphics 4000...
07:21:10: ------------------------------------------
07:21:10: Audio Format: 48000hz
07:21:10: Playback device {0.0.0.00000000}.{418778fb-c997-4647-a9b5-c6e0d7cfea9f}
07:21:10: ------------------------------------------
07:21:10: Using desktop audio input: Speakers (ASUS Xonar Essence STX Audio Device)
07:21:10: ------------------------------------------
07:21:10: Using auxilary audio input: Microphone (2- Yeti Stereo Microphone)
07:21:10: ------------------------------------------
07:21:10: Audio Encoding: AAC
07:21:10:     bitrate: 128
07:21:10: Using Monitor Capture
07:21:10: Scene buffering time set to 400
07:21:10: Found QSV hardware support
07:21:10: ------------------------------------------
07:21:10: QSV version 1.6 using MFX_IMPL_HARDWARE_ANY | MFX_IMPL_VIA_D3D9 (actual: MFX_IMPL_HARDWARE3 | MFX_IMPL_VIA_D3D9)
07:21:10: Using 13 bitstreams and 16 frame buffers
07:21:10: ------------------------------------------
07:21:10: Video Encoding: QSV
07:21:10:     fps: 60
07:21:10:     width: 1920, height: 1080
07:21:10:     target-usage: MFX_TARGETUSAGE_BEST_QUALITY
07:21:10:     CBR: yes
07:21:10:     CFR: yes
07:21:10:     max bitrate: 3500
07:21:10: ------------------------------------------
07:21:10: MMDeviceAudioSource: Frequency for device 'Speakers (ASUS Xonar Essence STX Audio Device)' is 352800, samples per sec is 44100
07:21:10: MMDeviceAudioSource: Frequency for device 'Microphone (2- Yeti Stereo Microphone)' is 352800, samples per sec is 44100
07:21:11: Using RTMP service: Twitch / Justin.tv
07:21:11:   Server selection: rtmp://live-jfk.justin.tv/app
07:21:11:   Interface: Atheros AR8151 PCI-E Gigabit Ethernet Controller (NDIS 6.20) (ethernet, 1000 mbps)
07:21:11: Completed handshake with rtmp://live-jfk.justin.tv/app in 250 ms.
07:21:12: SO_SNDBUF was at 8192
07:21:12: SO_SNDBUF is now 65536
07:21:13: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 463872)
07:24:11: Total frames encoded: 10842, total frames duplicated: 95 (0.88%)
07:24:11: Total frames rendered: 10849, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
07:24:11: RTMPPublisher::SocketLoop: Graceful loop exit
07:24:11: Average send payload: 8320 bytes, average send interval: 18 ms
07:24:11: Number of times waited to send: 0, Waited for a total of 0 bytes
07:24:11: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
07:24:11: Number of bytes sent: 81191070
07:24:11: 
07:24:11: Profiler time results:
07:24:11: 
07:24:11: ==============================================================
07:24:11: video thread frame - [100%] [avg time: 6.802 ms] [children: 99%] [unaccounted: 1.04%]
07:24:11: | scene->Preprocess - [97.1%] [avg time: 6.607 ms]
07:24:11: | GPU download and conversion - [1.82%] [avg time: 0.124 ms] [children: 0.529%] [unaccounted: 1.29%]
07:24:11: | | flush - [0.191%] [avg time: 0.013 ms]
07:24:11: | | CopyResource - [0.103%] [avg time: 0.007 ms]
07:24:11: | | conversion to 4:2:0 - [0.235%] [avg time: 0.016 ms]
07:24:11: Convert444Threads - [100%] [avg time: 2.172 ms] [children: 99.4%] [unaccounted: 0.552%]
07:24:11: | Convert444toNV12 - [99.4%] [avg time: 2.16 ms]
07:24:11: encoder thread frame - [100%] [avg time: 0.137 ms] [children: 40.1%] [unaccounted: 59.9%]
07:24:11: | QueueEncodeTask - [9.49%] [avg time: 0.013 ms]
07:24:11: | ProcessEncodedFrame - [30.7%] [avg time: 0.042 ms]
07:24:11: ==============================================================
07:24:11: 
07:24:11: 
07:24:11: Profiler CPU results:
07:24:11: 
07:24:11: ==============================================================
07:24:11: video thread frame - [cpu time: avg 2.793 ms, total 30311 ms] [avg calls per frame: 1]
07:24:11: | scene->Preprocess - [cpu time: avg 2.674 ms, total 29016.2 ms] [avg calls per frame: 1]
07:24:11: | GPU download and conversion - [cpu time: avg 0.083 ms, total 904.807 ms] [avg calls per frame: 1]
07:24:11: | | flush - [cpu time: avg 0.008 ms, total 93.6 ms] [avg calls per frame: 1]
07:24:11: | | CopyResource - [cpu time: avg 0.008 ms, total 93.6 ms] [avg calls per frame: 1]
07:24:11: | | conversion to 4:2:0 - [cpu time: avg 0.007 ms, total 78.001 ms] [avg calls per frame: 1]
07:24:11: Convert444Threads - [cpu time: avg 1.83 ms, total 39608.7 ms] [avg calls per frame: 2]
07:24:11: | Convert444toNV12 - [cpu time: avg 1.827 ms, total 39546.3 ms] [avg calls per frame: 2]
07:24:11: encoder thread frame - [cpu time: avg 0.054 ms, total 592.804 ms] [avg calls per frame: 1]
07:24:11: | QueueEncodeTask - [cpu time: avg 0.005 ms, total 62.4 ms] [avg calls per frame: 1]
07:24:11: | ProcessEncodedFrame - [cpu time: avg 0.027 ms, total 296.403 ms] [avg calls per frame: 1]
07:24:11: ==============================================================
07:24:11: 
07:24:11: =====Stream End: 2013-12-13, 07:24:11=================================================

(use code tags people - jim)
 

Krazy

Town drunk
Er, well don't use Monitor Capture for one, it's the slowest capture method in Windows 7. QSV seems to be performing fine, but I can't really recommend 1080p60fps. Between flash player not handling it well, and the steep bitrate requirements (on top of the extra you need for QuickSync) it's not going to be a great viewing experience.

Turn Aero back on, use Game Capture, and go down to 720p if you want 60fps, or 30fps if you want 1080p.
 

norko

New Member
"As well is there any way to use game capture or am I stuck to using monitor capture?"

Unfortunately I haven't been able to use game capture with QSV like I normally do, searching with google I found at least another person who had the same problem(actually how I figured out how to fix it using monitor capture instead).

edit: To be more clear, when I use game capture it just comes up as a black screen while the audio still works.
 

Krazy

Town drunk
That's...odd. It absolutely should be working. Window Capture with Aero enabled usually breaks with the Intel iGPU enabled, not game capture. I'm not sure what else to suggest, tbh. I'll point the quicksync dev, Palana, in this thread's direction. He should know more.

edit: Oh wait
07:21:10: Loading up D3D10 on Intel(R) HD Graphics 4000...

That means OBS is running on the Intel GPU, which it shouldn't be doing. Did you change the selected adapter in Settings>Video? It should be your desktop GPU, not the Intel one.
 

norko

New Member
Thanks a lot for the help! I originally thought that the Intel HD4000 had to be selected, but that wasn't working out too well. So I tried it with the Nvidia selected but when I had that and QSV checked I was getting an error(only with the Nvidia selected), so I figured my first thought was right and that something else was done wrong. I just went back and tried it out with Nvidia selected and I didn't get any errors and the stream ran better than ever!

I appreciate all the posts, so once again thank you.
 
Top