Bug Report How to not make obs freeze windows

Abdo

Member
I read the pinned topic about windows 10 anniversary update issues and i followed these instructions

Setup your sources and scenes, disable your preview, then restart OBS and start streaming or recording immediately. Do not edit your sources or add any new sources that have a video preview, or you might trigger this error, and then you'll have to restart OBS. .

i ran a test record on League of legends with these instructions and it didn't freeze , the record length was 45 minutes so the result was very promising , however a day after i recorded league of legends using the same exact setup while following the instructions and windows froze 13 minutes after record started.

is there anything i can do to prevent any DX9 game to freeze windows that always works?

logs :.
23:14:24.402: CPU Name: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
23:14:24.403: CPU Speed: 2295MHz
23:14:24.403: Physical Cores: 2, Logical Cores: 4
23:14:24.403: Physical Memory: 2047MB Total, 2047MB Free (NOTE: 2 or 4 gigs max is normal for 32bit programs)
23:14:24.403: Windows Version: 10.0 Build 14393 (revision: 576; 64-bit)
23:14:24.403: Running as administrator: true
23:14:24.403: Aero is Enabled (Aero is always on for windows 8 and above)
23:14:24.404: Portable mode: false
23:14:24.447: OBS 0.16.6 (windows)
23:14:24.447: ---------------------------------
23:14:24.448: ---------------------------------
23:14:24.448: audio settings reset:
23:14:24.448: samples per sec: 44100
23:14:24.448: speakers: 2
23:14:24.449: ---------------------------------
23:14:24.450: Initializing D3D11..
23:14:24.450: Available Video Adapters:
23:14:24.454: Adapter 1: NVIDIA GeForce 820M
23:14:24.454: Dedicated VRAM: 2093608960
23:14:24.454: Shared VRAM: 2147168256
23:14:24.454: output 1: pos={0, 0}, size={1366, 768}, attached=true
23:14:24.454: Adapter 2: Intel(R) HD Graphics Family
23:14:24.454: Dedicated VRAM: 117964800
23:14:24.454: Shared VRAM: 2147483648
23:14:24.458: Loading up D3D11 on adapter NVIDIA GeForce 820M (0)
23:14:24.476: D3D11 loaded sucessfully, feature level used: 45056
23:14:25.341: ---------------------------------
23:14:25.341: video settings reset:
23:14:25.341: base resolution: 1280x720
23:14:25.341: output resolution: 1280x720
23:14:25.341: downscale filter: Bilinear
23:14:25.341: fps: 60/1
23:14:25.341: format: NV12
23:14:25.343: ---------------------------------
23:14:25.346: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
23:14:25.348: [AMF Encoder] Version 1.4.2.3
23:14:25.349: [AMF Encoder] Unable to load 'amfrt32.dll', error code 126.
23:14:25.349: [AMF Encoder] Uncaught Exception: Unable to load 'amfrt32.dll', error code 126.
23:14:25.362: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libcef.dll' not found, loading of module failed
23:14:25.363: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libEGL.dll' not found, loading of module failed
23:14:25.364: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libGLESv2.dll' not found, loading of module failed
23:14:25.365: Failed to load 'en-US' text for module: 'obs-browser.dll'
23:14:25.365: [browser_source: 'Version: 1.26.0']
23:14:25.367: LoadLibrary failed for 'nvEncodeAPI.dll': The specified module could not be found.
23:14:25.367: (126)
23:14:25.387: Couldn't find VLC installation, VLC video source disabled
23:14:25.394: No blackmagic support
23:14:25.578: ---------------------------------
23:14:25.578: Loaded Modules:
23:14:25.579: win-wasapi.dll
23:14:25.579: win-mf.dll
23:14:25.579: win-dshow.dll
23:14:25.579: win-decklink.dll
23:14:25.579: win-capture.dll
23:14:25.580: vlc-video.dll
23:14:25.580: text-freetype2.dll
23:14:25.580: rtmp-services.dll
23:14:25.580: obs-x264.dll
23:14:25.580: obs-transitions.dll
23:14:25.580: obs-text.dll
23:14:25.580: obs-qsv11.dll
23:14:25.580: obs-outputs.dll
23:14:25.580: obs-filters.dll
23:14:25.580: obs-ffmpeg.dll
23:14:25.580: obs-browser.dll
23:14:25.580: image-source.dll
23:14:25.580: frontend-tools.dll
23:14:25.580: enc-amf.dll
23:14:25.580: coreaudio-encoder.dll
23:14:25.580: ==== Startup complete ===============================================
23:14:25.584: All scene data cleared
23:14:25.584: ------------------------------------------------
23:14:25.653: WASAPI: Device 'Speakers (Realtek High Definition Audio)' initialized
23:14:25.672: WASAPI: Device 'Microphone (Realtek High Definition Audio)' initialized
23:14:25.678: Switched to scene 'Game'
23:14:25.679: ------------------------------------------------
23:14:25.679: Loaded scenes:
23:14:25.679: - scene 'Game':
23:14:25.679: - source: 'League Window' (window_capture)
23:14:25.679: - source: 'League Game' (game_capture)
23:14:25.679: ------------------------------------------------
23:14:25.696: [game-capture: 'League Game'] attempting to hook fullscreen process: explorer.exe
23:14:25.696: [game-capture: 'League Game'] cannot capture explorer.exe due to being blacklisted
23:14:25.741: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
23:14:32.745: [qsv encoder: 'simple_h264_recording'] settings:
23:14:32.745: rate_control: ICQ
23:14:32.745: ICQ Quality: 14
23:14:32.745: fps_num: 60
23:14:32.745: fps_den: 1
23:14:32.745: width: 1280
23:14:32.745: height: 720
23:14:32.745: [qsv encoder: 'simple_h264_recording'] debug info:
23:14:32.751: impl: D3D11
23:14:32.751: surf: D3D11
23:14:32.827: m_nSurfNum: 16
23:14:32.856: m_nTaskPool: 4
23:14:32.856: major: 1
23:14:32.856: minor: 16
23:14:32.887: [Media Foundation AAC: 'simple_aac_recording']: encoder created
23:14:32.887: bitrate: 128
23:14:32.887: channels: 2
23:14:32.887: sample rate: 44100
23:14:32.887: bits-per-sample: 16
23:14:32.887:
23:14:33.018: ==== Recording Start ===============================================
23:14:33.018: [ffmpeg muxer: 'simple_file_output'] Writing file 'D:/My Videos/Fresh Videos/2016-12-28_23-14-32.mp4'...
23:17:41.704: Max audio buffering reached!
23:17:41.704: adding 1021 milliseconds of audio buffering, total audio buffering is now 1044 milliseconds
23:17:44.310: [game-capture: 'League Game'] attempting to hook fullscreen process: League of Legends.exe
23:17:44.967: [game-capture: 'League Game'] using helper (compatibility hook)
23:17:46.490: [game-capture: 'League Game'] Hooked to process: League of Legends.exe
23:17:46.491: [game-capture: 'League Game'] (half life scientist) everything.. seems to be in order
23:17:46.526: [game-capture: 'League Game'] Hooked D3D9
23:17:46.539: [game-capture: 'League Game'] Hooked DXGI
23:17:49.061: [game-capture: 'League Game'] attempting to hook fullscreen process: League of Legends.exe
23:20:00.343: [game-capture: 'League Game'] d3d9 shared texture capture successful


