Bug Report Help! How to identify Hook Conflict

KamelJabber

New Member
Hello, I have been a long time user of OBS. I have recommended it on multiple gaming sites I frequent.

Sadly I have not been able to use it over the past, about 3 months.

Unfortunately it's hard for me to determine when it started happening.

While streaming or local recording Marvel Heroes 2015,I was noticing some major FPS lag and audio distortion. To the point where I had to reboot my PC. It took me a little bit to realize it was occurring when I use OBS. I had thought it had something to do with MH2015. I know they had some issues with screen overlays, etc. I also thought maybe it had to do with a video driver update...

I ended up having to use nVidia Shadow Play for MH2015.

Still being a huge OBS fan I used it last night to Stream Dungeon Defenders 2. Low and behold about 30 min I had to shut everything down. DD2 came to a crawl with the audio completely distorted.

Somethings I checked.

PC temps were good.
GPU temps were good.
System Memory had lots of head.
I did notice OBS was taking up 230mb of RAM, is that normal?

I just no opened it w/o actually streaming anything it's only using up 5mb.

I just started a preview, it jumped to 200mb, I guess that is normal?

The log analyzer did suggest that one of screens is monitor capture but I don't use that, it's just a scene.
Also to close any other overlay software, but I had nothing open...:(

Any ideas how I can debug this?

https://obsproject.com/analyzer?url=https://gist.github.com/anonymous/bffcc8ebce054d474414


Just checked my stream last night, i started noticing issues around 2:00:00

At 2:27:00ish I try to look around the windows resource monitor

http://www.twitch.tv/kameljabber/b/659551649
 

Attachments

  • 2015-05-15-2256-24.log
    14.8 KB · Views: 32

KamelJabber

New Member
after reading this more thoroughly all I can think of is the Steam Overlay.

No compatibility with Steam? That's a tough sell...

Is nVidia trying to do something? I did have it off...

I have a new roccat tyon but i'm pretty sure that does have any overlay's
I noticed an "OSD" option on the EVGA Precision X software. I have uninstalled their OSD third party as it was wreaking havoc on my system (it's been off for a while)

Game capture detected a hook conflict but was unable to determine which application was responsible. Try closing any other applications that may be injecting into your game, such as FRAPS, D3DGear, MSI Afterburner, AMD Raptr / Gaming Evolved, Action!, TeamSpeak/Mumble Overlays or any other kind of FPS monitor or overlay program
 

KamelJabber

New Member
OK, i'm running out of things to close down, I'm still getting the hook conflict error.

Through a very tedious process of:
  • closing obs
  • killing an application and/or service
  • clearing out the obs logs
  • re-open obs
  • preview stream
  • analyze.

So far I killed about a dozen applications including but not limited to
  • Nvidia GeForce Expereince
  • EVGA X
  • Roccat Driver Software
  • Steam
  • CPU Temperature Monitor
  • about 4-6 misc applications that were running.

I'm just about to start closing down actual windows services, maybe something in there?

Latest log with above shut down:

https://obsproject.com/analyzer?url=https://gist.github.com/anonymous/b2cbd34c88bbee26e680
 

Attachments

  • 2015-05-16-1422-24.log
    7.9 KB · Views: 27
Last edited:

KamelJabber

New Member
Oh darn, i just scrolled to the bottom of the log file.

Where is this coming from, that's yesterday's log entry. I deleted all the files in the log directory :(

Last game capture log:
2015-05-15, 22:56:29: we're booting up:
 

KamelJabber

New Member
Yah, when I left out "Last game capture log" of which I have no idea where it's getting that data from, the analzyer came out fine.

So now how do I know which application I shut down removed the Hook Conflict???. I would have to repeat this entire process manually removing the "Last game capture" log portion?

Code:
14:30:19: Open Broadcaster Software v0.651b - 64bit ( ^ω^)
14:30:19: -------------------------------
14:30:19: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
14:30:19: CPU Speed: 3500MHz
14:30:19: Physical Memory:  16337MB Total, 14264MB Free
14:30:19: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
14:30:19: monitor 1: pos={0, 0}, size={1920, 1080}
14:30:19: monitor 2: pos={1920, 0}, size={1920, 1080}
14:30:19: Windows Version: 6.1 Build 7601 S
14:30:19: Aero is Enabled
14:30:19: -------------------------------
14:30:19: OBS Modules:
14:30:19: Base Address     Module
14:30:19: 000000003F890000 OBS.exe
14:30:19: 00000000F8230000 OBSApi.dll
14:30:19: 00000000F81E0000 DShowPlugin.dll
14:30:19: 00000000F84E0000 GraphicsCapture.dll
14:30:19: 00000000F81B0000 NoiseGate.dll
14:30:19: 00000000F7ED0000 PSVPlugin.dll
14:30:19: 00000000F7EA0000 scenesw.dll
14:30:19: ------------------------------------------
14:30:19: Adapter 1
14:30:19:   Video Adapter: NVIDIA GeForce GTX 660
14:30:19:   Video Adapter Dedicated Video Memory: 2087059456
14:30:19:   Video Adapter Shared System Memory: 2147807232
14:30:19:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
14:30:19:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
14:30:19: =====Stream Start: 2015-05-16, 14:30:19===============================================
14:30:19:   Multithreaded optimizations: On
14:30:19:   Base resolution: 1920x1080
14:30:19:   Output resolution: 1920x1080
14:30:19: ------------------------------------------
14:30:19: Loading up D3D10 on NVIDIA GeForce GTX 660 (Adapter 1)...
14:30:19: ------------------------------------------
14:30:19: Audio Format: 48000 Hz
14:30:19: ------------------------------------------
14:30:19: Audio Channels: 2 Ch
14:30:19: Playback device Default
14:30:19: ------------------------------------------
14:30:19: Using desktop audio input: Speakers (2- ASUS Xonar DGX Audio Device)
14:30:19: Global Audio time adjust: 0
14:30:19: ------------------------------------------
14:30:19: Using auxilary audio input: Microphone (2- ASUS Xonar DGX Audio Device)
14:30:19: Mic time offset: 0
14:30:19: ------------------------------------------
14:30:19: Audio Encoding: AAC
14:30:19:     bitrate: 128
14:30:19: Using text output
14:30:19: Using text output
14:30:19: Scene buffering time set to 400
14:30:19: Using custom x264 settings: "crf=15"
14:30:19: x264: VBV maxrate specified, but no bufsize, ignored
14:30:19: ------------------------------------------
14:30:19: Video Encoding: x264
14:30:19:     fps: 30
14:30:19:     width: 1920, height: 1080
14:30:19:     preset: veryfast
14:30:19:     profile: high
14:30:19:     keyint: 250
14:30:19:     CBR: no
14:30:19:     CFR: yes
14:30:19:     max bitrate: 3500
14:30:19:     buffer size: 0
14:30:19:     quality: 17
14:30:19: ------------------------------------------
14:30:24: Total frames encoded: 121, total frames duplicated: 0 (0.00%)
14:30:24: Total frames rendered: 137, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
14:30:24:
14:30:24: Profiler time results:
14:30:24:
14:30:24: ==============================================================
14:30:24: video thread frame - [100%] [avg time: 0.718 ms] [children: 44.4%] [unaccounted: 55.6%]
14:30:24: | scene->Preprocess - [18.7%] [avg time: 0.134 ms]
14:30:24: | GPU download and conversion - [25.8%] [avg time: 0.185 ms] [children: 24.9%] [unaccounted: 0.836%]
14:30:24: | | flush - [23.4%] [avg time: 0.168 ms]
14:30:24: | | CopyResource - [0.836%] [avg time: 0.006 ms]
14:30:24: | | conversion to 4:2:0 - [0.696%] [avg time: 0.005 ms]
14:30:24: Convert444Threads - [100%] [avg time: 0.903 ms] [children: 99.4%] [unaccounted: 0.554%]
14:30:24: | Convert444toNV12 - [99.4%] [avg time: 0.898 ms]
14:30:24: encoder thread frame - [100%] [avg time: 2.051 ms] [children: 0.0975%] [unaccounted: 99.9%]
14:30:24: | sending stuff out - [0.0975%] [avg time: 0.002 ms]
14:30:24: ==============================================================
14:30:24:
14:30:24:
14:30:24: Profiler CPU results:
14:30:24:
14:30:24: ==============================================================
14:30:24: video thread frame - [cpu time: avg 0.227 ms, total 31.2 ms] [avg calls per frame: 1]
14:30:24: | scene->Preprocess - [cpu time: avg 0.113 ms, total 15.6 ms] [avg calls per frame: 1]
14:30:24: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:30:24: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:30:24: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:30:24: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:30:24: Convert444Threads - [cpu time: avg 1.15 ms, total 280.8 ms] [avg calls per frame: 2]
14:30:24: | Convert444toNV12 - [cpu time: avg 1.15 ms, total 280.8 ms] [avg calls per frame: 2]
14:30:24: encoder thread frame - [cpu time: avg 1.289 ms, total 156.001 ms] [avg calls per frame: 1]
14:30:24: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:30:24: ==============================================================
14:30:24:
14:30:24: =====Stream End: 2015-05-16, 14:30:24=================================================
 

KamelJabber

New Member
So yah, please change the way the log files are created.

The end of the log has the last game capture log.

Well the last game capture log had an error. No matter how much I deleted the log files it would just keep appending the last game capture log to the end of the log file.

well the last game capture log had an error in it!!!!

how can I ever debug a clean log if it's going to keep appending an invalid log entry to the end.

:(

is confused :(
 

KamelJabber

New Member
OK, I assume all my issues are related to the Hook Conflict.

I don't want to repeat the wasted time debugging like I did last time.

What are the correct/better steps to identify which application may be causing the Hook Conflict?
 

R1CH

Forum Admin
Developer
Run Process Explorer. Open the DLL view and click the game's .exe. Look in the DLL view for 3rd party (non-Windows, non-game) DLLs.
 

KamelJabber

New Member
Run Process Explorer. Open the DLL view and click the game's .exe. Look in the DLL view for 3rd party (non-Windows, non-game) DLLs.

cool.

OK, done, it found 89 .dlls.
The two that stand out are actually .toc and .bin in the nvidia temp/nv_cache folder

I searched nvidia and it has something to do with improved shader performance.
By default the Shader Cache is enabled for all games, and saves up to 256MB of compiled shaders in%USERPROFILE%\AppData\Local\Temp\NVIDIA Corporation\NV_Cache. This location can be changed by moving your entire Temp folder using Windows Control Panel > System > System Properties > Advanced > Environmental Variables > Temp, or by using a Junction Point to relocate the NV_Cache folder. To change the use state of Shader Cache on a per-game basis simply locate the option in the NVIDIA Control Panel, as shown below.
 

Attachments

  • OBS.exe.txt
    9.2 KB · Views: 44

KamelJabber

New Member
so yah, the hook conflict cleared out.

finally got it to not append the "last game capture log"

after deleting all the log files, again, I actually performed a local recording twice in a row instead of just a preview.

yah, that was a waste of time.

I guess it had something to do with the nvidia geforce experience software, I have uninstalled and that's all I changed.
 

KamelJabber

New Member
even though the hook conflict cleared out everything still went to crap.

ram usage looks good, nothing really standing out.

I'm at a loss :(

You can see it at about 1:45 - http://www.twitch.tv/kameljabber/b/660855522

Two log files because I'm not sure which had the latest stream tbh. I stopped and started it at 1:50
 

Attachments

  • 2015-05-19-2054-25.log
    16.5 KB · Views: 25
  • 2015-05-19-2341-19.log
    2.1 KB · Views: 20

KamelJabber

New Member
OK, I tried some alternatives and I really don't like them.

I have formatted and re-installed Windows. I hope whatever the conflict is no longer exists.

I need OBS to be working :(

Installing OBS now.
 

KamelJabber

New Member
I know the feeling I have audio problems with mine and no one has any idea whats wrong I need it working

Solidarity Brother!

It's just such a good program, I tried some alternatives that frankly sucked.

After formatting windows I ran a short test stream and received zero errors in the log file.

I'm going to test out a longer stream later tonight.

TBH, if this fixes the issue with OBS, the format and re-install of the OS would have been worth it!
 

Noxiic14

New Member
cool.

OK, done, it found 89 .dlls.
The two that stand out are actually .toc and .bin in the nvidia temp/nv_cache folder

I searched nvidia and it has something to do with improved shader performance.

Can I ask you how you found out what you had to delete? pls give me an easy explanation
 

Atomized

New Member
i found I could not run projector mode, and preview mode on seperate monitors without intense framerate loss unless In EVGA Precision X I disabled every OSD option within the OSD settings, even with the overall function disabled. make sure to close OBS first, it crashes the program every time you mess with it.

Hope this helps someone.
 
Top