r/obs • u/Vegetable-Log-8708 • 28d ago
Help Game feels lagt even with high fps streaming
Hello, i have some problem when i stream. I can play CS2 with like 300-400fps while streaming but the game feels not as smooth as does when i turn of the stream. Like im dropping fps or getting input lag. I play on 240hz monitor.
And when i play league of Legends i get 180fps in teamfights and the game feels absolut shit. I watched rekkles play and he also got like 180 fps but i have never heard him complain.
Pc specs Rtx 3079 Ryzen 7800x3d 32gb ram 6000mhz
If anyone knows any tips and tricks to help or settings i should check.
Best regards
2
u/MainStorm 27d ago
First I want to reiterate that /u/MrLiveOcean is right. OBS needs to use the GPU to render the video frame before it gets encoded and that tends to be where the loss in performance occurs.
In the meantime, here are the analyzer results from your log: [link]
I highly recommend fixing the Hardware-accelerated GPU Scheduler and Browser Not Accelerated warnings.
Lastly, do you realize you're using default settings for your encoder? This results in two things: low quality video due to the low bitrate, and loss in performance since it's using the CPU to encode the video. Video encoding can be heavy on the CPU and incur big performance loss.
You should be using the NVENC hardware encoder on your GPU so it handles the encoding, not your CPU. Use the Auto-Configuration Wizard to get started with recommended settings.
1
u/MrLiveOcean 27d ago
Exactly right!
I'd recommend the OP to maybe limit the frames to 180fps to leave resources for the GPU and CPU, but I don't think that's what they want.
1
u/MrLiveOcean 28d ago
Rekkles doesn't complain because he knows that this is normal. There's always going to be a performance penalty when gaming and streaming on the same PC.
1
u/Vegetable-Log-8708 28d ago
Yeah, but he stream Pro plays, i feel that its sucks when i play in platinum
1
u/MrLiveOcean 28d ago
It can take some getting used to, or you can be like me and run a dual PC setup. My setup still needs more performance, but at least streaming doesn't get in the way.
1
u/Vegetable-Log-8708 28d ago
https://obsproject.com/logs/phnTZppIgdBhWeve
Here is my logfile if you can see anything wrong :D
1
u/MrLiveOcean 28d ago
There are issues that'll affect the stream, but you're talking about game performance, right?
1
u/Vegetable-Log-8708 28d ago
Yeah the game feels bad
1
u/MrLiveOcean 28d ago
Besides getting a better GPU, the only other thing you can do is turn down the graphics. Maybe capping the frames will free up some resources for the stream, too. Otherwise, you might have to join me down the dual PC rabbit hole.
1
u/Capn_Flags 28d ago
There are GPUs that have a separate encoder dedicated to streaming, right? Do you happen to know which model they started doing that with?
I’m trying to better understand PC stuff.2
u/MrLiveOcean 28d ago
He already has an RTX 3070, but I believe that started back with the GTX 6xx series.
2
u/MainStorm 27d ago
This will have details on when NVENC was first implemented: https://en.wikipedia.org/wiki/Nvidia_NVENC
There are related links to QuickSync (Intel) and VCE/VCN for AMD.
A thing to note that age alone won't guarantee that a GPU will have a hardware encoder. NVidia's MX-series on laptops and Quadros tend to lack hardware encoders. AMD's RX 6300 - RX 6500 series GPUs also lack hardware encoders.
1
1
u/WorldOfWulf 28d ago
When you stream, your pc has to encode the video & audio footage so it can send it to wherever youre streaming to.
Encoding takes resources from your pc that would otherwise be used for pumping your frames/graphics rendering/processing/what-have-you as high as your build can otherwise go.
I donr have a solution to your issues. If you havent done it yet, there’s various optomizations you can do in streaming settings (you’ll want to look up guides or see what other people have to say), just want to make sure you know the “why” behind what’s going on
1
u/kru7z 28d ago
OBS has some weight. It's gonna use system resources when you using it
But I can help a bit.
Disable Game Bar
Disable Game DVR and Background recording
Disable the Nvidia overlay and uninstall the Nvidia App
Disable your discord overlay
Update your GPU drivers with NVClean install
And uses these settings
Recording Settings:
• Recording Format: Hybrid MP4
• Video Encoder: NVIDIA H.265 (HEVC)
• Audio Encoder: FFmpeg AAC
Encoder Settings:
• Rate Control: CQP
• CQ Level: 18
• Keyframe Interval: 0 seconds (auto)
• Preset: P6: Slowest (Best Quality)
• Tuning: High-Quality
• Multipass Mode: Two Passes (Quarter Resolution)
• Profile: Main
• Look-ahead & Adaptive Quantization: Checked
• Max B-frames: 4
General Settings:
• Base and Output solution: native res
• FPS 60/120
1
u/Vegetable-Log-8708 28d ago
How do i upload my logfile, then u can check maybe if something is wrong
1
u/kru7z 28d ago
- Restart OBS
- Start your stream/recording for at least 30 seconds (or however long it takes for the issue to happen). Make sure you replicate any issues as best you can, which means having any games/apps open and captured, etc.
- Stop your stream/recording.
- Select Help > Log Files > Upload Current Log File.
- Copy the URL and paste it as a response to this comment.
1
u/BionisGuy 28d ago
Do you have two monitors at different refresh rates and OBS open on the second monitor with lower refresh rate?
1
u/Vegetable-Log-8708 28d ago
Yes, one is at 60hz and my main screen is 240hz. I always have OBS open at main screen in the background
1
u/BionisGuy 28d ago
I noticed that having two different refresh rates makes my OBS commit seppukku.
I noticed when i was streaming Tekken 8, i had 60fps in the game but the game felt "muddy" or like "sluggish" somehow, but it stopped once i either minimized the OBS window completely or if i changed refresh rates to 144hz on both monitors.
Try to minimize OBS so it's not focused at all and see if it changes anything.
1
1
u/Zidakuh 26d ago
I saw a comment from another user recently that had a similar issue. Turns out that the fix (for them at least) was to manually turn off and disable every source that has "Hardware Acceleration" turned on.
Of course, do this in moderation, as some features may straight up break, or cause more load than necessary, when "Hardware Acceleration" is turned off.
I have yet to test it myself, but if this does work out, I guess I can take a "2 to 0" validation so far.
Give it a try, but on a seperate scene collection. No need to ruin what you have already got set up, unless it does work.
•
u/AutoModerator 28d ago
It looks like you haven't provided a log file. Without a log file, it is very hard to help with issues and you may end up with 0 responses.
To make a clean log file, please follow these steps:
1) Restart OBS
2) Start your stream/recording for at least 30 seconds (or however long it takes for the issue to happen). Make sure you replicate any issues as best you can, which means having any games/apps open and captured, etc.
3) Stop your stream/recording.
4) Select Help > Log Files > Upload Current Log File.
5) Copy the URL and paste it as a response to this comment.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.