OpenDingux / buildroot

Buildroot, making embedded Linux easy. Note that this is not the official repository, but only a mirror. The official Git repository is at http://git.buildroot.net/buildroot/. Do not open issues or file pull requests here.
http://buildroot.org
Other
63 stars 46 forks source link

opendingux: rg350m: broken apps/games #22

Open jezze opened 3 years ago

jezze commented 3 years ago

Most of these problems might be rg350m specific. Further testing on gcw needed as well.

Incorrect LD_LIBRARY_PATH

These apps usually sets LD_LIBRARY_PATH to a relative path like . but they need to use the full path instead. A way to fix this is to set the path to $(pwd) instead.

Python 2 related

Packaging problems

EhotPotaskun commented 3 years ago

ST Terminal and FCEUX not starting too.

I've got strace logs of each application, where working one is from HDMI Beta firmware where it works, and another one from firmware that was built with latest buildroot from git an it fails to start.

(A lot of KDGKBENT events at the end of the log trimmed for smaller size)

st_working.log st.log fceux_working.log fceux.log

pcercuei commented 3 years ago

Some games (puzzletube, snowman, samego) are just a packaging problem and the OPKs can be fixed without recompiling anything. Powder was fixed. Stringrolled is Python2 and needs to be ported to Python3 (alternatively, I have an experimental OPK that packs Python2 inside). About SDL2, the problem is known and is high on the list.

JORGETECH commented 2 years ago

@jezze I made a list on OpenDingux Beta compatibility for game ports. I found that around 49 of the titles I tested (168 in total) are broken in some way, since a bunch of them fail due to missing libraries I'll try to repackage them with libraries from older OpenDingux buildroot or other suitable replacement. You can check my list here: https://github.com/JORGETECH/od-beta-ports-compat-list-spreadsheet

EDIT: Keep in mind I tested them on a standard RG350 since I don't own a RG350M, so I don't know which ones do not work there specifically.

glebm commented 1 year ago

ST Terminal and FCEUX not starting too.

Updated ST Terminal is available here https://github.com/od-contrib/st-sdl/releases

It uses the LD_LIBRARY_PATH fix, i.e.:

LD_LIBRARY_PATH="$(pwd)" ./st

ST also looks a lot better on OD beta because we now include its terminfo (st-256color) in the OS. The updated version also has bindings for L2/R2 L3/R3 to press arrow keys while the virtual keyboard is active.

a-dekker commented 1 year ago

Almost all games/apps should be adapted for Opendingux-Beta by now, see also https://github.com/eduardofilo/RG350_adam_image/wiki/En:-8.-Compatible-game-ports So I would consider this issue "solved" meanwhile.