Page 1 of 1

USB errors / RX buffer overrun

Posted: Sun Jan 20, 2019 4:13 pm
by OskarM
My PC is 4x i5-3570 CPU @ 3.40GHz, 16GB RAM, SSD drive, the USB3.0 is PCMCIA card (Dynamode) based on "NEC uPD720200 USB 3.0 Host Controller" - from what I could establish.
Even at moderate (2.8Mbps) samplerates I get pretty many lines of errors like below plus irregular overruns:
[DEBUG @ host/libraries/libbladeRF/src/backend/usb/libusb.c:1407] Non-blocking buffer submission requested, but no transfers are currently available.
[DEBUG @ host/libraries/libbladeRF/src/backend/usb/libusb.c:1407] Non-blocking buffer submission requested, but no transfers are currently available.
[DEBUG @ host/libraries/libbladeRF/src/backend/usb/libusb.c:1407] Non-blocking buffer submission requested, but no transfers are currently available.
[DEBUG @ host/libraries/libbladeRF/src/streaming/sync_worker.c:100] RX overrun @ buffer 9
bladeRF is seen as Superspeed in lsusb.
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 3
Lowest fully-functional device speed is SuperSpeed (5Gbps)
bU1DevExitLat 0 micro seconds
bU2DevExitLat 0 micro seconds
Should I worry about that and is there something I could do with that? I ran volk_profile and volk_gnsssdr_profile - but haven't been doing any other "speed tests" / optimisation. What next to check if this is really a problem?

thanks

Re: USB errors / RX buffer overrun

Posted: Wed Jan 23, 2019 8:06 pm
by nickrobin
I have also faced the same problem on my Windows 7 system with this CEF browser. It may be the Windows error. So, I firstly updated the system, but it was of no benefit. I have searched the Internet a lot and learned about Windows update error code 8007000e . I think it is the same problem that we are facing.

Re: USB errors / RX buffer overrun

Posted: Thu Jan 24, 2019 12:24 pm
by OskarM
I am on Ubuntu. I will play with rxbuffers lenght/size and will see if this makes any difference. I have seen someone having issues with bladeRF USB 3.0 cable so I'll try also the other I have.
b.r.

Re: USB errors / RX buffer overrun

Posted: Thu Jan 24, 2019 1:27 pm
by OskarM
"...but no transfers are currently available." - Get more transfers, duh! :lol: :lol:

transfers=<count> Number of in-flight sample buffer transfers. Defaults to one half of the 'buffers' count.

I have increased the number of buffers to 32 and transfers to 16 (was 16/8) and it seems to be the solution. At least for some simplified block diagrams in gnuradio.
b.r.