Retropie freezes when transferring files
-
@Sage-Freke Your pc USB port is not sufficient either to reliably power the rpi and the WiFi. Ethernet speed goes like that due to buffering and sdcard write speed (A faster SDCard could help).
What's the output of
df -h
from terminal? Perhaps you have a permissions issue or something if you have the free space. The/opt/retropie/configs/all/emulationstation/es_log.txt
log might give more information -
@BuZz This is the result of df:
Now I'm using a Samsung 2A tablet charger (the one that came with the device, not a knockoff).
Could the quantity of the files have something to do with the freezes? The Amiga folder I'm trying to transfer has almost 100.000 files in it, I tried to transfer them in separated batches: the first batch of 11.000 files was copied successfully, while the second of 45.000 crashed the pi.
I noticed that the problem seems to occur when the transfer speed reaches 0 KB/s: if the pi's on ethernet, after a while the transfer continues. While it if it's on wifi, as soon as it reaches 0 KB/s Retropie crashes.
-
Hey @Sage-Freke I was wondering is you tried moving the files from the USB directly to the pi... it might make it work.
-
@Sage-Freke I suspect it's related to the wifi dongle, but it sounds like your sdcard may be a bit slow. Which one are you using ? I have had terrible write performance from some cheaper class 10 cards. I would definitely try another card to rule out the sdcard also.
-
@CodeDrawer I'm not familiar with retropie's file manager so I didn't try yet, I'll try and report (however, I wanted to use the WiFi manly for the convenience of making changes without having to move the pi).
@BuZz The previous card was an old 8gb that I'm sure is as slow as a class 10 can get, but the new one (a seldom used before Samsung 64GB card that I had laying around) while not one of the fastest, it' s not slow either: during the image flashing in Windows it maintained a writing speed of around 20 MB/s.
I'll post the log you requested as soon as I get close to the pi.
-
@Sage-Freke I just use command line after pressing f4 on the keyboard.
-
@CodeDrawer I hate moving files with the command line, I used the retropie file manager and it worked ok (although I wish there was a "select all" option instead of having to select thousand of files/folders manually).
@BuZz Here's the content of es_log.txt
# code block lvl2: EmulationStation - v2.1.5rp, built Mar 19 2017 - 18:15:20 lvl2: Creating surface... lvl2: Created window successfully. lvl2: Added known joystick USB,2-axis 8-button gamepad (instance ID: 0, device index: 0) lvl2: Checking available OpenGL extensions... lvl2: ARB_texture_non_power_of_two: MISSING lvl2: Loading system config file /etc/emulationstation/es_systems.cfg... lvl1: System "amstradcpc" has no games! Ignoring it. lvl1: System "arcade" has no games! Ignoring it. lvl1: System "atari2600" has no games! Ignoring it. lvl1: System "atari7800" has no games! Ignoring it. lvl1: System "atarilynx" has no games! Ignoring it. lvl2: Parsing XML file "/home/pi/RetroPie/roms/c64/gamelist.xml"... lvl1: File ""/home/pi/RetroPie/roms/c64/$100,000 Pyramid, The (USA).D64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/10th Frame (USA).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/19 Part One - Boot Camp (Europe).D64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/2D Tennis Game (Europe).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/2K-Fighter (Germany).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/3-D Glooper (Europe).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/3-D Man (USA).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/3-D Pinball - Pinball Power (Europe).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/3-D Skramble (Europe).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/3D Construction Kit (Europe).D64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/3D Golf (Europe).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/3D Hypermaths (Europe).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/3D Pool (Europe).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/3D Scacchi Simulator (Italy).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/3D Speed Duel (Europe).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/3D Stock Cars II (Europe).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/3D Tanx (Europe).T64"" does not exist! Ignoring. lvl1: File ""/home/pi/RetroPie/roms/c64/International Karate Plus.tap"" does not exist! Ignoring. lvl1: Unknown platform for system "daphne" (platform "daphne" from list "daphne") lvl1: System "daphne" has no games! Ignoring it. lvl1: System "fba" has no games! Ignoring it. lvl1: Unknown platform for system "fds" (platform "fds" from list "fds") lvl1: System "fds" has no games! Ignoring it. lvl1: System "gamegear" has no games! Ignoring it. lvl1: System "gb" has no games! Ignoring it. lvl1: System "gba" has no games! Ignoring it. lvl1: System "gbc" has no games! Ignoring it. lvl1: System "mame-libretro" has no games! Ignoring it. lvl1: System "mastersystem" has no games! Ignoring it. lvl1: System "megadrive" has no games! Ignoring it. lvl1: System "n64" has no games! Ignoring it. lvl1: System "neogeo" has no games! Ignoring it. lvl1: System "nes" has no games! Ignoring it. lvl1: System "ngp" has no games! Ignoring it. lvl1: System "ngpc" has no games! Ignoring it. lvl1: System "pcengine" has no games! Ignoring it. lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/ports/gamelist.xml"... lvl1: System "psx" has no games! Ignoring it. lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/retropie/gamelist.xml"... lvl1: System "sega32x" has no games! Ignoring it. lvl1: System "segacd" has no games! Ignoring it. lvl1: Unknown platform for system "sg-1000" (platform "sg-1000" from list "sg-1000") lvl1: System "sg-1000" has no games! Ignoring it. lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/snes/gamelist.xml"... lvl1: Unknown platform for system "vectrex" (platform "vectrex" from list "vectrex") lvl1: System "vectrex" has no games! Ignoring it. lvl1: System "zxspectrum" has no games! Ignoring it. lvl2: req sound [detailed.launch] lvl2: (missing)
-
P.S. I screw-up the code formatting but I cannot change it because Akismet detects it as "spam".
-
I can write the code needed for you. So all you need to do is copy/paste @Sage-Freke It also could be worth it.
-
@CodeDrawer I just wanted to format the log that I posted as a code block. If you can do it, go ahead. Thanks.
-
@Sage-Freke Your log is totally useless. I know you may not be a Linux wizz but even you could see there is nothing of interest in that. Do you have the full log? Try launching a game and then check
/dev/shm/runcommand.log
-
@AlexMurphy I had noticed that there was nothing interesting, however, the log was requested to me and I'm not so confident to think that I know better.
Here's runcommand.log, it seems that there's nothing here too.
# code block Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-snes9x2002/snes9x2002_libretro.so --config /opt/retropie/configs/snes/retroarch.cfg "/home/pi/RetroPie/roms/snes/RoboCop 3 (USA).zip" --appendconfig /dev/shm/retroarch.cfg Found ROM file header (and ignored it). "ROBOCOP 3" [checksum ok] LoROM, 8Mbits, Type: ROM only, Mode: 20, TV: NTSC, S-RAM: 0Kb, ROMId: ???? Company: ?? Failed to open /opt/retropie/emulators/retroarch/shader/shaders/scanline.glsl: No such file or directory
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.