Unable to launch any games on an Odroid-c2
-
Hey guys, I own an Odroid-c2 (revision 0.2), so I installed the official ubuntu 16 image from here, then installed Retropie successfully and set everything up (network, roms, etc.) following this official guide.
First things first; upon reboot, I'm automatically logged in as odroid is tty1, however
emulationstation
is not automatically launched, and I do not see any Retropie splash nor logo.I can manually run
emulationstation
in that tty, and it runs fine.Unfortunately when I try to launch a game (any roms on any emulators) it fails; all I see is a black screen on which is written briefly in the bottom left corner (the addresses change each time I try another rom):
pgd = ffffffc0594e3000 [00000820] *pgd=00000000533fb003, *pmd=0000000000000000
..then it comes back to the emulationstartion screen.
That's all :(I can see that in
dmesg
that retroarch is bugging :"retroarch[4939]: unhandled level 2 translation fault (11) at 0x00000820, esr 0x92000006"
I also see a retroarch segmentation fault in the log:
Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-stella/stella_libretro.so --config /opt/retropie/configs/atari2600/retroarch.cfg "/home/odroid/RetroPie/roms/atari2600/Asteroids.zip" --appendconfig /dev/shm/retroarch.cfg ^[[?25l^[[?1c/opt/retropie/supplementary/runcommand/runcommand.sh: line 1006: 7475 Segmentation fault /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-stella/stella_libretro.so --config /opt/retropie/configs/atari2600/retroarch.cfg "/home/odroid/RetroPie/roms/atari2600/Asteroids.zip" --appendconfig /dev/shm/retroarch.cfg
And lastly I see that in another log (each and everyone attempts here fails):
... lvl2: req sound [basic.launch] lvl2: (missing) lvl2: Attempting to launch game... lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ nes /home/odroid/RetroPie/roms/nes/\[Europe\]/Kick\ Off.zip lvl2: Creating surface... lvl2: Created window successfully. lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: req sound [basic.launch] lvl2: (missing) lvl2: Attempting to launch game... lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ nes /home/odroid/RetroPie/roms/nes/\[Europe\]/Parodius.zip lvl2: Creating surface... lvl2: Created window successfully. lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: req sound [basic.launch] lvl2: (missing) lvl2: Attempting to launch game... lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ nes /home/odroid/RetroPie/roms/nes/\[Europe\]/Parodius.zip lvl2: Creating surface... lvl2: Created window successfully. lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: req sound [basic.back] lvl2: (missing) lvl2: req sound [basic.launch] lvl2: (missing) lvl2: Attempting to launch game... lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ megadrive /home/odroid/RetroPie/roms/megadrive/\[Europe\]/Mega\ Man\ -\ The\ Wily\ Wars.zip lvl2: Creating surface... lvl2: Created window successfully. lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: req sound [basic.back] lvl2: (missing) lvl2: req sound [basic.launch] lvl2: (missing) lvl2: Attempting to launch game... lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ mastersystem /home/odroid/RetroPie/roms/mastersystem/\[Europe\]/Asterix.zip lvl2: Creating surface... lvl2: Created window successfully. lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: req sound [basic.back] lvl2: (missing) lvl2: req sound [detailed.launch] lvl2: (missing) lvl2: Attempting to launch game... lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ gb /home/odroid/RetroPie/roms/gb/\[Europe\]/Boulder\ Dash.zip lvl2: Creating surface... lvl2: Created window successfully. lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: req sound [detailed.launch] lvl2: (missing) lvl2: Attempting to launch game... lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ gb /home/odroid/RetroPie/roms/gb/\[Europe\]/Bust-A-Move\ 3\ DX.zip lvl2: Creating surface... lvl2: Created window successfully. lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: req sound [detailed.back] lvl2: (missing) lvl2: req sound [detailed.launch] lvl2: (missing) lvl2: Attempting to launch game... lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ gamegear /home/odroid/RetroPie/roms/gamegear/\[Europe\]/Galaga\ 2.zip lvl2: Creating surface... lvl2: Created window successfully. lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: Added known joystick Microsoft X-Box 360 pad (instance ID: 0, device index: 0) lvl2: req sound [detailed.launch] lvl2: (missing) ...
...perhaps a problem with the sounds?
I checked that the roms CRC are correct, and for instance could launch 'Super Mario All-Stars' in snes9x, however via emulationstation, I only get that black screen.
When I try to launch it via the command line, I get this error message:Failed to open /home/odroid/RetroPie/roms/snes/Super Mario All-Stars.srm: No such file or directory
.
This is weird since I've checked and theSuper Mario All-Stars.zip
file contains only the fileSuper Mario All-Stars.smc
, which according to the web should be sufficient.I've searched a lot of websites about this error, triple checked the permissions, but couldn't find anything working; help!!
System specs
Pi Model or other hardware: ODROID-C2 rev 0.2
Power Supply used: The power supply supplied for the ODROID-C2 (5V/2A)
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): Well, the latest since I used per the documentationgit clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git
last friday; iev4.3.16 (6c7b48b)
according to the logs in theRetroPie-setup/logs
folder
Built From: Official Odroid-c2 Ubuntu 16 image as the base, then git cloned and compiled on the Odroid
USB Devices connected: Logitech receiver for the mouse and keyboard, Steam controller receiver
Controller used: Steam controller
Error messages received:
Log found in /dev/shm/runcommand.log (if relevant): see above
Guide used: (Mention if you followed a guide) see above
File: (File with issue - with FULL path) all the roms :'(
Emulator: (Name of emulator - if applicable) all the emulators T_T
Attachment of config files: Which config file do you need?
How to replicate the problem: see above; 1) Install Ubuntu 16 on the Odroid C2, 2) Install Retropie via git clone then runretropie_setup.sh
, 3) try to launch any game -
Any chance @BuZz that you managed to get you hand on an Odroid-c2 board (as you mentioned in https://retropie.org.uk/forum/topic/4379/retropie-4-x-on-odroid-c2/18)?
-
I was having a similar issue to yours and wasn't having much luck solving it.
I started from ubuntu64-16.04.3-minimal-odroid-c2-20171005.img.xz from hardkernel, and upgraded OS packages as well as kernel (ending up with 3.14.79-117).
In https://github.com/RetroPie/RetroPie-Setup/commit/9ab8b4b468320a365010e4e6e3b61da850242aed , I noticed that "gles" wasn't being linked in for the 64-bit build. I decided to add the flag right after mali and compiled the main packages as well as lr-pcsx-rearmed. To my surprise it actually worked without segfault.
I'm not sure if this is a hack and it enables a worse performing backend or if there's actually a typo in the commit. Somebody who actually knows what they're doing would have to answer that.
Unfortunately I'm having other issues with my Xbox controller (seems to work in emulationstation but not every button works once in-game), so the C2 isn't fully working for me at this point.
Good luck.
-
@gp said in Unable to launch any games on an Odroid-c2:
In https://github.com/RetroPie/RetroPie-Setup/commit/9ab8b4b468320a365010e4e6e3b61da850242aed , I noticed that "gles" wasn't being linked in for the 64-bit build. I decided to add the flag right after mali and compiled the main packages as well as lr-pcsx-rearmed. To my surprise it actually worked without segfault.
Would you mind elaborating on this.. What did you change, and where? A line number, as well as a before & after diff would be great!
-
@strex I will add the gles flag in - but I think when I tested on the Odroid C2 I used an armhf userland image not aarch64. I suspect that is the most tested, and will work better for emulation, since only one emulator has aarch64 optimisations, whereas many have arm / neon optimisations which are not available in aarch64 mode.
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.