OBS 0.52.08 aquaman build - quicksync & capture improvements

Status
Not open for further replies.

skylarblu

New Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

With OpenCL enabled we should see a drastic reduction in CPU usage?
 

skylarblu

New Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

Well here's my log file and crash report with quicksync enabled, I pressed start and the stream worked for 1-2 seconds as usual then it stalls, I then pressed stop. I pressed start again and then it crashed like always when trying to stream again after a stalled stream. I see something about an intel driver bug in the log, looking into it, I'm already using the latest ones.


Code:
20:38:56: Open Broadcaster Software v0.52.08b aquaman build - 64bit ( ^ω^)
20:38:56: -------------------------------
20:38:56: CPU Name: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
20:38:56: CPU Speed: 3400MHz
20:38:56: Physical Memory:  16075MB Total, 10978MB Free
20:38:56: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
20:38:56: monitor 1: pos={0, 0}, size={1920, 1080}
20:38:56: Windows Version: 6.0 Build 6000 
20:38:56: Aero is Disabled
20:38:56: -------------------------------
20:38:56: OBS Modules:
20:38:56: Base Address     Module
20:38:56: 000000003FBF0000 OBS.exe
20:38:56: 00000000F2060000 OBSApi.dll
20:38:56: 00000000F4130000 DShowPlugin.dll
20:38:56: 00000000F4100000 GraphicsCapture.dll
20:38:56: 00000000F4260000 NoiseGate.dll
20:38:56: 00000000F3780000 PSVPlugin.dll
20:38:56: ------------------------------------------
20:38:56: Adapter 1
20:38:56:   Video Adapter: NVIDIA GeForce GTX 460
20:38:56:   Video Adapter Dedicated Video Memory: 758710272
20:38:56:   Video Adapter Shared System Memory: 3489411072
20:38:56: ------------------------------------------
20:38:56: Adapter 2
20:38:56:   Video Adapter: Intel(R) HD Graphics 4000
20:38:56:   Video Adapter Dedicated Video Memory: 268435456
20:38:56:   Video Adapter Shared System Memory: 1577058304
20:38:56: =====Stream Start: 2013-07-03, 20:38:56===============================================
20:38:56:   Multithreaded optimizations: On
20:38:56:   Base resolution: 1920x1080
20:38:56:   Output resolution: 1280x720
20:38:56: ------------------------------------------
20:38:56: Loading up D3D10...
20:38:56: Playback device Default
20:38:56: ------------------------------------------
20:38:56: Using desktop audio input: Speakers (ASUS Xonar DGX Audio Device)
20:38:56: ------------------------------------------
20:38:56: Audio Encoding: AAC
20:38:56:     bitrate: 128
20:38:56: Using Monitor Capture
20:38:56: Found QSV hardware support
20:38:56: ------------------------------------------
20:38:56: QSV version 1.6 using MFX_IMPL_HARDWARE_ANY (actual: MFX_IMPL_HARDWARE2 | MFX_IMPL_VIA_D3D11)
20:38:56: 
20:38:56: ===================================================================================
20:38:56: Error: QSV hardware acceleration unavailable due to a driver bug. Reduce the number
20:38:56:        of monitors connected to you graphics card or configure your Intel graphics
20:38:56:        card to be the primary device.
20:38:56:        Refer to http://software.intel.com/en-us/forums/topic/359368#comment-1722674
20:38:56:        for more information.
20:38:56: ===================================================================================
20:38:56: 
20:38:56: Continuing with decreased performance
20:38:56: Using 8 encode tasks
20:38:56: ------------------------------------------
20:38:56: Video Encoding: QSV
20:38:56:     fps: 30
20:38:56:     width: 1280, height: 720
20:38:56:     target-usage: MFX_TARGETUSAGE_BEST_QUALITY
20:38:56:     CBR: yes
20:38:56:     CFR: no
20:38:56:     max bitrate: 2000
20:38:56: ------------------------------------------
20:38:57: Error: all encode tasks in use, stalling pipeline
20:38:57: Error: all encode tasks in use, stalling pipeline
20:38:57: Error: encoder is taking too long, consider decreasing your FPS/increasing your bitrate
20:38:57: Error: all encode tasks in use, stalling pipeline
20:38:57: Error: encoder is taking too long, consider decreasing your FPS/increasing your bitrate
20:39:30: =====Stream End: 2013-07-03, 20:39:30=================================================
20:40:47: =====Stream Start: 2013-07-03, 20:40:47===============================================
20:40:47:   Multithreaded optimizations: On
20:40:47:   Base resolution: 1920x1080
20:40:47:   Output resolution: 1280x720
20:40:47: ------------------------------------------
20:40:47: Loading up D3D10...
20:40:47: Playback device Default
20:40:47: ------------------------------------------
20:40:47: Using desktop audio input: Speakers (ASUS Xonar DGX Audio Device)
20:40:47: ------------------------------------------
20:40:47: Audio Encoding: AAC
20:40:47:     bitrate: 128
20:40:47: Using Monitor Capture
20:40:47: Found QSV hardware support
20:40:47: ------------------------------------------
20:40:47: QSV version 1.6 using MFX_IMPL_HARDWARE_ANY (actual: MFX_IMPL_HARDWARE2 | MFX_IMPL_VIA_D3D11)
20:40:47: 
20:40:47: ===================================================================================
20:40:47: Error: QSV hardware acceleration unavailable due to a driver bug. Reduce the number
20:40:47:        of monitors connected to you graphics card or configure your Intel graphics
20:40:47:        card to be the primary device.
20:40:47:        Refer to http://software.intel.com/en-us/forums/topic/359368#comment-1722674
20:40:47:        for more information.
20:40:47: ===================================================================================
20:40:47: 
20:40:47: Continuing with decreased performance
20:40:47: Using 8 encode tasks
20:40:47: ------------------------------------------
20:40:47: Video Encoding: QSV
20:40:47:     fps: 30
20:40:47:     width: 1280, height: 720
20:40:47:     target-usage: MFX_TARGETUSAGE_BEST_QUALITY
20:40:47:     CBR: yes
20:40:47:     CFR: no
20:40:47:     max bitrate: 2000
20:40:47: ------------------------------------------

