Question / Help Migrating from Xubuntu to Linux Mint notes, jitter

ZeroLabs

Member
It's been a while since I've posted here. Did some poking around for similar info first but didn't stumble across any. Hence the new thread.

For a very long time I had been 100% sold on Xubuntu as my Linux OS of choice. Used the LTS versions on all my production machines. UNTIL 18.04 came out and Canonical decided to break a whole bunch of things with zero remorse and, from what I can tell, no intention of ever fixing them. I had all my OBS installations working flawlessly. Then I was blind sided and started looking for a new favorite. I am now in the middle of the painful process of migrating all my computers to Mint 18.3, 64 bit Mate edition. So many things just work so much better I wish I had done it sooner.

For the most part OBS worked well too but I ran into one small problem that I'd like to share my solution for. Jitter. When streaming or recording, video would freeze momentarily over and over as if it was buffering but couldn't quite keep up. I have five (sometimes six) USB V4L2 video capture devices attached. Some connect to USB 2.0 ports, others to 3.0. All suffered from the same problem.

On previous installations my solution was to add a file called uvcvideo.conf to /etc/modprobe.d with one line of code
Code:
options uvcvideo quirks=128
In Linux Mint, 128 did not work well. Something else I stumbled across, however, did work.
Code:
options uvcvideo quirks=640
I confess, I'm just a hack. I have no idea why increasing this value had such a tremendous impact on system performance. It was a total shot in the dark. I thought it would have made it worse. All I can say is it worked. All capture devices are up. No jitter. It even decreased the time it takes for OBS to launch with all those V4L2 devices attached. It goes without saying I think that emulated modes also help reduce USB bandwidth greatly and makes for overall snappy performance.

I hope this information helps someone. Thanks again for such a great video streaming software project. OBS devs are the best.

Merry Christmas,
Z
 
Top