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

opendingux: rg350m: broken apps/games #22

Open
jezze opened this issue Oct 2, 2020 · 5 comments
Open

opendingux: rg350m: broken apps/games #22

jezze opened this issue Oct 2, 2020 · 5 comments

Comments

@jezze
Copy link

jezze commented Oct 2, 2020

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.

  • Snowman

Python 2 related

  • Stringrolled: Missing graph library.

Packaging problems

  • Apricots: Doesn't start.
  • Griffon Legend: Doesn't start.
  • Samego: Doesn't start.
@EhotPotaskun
Copy link

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
Copy link
Member

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
Copy link

JORGETECH commented Mar 16, 2022

@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.

pcercuei pushed a commit that referenced this issue Oct 30, 2022
Remove the old elf2flt 0002-elf2flt-add-riscv-64-bits-support.patch
patch file for riscv64 architecture and replace it with 3 patches:

(1) The first patch fixes the data section alignment
(2) The second patch fixes a bug with the handling of the eh_frame
    section causing text and data section overlap problems.
(3) The third patch adds a simpler riscv64 flat bin relocation support.

These 3 patches are submitted to the upstream elf2flt project as pull
request #22:

uclinux-dev/elf2flt#22

Signed-off-by: Niklas Cassel <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
@glebm
Copy link

glebm commented Nov 21, 2022

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
Copy link

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.

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

6 participants