Application hang when using NDI and only a single source

binbashtv

New Member
I am using OBS to send NDI video and audio across my gigabit ethernet network. Eventually OBS will hang, but will continue to send audio and only the last frame of the video before it hangs. The logs don't really show anything and no crash file is generated. Once the app hangs, I have to kill it with task manager and start it again to get the video working. I only have a single scene with a single monitor capture. I've tested sending directly with NDI Tools as well as XSplit and neither of them have any issues. Any help is appreciated.

Version: 29.1.2
OBS-NDI version: 4.11.1

Log file: https://obsproject.com/logs/Jrr8ArcntiT0ZUaO

Attached the AppHang output from Windows 11.
 

Attachments

  • AppHang.txt
    986 bytes · Views: 3
  • 2023-06-04 18-45-32.txt
    15.5 KB · Views: 4

R1CH

Forum Admin
Developer
The freeze seems to be happening somewhere inside your NVIDIA drivers. I also see a lot of AMD video drivers loaded yet you're also using NVIDIA. Since you have nothing connected to the AMD GPU, I suggest removing it or disabling it in your BIOS if it's an integrated GPU and uninstalling any AMD GPU driver packages. Also try disabling Hardware-Accelerated GPU Scheduling as this can sometimes cause freezing like you describe.
 

binbashtv

New Member
Ah yeah, it's a CPU based GPU. I originally wanted to use the AMD GPU for OBS/NDI and reserve the Nvidia GPU for gaming, but I was not able to make that work since it seems like NDI just grabs GPU 0 and doesn't take into account the encoder setting unless you're actually streaming. I'll give these a shot and see if the issue resolves. Thank you.
 

binbashtv

New Member
For anybody else having this issue, I decided to try the options one-by-one to see if I could find the exact problem and the first one that I tried, disabling Hardware-Accelerated GPU Scheduling, worked. I didn't even have to go as far as disabling the AMD GPU in the BIOS. OBS has been running for almost 24 hours now with no hangs and video is still being sent via NDI. Thanks R1CH!
 
Top