Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game launch issue Recalbox 9, Raspberry pi zero, Retroflag GPi CASE, have run chmod 755 #67

Open
PanzerPandaNinja opened this issue Nov 1, 2024 · 1 comment

Comments

@PanzerPandaNinja
Copy link

Hi, when truing to start the game from recalbox 9 it only shows a black screen,
but wen I run launCharc verbose ~/../roms/makecode/arcade-jumpy-platformer.elf from CLI via SSH first it starts and I can play a few seconds before the recalbox menu comes up, if I start the game again it continues where I left off. Here is the output from the SSH session:

_`launCharc starting /recalbox/share/bootvideos/makecode/arcade-jumpy-platformer.elf with automatic gamepad mappings...

Highest found input event number: 1
Gamepad search hits:
/home/pi/McAirpos/McAirpos/uinput-mapper/input-read -vp /dev/input/event0 2>&1 | grep -e BTN_START -e BTN_SOUTH -e BTN_PINKIE, Output: BTN_START → ([0, EV_KEY], BTN_START)

Found 1 gamepad to configure on:
/dev/input/event0

Starting UInput-Mapper with command:
(/home/pi/McAirpos/McAirpos/uinput-mapper/input-read -C -D /dev/input/event0 /dev/input/event0 | /home/pi/McAirpos/McAirpos/uinput-mapper/input-create -C -S /home/pi/McAirpos/McAirpos/uinput-mapper/configs/arcade1.py &)
Setting up UInputMapper in MakeCode Arcade game's /sd/arcade.cfg with:
SCAN_CODES=/dev/input/event1

Warn: ioctl KBGKBMODE failed...
Unable to get your keyboard mode.
Warn: ioctl KDSETMODE failed...
Are you on a terminal emulator(X-Windows) instead of the Linux console?
[-370110222] GC block 16376b @ 0x20000000
[ 0] runtime starting, pid=6773...
[ 8] FB: BCM2708 FB at 320x240 320x480 bpp=32
[ 13] FB: BCM2708 FB at 320x240 320x480 bpp=32 1280
[ 16] init keys
[ 21] read config: /sd/arcade.cfg
[ 27] SCAN_CODES=/dev/input/event1
[ 35] BTN_LEFT=30
[ 38] BTN_RIGHT=32
[ 41] BTN_UP=17
[ 42] BTN_DOWN=31
[ 43] BTN_A=29
[ 44] BTN_B=42
[ 44] BTN_LEFT2=105
[ 45] BTN_RIGHT2=106
[ 45] BTN_UP2=103
[ 46] BTN_DOWN2=108
[ 49] BTN_A2=100
[ 49] BTN_B2=57
[ 57] BTN_RESET=59
[ 59] BTN_EXIT=1
[ 60] BTN_MENU=60
[ 67] config done
[ 70] sx=2 sy=2 ox=0 oy=0 32=1
[ 78] fbuf=0xb63c9000 sz:307200
[ 85] loop
[ 359] GC block 16376b @ 0x20004000

launCharc: Found running game process "arcade-jumpy-pl" on PID=6773

[ 400] GC block 16376b @ 0x20008000
[ 1262] PCM name: 'default'
[ 1263] PCM state: PREPARED
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred

/recalbox/share/bootvideos/makecode/arcade-jumpy-platformer.elf was executed successfully and the parent process was exited by the user or reset in-game. The game might still be running in a child process...

PID not found for "arcade-jumpy-pl", trying again...
PID still not found for "arcade-jumpy-pl", game exited?
Terminating launCharc...
killall: arcade-jumpy-pl: no process killed
Warn: ioctl KDSETMODE failed...
Are you on a terminal emulator(X-Windows) instead of the Linux console?
Warn: ioctl KBSKBMODE failed...
Unable to set your keyboard mode.
Warn: ioctl VT_UNLOCKSWITCH failed...
Are you not a super-user? (This should normally not affect game launch...)

`_

@krztoff
Copy link

krztoff commented Dec 23, 2024

getting a similar error here. Newest version of Retropie. Game runs for a few seconds and then crashes. I've also tried Recalbox 9, but I don't even get this far on that platform.

EDIT: I've since tested on Recalbox 8.0.1 and I get similar behavior. The game runs for a few seconds and then crashes back to ES. Perhaps there's an issue with rPi4?


launCharc starting /home/pi/RetroPie/roms/makecode/arcade-Geometry-Trash.elf with automatic gamepad mappings...

Highest found input event number: 1
Gamepad search hits:
/home/pi/McAirpos/McAirpos/uinput-mapper/input-read -vp /dev/input/event0 2>&1 | grep -e BTN_START -e BTN_SOUTH -e BTN_PINKIE, Output: BTN_START → ([0, EV_KEY], BTN_START)

Found 1 gamepad to configure on:
/dev/input/event0

Starting UInput-Mapper with command:
(/home/pi/McAirpos/McAirpos/uinput-mapper/input-read -C -D /dev/input/event0 /dev/input/event0 | sudo /home/pi/McAirpos/McAirpos/uinput-mapper/input-create -C -S /home/pi/McAirpos/McAirpos/uinput-mapper/configs/arcade1.py &)
Setting up UInputMapper in MakeCode Arcade game's /sd/arcade.cfg with:
SCAN_CODES=/dev/input/event1

[-245123751] GC block 16376b @ 0x20000000
[ 0] runtime starting, pid=2099...
[ 3] FB: vc4drmfb at 3840x2160 3840x2160 bpp=16
[ 8] FB: vc4drmfb at 3840x2160 3840x2160 bpp=16 7680
[ 12] init keys
[ 12] read config: /sd/arcade.cfg
[ 16] SCAN_CODES=/dev/input/event1
[ 22] BTN_LEFT=30
[ 25] BTN_RIGHT=32
[ 29] BTN_UP=17

launCharc: Found running game process "arcade-Geometry" on PID=2099

[ 32] BTN_DOWN=31
[ 36] BTN_A=29
[ 39] BTN_B=42
[ 43] BTN_LEFT2=105
[ 46] BTN_RIGHT2=106
[ 49] BTN_UP2=103
[ 52] BTN_DOWN2=108
[ 56] BTN_A2=100
[ 59] BTN_B2=57
[ 65] BTN_RESET=59
[ 68] BTN_EXIT=1
[ 71] BTN_MENU=60
[ 74] config done
[ 78] sx=18 sy=18 ox=480 oy=0 32=0
[ 81] fbuf=0xb54d0000 sz:16588800
[ 103] loop
[ 318] GC block 16376b @ 0x20004000
[ 329] gcAlloc(3256) (6980/32752 free; 2480 max block) -> new block
[ 333] GC block 16376b @ 0x20008000
[ 373] GC block 16376b @ 0x2000c000
[ 1227] PCM name: 'default'
[ 1235] PCM state: PREPARED
[ 2578] gcAlloc(3256) (18048/65504 free; 1884 max block) -> new block
[ 2588] GC block 16376b @ 0x20010000
ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
Segmentation fault

ERROR: Please first check path to and executable permissions for /home/pi/RetroPie/roms/makecode/arcade-Geometry-Trash.elf and try again.
There might also be other problems with the game file, the runtime or the shell availability...

PID not found for "arcade-Geometry", trying again...
PID still not found for "arcade-Geometry", game exited?
Terminating launCharc...
pi@retropie:/tmp $

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants