Question / Help CPU usage sky rockets

inactivity

New Member
Trying to stream at 1600x900 60 fps with 6k bitrate but that is no where near acheivable.. so I'm now trying 720p 60 fps with 6k bitrate. When I put the fps at 60 my cpu usage sky rockets and goes to 80 in total, with OBS goiung near 30 % usage. Encoding with x264 and streaming fortnite. I have a fairly good cpu though.. a i7 5820K 3.3ghz with a gtx 980 as a gpu.

Can anyone inform me on why this does not work at all with 60fps but 30 fps is fine? Here are my settings.
 

Attachments

  • 1.png
    1.png
    55.5 KB · Views: 40
  • 2.png
    2.png
    42.3 KB · Views: 41
  • 3.png
    3.png
    23 KB · Views: 37

BK-Morpheus

Active Member
Might be a mixture of things...first of all 900p and 720p 60fps x264 veryfast is already relatively CPU demanding. Not sure how much CPU load fortnite will add to that (of course the games CPU load also increases, if you are running unlimited or very high fps ingame, so a reasonable fps limit ingame can lower your CPU load).
My 1700x@3.8Ghz on all 16 Threads can handle 720p 60fps easily, but depending on the game it can get tricky at 1080p 60fps.
Your CPU has 6 cores 12 threads, but relatively low clock speed.
I just checked some online benchmarks with multithread load for both processors and in Cinebench 15 the i7-5820K gets 139Ponits for a single thread and 1085 points in multithread, where the 1700x gets 155 single core ponits and 1532 multicore points.

Additional to that, you have "rescale output" enabled, which will force your CPU to do the resizing. Uncheck the output rescale and just use the output canvas resolution in the video settings, so that the GPU get's this job done instead.
 

inactivity

New Member
Thank you for such a quick response. I'm gonna try rescaling through the output canvas and limiting my frames instead of having it on unlimited and see how that goes. I'll give a quick response right after my test.
 

inactivity

New Member
Okay.. so what I noticed is that Fortnite is actually very cpu heavy (obviously) but it doesnt seem normal to be this cpu heavy. Also, the rescaling looks really bad on 720p 60fps through the video settings
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    13.9 KB · Views: 27

BK-Morpheus

Active Member
The rescaling through video settings is fine, maybe you want to set the rescale filter to lanczos, if you prefer the outcome of that.
~60% total CPU usage should be okay to output a decent stream.
Maybe follow the sticky thread and post a log file, for more information.
 

inactivity

New Member
Would you say hitting 70% total CPU usage while streaming in these settings is bad
 

Attachments

  • 2.png
    2.png
    18.1 KB · Views: 23
  • 3.png
    3.png
    8.9 KB · Views: 24

BK-Morpheus

Active Member
Depends on the log file. If there are not encoding problems and the game is running smooth, than it's fine.
For slightly more sharpness, you can switch from Bicubic downscale filter to lanczos.
 

inactivity