Crash log:

Code:
OBS has encountered an unhandled exception and has terminated. If you are able to
reproduce this crash, please submit this crash report on the forums at
http://www.obsproject.com/ - include the contents of this crash log and the
minidump .dmp file (if available) as well as your regular OBS log files and
a description of what you were doing at the time of the crash.

This crash appears to have occured in the 'c:\users\skylarblu\downloads\obs_0_52_08_test\64bit\obsapi.dll' module.

**** UNHANDLED EXCEPTION: c0000005
Fault address: 000007FEF207BDA1 (c:\users\skylarblu\downloads\obs_0_52_08_test\64bit\obsapi.dll)
OBS version: Open Broadcaster Software v0.52.08b aquaman build
Windows version: 6.0 (Build 6000) 

Crashing thread stack trace:
Stack            EIP              Arg0             Arg1             Arg2             Arg3             Address
000000001223F9B0 000007FEF207BDA1 00000072DEF50CDB 0000000000000000 000000001223FAE0 0000000000190800 obsapi.dll!ProfilerNode::ProfilerNode+0x81
000000001223F9E0 000000013FC1F49A 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::MainCaptureLoop+0x89a
000000001223FE00 000000013FC1DFD9 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::MainCaptureThread+0x9
000000001223FE30 000000007748652D 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7748652d
000000001223FE60 00000000776BC521 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x776bc521

A minidump was saved to C:\Users\skylarblu\AppData\Roaming\OBS\crashDumps\OBSCrashDump2013-07-03_6.dmp.
Please include this file when posting a crash report.

