Question / Help NVENC makes game unplayable / x264 makes stream stutter

srxz

New Member
Hi,

I'm trying to stream Players Unknown Battlegrounds and I'm getting some problems, If I try to stream with NVENC my game starts OK, around 100fps then goes down to 20 - 30 FPS and game starts to freeze and stutter, but on stream its OK.
When I try to stream with x264 my FPS it's awesome in-game, I can stream perfectly, but when I watch the streaming its stuttering a LOT.

So

NVENC: makes my computer freezes but stream is OK
x264: Streams perfectly, constant FPS rate in-game but stream is stuttering badly.

Here's some examples:

NVENC: https://www.twitch.tv/videos/187377818
x264: https://www.twitch.tv/videos/187293251

The usage for both methods its around 60 - 70% both memory and CPU, game is running on SSD.

Attached log from both streams that I've send above.

PC Specs and streaming settings

16gb ram
i7 7700
100mb fiber connection
2500 bitrate
Latest OBS Studio 64x
 

Attachments

  • NVENC.txt
    18.5 KB · Views: 50
  • x624.txt
    17.6 KB · Views: 63

Fenrir

Forum Admin
...ok, where the heck did you get those x264 settings? What are you even trying to accomplish with those? Do you know what those settings are, or did you follow some terrible guide for them? Half of them aren't even doing anything, and some are generating a ton of errors. Take all that crap out.

NVENC looks mostly ok, except for bitrate. Your bitrate is way too low for nvenc at 720p 30fps.

EDIT: Also, in both logs, your GPU is slightly overloaded. Make sure you're capping FPS in the games you're playing at something that your PC can hold stably without being maxed out.
 

srxz

New Member
...ok, where the heck did you get those x264 settings? What are you even trying to accomplish with those? Do you know what those settings are, or did you follow some terrible guide for them? Half of them aren't even doing anything, and some are generating a ton of errors. Take all that crap out.

NVENC looks mostly ok, except for bitrate. Your bitrate is way too low for nvenc at 720p 30fps.

EDIT: Also, in both logs, your GPU is slightly overloaded. Make sure you're capping FPS in the games you're playing at something that your PC can hold stably without being maxed out.

I've got those settings here in the forum from someone, but with out without it is the same thing. With NVENC i can't play the game, its impossible due my PC freezing.
 

sam686

Member
The usage for both methods its around 60 - 70% both memory and CPU
NVENC shouldn't be using that much CPU. Something else might be using up too much CPU.

Check if your computer isn't overheating (HWMonitor) which can throttle to slower speed (windows 10 task manager's CPU GHz). Also make sure your CPU isn't maxed out from other programs using up too much CPU (task manager Details, sort by CPU).
If working properly at full CPU speed with no overheat throttling and without other programs using too much CPU, x264 at 1280x720 30fps VeryFast should work fine on this CPU.

With GPU-Z program, check if your graphics card is running PCI-E x8 or better. Too little PCI-E lanes slows down capture and NVENC.

Your CPU have QuickSync.
https://ark.intel.com/products/97128/Intel-Core-i7-7700-Processor-8M-Cache-up-to-4_20-GHz
If you want to try to use QuickSync encoder, you need to enable integrated graphics in BIOS/motherboard settings, and maybe install intel graphics drivers for it.
 

srxz

New Member
NVENC shouldn't be using that much CPU. Something else might be using up too much CPU.

Check if your computer isn't overheating (HWMonitor) which can throttle to slower speed (windows 10 task manager's CPU GHz). Also make sure your CPU isn't maxed out from other programs using up too much CPU (task manager Details, sort by CPU).
If working properly at full CPU speed with no overheat throttling and without other programs using too much CPU, x264 at 1280x720 30fps VeryFast should work fine on this CPU.

With GPU-Z program, check if your graphics card is running PCI-E x8 or better. Too little PCI-E lanes slows down capture and NVENC.

Your CPU have QuickSync.
https://ark.intel.com/products/97128/Intel-Core-i7-7700-Processor-8M-Cache-up-to-4_20-GHz
If you want to try to use QuickSync encoder, you need to enable integrated graphics in BIOS/motherboard settings, and maybe install intel graphics drivers for it.

Thanks Ill try thje QuickSync, I monitored the GPU and it's around 92% / 90% of usage, thats why NVENC is messing my game I guess? but CPU its stable, its around 60 / 70%
 
Top