New Member
09:56:37.326: CPU Name: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
09:56:37.326: CPU Speed: 3300MHz
09:56:37.327: Physical Cores: 6, Logical Cores: 12
09:56:37.327: Physical Memory: 16210MB Total, 9092MB Free (NOTE: 32bit programs cannot use more than 3gb)
09:56:37.327: Windows Version: 10.0 Build 17134 (revision: 345; 64-bit)
09:56:37.327: Running as administrator: false
09:56:37.327: Aero is Enabled (Aero is always on for windows 8 and above)
09:56:37.327: Windows 10 Gaming Features:
09:56:37.327: Game Bar: Off
09:56:37.327: Game DVR: Off
09:56:37.327: Game DVR Background Recording: Off
09:56:37.329: Sec. Software Status:
09:56:37.330: Windows Defender Antivirus: enabled (AV)
09:56:37.331: Windows Firewall: enabled (FW)
09:56:37.331: Windows Defender Antivirus: enabled (ASW)
09:56:37.331: Browser Hardware Acceleration: true
09:56:37.331: Portable mode: false
09:56:37.453: OBS 22.0.2 (32-bit, windows)
09:56:37.453: ---------------------------------
09:56:37.454: ---------------------------------
09:56:37.454: audio settings reset:
09:56:37.454: samples per sec: 44100
09:56:37.454: speakers: 2
09:56:37.456: ---------------------------------
09:56:37.456: Initializing D3D11...
09:56:37.456: Available Video Adapters:
09:56:37.458: Adapter 1: NVIDIA GeForce GTX 980
09:56:37.458: Dedicated VRAM: 3221225472
09:56:37.458: Shared VRAM: 1073676288
09:56:37.458: output 1: pos={0, 0}, size={1920, 1080}, attached=true
09:56:37.458: output 2: pos={1920, 0}, size={1920, 1080}, attached=true
09:56:37.458: output 3: pos={-1920, 0}, size={1920, 1080}, attached=true
09:56:37.462: Loading up D3D11 on adapter NVIDIA GeForce GTX 980 (0)
09:56:37.517: D3D11 loaded successfully, feature level used: 45056
09:56:38.451: ---------------------------------
09:56:38.451: video settings reset:
09:56:38.451: base resolution: 1920x1080
09:56:38.451: output resolution: 1280x720
09:56:38.451: downscale filter: Lanczos
09:56:38.451: fps: 48/1
09:56:38.451: format: NV12
09:56:38.451: YUV mode: 709/Full
09:56:38.452: Audio monitoring device:
09:56:38.452: name: Default
09:56:38.452: id: default
09:56:38.452: ---------------------------------
09:56:38.454: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/chrome_elf.dll' not found, loading of module failed
09:56:38.462: [CoreAudio encoder]: Adding CoreAudio AAC encoder
09:56:38.553: [AMF] AMF Test failed due to one or more errors.
09:56:38.553: Failed to initialize module 'enc-amf.dll'
09:56:38.576: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libcef.dll' not found, loading of module failed
09:56:38.577: LoadLibrary failed for '../../obs-plugins/32bit/libEGL.dll': The specified procedure could not be found.
09:56:38.577: (127)
09:56:38.577: Module '../../obs-plugins/32bit/libEGL.dll' not loaded
09:56:38.579: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libGLESv2.dll' not found, loading of module failed
09:56:38.580: [obs-browser]: Version 2.1.5
09:56:38.584: NVENC supported
09:56:38.663: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/pdf.dll' not found, loading of module failed
09:56:38.668: VLC found, VLC video source enabled
09:56:38.674: No blackmagic support
09:56:38.679: ---------------------------------
09:56:38.679: Loaded Modules:
09:56:38.679: win-wasapi.dll
09:56:38.679: win-mf.dll
09:56:38.679: win-dshow.dll
09:56:38.680: win-decklink.dll
09:56:38.680: win-capture.dll
09:56:38.680: vlc-video.dll
09:56:38.680: text-freetype2.dll
09:56:38.680: rtmp-services.dll
09:56:38.680: obs-x264.dll
09:56:38.680: obs-vst.dll
09:56:38.680: obs-transitions.dll
09:56:38.680: obs-text.dll
09:56:38.680: obs-qsv11.dll
09:56:38.680: obs-outputs.dll
09:56:38.680: obs-filters.dll
09:56:38.680: obs-ffmpeg.dll
09:56:38.680: obs-browser.dll
09:56:38.680: image-source.dll
09:56:38.680: frontend-tools.dll
09:56:38.680: enc-amf.dll
09:56:38.680: coreaudio-encoder.dll
09:56:38.680: ---------------------------------
09:56:38.680: ==== Startup complete ===============================================
09:56:38.694: All scene data cleared
09:56:38.694: ------------------------------------------------
09:56:38.725: WASAPI: Device 'Headset Earphone (Astro MixAmp Pro Voice)' initialized
09:56:38.746: WASAPI: Device 'Microphone (Yeti Stereo Microphone)' initialized
09:56:38.757: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
09:56:38.826: adding 46 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
09:56:39.123: ---------------------------------
09:56:39.123: [DShow Device: 'Webcam'] settings updated:
09:56:39.123: video device: Logitech Webcam C930e
09:56:39.123: video path: \\?\usb#vid_046d&pid_0843&mi_00#6&1b54619b&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
09:56:39.123: resolution: 1920x1080
09:56:39.123: fps: 30.00 (interval: 333333)
09:56:39.123: format: MJPEG
09:56:39.124: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
09:56:39.124:
09:56:39.181: ---------------------------------
09:56:39.181: [DShow Device: 'Keyboard Cam'] settings updated:
09:56:39.181: video device: Logitech Webcam Pro 9000
09:56:39.181: video path: \\?\usb#vid_046d&pid_0809&mi_00#7&d618cfa&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
09:56:39.181: resolution: 800x600
09:56:39.181: fps: 30.00 (interval: 333333)
09:56:39.181: format: XRGB
09:56:39.182: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
09:56:39.182:
09:56:39.629: Switched to scene 'Gaming'
09:56:39.629: ------------------------------------------------
09:56:39.629: Loaded scenes:
09:56:39.629: - scene 'Gaming':
09:56:39.629: - source: 'Desktop' (monitor_capture)
09:56:39.629: - source: 'Game' (game_capture)
09:56:39.629: - source: 'Cams' (group)
09:56:39.629: - source: 'Borders' (group)
09:56:39.629: - source: 'Alerts' (group)
09:56:39.629: - scene 'Intermission':
09:56:39.629: - source: 'Im Currently In Intermission' (image_source)
09:56:39.629: - source: 'Webcam' (dshow_input)
09:56:39.629: - scene 'Be Right Back':
09:56:39.629: - source: 'Border' (image_source)
09:56:39.629: - source: 'Webcam' (dshow_input)
09:56:39.629: - source: 'Chat' (browser_source)
09:56:39.629: - scene 'Stream Offline':
09:56:39.629: - source: 'Image' (image_source)
09:56:39.629: ------------------------------------------------
09:56:39.632: [game-capture: 'Game'] attempting to hook process: FortniteClient-Win64-Shipping.exe
09:56:39.641: [game-capture: 'Game'] shared texture capture successful
09:56:39.745: CalculateFileHash: Failed to open file 'C:\Users\Bledi\AppData\Roaming\obs-studio\updates\whatsnew.json':
09:56:57.765: ---------------------------------
09:56:57.765: video settings reset:
09:56:57.765: base resolution: 1920x1080
09:56:57.765: output resolution: 1280x720
09:56:57.765: downscale filter: Lanczos
09:56:57.765: fps: 60/1
09:56:57.765: format: NV12
09:56:57.765: YUV mode: 709/Full
09:56:57.774: Settings changed (outputs, video)
09:56:57.774: ------------------------------------------------
09:56:59.173: ---------------------------------
09:56:59.173: [x264 encoder: 'streaming_h264'] preset: veryfast
09:56:59.173: [x264 encoder: 'streaming_h264'] profile: main
09:56:59.173: [x264 encoder: 'streaming_h264'] settings:
09:56:59.173: rate_control: CBR
09:56:59.173: bitrate: 6000
09:56:59.173: buffer size: 6000
09:56:59.173: crf: 0
09:56:59.173: fps_num: 60
09:56:59.173: fps_den: 1
09:56:59.173: width: 1280
09:56:59.173: height: 720
09:56:59.173: keyint: 120
09:56:59.173:
09:56:59.173: [x264 encoder: 'streaming_h264'] custom settings: scenecut=0
09:56:59.181: [CoreAudio AAC: 'Stream Audio']: settings:
09:56:59.181: mode: AAC
09:56:59.181: bitrate: 128
09:56:59.181: sample rate: 44100
09:56:59.181: cbr: on
09:56:59.181: output buffer: 1536
09:56:59.182: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-jfk.twitch.tv/app...
09:56:59.211: [rtmp stream: 'adv_stream'] Interface: Intel(R) Ethernet Connection (2) I218-V (ethernet, 1000 mbps)
09:57:00.073: [rtmp stream: 'adv_stream'] Connection to rtmp://live-jfk.twitch.tv/app successful
09:57:00.077: ==== Streaming Start ===============================================
09:58:07.352: [rtmp stream: 'adv_stream'] User stopped the stream
09:58:07.352: Output 'adv_stream': stopping
09:58:07.352: Output 'adv_stream': Total frames output: 3999
09:58:07.352: Output 'adv_stream': Total drawn frames: 4072 (4091 attempted)
09:58:07.352: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 19 (0.5%)
09:58:07.357: ==== Streaming Stop ================================================
 

inactivity

New Member
Depends on the log file. If there are not encoding problems and the game is running smooth, than it's fine.
For slightly more sharpness, you can switch from Bicubic downscale filter to lanczos.


Just tested again.. my gpu usage on fortnite is 80% and higher when I play and I think that is the issue as well. Not sure why its so high
 
Top