Author Topic: Raspberry Pi Slowness Issue solved  (Read 3832 times)

Offline EvilDragon

  • Junior Retrode
  • **
  • Posts: 30
  • Karma: +4/-0
Raspberry Pi Slowness Issue solved
« on: 06/Sep/2015 11:07:17 PM »
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 :)

Offline RazorX2014

  • Junior Retrode
  • **
  • Posts: 90
  • Karma: +1/-0
Re: Raspberry Pi Slowness Issue solved
« Reply #1 on: 07/Sep/2015 12:42:45 AM »
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.

Offline EvilDragon

  • Junior Retrode
  • **
  • Posts: 30
  • Karma: +4/-0
Re: Raspberry Pi Slowness Issue solved
« Reply #2 on: 07/Sep/2015 01:59:27 AM »
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).

Offline Matthias_H

  • Retrode Forum Techie
  • A Retrode Hero
  • *****
  • Posts: 552
  • Karma: +21/-0
Re: Raspberry Pi Slowness Issue solved
« Reply #3 on: 08/Sep/2015 07:16:45 AM »
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.

Offline RazorX2014

  • Junior Retrode
  • **
  • Posts: 90
  • Karma: +1/-0
Re: Raspberry Pi Slowness Issue solved
« Reply #4 on: 08/Sep/2015 05:11:15 PM »
yeah i only tried snes games good job