Dualan Controls Download

Blog, Picture

Why every frame arrives in order

Two PCs never run at exactly the same speed. How Dualan keeps OBS from doubling or skipping frames anyway.

Every PC has its own clock, and no two run at exactly the same speed. The difference is tiny, a few parts in a million, but at 60 frames a second it adds up. If the gaming PC sends frames on its clock and OBS shows them on its own, sooner or later OBS gets one frame too many (and shows one twice) or one too few (and skips one). That's the occasional stutter many network capture tools have.

Following OBS's clock

Dualan does it the other way round. OBS tells the gaming PC how fast its clock runs compared to the gaming PC's, and the gaming PC adjusts the moment it takes each frame to match. On Home this shows as "frame clock locked to OBS". From then on the two PCs agree on when a frame happens.

That only works if both run at the same frame rate, which is why the setup asks you to set Dualan's frame rate to OBS's. Home warns when they differ and has a button to fix it.

Showing frames by their timestamp

Each frame carries the moment it was taken. On the streaming PC, the Dualan source doesn't just show whatever arrived last; it gives every OBS frame the next frame in line, with a small delay so a frame that comes a little late still makes it in time. That's the Smooth frame pacing, on by default. The alternative, Newest frame, has a little less delay but can repeat and skip frames.

Measured

Dualan can send a moving test pattern with the frame number drawn into every frame. Record it in OBS, and the included tool dualan-analyze reads the number of every recorded frame. On the tested setup, 50,416 of 50,420 frames in a 14-minute recording were exactly the next one. Check your setup shows how to measure your own.