I've looked through the forums and seen many questions that relate to mine. However, many do not reply back and the Specs of the PC’s are much lower than mine. or some that are equivalent but either they have not been answered or the poster doesn’t reply back with if the given answer has worked.
On to my issue, those who see this might have seen many times already. I will try to get to the point and point out everything I have done so the same answer doesn't get sent over and over.
CPU: AMD Ryzen 9 3900X (12 Core - 24 Thread)
GPU: RTX 2070 (non-super) 8gb
MOBO: Asrock X570M PRO4
Memory: 32gb DDR4 G.skill 3200Mhz
AIO: Corsair H100i RGB pro
PSU: EVGA 1000watt Supernova 80+ gold
Storage: 256 Samsung NVME M.2 (main drive boot drive with programs)
1TB intel 660P NVME M.2 (holds all my main games, half full)
4TB HDD 5400 RPM (this drive in conjunction with a 120GB SSD as its Cache, holds all the remaining games I play less of and all my bigger files like photos and Videos)
120GB SSD (used as a cache for 4TB HDD to improve the read and write speeds using PrimoCache)
2 monitor Set up:
main monitor: 144hz Freesync ( Gsync Compatible)
Second: 60hz Freesync (Gsync Compatible, but Freesync is turned off so not using Gsync for this monitor)
Streaming on my PC even with the preview screen is flawless — 1600x900 60FPS, no problem. I have set my bitrate to 3500 as I don't have the upload rate to be able to do 6000, but that isn't the issue. Streaming is perfect. I have no problems aside if my internet is shit, and the upload rate is lower than 3500, which is fine; at least I know what the issue is there.
When I started streaming and recording, I notice my recordings were very choppy. So I decided to try just recording. That showed me why my videos were looking so choppy. I would look at the FPS counter on SLOBS, and it would be dropping down to 25 - 50 FPS for just recording, nothing else. I change my stream elements to be very minimal, and even then, my 3900x should be able to handle all of that. When I record, I see my CPU usage at 12% - 16% usage. I have so much headroom to play around with. I have turned off all the game mode settings that windows have, still no difference. I have also tried to change the settings to Nvenc, Little improvement, but you only really want to record gameplay and nothing with a webcam and stream elements when using NVENC. So back to x264. I used CBR 40000, still drop frames. I used CRF 17 very fast, still dropped frames. I have turned off all streaming elements and just had the game recording, still dropped frames. No matter what I do its the same thing every single time. With 12 cores and 24 threads, I doubt it's my CPU being overworked when all I am doing is playing a game and recording a video, and SLOBS only jumping up to use 16% max CPU usage.
TLDR, with some extras
Streaming is Flawless, and I get 60 FPS
When recording while streaming and or just Recording (recording is the main issue I am having (FPS in the video is Chopppy 20 - 50 fps))
- I have tried switching where the videos save to my 1TB NVME and still the same story. (20 - 50 FPS).
- Used Nvenc ( a little better but only suitable for recording Gameplay, and nothing else)
- Used CBR 35000 bitrate, Faster, Main (still drops 20 - 50 fps)
- turned game mode off (Still drops 20 - 50fps)
- turned down all my settings in-game (great FPS in-game but recording is still dropping down to 20 - 50 fps)
- downscaled my video settings to 1080p (still dropped frames 20 - 50fps)
I am not hitting high CPU Usage at all, Barely even touching 50% CPU usage.
Temps are within range 35c - 58c ( can’t see any reason to thermal Throttle)
Screenshots included to help
I can’t figure it out. The performance metrics don’t even tell me why the FPS counter goes down to 25 - 50 FPS. It doesn't tell me I dropped any frames. But I think that it is for streaming. However, I look at the FPS counter on SLOBS when I press record it autoMAGICALLY the FPS counter goes straight to 59, down to 35, then down to +/- 25 where it will sit for the rest of the gameplay. Main menu screen drops to 25 - 50 fps, but in Apex character selection screen, I have seen it comfortable at 60 FPS, which makes no sense at all.
My in-game settings are all set to Low. All I see in-game are very shitty colors, and models of the characters and map look not great, which I am fine playing on as in-game higher FPS is what I would prefer.
Best answer by izhart01
looks like I figured out what was wrong. using Regular OBS helped since it has more stats for me to look at. I wish Streamlabs would have that sort of Stat system. If it does my mistake I just haven’t found it. OBS seems to run a bit better than SLOBS. However, now back to the issues, I was having before. It had nothing to do with the programs at all. It had to do with Windows. At the time when I was having issues, I was on Window update 1809. Windows update 1809 was having issues with obs and the obs like users. Windows was not allocating enough GPU resources to OBS programs. Because of this every tutorial out there was saying to turn off game mode to help. I did everything as all those tutorials said to do turn off game mode and run as administrator, this did not work for me in StreamlabsOBS. However, regular OBS was working a lot better. Now, OBS still wasn’t running optimally so I kept on researching and finally found the solution. Windows update 1809 was the issue and all I had to do was update to the current windows update which is windows 1909. Windows update 1903 fixed all the OBS problems. Windows update 1903 and now the current update 1909 you can run game mode and OBS will not have to fight for GPU resources anymore. You can have Game mode on and still, have a good stream and recording with slight very slight encoding lag. Now if you were to run obs or any other OBS programs in Administrator you will have 0% to 0.1% encoding lag.
Once I updated I tested everything out with my current set up in OBS and wow didn’t need to set affinity at all. So once obs was running perfect I decided to give StreamlabsOBS a go once again. Ran StreamlabsOBS in Administrator and everything was buttery smooth. That FPS counter didn’t even drop. I streamed and recorded for 10 minutes. I checked my recording and OH it was so buttery smooth no stutters, no rubberbanding, no problems. If I were to record for longer I am sure to have a hiccup but it was such a relief that all my problems have been solved.
This might even help so many people with similar issues I was having which every tutorial and every guide to help with such problems failed to mention or were outdated to mention that windows update 1809 has problems with OBS programs.
now with all that being said for some, there will be a trade-off, you may lose a couple of frames in-game, like actual In-game and not in OBS. That's just the trade-off that you’ll get if you are trying to have a smooth stream, recording, or even both streaming and recording.
if you are on windows 1809 (OBS no good)
update to windows 1903 or 1909 (OBS really good)
Once updated to 1903 or 1909 and run obs as Administrator (OBS REALLY REALLY GOOD)
The trade-off with losing in-game FPS.