Uvc camera fails capturing video stream on ubuntu core when resolution > 320x240


Hello everyone.

I am having some troubles getting a stream from my Logitech USB camera when resolution is over 320x240.

Here is what I did:

  • I have installed Ubuntu core v15.09, kernel version 4.2.0.
  • I have downloaded and compiled mjpg-streamer on my Ubuntu.
  • I have connected the USB Camera: Logitech C905 (2MP).

The mjpg-streamer opens a web port 8080, which enables me to connect with the browser and see a video stream. When the resolution is up to 320x240 everything works. But when I am trying a bigger resolution, the stream does not show up.

Here is the command for mjpg-streamer for 640x480:
./mjpg_streamer -i “input_uvc.so -d /dev/video0 -y -n -r 640x480” -o “output_http.so -w ./www” &

I have enabled error logs
sudo echo 0xffff > /sys/module/uvcvideo/parameters/trace

When the resolution is 320x240, each frame statistics is shown in the dmesg. But when using a bigger resolution, dmesg shows two types of errors:
uvcvideo: Marking buffer as bad (error bit set).
uvcvideo: USB isochronous frame lost (-18).



you are using an older release which had an issue with USB throughput. Please note that 15.09 was the ‘last’ Ubuntu based release that we did, after this release we moved to Debian based release, you will find more recent releases here:


15.11 is the release when the USB issue you are facing was fixed. Any more recent release should work fine.