-
Notifications
You must be signed in to change notification settings - Fork 10
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
running elf game in retropi, popup an error and quit(many common errors with solutions) #16
Comments
Hi @shaojun, Thanks for your feedback and for trying out McAirpos! I can reproduce the error message by trying to launch a game_file.elf with This could be achieved, for instance, by:
Starting RetroPie from within a X-Windows desktop environment and then launching MakeCode Arcade games, or launching MakeCode Arcade games directly from a X-Windows desktop environment(even from a terminal emulator) will not work. |
This is normally a symptom of the MakeCode Arcade(MCA) game not finding a working/free ALSA out channel in the first slot(0 or 1, don't remember). With the launch of the RPi 4 and later updates, there have been som changes in default audio setups(how ALSA and PulseAudio interact) in RPi OS and RetroPie. I am not sure about your RetroPie version, whether you installed RetroPie directly from an image or on top of RPi OS, and whether you are using jack, HDMI or USB audio output?
|
I'm using latest official rasbian and later install the latest retropie( at July 7th). |
Ok, looking forward to hearing about it! If the The clue is to get the MCA game to reach the ALSA device(HDMI) that you are using exclusivelyt and directly on the first available hw number and without interference from PulseAudio. |
Sorry, not exactly, since I don’t remember having encountered the same error myself on the many stretch and buster RPi OS with RetoPie installed on top, or full RetroPie images I have tested, or heard about it from others. Though I remember some alsa blocking issues with pulseaudio, which is now routinely killed by launCharc on MCA game launch. Could you please try to boot/exit to the Linux console/CLI and manually try Other than that, since I am unable to reproduce the error myself, I can only refer you to general web links, that you please ask the MCA forum for help/similar experiences and try to hunt down this one yourself. If you do solve it, please report back your solution/work-around here for others to benefit from as well. Maybe if it is something common and related to McAirpos, I can look at it and see if it makes sense to try to patch it in launCharc, or update the README. |
tried as you suggested via this one works: this is not work: |
So no «failed to find mixer elements» outside RetroPie? Did you find a fix for this and get MCA falling duck to run from inside RetroPie, as well? UPDATE: arcade-falling-duck compiles fine from arcade.makecode.com and runs here, too. But I didn't find an arcade-Pizza-Wars game anywhere. Could you please share the game link with the "Share" button inside the MakeCode Arcade editor for Pizza Wars? |
all the 3 game test are all outside of this is link to the |
Did you try any of the liks for the "failed to find mixer elements" error from my post above?: Please also try to run arcade-jumpy-platformer.elf again from within RetroPie and upload the log _/tmp/McAirpos.log here. |
I may can try it tomorrow. |
Ok! By the way, your link to Pizza Wars compile and run fine both inside and outside of RetroPie here. Please also ensure that these 4 steps for write permission to the makecode games folder and executable permissions for all games are ok: #13 (comment) Maybe do this first and then try again from RetroPie and upload log if it doesn't work. Then try the "mixer elements" fixes before you try running the game again from RetroPie and upload the log, if it still does not work. If no game still works from RetroPie, please also try them all again from CLI. Do you get sound for the working game from CLI, though? |
Originally posted by @shaojun in #17 (comment) I am closing this issue on the assumption that it also would have been solved for RetroPie on top installations with executable permissions for game_files.elf. |
Hi,
![image](https://user-images.githubusercontent.com/3241829/125150471-9f4bd300-e172-11eb-9200-0d3235d30931.png)
thanks for the great tool.
i've downloaded a elf from url like: a duck game, then uploaded to
/home/pi/RetroPie/roms/makecode
, can see the game title inretropie
, after i run it, it popup a window:and then the game quit.
any idea?
The text was updated successfully, but these errors were encountered: