devzero.net
Posts: 4
Joined: Tue Nov 12, 2019 6:57 am

Severe USB performance issues with VL805 firmware 0137ab

Tue Nov 12, 2019 7:02 am

After using rpi-eeprom-update to go from firmware 013701 to 0137ab, my USB throughput went from around 360MB/sec down to about 10 MB/sec - rendering the system useless. Using vl805 to go back to 013701 immediately resolved the issue. Thanks for leaving that version of the eeprom in the beta directory (found in /lib/firmware/raspberrypi/bootloader/beta)!

I suggest you perform some more testing on 0137ab.

I'm happy to provide system information if required.

thx
stefan
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 25002
Joined: Sat Jul 30, 2011 7:41 pm

Re: Severe USB performance issues with VL805 firmware 0137ab

Tue Nov 12, 2019 7:54 am

It's had lots of testing, but sounds like you have an edge case with problems. Need to know all systems information, including what you have plugged in that is showing the problems.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I own the world’s worst thesaurus. Not only is it awful, it’s awful."

devzero.net
Posts: 4
Joined: Tue Nov 12, 2019 6:57 am

Re: Severe USB performance issues with VL805 firmware 0137ab

Tue Nov 12, 2019 9:53 am

Thanks for the quick response. I've attached a tarball with a few things I collected on the system.
If you need more, please let me know how to collect.

The disks I'm using are two Crucial MX500 CT2000MX500 housed in a little Icy Box RAID chassis.
The chassis is configured to expose both SSDs as individual disks. It's connected with a single USB 3.0 cable,
so both disks go over the same link.

What else do you need ?

thx
stefan
Attachments
system.info.tar.gz
(6.26 KiB) Downloaded 18 times

User avatar
Gavinmc42
Posts: 4297
Joined: Wed Aug 28, 2013 3:31 am

Re: Severe USB performance issues with VL805 firmware 0137ab

Tue Nov 12, 2019 10:41 am

I have Crucial 240GB SSD, had lots of trouble.
Put in the new VL805 eeprom code, still had trouble, but it worked on a Pi3 even in USB boot mode.
Plugged it into a USB2 port of the Pi4 and everything is fine.
Been working all day.

I am guessing it is the USB3 to Sata chip in my case and the USB3 level driver?

lsblk -

Code: Select all

Bus 001 Device 003: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
It would be handy if there was a list of known working chips until the bugs are worked out.
The USB bootloader guy will want to know?
Hmm new T shirt, "I helped the USB bootloader guy"?
Is there USB3 test /debug software.
https://www.usb.org/usb32tools

https://www.passmark.com/products/usb3loopback/

Will VL805 code then get pushed back upstream into the kernel drivers?
Or can it all be done in the eeprom?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

spudgunman
Posts: 8
Joined: Mon May 25, 2015 7:59 am

Re: Severe USB performance issues with VL805 firmware 0137ab

Tue Nov 12, 2019 5:53 pm

I can offer the same experience, very poor performance on newest firmware rolled back and things are working as expected.
if I plug in a mouse or a webcam to the USB3 I see performance issues (not using storage on USB personally)


CURRENT: 00013701<-works as expected
LATEST: 000137ab <-very bad USB performance (i experience the whole Pi locking up)


rollback command

Code: Select all

sudo vl805 -w /lib/firmware/raspberrypi/bootloader/beta/vl805-00013701.bin

User avatar
Gavinmc42
Posts: 4297
Joined: Wed Aug 28, 2013 3:31 am

Re: Severe USB performance issues with VL805 firmware 0137ab

Wed Nov 13, 2019 1:57 am

On boot with the USB3 dock plugged into a USB3 port it locks up on boot at the searching for local drive section in the boot sequence in Gentoo64.
Unplug and it is happy to continue, so not a lockup, more a halt.
Does not even pause when booted in a USB2 port.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

devzero.net
Posts: 4
Joined: Tue Nov 12, 2019 6:57 am

Re: Severe USB performance issues with VL805 firmware 0137ab

Mon Nov 18, 2019 7:50 pm

Hi Jamesh - any news?
jamesh wrote:
Tue Nov 12, 2019 7:54 am
Need to know all systems information, including what you have plugged in that is showing the problems.
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.

pfavr
Posts: 6
Joined: Sun Mar 06, 2016 7:06 am

Re: Severe USB performance issues with VL805 firmware 0137ab

Tue Nov 19, 2019 6:46 pm

Hi,

I have four Raspberry Pi 4 with Logitech BRIO 4K USB3 webcam attached.

They used to record 4K mjpeg streams using ffmpeg (to a file server) in full 3840x2160 resolution at 30 fps.

Using VL805 FW version: 000137ab the webcams were only able to do 1920x1080 resolution.

After downgrade using:

Code: Select all

sudo vl805 -w /lib/firmware/raspberrypi/bootloader/beta/vl805-00013701.bin

4K worked again :D 8-) :roll:

Best regards,

Peter

User avatar
Serveurperso
Posts: 25
Joined: Tue May 21, 2019 1:30 pm
Contact: Website

Re: Severe USB performance issues with VL805 firmware 0137ab

Mon Dec 09, 2019 7:26 pm

The last vl805-000137ab.bin version broke my USB low latency video capture device. When I rollback with :

rpi-eeprom-update -u /lib/firmware/raspberrypi/bootloader/critical/vl805-00013701.bin

and reboot, it work !
Make your own raspberry robot, control it over the internet in FPV mode with super low latency and securely share access on it to your friends with Vigibot.com! You are welcome to test our robots now!
https://www.vigibot.com (100% free, no ads)

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2215
Joined: Thu Jul 11, 2013 2:37 pm

Re: Severe USB performance issues with VL805 firmware 0137ab

Mon Dec 09, 2019 9:13 pm

Please try the steps listed here in the main VLI firmware discussion thread:

https://www.raspberrypi.org/forums/view ... 0#p1578370
Rockets are loud.
https://astro-pi.org

Return to “Troubleshooting”