p.s : the game was running at smooth 60 fps , i recovered the broken video and the playback was smooth 60 fps as well , please don't talk about how bad my specs are.
 

RytoEX

Forum Admin
Forum Moderator
Developer
The thread that you quoted was specifically about solving or working around an issue on Windows 10 Anniversary Update that would cause video encoding to fail. It did not cause Windows crashes/freezes, and it did not freeze OBS. That issue has since been (hopefully) solved by both AMD and Nvidia. Updating your video drivers to the latest version should solve that issue.

However, the issue you're describing is different. Your log doesn't show any errors that jump out at me, especially not for the Windows 10 AU issue. If Windows is freezing or experiencing blue screens, I suspect you have some other issue (overheating, bad memory, bad drivers, other hardware/driver issue...).

I suggest updating OBS Studio to 0.17.0 and updating your Nvidia and Intel drivers to the latest versions available. Try again, and if you continue to experience issues, please upload a complete log file, preferably with the profiling information at the end of it. If you experience an issue, shut down OBS, then reopen it and select: Help > Log Files > Upload Last Log File. Post the log URL as part of your reply.
 

Abdo

Member
Problem fixed , somehow booting via fast boot caused this freezing , for now I am completely disabling it , but is there any other more convenient workaround ?
as for updating NVidia drivers , currently all drivers after 355.82 would cause laggy output in OBS no matter what is the ingame framerate , so I am sticking to that drivers because I can't use OBS without game capture , I recall reading about it and the issue is that NVidia changed how the gpu would handle load distribution after 355.86 , so all focus would go to the game and OBS would get super laggy output , this only happens when GPU is fully utilized , considering that this is a mobile GPU it is always fully utilized , even if the game is running at 60 fps.
this makes sense because I remember that I ran a game that keeps running even in the background and I tried alt-taping to obs and back to the game , the final video was laggy when ingame , but smooth when alt-taped to OBS........

for now I have 0 problems but these are my findings of what I have encountered so far , thx for helping :D
 

Abdo

Member
also , the log is incomplete because windows completely froze , I didn't crop the log , it just ended there
 
Top