BionicClick
Member
Hello Everyone I am fairly new here.
I have been tweaking/testing/pulling my hair out for weeks... I have tried every x264 setting listed in as may combinations one can try in 8 weeks 80+ hours a day. I have built two dedicated stream PCs and moved from an 8 core to a 14 core just to find a resolution...all to boil down to realtime priority.. my question is why?
I am going to lay out a simple enough scenario. PC specs and x264 custom settings used. and ask why realtime priority for OBS fixed every bit of my encoder lag when priority high did not.
I started out with an i9-9900K 8 core running at 5.0ghz, now I have a 14 core running at 4.9ghz all cores.
I always run OBS as administrator too.
PC Specs:
--Intel 10940x
--ASUS ROG Rampage VI Extreme Omega
--G.SKILL 32GB (4 x 8GB) TridentZ DDR4 PC4-25600 3200MHz Model F4-3200C15Q-32GTZSW
--EVGA 2060 KO 6GB with the TU104 chip (from the 2080)
-- (two) Samsung (MZ-V7E500BW) 970 EVO SSD 500G
--be quiet! Dark Base PRO 900 Black Rev. 2, BGW15
--CORSAIR AXi Series, AX1200i, 1200 Watt, 80+ Platinum - Digital Power Supply
--(three) AVerMedia Live Gamer 4K - 4Kp60 HDR Capture Card, PCIe Gen2x4 (GC573)
------Panisonic Lumix G7 Camera ingest at 1080p@60
------Xbox One X or PS4 Pro ingest at 1080p@60
------GoPro Hero 5 Black ingest at 1080p@60
OBS Settings:
--Encoder->x264
--ingest all @ 1080-> base canvas and output resolution at 1080p 60fps
--no rescale under output
--bitrate->6000kbps
--profile->high
--preset->slow
--rate control->CBR
--tune->none
--keyframe->2
--65-75%cpu usage maximum
--render time->2.8/3.0s never higher
--OBS priority-> realtime
--x264 options -> b_adapt=2 trellis=2 direct-pred=spatial bframes=2 threads=24 level=4.2 aq-mode=3 rc_lookahead=60 me_range=24 analyse=all partitions=all
^^ you can see I am running better than slow preset with custom settings and it works perfectly now.
no matter what I did, no matter what PC i had... I always dropped encoder frames as encoder lag. now I set the OBS program priority to realtime and BOOM, no more lag, not even one single dropped frame EVER. why? sample video here under my test account https://www.twitch.tv/videos/605642576
I streamlined the OS, followed all guides and optimized everything. There is almost nothing running on this PC except OBS, it is a dedicated encode PC for xbox and two cameras.
I have been tweaking/testing/pulling my hair out for weeks... I have tried every x264 setting listed in as may combinations one can try in 8 weeks 80+ hours a day. I have built two dedicated stream PCs and moved from an 8 core to a 14 core just to find a resolution...all to boil down to realtime priority.. my question is why?
I am going to lay out a simple enough scenario. PC specs and x264 custom settings used. and ask why realtime priority for OBS fixed every bit of my encoder lag when priority high did not.
I started out with an i9-9900K 8 core running at 5.0ghz, now I have a 14 core running at 4.9ghz all cores.
I always run OBS as administrator too.
PC Specs:
--Intel 10940x
--ASUS ROG Rampage VI Extreme Omega
--G.SKILL 32GB (4 x 8GB) TridentZ DDR4 PC4-25600 3200MHz Model F4-3200C15Q-32GTZSW
--EVGA 2060 KO 6GB with the TU104 chip (from the 2080)
-- (two) Samsung (MZ-V7E500BW) 970 EVO SSD 500G
--be quiet! Dark Base PRO 900 Black Rev. 2, BGW15
--CORSAIR AXi Series, AX1200i, 1200 Watt, 80+ Platinum - Digital Power Supply
--(three) AVerMedia Live Gamer 4K - 4Kp60 HDR Capture Card, PCIe Gen2x4 (GC573)
------Panisonic Lumix G7 Camera ingest at 1080p@60
------Xbox One X or PS4 Pro ingest at 1080p@60
------GoPro Hero 5 Black ingest at 1080p@60
OBS Settings:
--Encoder->x264
--ingest all @ 1080-> base canvas and output resolution at 1080p 60fps
--no rescale under output
--bitrate->6000kbps
--profile->high
--preset->slow
--rate control->CBR
--tune->none
--keyframe->2
--65-75%cpu usage maximum
--render time->2.8/3.0s never higher
--OBS priority-> realtime
--x264 options -> b_adapt=2 trellis=2 direct-pred=spatial bframes=2 threads=24 level=4.2 aq-mode=3 rc_lookahead=60 me_range=24 analyse=all partitions=all
^^ you can see I am running better than slow preset with custom settings and it works perfectly now.
no matter what I did, no matter what PC i had... I always dropped encoder frames as encoder lag. now I set the OBS program priority to realtime and BOOM, no more lag, not even one single dropped frame EVER. why? sample video here under my test account https://www.twitch.tv/videos/605642576
I streamlined the OS, followed all guides and optimized everything. There is almost nothing running on this PC except OBS, it is a dedicated encode PC for xbox and two cameras.