News:

Retrode - Honey, fire up the emulator! My Retrode just arrived

Main Menu

Raspberry Pi Slowness Issue solved

Started by EvilDragon, 06/Sep/2015 11:07:17 PM

Previous topic - Next topic

EvilDragon

So, while working on the RetroPi-Setup, I finally found the reason for the slowness (50kb/s) when transferring games.

It's actually a common Raspberry Pi issue: When connecting a USB 1.1 device to the 2.0 hub of the Pi, there are packet drops... which result in the slow speed.

Forcing the Raspberry Pi to run in 1.1 mode fixes the slowness issue!
Of course, 2.0 devices will also run slower then (so USB Sticks, harddisks, etc.), but the Retrode runs full speed then.

To do that, add the following kernel parameter to the boot-script:

dwc_otg.speed=1

(Add that into /boot/cmdline.txt)

That's it :)

RazorX2014

could you be more specific? because when i wrote a script for using my retrode on my so i could play games off it directly i dont remember having any issues apart from it took a little longer to load the game up i also had it save to the raspberry pi then when you close the game it copied the save over to the retrode so the save on the cartridge was updated its been a while though.

EvilDragon

The Raspberry Pi has issues with Full Speed devices if running in High Speed Mode.
It does a lot of packet loss, therefore the transfer speed slows down to 50kB/s.

With SNES / MegaDrive games this is bearable, but with N64 or GBA games, larger games take more than 5 minutes to transfer.

The workaround for the Pi is forcing the USB to Full Speed.
It slows down USB Sticks, etc., but the Retrode transfer speed goes up to the usual 300kB/s (which is 6 times faster).

Matthias_H

Good job tracking that nasty issue down! Thanks, that should help a lot of people.
https://www.retrode.org

I no longer sell the Retrode. For sales inquiries, please contact our friends at DragonBox.

RazorX2014

yeah i only tried snes games good job