Parallax Abstraction
Member
Hey all. I've had a long-standing issue here and I'm at my wit's end trying to research a solution so I hope someone can help.
So my setup is as follows:
Main rig: i7 6700K @ 4.6Ghz), 16GB DDR4, 1080Ti, controls scenes and sources but does NOT do the streaming, sends to streaming rig via OBS-NDI, two displays (primary is 1440p 144Hz, secondary is 1080p 60Hz)
Streaming rig: Ryzen 1600, 8GB DDR4, R9 Fury, takes NDI output from main rig and encodes using x264 to Mixer, Fury just handles encoding for replay buffer
Stream config: Mixer FTL, 900p@60fps, 6000Kbps, fast preset. Server never goes into red CPU usage and never has encoding overloads.
Log file from main rig of most recent stream where I had this issue bad: https://obsproject.com/logs/-AUXM26kPFw0GR8b
This problem is not with NDI as it happens even if I stream directly off the main system. The issue is that when capturing PC games, I get very inconsistent frame rates on some of my sources and in some other games, the entire capture frame rate of OBS will tank well into. For example, I use an HD camcorder as my webcam and it is captured via a USB device. The camera outputs 60fps and when I'm playing say, a console game being captured via my HD 60 Pro, the frame rate of all my sources is a rock solid 60. When I start capturing PC games however (using Game Capture or Screen Capture), the frame rate of my camera source always drops below 60 and varies (it's still above 30 but well less than 60), even though OBS says the canvas is running at 60 and it's using less than 10% CPU. This can happen with everything from a big AAA release to a pixel art indie game.
Weirder still is with certain games (like for example, Anthem and also the newly released Pathologic 2 which is from the stream the log file references), the entire frame rate of OBS will tank and vary wildly from as little as 30 to the mid 50s but also sometimes hold 60 like it should. Anthem is a demanding game yes but Pathologic isn't and it's a Unity game, an engine that I regularly stream games in without issue.
What causes OBS to choke like this seems basically random and I can't figure out why. And I can't seem to be able to capture any PC games with it at all without things like my camera source's frame rate dropping. Even if my CPU isn't close to being fully utilized, this happens regardless and doesn't to other streamers I know. I don't know what could be the cause.
That said, I've thought of one potential fluke issue that could be the case. Recently, when trying to troubleshoot a weird issue with Wallpaper Engine (and yes, disabling it doesn't help with this issue and in fact, it existed before I started using it), I came across this from their FAQ. Essentially, what it says is that due to a still unacknowledged bug from NVIDIA with how it handles the hardware acceleration changes in Windows 10, random poor performance in GPU accelerated applications can occur if you're running one monitor at 144Hz and another at 60, as I do. Since the games run on the 144Hz monitor and OBS runs on the 60Hz monitor, it's possible this is the cause of the issue. I'm prepared to buy a cheap 24" 144Hz monitor as my secondary display to solve this issue (even though it would be a waste as I don't play games on that display) but I don't want to make that investment until I know it's going to work.
Has anyone else come across this weird problem and if so, do you know if there's reason to believe this is the problem and potential solution? I've been pulling my hair out on this for literally months without a concrete answer but I'm hoping someone from here has some more experience with this.
Thanks!
So my setup is as follows:
Main rig: i7 6700K @ 4.6Ghz), 16GB DDR4, 1080Ti, controls scenes and sources but does NOT do the streaming, sends to streaming rig via OBS-NDI, two displays (primary is 1440p 144Hz, secondary is 1080p 60Hz)
Streaming rig: Ryzen 1600, 8GB DDR4, R9 Fury, takes NDI output from main rig and encodes using x264 to Mixer, Fury just handles encoding for replay buffer
Stream config: Mixer FTL, 900p@60fps, 6000Kbps, fast preset. Server never goes into red CPU usage and never has encoding overloads.
Log file from main rig of most recent stream where I had this issue bad: https://obsproject.com/logs/-AUXM26kPFw0GR8b
This problem is not with NDI as it happens even if I stream directly off the main system. The issue is that when capturing PC games, I get very inconsistent frame rates on some of my sources and in some other games, the entire capture frame rate of OBS will tank well into. For example, I use an HD camcorder as my webcam and it is captured via a USB device. The camera outputs 60fps and when I'm playing say, a console game being captured via my HD 60 Pro, the frame rate of all my sources is a rock solid 60. When I start capturing PC games however (using Game Capture or Screen Capture), the frame rate of my camera source always drops below 60 and varies (it's still above 30 but well less than 60), even though OBS says the canvas is running at 60 and it's using less than 10% CPU. This can happen with everything from a big AAA release to a pixel art indie game.
Weirder still is with certain games (like for example, Anthem and also the newly released Pathologic 2 which is from the stream the log file references), the entire frame rate of OBS will tank and vary wildly from as little as 30 to the mid 50s but also sometimes hold 60 like it should. Anthem is a demanding game yes but Pathologic isn't and it's a Unity game, an engine that I regularly stream games in without issue.
What causes OBS to choke like this seems basically random and I can't figure out why. And I can't seem to be able to capture any PC games with it at all without things like my camera source's frame rate dropping. Even if my CPU isn't close to being fully utilized, this happens regardless and doesn't to other streamers I know. I don't know what could be the cause.
That said, I've thought of one potential fluke issue that could be the case. Recently, when trying to troubleshoot a weird issue with Wallpaper Engine (and yes, disabling it doesn't help with this issue and in fact, it existed before I started using it), I came across this from their FAQ. Essentially, what it says is that due to a still unacknowledged bug from NVIDIA with how it handles the hardware acceleration changes in Windows 10, random poor performance in GPU accelerated applications can occur if you're running one monitor at 144Hz and another at 60, as I do. Since the games run on the 144Hz monitor and OBS runs on the 60Hz monitor, it's possible this is the cause of the issue. I'm prepared to buy a cheap 24" 144Hz monitor as my secondary display to solve this issue (even though it would be a waste as I don't play games on that display) but I don't want to make that investment until I know it's going to work.
Has anyone else come across this weird problem and if so, do you know if there's reason to believe this is the problem and potential solution? I've been pulling my hair out on this for literally months without a concrete answer but I'm hoping someone from here has some more experience with this.
Thanks!