Video playback is jerky (sometime after beta0)

I recently upgraded from 17.0~git20160823.0914-beta1-0trusty to 17.0~git20161028.1906-beta5-0trusty and now video playback is jerky / stutters… unless there is any sort of on-screen display. It looks like frames are being dropped at regular intervals. But as soon as you do anything that requires an OSD, the video plays perfectly. Sounds is not affected, and plays fine even while video playback is messed up.

Unfortunately this makes it impossible to get a “useful” debug log, because when I go to Settings and enable debug logging, I get the debug on-screen display in the top-left corner and the video plays back just fine: the OSD shows a frame rate of ~60 FPS, and a CPU utilization of around 35% on CPU0 and CPU1, and around 60% for CPU-KODI.

I switched my PPA from unstable to nightly and installed 2:17.0~git20161120.0200-a37127e-0trusty, but sadly the problem still persists.

I can’t find any builds of beta1-beta4 to help determine when this regression occurred.

I’m happy to provide the requisite debug logs to help diagnose this problem, but like I said, because of the debug OSD, I can’t get a log during the time when this problem occurs. Any suggestions?