Jump to content

For starters here are my settings: 3500 bitrate x264 encoder set to faster, the output is 720p being scaled down from 1440p, Lanczos 32 sample 60fps process priority is normal
PC specs: ryzen 7 1700 stable 3.9ghz, 16gb 2933mhz ram 14cl, vega 64 (undervolted and stable) cpu stays below 70c and gpu stays under 80c for core and hbm when trying to stream/play games
When I try to stream to twitch the stream will be extremely choppy, lag behind and be a complete mess, I've played around with lower bitrate, higher bitrate, and the sample rates as well as changing the CPU encoder priority

Sorry if I didn't put important info I'm tired and really annoyed that it won't work, I just want buttery smooth 720p 60fps streaming.

Link to comment
https://linustechtips.com/topic/1070504-obs-stream-lags/
Share on other sites

Link to post
Share on other sites

The problem is because of a GPU Allocation bug in OBS. Basically, when your GPU is over 85-90% used, OBS starts losing frames and no longer outputs a smooth 60 fps. You will need to cap your FPS to lower your GPU usage to allow enough overhead. With my 2080ti at 1440p/144hz I have mine capped at about 80fps with Nvidia Inspector and this provides enough GPU resources left for it to be able to render. Since you have a Vega 64 card, you will need to use Rivatuner to cap your FPS. 

Community Standards

Please make sure to Quote me or @ me to see your reply!

Just because I am a Moderator does not mean I am always right. Please fact check me and verify my answer. 

 

"Beast Mode"

Ryzen 7 9800x3d | Arctic Liquid Freeze 3 Pro 360 | MSI X870 Tomahawk Wi-Fi | MSI RTX 5080 Gaming Trio OC | Gskill Flare X5 6000MT/s CL30

1tb WD Black SN850x NVMe | 4tb WD SN850x NVMe | Antec Flux Pro | Be Quiet Pure Power 13 M 1000w | OWC 10gb NIC

 

Dedicated Streaming Rig

 Ryzen 7 3700x | Asus B450-F Strix | 32gb Gskill Flare X 3200mhz | Corsair RM550x PSU | MSI Ventus 3060 12gb | 250gb 860 Evo m.2

Phanteks P300A |  Elgato HD60 Pro | Avermedia Live Gamer Duo | Avermedia 4k GC573 Capture Card

 

Link to comment
https://linustechtips.com/topic/1070504-obs-stream-lags/#findComment-12625963
Share on other sites

Link to post
Share on other sites

1 minute ago, Skiiwee29 said:

The problem is because of a GPU Allocation bug in OBS. Basically, when your GPU is over 85-90% used, OBS starts losing frames and no longer outputs a smooth 60 fps. You will need to cap your FPS to lower your GPU usage to allow enough overhead. With my 2080ti at 1440p/144hz I have mine capped at about 80fps with Nvidia Inspector and this provides enough GPU resources left for it to be able to render. Since you have a Vega 64 card, you will need to use Rivatuner to cap your FPS. 

I forget to mention I'm using streamlabs obs, and I also do 144hz so capping to something like 80fps would not be a very enjoyable experience, also how can a bug like this still be a thing? it has to be more specific than just gpu usage at 85-90%, also I thought x264 was for cpu so why would gpu affect performance in obs in the first place?

Link to comment
https://linustechtips.com/topic/1070504-obs-stream-lags/#findComment-12625968
Share on other sites

Link to post
Share on other sites

Just now, Lucky5 said:

I forget to mention I'm using streamlabs obs, and I also do 144hz so capping to something like 80fps would not be a very enjoyable experience, also how can a bug like this still be a thing? it has to be more specific than just gpu usage at 85-90%, also I thought x264 was for cpu so why would gpu affect performance in obs in the first place?

OBS still needs to render some frames in the GPU to display. The encoding is done through the CPU, not the frame rendering, thats still done on the GPU side. 

Community Standards

Please make sure to Quote me or @ me to see your reply!

Just because I am a Moderator does not mean I am always right. Please fact check me and verify my answer. 

 

"Beast Mode"

Ryzen 7 9800x3d | Arctic Liquid Freeze 3 Pro 360 | MSI X870 Tomahawk Wi-Fi | MSI RTX 5080 Gaming Trio OC | Gskill Flare X5 6000MT/s CL30

1tb WD Black SN850x NVMe | 4tb WD SN850x NVMe | Antec Flux Pro | Be Quiet Pure Power 13 M 1000w | OWC 10gb NIC

 

Dedicated Streaming Rig

 Ryzen 7 3700x | Asus B450-F Strix | 32gb Gskill Flare X 3200mhz | Corsair RM550x PSU | MSI Ventus 3060 12gb | 250gb 860 Evo m.2

Phanteks P300A |  Elgato HD60 Pro | Avermedia Live Gamer Duo | Avermedia 4k GC573 Capture Card

 