List of loaded modules:
Base Address                      Module
 
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

skylarblu said:
Hmm with game capture all I get is a white screen as output and it crashes when I try to stop the stream, however, when I capture the Monitor with the game, it works, but this has privacy issues. Perhaps just bugs that will be fixed in newer versions? Ah nevermind, this doesn't work either, I just got one frame of output in the stream preview.


Update: it doesn't crash when stopping, it just takes a few seconds. Not sure how the crash occurred.

Update: I'm able to disconnect the second monitor whilst windows is running and still enable quicksync, however as usual the stream output freezes after roughly 1.5 seconds of starting the stream. Once the stream has been stopped once, OBS will always crash when I hit start again.

I solve this problem, uninstall my drivers for ati card, then uninstall intel igpu drivers. Then install intel igpu drivers from windows safe mode, then install ati drivers from windows normal mode. Real second monitor don't needed if you find and share display. Like this twitch.tv/ivannew2012/b/414716895
 

skylarblu

New Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

ivannew2012 said:
I solve this problem, uninstall my drivers for ati card, then uninstall intel igpu drivers. Then install intel igpu drivers from windows safe mode, then install ati drivers from windows normal mode. Real second monitor don't needed if you find and share display. Like this twitch.tv/ivannew2012/b/414716895

I followed your instructions exactly but still have exactly the same problem. :/
 

vaesauce

Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

Getting this issue when using OpenCL...

Error: Texture->Map failed: 0x887a0005 0x887a0007

Your video card or driver froze and was reset. Please check for possible hardware / driver issues.


Anyone know whats up with it?
 

Geoning

Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

vaesauce said:
Getting this issue when using OpenCL...

Error: Texture->Map failed: 0x887a0005 0x887a0007

Your video card or driver froze and was reset. Please check for possible hardware / driver issues.


Anyone know whats up with it?
I have this same without OpenCL. I guess that this is problem with GameCapture, but I am not sure.
 
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

skylarblu, you must have always connected monitor to igpu or share the screen, if you run OBS when connected to igpu, then connect to discrete gpu, you don't may second chance to start OBS with Quick Sync. Share screen work for me, it enabled Quick Sync. Try uninstall discrete gpu drivers, maybe uninstall intel graphics too, then physically unplug discrete gpu and run windows on igpu. Install drivers for intel igpu, reboot if needed and try stream something. It may be some incompatible issues.

Also try older Intel HD Graphics drivers.
 

Kharay

Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

skylarblu said:
With OpenCL enabled we should see a drastic reduction in CPU usage?
Well, drastic would be an exaggeration but personally, on my somewhat dated i5-760 I do notice an average CPU % drop of about 5%. Which may not seem like a lot but to me it makes all the difference between being able to stream properly and not being able to do so.

On more modern CPUs the difference obviously will be substantially less, as those CPUs have very little issue with the encoding process anyhow.

vaesauce said:
Getting this issue when using OpenCL...

Error: Texture->Map failed: 0x887a0005 0x887a0007

Your video card or driver froze and was reset. Please check for possible hardware / driver issues.


Anyone know whats up with it?

Not since OpenCL was made available to OBS have I seen that one. I have had some minor issues with it, in .07 but .08 is behaving properly for me. Can I ask you, what GPU do you have? And are you using the latest driver version for it? If not, you may want to update your driver to the latest version or, if available to you... even to the Beta version of your GPU's driver. It may solve some OpenGL related issues for your GPU, in case that is what is going on. Just a suggestion though, it's no guaranteed fix but it might do it.
 

Kayuo

New Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

Having the same issues with quick sync on the ver.08 build, followed all other suggestions from this point. Tried downgrading, making primary device, and conecting directly to the igpu.

I don't have any QSV issues on ver.07, but I'll keep trying to come up with some other trouble shooting methods.
 

vaesauce

Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

Kharay said:
vaesauce said:
Getting this issue when using OpenCL...

