USB errors / RX buffer overrun

Having issues with the site, hardware, source code, or any other issues?

Moderator: robert.ghilduta

Post Reply
OskarM
Posts: 19
Joined: Sun Dec 09, 2018 3:02 pm

USB errors / RX buffer overrun

Post by OskarM » Sun Jan 20, 2019 4:13 pm

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

nickrobin
Posts: 1
Joined: Wed Jan 23, 2019 7:54 pm

Re: USB errors / RX buffer overrun

Post by nickrobin » Wed Jan 23, 2019 8:06 pm

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.

OskarM
Posts: 19
Joined: Sun Dec 09, 2018 3:02 pm

Re: USB errors / RX buffer overrun

Post by OskarM » Thu Jan 24, 2019 12:24 pm

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.

OskarM
Posts: 19
Joined: Sun Dec 09, 2018 3:02 pm

Re: USB errors / RX buffer overrun

Post by OskarM » Thu Jan 24, 2019 1:27 pm

"...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.

Post Reply