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

PCSX_ReARMed core doesn't work on RPi's #3196

Closed
chewvodka opened this issue Jul 7, 2016 · 12 comments
Closed

PCSX_ReARMed core doesn't work on RPi's #3196

chewvodka opened this issue Jul 7, 2016 · 12 comments

Comments

@chewvodka
Copy link

The compiled core on buildbot doesn't work with the Raspberry Pi 2/3. When you go to launch a game, it crashes RetroArch. Google research shows that the core needs to be compiled with an ARM flag. Buildbot apparently isn't going this. So using the built in "Online Updater" does nothing really. I'm really eager to get PSX compatibility working on my system. If I can be of any help, let me know!

@cudencuden
Copy link
Contributor

update to the latest nightly? core update is already disabled in online updater.

@chewvodka
Copy link
Author

That's what I mean. Using the latest nightly build of the core doesn't work. I've updated it daily and the problem still exists.

@chewvodka
Copy link
Author

chewvodka commented Jul 7, 2016

This is my log when I try to launch a PSX game...

`RetroArch [INFO] :: === Build =======================================

RetroArch [INFO] :: [CPUID]: Features:

Built: Mar 19 2016

RetroArch [INFO] :: Version: 1.3.2

RetroArch [INFO] :: Git: 4146350

RetroArch [INFO] :: =================================================

RetroArch [INFO] :: [CPUID]: Features:

RetroArch [INFO] :: Config: loading core-specific config from: /storage/.config/retroarch/config/lr-pcsx-rearmed.so.cfg.

RetroArch [INFO] :: Loading dynamic libretro core from: "/storage/.config/retroarch/cores/lr-pcsx-rearmed.so"

RetroArch [ERROR] :: Failed to open libretro core: "/storage/.config/retroarch/cores/lr-pcsx-rearmed.so"

RetroArch [ERROR] :: Error(s): libpng12.so.0: cannot open shared object file: No such file or directory

RetroArch [ERROR] :: Fatal error received in: "load_dynamic()"

RetroArch [INFO] :: Saving config at path: "/storage/.config/retroarch/config/lr-pcsx-rearmed.so.cfg"

RetroArch [INFO] :: Saved new config to "/storage/.config/retroarch/retroarch.cfg".

RetroArch [INFO] :: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.`

@dankcushions
Copy link
Contributor

is it this issue? RetroPie/RetroPie-Setup#502

@chewvodka
Copy link
Author

chewvodka commented Jul 7, 2016

I'm not sure? I am just using the RetroArch Online Updater, which downloads the already compiled .so file. I'm not sure how to compile my own, or if I even should. I thought this was all set and ready to go. Is OpenELEC even able to compile things? I thought that OS is pretty much locked up.

Also, I found a newer version of RetroArch in my GameStarter folder, and tried running with that instead. I still have PCSX_ReARMed crashing after doing a Core Updater. If I run the Mednafen_PSX (HW) core it also crashes. If I run Mednafen_PSX it'll run ok, but extremly slow. PCSX_ReARMed seems to be everybody's favorite core on the Pi 2/3, so that's what I'm trying to get working.

Lastly, I installed RetroPie on a spare SD card and tried copying over the core from THAT build to mine. It also crashes. Maybe the problem is because of OpenELEC not having the required files?

[EDIT]

Ok, I just tried using the suggested "install libpng-dev". These are my results:

PiBOX:~ # sudo apt-get install libpng-dev

There is no working 'sudo'.

On debian/ubuntu/all general purpose linux distributions 'sudo'
allows a permitted user to execute a command as the superuser
or another user, as specified by the security policy

With OpenELEC you have root access by default, so you dont need 'sudo'

PiBOX:~ # apt-get install libpng-dev

There is no working 'apt-get'.

'apt-get' is a command to install, update and remove software which
is stored in a non local repo. 'apt-get' does nothing then connecting to such
repo, downloads the software, unpacks the software, updates a big
local database with all filepaths and other informations about the
installed software or removes or updates installed Software.

With OpenELEC it is not possible to change the system for security and
stability reasons so even 'apt-get' would not be able to do this.
We also dont have and want to maintain such a repo for various other
great reasons.

Also Ubuntu or Debian packages are often outdated and not compatible
with OpenELEC

TIP: use XBMC's addon browser to enhance your OpenELEC system

So yeah, I can't even INSTALL anything.

@joolswills
Copy link
Contributor

joolswills commented Jul 7, 2016

you are running lakka ? if so, you should report this issue to them I guess ? https://github.com/libretro/Lakka

@chewvodka
Copy link
Author

I'm running OpenELEC. It autoloads Kodi. From there, I'm using the GameStarter addon script to execute closing Kodi and launch RetroArch. Lakka is an OS like OpenELEC right? This isn't what I'm using.

@joolswills
Copy link
Contributor

I can't advise then. openelec probably has that lib, but perhaps it can't find it, or it was built against another version.

@joolswills
Copy link
Contributor

This isn't a retroarch bug though imho.

@hizzlekizzle
Copy link
Contributor

hizzlekizzle commented Jul 7, 2016

Correct, this should probably be re-opened over in the libretro-pcsx-rearmed repo:
https://github.com/libretro/pcsx_rearmed
To correct the OP, it probably just needs some tweaks to the Makefile.libretro. I didn't see any references to libpng in there, so I'm not sure where that dependency is coming from.

If OpenElec does have libpng already and it's just not finding it, you may be able to just symlink it from its current location to wherever the core is looking for it (presumably /usr/lib).

@chewvodka
Copy link
Author

chewvodka commented Jul 7, 2016

Thanks guys. I'll try and send it over there... libpng definitely isn't in /usr/lib. Here's the latest error I'm getting:

RetroArch [INFO] :: Loading dynamic libretro core from: "/storage/.config/retroarch/cores/pcsx_rearmed_libretro.so"
RetroArch [ERROR] :: Failed to open libretro core: "/storage/.config/retroarch/cores/pcsx_rearmed_libretro.so"
RetroArch [ERROR] :: Error(s): /storage/.config/retroarch/cores/pcsx_rearmed_libretro.so: undefined symbol: gteNCLIP_arm
RetroArch [ERROR] :: Fatal error received in: "load_dynamic()"

@andres-asm
Copy link
Contributor

Please use the PCSX ReARMed libretro bug tracker instead

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