Question / Help iMac 5k OBS streaming fps & graphic lag issues

jadeofarc

New Member
Hi all,

I've been testing different software to stream to Twitch recently, I've found that OBS (if anyone else knows any better software please let me know) gives me the most control so far on my imac.

Here is my problem...
When i play wow normally without OBS open i get 130fp+ 90% of the time in game (playing on ultra settings, playing at 4k resi), when I stream with OBS my fps drop down to 40-50 (even with the settings on ultra or low the fps drop is still the same, OBS is set to 60fps which is the highest it accepts)!! I get a slight graphic lag too, and generally the upload quality isnt great. This has been driving me insane, I've asked everyone I know, searched online for solutions and tried them but still getting this lag. I would expect a drop in FPS but not a 90fps drop.

Here is a snip from my stream earlier: twitch.tv/jadeofarc/v/42536038

As well as the fps drop, WoW on my computer has a lot of lag spikes that you cant see on the stream, so its like a double problem!

my imac spec is as follows:

imac late 2015 Retina 5k 27"
processor: 4 GHz Intel Core i7
memory: 16 GB 1067 MHz DDR3 (can be upgraded to 32GB, and probs will soon)
graphics: AMD Radeon R9 M290X 2048 MB

My internet connection is very good. I've streamed in the past (on a different mac) in perfect quality with the same connection, but this was when camtwist was available to us for free.