Error: Texture->Map failed: 0x887a0005 0x887a0007

Your video card or driver froze and was reset. Please check for possible hardware / driver issues.


Anyone know whats up with it?

Not since OpenCL was made available to OBS have I seen that one. I have had some minor issues with it, in .07 but .08 is behaving properly for me. Can I ask you, what GPU do you have? And are you using the latest driver version for it? If not, you may want to update your driver to the latest version or, if available to you... even to the Beta version of your GPU's driver. It may solve some OpenGL related issues for your GPU, in case that is what is going on. Just a suggestion though, it's no guaranteed fix but it might do it.

Oh, i didn't even realize that .08 is available haha. I'll give that a try but I have a Sapphire VaporX 7970ghz. I've also got the latest drivers for it (Huge CPU/GPU Tweak/OC/Benchmark junkie lol, So i'm definitely on my game with it comes to drivers). I'll give .08 a try and hopefully it works. If not, I'll just remove the command and run a few different custom settings to make up for the quality lost B).
 

skylarblu

New Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

ivannew2012 said:
skylarblu, you must have always connected monitor to igpu or share the screen, if you run OBS when connected to igpu, then connect to discrete gpu, you don't may second chance to start OBS with Quick Sync. Share screen work for me, it enabled Quick Sync. Try uninstall discrete gpu drivers, maybe uninstall intel graphics too, then physically unplug discrete gpu and run windows on igpu. Install drivers for intel igpu, reboot if needed and try stream something. It may be some incompatible issues.

Also try older Intel HD Graphics drivers.

Quick sync is enabled, but the stream stalls/fails after 1.5 seconds "due to a bug in intel drivers" which shows up in the stream log, this is with a second display attached etc. I put the log and the crash log in an earlier post.
 

vaesauce

Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

Yeaahh .08 is still doing the same thing. It actually occurs a lot sooner than with .07. It's all good, i'll just disable and change my custom settings to make up for the Quality gains and stuff.
 

Internet151

New Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

I've been streaming for over a week now using opencl=true averaging around 5 hours a day without any issues surprisingly.

Unfortunately I can't seem to really notice any difference in cpu usage or anything else for that matter after much testing, besides a small load applied on my radeon hd 6870.
 

vaesauce

Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

Internet151 said:
I've been streaming for over a week now using opencl=true averaging around 5 hours a day without any issues surprisingly.

Unfortunately I can't seem to really notice any difference in cpu usage or anything else for that matter after much testing, besides a small load applied on my radeon hd 6870.

Yeah when i try running Opencl=true, it doesn't stream. So i have to use the other command for it to work.

The one thing I've noticed is that with Opencl, my stream's quality looks A LOT better. So far I haven't found a way to make my stream's quality as good as using the OpenCL command but OpenCL is broken for me. I'll continue testing it but I'm almost positive it's broken for me.
 

Kharay

Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

vaesauce said:
Oh, i didn't even realize that .08 is available haha. I'll give that a try but I have a Sapphire VaporX 7970ghz. I've also got the latest drivers for it (Huge CPU/GPU Tweak/OC/Benchmark junkie lol, So i'm definitely on my game with it comes to drivers). I'll give .08 a try and hopefully it works. If not, I'll just remove the command and run a few different custom settings to make up for the quality lost B).
That is quite interesting; since I am using a SapphireTech Vapor-X as well (the HD 6870).
 

Bensam123

Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

I also get Error: Texture->Map failed: 0x887a0005 0x887a0007

That happens after a few hours to a few minutes of streaming with OpenCL. I mentioned this back on page 23 along with some impromptu performance stats for streaming with and without OpenCL.

Bensam123 said:
I bit the bullet. Some quick testing here, positive results from opencl. I did a couple quick tests while playing PS2 in a large battle 48+. Very Low settings except for render quality and view distance.

720p@60
OBS Average CPU usage - 19%
GPU Usage - 50%~

