U3V camera acquistion timeouts

Hi!

I am currently trying to acquire images from a Jai Spark 12401M camera in CVB. I usually get one image and that’s it - after that G2Wait will only return timeouts. I am using 13.04.000 on Ubuntu 18.04 in case that matters. CameraSuite license should be active as well (first image shows no watermark). Is this broken in 13.4??

Hi @taserface,

You seem to be facing a problem that is related to the USBFS memory limit of Linux.
This is per default limited to 16MB thus also limiting the number of buffers you can lock in the driver.

A detailed description on this and some more background information can be found here:

Understanding USBFS on Linux

TL;DR:

Open the /etc/default/grub file in any text editor. Find and replace:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

with:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.usbfs_memory_mb=1000"

And update Grub:

$ sudo update-grub

Dont forget to restart your system.

Cheers
Chris

2 Likes

That was a life-saver! Thanks a lot - wouldn’t have found this in ages…

1 Like