Archive
What we measured, dated, and left as it was written.
Finished soak runs and investigations on Rytmi, Karhu TV's software playout engine, on the hardware it drives, and on Karhu Player. Each entry is written once, for an engineer who arrived with a specific problem and wants to know what was actually measured, on what, and when.
How the archive works
- Every figure is dated. Each number carries the date it was measured, or is marked as a floor (≥) because it can only grow. Nothing here is a live reading: the home page carries current figures whenever a soak is running, and this archive carries what was true on the day.
- Nothing is changed silently. An entry is not rewritten after it is published. When something in one turns out to be wrong, a dated addendum goes at the end saying what was wrong, how we found out and what replaces it. The original stays readable, so you can see what we believed and when.
- The bad days are in it. Runs that failed their own criteria, figures we retracted and results that came out inconclusive are published the same way as the ones that passed. A passing number means little from someone who only shows passing numbers.
- Each entry ends with what it did not settle. What remains open is part of the record, stated with the evidence that would settle it. We do not give dates for work that has not been done.
Entries
Newest first, by the date each was written.
-
Line-accurate SDI output: what the card does, and what the computer has to do
We are often told that line-accurate HD-SDI playout needs a server with two processors. On SDI the output card clocks out every line; the computer’s job is to have the right frame ready in time. What our two single-processor desktops read on 12 November 2026 shows how much room that leaves.
-
Back where the schedule is: a restart that cuts in at the next keyframe, and the case our test missed
When our playout engine stops in the middle of a programme, by a crash or by our own hand, it comes back where the schedule says it should be and cuts in at the file’s next keyframe. On 9 November 2026 we tested it on six kinds of source without the SDI card. Writing this entry, we found that twelve of the 36 cases the test had passed hid a fault: a restart landing just after a short item began skipped it, aired black in its place, and left no record of it.
Addendum 10 Nov 2026
-
A video player on GNOME drops a frame every twelve seconds, and it is not the player: the desktop’s garbage collector traced to a missed vblank, 3 November 2026
Karhu Player’s log said a dropped frame every ten to fifteen seconds under GNOME. We traced the screen’s page flips, the scheduler and the compositor’s own call stacks on one clock: in twelve of thirteen missed refreshes the desktop’s compositor was running JavaScript across its own deadline, mostly a 14 to 24 ms garbage collection from a timer in gjs. A faster machine paid the same. What the player does about it, and does not, is the design question this answers.
-
Picture against sound, measured on the screen: what a camera and a microphone found, 24 October 2026
We measured where Karhu Player’s sound lands against its picture where a viewer meets them, on the screen and at the earpiece. It found a fault on Windows that none of our counters showed. After the fixes, on 24 October 2026, the sound arrived 9.9 ms after its picture under Ubuntu and 21.5 ms after under Windows.
Addendum 10 Nov 2026
-
Why we build our own FFmpeg: a ready-made “LGPL” build that carried GPL code, 25 October 2026
Karhu Player carries FFmpeg’s libraries beside a program whose source we do not publish, which their licence allows on terms. Checking a ready-made Windows build labelled LGPL before shipping it, we found GPL-licensed code inside it. We now build FFmpeg ourselves for both systems, and a test refuses anything not on our list.
-
Moving a frozen frame is not removing it: a fix we took out, 15 October 2026
We built a rule to stop a one-frame freeze in our playout engine. Two of our own reviews found that it only moved the freeze, and in cases it was never meant for it put frames of emergency material between programmes. We took it out and measured that nothing else changed.
Addendum 10 Nov 2026
-
One line held a lock too long: a decoder deadlock, 13 October 2026
A review of our own code found that a file failing to open at a programme change, while a playlist load was waiting to write, would stop a channel's decoder for good. It had been in our first unit's builds for eleven days. We proved it with a deliberately slow open, fixed it with one line, and put the fix on air as a restart of its own.
Addendum 10 Nov 2026
-
The card refused our audio for thirteen minutes in every sixty-eight: 16 September 2026
New counters on the second unit lit up within three minutes: after certain clip changes the engine offered the DeckLink card more audio than a frame holds, and the card refused the surplus. A prediction committed an hour ahead pinned the cycle to the schedule, one clip giving two different shortfalls pinned the cause, a capture on the wire measured the gaps it left, and a change to when the engine rebuilds its audio sizing cleared it on both units.
-
Late wakes near 400 microseconds, August 2026: we found where Linux had put the timer, not what made them late
Two late wakes failed our fourteen-day soak in August 2026. They were the top of 109 excursions near 413 µs that recurred with the content and fell only in items handled one way on their way to the output. Kernel traces found where Linux puts the wake timer of a thread on an isolated CPU, but not what made the wake late.
Addendum 10 Nov 2026
-
Genlocking a DeckLink Duo 2 at 1080p50, and pulling the reference: 27 September 2026
We froze this test before the sync generator arrived. A 1080i50 reference was seen but not locked, 720p50 locked on both units, and the generator was measured against TAI. While locked, the engine discarded surplus frames nearly four times as often as when free-running. When we pulled the reference, its loss alarm reached the operator's phone, and nothing was watching the SDI output itself.
Addendum 29 Oct 2026
-
Fourteen days of SDI playout, 61 million frames produced: the August 2026 soak, including the part that failed
Between 6 and 20 August 2026 the first unit ran one unbroken 339-hour playout with no late frames on the SDI output, and still failed the criterion we had frozen before it started, because twice the engine's clock thread woke more than half a millisecond late.
Addendum 10 Nov 2026