(FYI: Please spare me the mac comments abuse. I'm after help here, not arguing with children.)


Thanks in advance :D
 

jadeofarc

New Member
17:31:42.687: CPU Name: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
17:31:42.687: CPU Speed: 4000MHz
17:31:42.687: Physical Cores: 4, Logical Cores: 8
17:31:42.687: Physical Memory: 16384MB Total
17:31:42.687: OS Name: Mac OS X (NSMACHOperatingSystem)
17:31:42.687: OS Version: Version 10.11.3 (Build 15D21)
17:31:42.687: Kernel Version: 15.3.0
17:31:42.691: hotkeys-cocoa: Using layout 'com.apple.keylayout.British'
17:31:42.711: OBS 0.13.1 (mac)
17:31:42.712: ---------------------------------
17:31:42.712: ---------------------------------
17:31:42.712: audio settings reset:
17:31:42.712: samples per sec: 44100
17:31:42.712: speakers: 2
17:31:42.757: ---------------------------------
17:31:42.757: video settings reset:
17:31:42.757: base resolution: 5760x3240
17:31:42.757: output resolution: 1920x1080
17:31:42.757: fps: 30/1
17:31:42.757: format: NV12
17:31:42.757: ---------------------------------
17:31:42.758: Loading module: coreaudio-encoder.so
17:31:42.758: ---------------------------------
17:31:42.759: Loading module: image-source.so
17:31:42.759: ---------------------------------
17:31:42.761: Loading module: mac-avcapture.so
17:31:42.761: ---------------------------------
17:31:42.762: Loading module: mac-capture.so
17:31:42.762: ---------------------------------
17:31:42.763: Loading module: mac-decklink.so
17:31:42.763: No blackmagic support
17:31:42.763: Failed to start search for DeckLink devices
17:31:42.763: ---------------------------------
17:31:42.765: Loading module: mac-syphon.so
17:31:42.765: ---------------------------------
17:31:42.766: Loading module: mac-vth264.so
17:31:42.778: [VideoToolbox encoder]: Adding VideoToolbox H264 encoders
17:31:42.778: ---------------------------------
17:31:42.779: Loading module: obs-ffmpeg.so
17:31:42.779: ---------------------------------
17:31:42.780: Loading module: obs-filters.so
17:31:42.780: ---------------------------------
17:31:42.780: Loading module: obs-outputs.so
17:31:42.780: ---------------------------------
17:31:42.781: Loading module: obs-transitions.so
17:31:42.782: ---------------------------------
17:31:42.783: Loading module: obs-x264.so
17:31:42.783: ---------------------------------
17:31:42.783: Loading module: rtmp-services.so
17:31:42.783: ---------------------------------
17:31:42.784: Loading module: text-freetype2.so
17:31:42.787: =====================================================================
17:31:42.787: output 'simple_stream' (rtmp_output) created
17:31:42.787: encoder 'simple_h264_stream' (obs_x264) created
17:31:42.798: AAC encoder bitrate mapping:
17:31:42.798: 20 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 24 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 28 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 32 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 40 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 48 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 56 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 64 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 72 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 80 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 96 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 112 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 128 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 144 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 160 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 192 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 224 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 256 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 288 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: 320 kbit/s: 'CoreAudio AAC encoder' (CoreAudio_AAC)
17:31:42.798: encoder 'simple_aac' (CoreAudio_AAC) created
17:31:42.798: output 'simple_file_output' (ffmpeg_muxer) created
17:31:42.798: Service '' not found
17:31:42.798: service 'default_service' (rtmp_common) created
17:31:42.801: All scene data cleared
17:31:42.801: ------------------------------------------------
17:31:42.845: coreaudio: device 'Soundflower (2ch)' initialized
17:31:42.845: source 'Desktop Audio' (coreaudio_output_capture) created
17:31:42.845: source 'Scene 2' (scene) created
17:31:42.846: source 'Display Capture' (display_capture) created
17:31:42.937: == Profiler Results =============================
17:31:42.937: run_program_init: 476.933 ms
17:31:42.937: ┣OBSApp::AppInit: 1.33 ms
17:31:42.937: ┃ ┗OBSApp::InitLocale: 0.514 ms
17:31:42.937: ┗OBSApp::OBSInit: 422.272 ms
17:31:42.937: ┣obs_startup: 4.175 ms
17:31:42.937: ┗OBSBasic::OBSInit: 224.662 ms
17:31:42.937: ┣OBSBasic::InitBasicConfig: 0.441 ms
17:31:42.937: ┣OBSBasic::ResetAudio: 0.046 ms
17:31:42.937: ┣OBSBasic::ResetVideo: 44.44 ms
17:31:42.937: ┣OBSBasic::InitOBSCallbacks: 0.006 ms
17:31:42.937: ┣OBSBasic::InitHotkeys: 0.049 ms
17:31:42.937: ┣obs_load_all_modules: 30.512 ms
17:31:42.937: ┃ ┣obs_init_module(coreaudio-encoder.so): 0.004 ms
17:31:42.937: ┃ ┣obs_init_module(image-source.so): 0.002 ms
17:31:42.937: ┃ ┣obs_init_module(mac-avcapture.so): 0.005 ms
17:31:42.937: ┃ ┣obs_init_module(mac-capture.so): 0.003 ms
17:31:42.937: ┃ ┣obs_init_module(mac-decklink.so): 0.055 ms
17:31:42.937: ┃ ┣obs_init_module(mac-syphon.so): 0.003 ms
17:31:42.937: ┃ ┣obs_init_module(mac-vth264.so): 12.016 ms
17:31:42.937: ┃ ┣obs_init_module(obs-ffmpeg.so): 0.01 ms
17:31:42.937: ┃ ┣obs_init_module(obs-filters.so): 0.004 ms
17:31:42.937: ┃ ┣obs_init_module(obs-outputs.so): 0.002 ms
17:31:42.937: ┃ ┣obs_init_module(obs-transitions.so): 0.002 ms
17:31:42.937: ┃ ┣obs_init_module(obs-x264.so): 0.002 ms
17:31:42.937: ┃ ┣obs_init_module(rtmp-services.so): 0.069 ms
17:31:42.937: ┃ ┗obs_init_module(text-freetype2.so): 2.928 ms
17:31:42.937: ┣OBSBasic::ResetOutputs: 10.452 ms
17:31:42.937: ┣OBSBasic::CreateHotkeys: 0.022 ms
17:31:42.937: ┣OBSBasic::InitService: 0.11 ms
17:31:42.937: ┣OBSBasic::InitPrimitives: 2.803 ms
17:31:42.937: ┗OBSBasic::Load: 46.832 ms
17:31:42.937: =================================================
17:31:43.262: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
17:37:02.929: service 'default_service' (rtmp_common) created
17:37:02.929: service 'default_service' destroyed
17:37:02.929: Settings changed (stream 1)
17:37:02.929: ------------------------------------------------
17:40:25.904: encoder 'simple_h264_stream' destroyed
17:40:25.904: encoder 'simple_aac' destroyed
17:40:25.904: output 'simple_stream' destroyed
17:40:25.904: output 'simple_file_output' destroyed
17:40:25.904: output 'simple_stream' (rtmp_output) created
17:40:25.904: encoder 'simple_h264_stream' (obs_x264) created
17:40:25.904: encoder 'simple_aac' (CoreAudio_AAC) created
17:40:25.904: output 'simple_file_output' (ffmpeg_muxer) created
17:40:25.917: ---------------------------------
17:40:25.917: video settings reset:
17:40:25.917: base resolution: 5760x3240
17:40:25.917: output resolution: 1280x720
17:40:25.917: fps: 48/1
17:40:25.917: format: NV12
17:40:25.918: Settings changed (outputs, video)
17:40:25.918: ------------------------------------------------
 

Funkzorz

New Member
Having the exact same issue on my 5k iMac. Even if I'm not streaming or recording just having OBS open drops my framerate to unplayable. Ram and CPU are only at about 20% so I don't think those are the issue.
I've seen a few posts basically saying the same thing with no responses. Anyone actually reading/responding to these?
 

Narcogen

Active Member
Does the hit to FPS decrease if you downscale to 1080p instead of 720p? OBS does not use the GPU for x264 compression, just the CPU. A lot of the complaints I see on this board about framerate drops are from users of Mac machines with Retina displays who are downscaling from very high resolutions.
 

Funkzorz

New Member
I've tried a few different downscale outputs. Also the bottleneck doesn't seem to be CPU since mine is still 70% free or so.
 
Top