ov511 based camera + buffer overrun
Posted: Sat Apr 03, 2004 3:12 pm
Hi
I get the following in /var/log/messages:
Apr 5 00:49:10 shark zmc-d0[21195]: INF [Study: 86000 - Capturing at 2.99 fps]
Apr 5 00:49:10 shark zmc-d0[21195]: WAR [Buffer overrun at index 0 ]
Apr 5 00:49:44 shark zmc-d0[21195]: WAR [Buffer overrun at index 0 ]
...
Apr 5 00:50:17 shark zmc-d0[21195]: WAR [Buffer overrun at index 0 ]
Apr 5 00:50:51 shark zmc-d0[21195]: WAR [Buffer overrun at index 0 ]
The buffer overrun occurs at various index values. In this instance it was at 0.
There are no images produced the images directory, nor any events in the events directory.
I have verified that the camera works in XawTV.
I had to set 'Whether to allow errors in setting video config to be fatal' to 'no' as this was causing a seg. fault in zmc when it tries VIDIOCSWIN ioctl. Having this set to 'yes' caused the following messages would appear in the log:
Apr 5 01:08:27 shark zma-m1[13644]: ERR [Shared memory not initialised by capture daemon]
Apr 4 11:08:27 shark kernel: drivers/usb/media/ov511.c: Requested dimensions are too small
Apr 5 01:08:27 shark zmc-d0[13645]: ERR [Failed to set window attributes: Invalid argument]
Any help would be appreciated.
Luke
I get the following in /var/log/messages:
Apr 5 00:49:10 shark zmc-d0[21195]: INF [Study: 86000 - Capturing at 2.99 fps]
Apr 5 00:49:10 shark zmc-d0[21195]: WAR [Buffer overrun at index 0 ]
Apr 5 00:49:44 shark zmc-d0[21195]: WAR [Buffer overrun at index 0 ]
...
Apr 5 00:50:17 shark zmc-d0[21195]: WAR [Buffer overrun at index 0 ]
Apr 5 00:50:51 shark zmc-d0[21195]: WAR [Buffer overrun at index 0 ]
The buffer overrun occurs at various index values. In this instance it was at 0.
There are no images produced the images directory, nor any events in the events directory.
I have verified that the camera works in XawTV.
I had to set 'Whether to allow errors in setting video config to be fatal' to 'no' as this was causing a seg. fault in zmc when it tries VIDIOCSWIN ioctl. Having this set to 'yes' caused the following messages would appear in the log:
Apr 5 01:08:27 shark zma-m1[13644]: ERR [Shared memory not initialised by capture daemon]
Apr 4 11:08:27 shark kernel: drivers/usb/media/ov511.c: Requested dimensions are too small
Apr 5 01:08:27 shark zmc-d0[13645]: ERR [Failed to set window attributes: Invalid argument]
Any help would be appreciated.
Luke