Link to comment
https://linustechtips.com/topic/1070504-obs-stream-lags/#findComment-12625971
Share on other sites

Link to post
Share on other sites

Just now, Skiiwee29 said:

OBS still needs to render some frames in the GPU to display. The encoding is done through the CPU, not the frame rendering, thats still done on the GPU side. 

is there any other way to fix this without having to cap my in-game fps to lower gpu usage?

Link to comment
https://linustechtips.com/topic/1070504-obs-stream-lags/#findComment-12625975
Share on other sites

Link to post
Share on other sites

Just now, Lucky5 said:

is there any other way to fix this without having to cap my in-game fps to lower gpu usage?

Sadly no. Ive done 10+ hours of research in the past few weeks and tweaking and testing myself and this is the only way to fix it without having a dual streaming PC setup. 

Community Standards

Please make sure to Quote me or @ me to see your reply!

Just because I am a Moderator does not mean I am always right. Please fact check me and verify my answer. 

 

"Beast Mode"

Ryzen 7 9800x3d | Arctic Liquid Freeze 3 Pro 360 | MSI X870 Tomahawk Wi-Fi | MSI RTX 5080 Gaming Trio OC | Gskill Flare X5 6000MT/s CL30

1tb WD Black SN850x NVMe | 4tb WD SN850x NVMe | Antec Flux Pro | Be Quiet Pure Power 13 M 1000w | OWC 10gb NIC

 

Dedicated Streaming Rig

 Ryzen 7 3700x | Asus B450-F Strix | 32gb Gskill Flare X 3200mhz | Corsair RM550x PSU | MSI Ventus 3060 12gb | 250gb 860 Evo m.2

Phanteks P300A |  Elgato HD60 Pro | Avermedia Live Gamer Duo | Avermedia 4k GC573 Capture Card

 

Link to comment
https://linustechtips.com/topic/1070504-obs-stream-lags/#findComment-12625977
Share on other sites

Link to post
Share on other sites

Just now, Skiiwee29 said:

Sadly no. Ive done 10+ hours of research in the past few weeks and tweaking and testing myself and this is the only way to fix it without having a dual streaming PC setup. 

was planning on getting a 3700 or 3900x and whatever navi card beats the 64, I guess i could reuse my old 1700 as a server/streaming pc

Link to comment
https://linustechtips.com/topic/1070504-obs-stream-lags/#findComment-12625980
Share on other sites

Link to post
Share on other sites

Just now, Lucky5 said:

was planning on getting a 3700 or 3900x and whatever navi card beats the 64, I guess i could reuse my old 1700 as a server/streaming pc

Would be the best way to do it so you can game at full power on your main rig. 

Community Standards

Please make sure to Quote me or @ me to see your reply!

Just because I am a Moderator does not mean I am always right. Please fact check me and verify my answer. 

 

"Beast Mode"

Ryzen 7 9800x3d | Arctic Liquid Freeze 3 Pro 360 | MSI X870 Tomahawk Wi-Fi | MSI RTX 5080 Gaming Trio OC | Gskill Flare X5 6000MT/s CL30

1tb WD Black SN850x NVMe | 4tb WD SN850x NVMe | Antec Flux Pro | Be Quiet Pure Power 13 M 1000w | OWC 10gb NIC

 

Dedicated Streaming Rig

 Ryzen 7 3700x | Asus B450-F Strix | 32gb Gskill Flare X 3200mhz | Corsair RM550x PSU | MSI Ventus 3060 12gb | 250gb 860 Evo m.2

Phanteks P300A |  Elgato HD60 Pro | Avermedia Live Gamer Duo | Avermedia 4k GC573 Capture Card

 

Link to comment
https://linustechtips.com/topic/1070504-obs-stream-lags/#findComment-12625983
Share on other sites

Link to post
Share on other sites

You can use Radeon chill under the wattman tab to limit your fps if you want to. 

 

I would try setting the affinity of obs to use threads 8-15 (I'm unsure of how windows assigns threads, you may end up wanting to assign 4-7 and 12-15 instead)

 

It might not help but it's worth a try.

One Steam to rule them all, One Sale to find them, One Sale to bring them all and with their wallets, bind them! - r/pcmasterrace 17/01/2014

Spoiler
  • CPU: Intel Core i7 6700k
  • CPU Cooler: CM Hyper 212+ 
  • RAM: 16GB Kingston HyperX Fury 2400Mhz (2x8GB)
  • GPU: Gigabyte G1 R9 390 
  • Mobo: Asus Z170-AR
  • PSU: Antec High Current Gamer 900W 
  • Storage: 240GB intel 520 SSD (OS), Sandisk 128GB SSD(Other OS) 2x 2TB Seagate Barracuda 
  • Case: Fractal Design R4

 

Link to comment
https://linustechtips.com/topic/1070504-obs-stream-lags/#findComment-12626963
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×