Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Need help running roms off a thumbdrive
- This topic has 9 replies, 5 voices, and was last updated 8 years, 8 months ago by meneerjansen.
-
AuthorPosts
-
03/10/2016 at 04:02 #119808nuggParticipant
Sorry if this has already been covered, but I couldn’t find the answers I was searching for. I have a 128 gig thumbdrive I planned on using to stores roms. When I was running tests on the thumbstick at the command prompt it would show up then not show up. It was acting as if the PI couldnt handle it.
I followed this tutorial:
http://mardell.me/blog/how-to-load-roms-from-a-usb-drive-on-retropie/
I wasn’t sure if maybe it was the size of the drive that’s a problem, or possibly an update made it not work.
03/10/2016 at 14:24 #119834meneerjansenParticipantFirst thing to make absolutely sure it that your Pi is not under powered. Very strange things happen if the peripherals that are connected to your Pi do not get enough power. Use a powered USB hub and make sure your Pi is connected w/ a 5 Volt 2 Ampère adapter.
Then check if Linux “sees” the USB disk w/ the command:
df -h
(meaning: disk free in human readable format, i.e. GB, MB instead of just bytes). Linux can read almost any file system format: ntfs, ext2/3/4, hfs, fat, fat32, etc. etc. So the Pi is probably able to “handle” it.Succes!
03/12/2016 at 03:48 #120043nuggParticipantThanks! I’ll try it and see.
03/12/2016 at 04:52 #120045InsecureSpikeParticipantbetter to be in ext4, tho
03/12/2016 at 08:10 #120051shoothereParticipantTo quickly add a question to this thread:
I use my USB3 Stick formatted as FAT32 and I find the performance to be rather poor (1.5mbyte per second) as opposed to the internal SD (8 to 10mbyte per second) when transferring files.
I could imagine it being a BIT slower but even when reading games I notice that, for example, PS1 titles just take that little longer to load (the transitions in Symphony of the Night being most notable).
Is it because it is formatted as FAT32 and would formatting it as ext4 work better?
Am I missing something?03/12/2016 at 12:56 #120086meneerjansenParticipant[quote=120051]To quickly add a question to this thread:
I use my USB3 Stick formatted as FAT32 and I find the performance to be rather poor (1.5mbyte per second) as opposed to the internal SD (8 to 10mbyte per second) when transferring files.
I could imagine it being a BIT slower but even when reading games I notice that, for example, PS1 titles just take that little longer to load (the transitions in Symphony of the Night being most notable).
Is it because it is formatted as FAT32 and would formatting it as ext4 work better?
Am I missing something?[/quote]
I’m no hardware or file system expert, but I don’t think formatting your drive to another file system would greatly improve speed. The thumbdrive might be of another “class” than the SD card you have (may very old USB thumbsticks be compared to class 2 SD cards?). Power might be the issue too. I can hardly transfer files via WiFi to my Pi but I know that the dongle is not thát bad. Also, everybody always advises to use a powered USB hub when connecting peripherals. That’s not for nothing I think…03/12/2016 at 13:05 #120088shoothereParticipantAll your points are valid, I did not expect ext4 to make a big difference but thought I’d ask.
I wouldn’t expect the USB power to be a problem either but would love some feedback if that is the case.
03/12/2016 at 14:32 #120101joyrider3774Participanti’m not certain if it’s valid for usb thumbdrives but there is a setting that you can place in config.txt to give the usb ports their maximum current (1200 instead of 600 i think it was) the setting is the following : max_usb_current=1
i had some problems with harddisk (not thumbdrives) that did not get enough power to boot up or stay booted up that setting “can” help. Also a good power supply is especially needed.
on side note i’m currently using my old ps3 phat 80 drive in an enclosure with my pi and that setting is not needed with this drive it was with 2 other drives i tried.
not sure if it would make a diffrence though but you could try it once.
Also watch out if you overclock and enable that setting it might be your pi becomes unstable while it was not before without that setting. Have read some issues about this but could be it’s a powering problem as well then.
03/12/2016 at 15:33 #120105shoothereParticipantI am not thinking of overclocking. I like to work within the boundaries of the “Vanilla Pi3” but the max_usb_current=1 will not void warranty right?
The USB stick works as one would expect, it mounts and everything it is just very slow (currently copying a PSX .pbp file at 1.8mbyte per second) while I am sure the internal SD could hit 8 to 10.
I am just curious what causes this. I would expect a Sandisk USB3 stick to not be the bottleneck and that the max USB2 throughput would, if anything, be the culprit.
03/12/2016 at 15:46 #120107meneerjansenParticipant[quote=120101]i’m not certain if it’s valid for usb thumbdrives but there is a setting that you can place in config.txt to give the usb ports their maximum current (1200 instead of 600 i think it was) the setting is the following : max_usb_current=1
i had some problems with harddisk (not thumbdrives) that did not get enough power to boot up or stay booted up that setting “can” help. Also a good power supply is especially needed.
on side note i’m currently using my old ps3 phat 80 drive in an enclosure with my pi and that setting is not needed with this drive it was with 2 other drives i tried.
not sure if it would make a diffrence though but you could try it once.
Also watch out if you overclock and enable that setting it might be your pi becomes unstable while it was not before without that setting. Have read some issues about this but could be it’s a powering problem as well then.
[/quote]
Thanks for the usb power tip! I own a Pi 1B and this was introduces w/ the B+ (link), but it might solve some probs for certain people. :) -
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.