Kari Brown created a new topic ' Poor FPS when streaming' in the forum. 6 years ago

Hi,

So I'm getting less than ideal FPS when streaming video from my CCD. Here's the setup:

QHY5L-II CCD mono connected to a Raspberry Pi 3 running a fairly recent INDI from GitHub (less than a week old).
RPi3 is configured as a WiFi hotspot using its internal WiFi. I'm getting about 49Mbit/s with this as indicated using iperf.
On my laptop I run kstars-bleeding and latest INDI from GitHub.

In the INDI Control Panel I've set the following for the QHY:
Main Control:
- USB Speed: 2
- USB Traffic: 0
Streaming:
- Expose Duration(s): 0.001

Here's are the FPS I'm getting with various resolutions when I enable streaming plus some vital signs of what's happening on the RPi according to xosview:
1280x960: 7.3FPS
- CPU load: 59-62%
- RAM usage: 435M
- Network utilization: 5.4-5.6Mbytes/sec
- No IO waiting
640x480: 7.4FPS
- CPU load: 57-59%
- RAM usage: 425M
- Network utilization: 2.9-3.3Mbytes/sec
- No IO waiting
320x240: 7.4FPS
- CPU load: 39-45%
- RAM usage: 425M
- Network utilization: 0.56-1.1Mbytes/sec
- No IO waiting

I seem to get pretty much the same FPS no matter what I do so I'm not sure what the bottleneck is? The only thing that seems to get maxed out (=same as iperf was indicating) is the network utilization at the maximum resolution but the FPS does not change. In the indiserver log running on the RPi3 I get the following line each time I start streaming:

2018-07-30T12:39:29: Driver indi_qhy_ccd: libusb: error [submit_bulk_transfer] submiturb failed error -1 errno=121

What does this mean and is there anything I can do about it?


I know my setup is not ideal for streaming but I'd like to get the most out of what I have. Feels like it should be able to do better as for example running https://www.openastroproject.org/oacapture/oaCapture on the RPi3 I'm getting the following FPS:
1280x960: 9-11FPS
800x600: 26FPS
640x480: 43FPS
320x240: 97FPS

Any ideas?

Read More...