Without Opencl
OBS Average CPU Usage - 26%
GPU Usage - 38%~

720p@30
OBS Average CPU Usage - 10%
GPU Usage - 50%

Without Opencl
OBS Average CPU Usage - 16%
GPU Usage - 36%

Don't pay attention to the difference between 60 and 30fps, they were done in different areas. But the comparison between opencl and non-opencl were done in the same area with relatively similar environment detail.

So the conversion isn't 1:1 (percentage wise), but if you have a game that's heavily CPU constrained this definitely frees up precious resources. It feels better, too, while playing.

I'm using a AMD 8350 and a AMD 7870 for reference.

I encountered two hard locks that caused my GPU to initiate a driver, after which I had to restart my computer to stop graphical corruption. Both were listed with this same error:

Error: Texture->Map failed: 0x887a0005 0x887a0007

Your video card or driver froze and was reset. Please check for possible hardware / driver issues.

Error: Texture->Map failed: 0x887a0005 0x887a0007

Your video card or driver froze and was reset. Please check for possible hardware / driver issues.

This seems to relate to me switching between openCL and non-OCL mode, while tabbing in and out of the game. Closing OBS, going back into the game, tabbing out, and restarting OBS seems to get around this. It only happened twice though so I don't know exactly what's causing it.

Further testing revealed that it has nothing to do with tabbing in and out of the game or switching scenes.
 

fredkruge

Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

So I just learned about the quicksync feature, exactley how does it work, havent been able to pin down how its supposed to go? Ex., I have:

I5 3570k OC'ed to 4.5
8GB of RAM
GTX 670
2 monitors

So I enable the iGPU in my BIOS, install the drivers for the iGPU, and in the OBS settings, I check mark (havent tried this yet) 'Use Quick Sync'. and itll do that. But what does this actually do? Is it a good alternative to getting a capture card? Would I get better performance if I enabled Quick Sync or would it use more CPU usage? No idea how iGPU's work.

Would be handy for a small thread/video on a quick how to setup quicksync and its benefits.
 

Momentum

Member
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

Its been explained a lot of times in the thread already, but here it goes.

QuickSync is Intel's hardware video encoder/decoder tehnology, implemented in a CPU (3rd gen ones afaik, could be wrong). Its quality is comparable to superfast preset of x264 encoder. The advantage of this is that its really CPU friendly, and it takes only little bit of CPU time.

While it might not be suitable for high motion capture and encoding, it should work just fine for streaming LoL (given that u have 5000 bitrate). Since QuickSync has its own internal parameters for encoding, u cant really do anything more on customising the encoding process, except just increasing the bitrate (which is the only factor that can improve streaming quality for QuickSync)
 
Re: OBS 0.52.08 aquaman build - quicksync & capture improvem

fredkruge, is good alternative for replace capture cards and fraps(200$ for what ?). With enough bitrate(8000 kbps for 720p30fps) it record video with good quality. Use less then 10% of cpu. If add more bitrate it may record 1080p60fps and more with good quality.

I think about use Quick Sync how alternative to capture card. Send H.264 Quick Sync ~20000kbps or more video(maybe start some rtmp server on second PC) to second streaming PC. Streaming PC re-encode that video to x.264 for less bitrate and stream to some service. Yes it enable 1 or 2 seconds more delay to stream, for me it's not problem.

For streaming directly it is bad, because of big bitrate.

Example of 1280x1024x75fps, 8000kbps, CBR, but somehow in video fps drops sometimes, don't know why. May be HDGraphics2500 not enough for 75fps. Yes Quick Sync use HDGraphics.
twitch.tv/ivannew2012/b/426598866

If for that quality Quick Sync required half bitrate(4000kpbs) it be a good alternative to high end streaming computer with x.264 fast or medium preset encode with same bitrate and fps. Maybe Intel in future make support for H.265(not H.264) encoder. H.265 is required less bitrate for high profile.
 
Status
Not open for further replies.
Top