(Solved)Can't build lr-mame2003-plus
-
are you sure you fixed your memory split in raspi-config before compiling? The last link is a memory hogging bitch!
-
@gomisensei Good idea, though I never had to do that before. I'll try it anyways. Change it to what?
-
As @gomisensei said, looks like insufficient memory during the compilation. For
lr-mame2003
, the package adds some swap (750 mb) before compilation, but forlr-mame2003-plus
this is not set.
Add some swap memory before starting the build for the package and try again. -
@mitu I did forget that I did add some ram tweaks from https://www.evernote.com/shard/s3/sh/38bf9df7-5f96-4451-90e7-7d72c07f225b/8d57114e589b5a39147ffd9d6c5df1e0
I did not use the "Set up prepare-dirs" tweak. I used, "Set noatime to fat partition ", "Mount temp and logs to RAM", "Use noop scheduler" and removed some misc stuff from there. I forgot to add ""Change swappiness to 1", so trying to build again. -
@darksavior No, I think that's not it. You need more RAM added temporary during the build, that's not part of the system tweaking it's just adding a file based SWAP space for the duration of the compilation.
-
Trying
sudo nano /etc/dphys-swapfile
withCONF_SWAPSIZE=2048
and 16MB for gpu. If this doesn't do it, nothing will. Odd how I never needed to do this. Probably some major changes to the emulator recently. -
@darksavior said in Can't build lr-mame2003-plus:
Odd how I never needed to do this
Usually the build instruction for the package do that automatically, but for this package (which is more recent) they don't. I think that at the beginning the build instructions were similar to
mame2003-libretro
and carried out the memory addition during build, but they changed and this instructions were not carried on. -
@darksavior I know this is an old thread, but did you ever figure this out? im working with a fresh install of 4.4 and i cannot get lr-mame2003-plus to compile at all, fails every time. Updated the script, adjusted the swap file size to 2048, nothing is working. I swear the universe doesn't want me to be able to play RadMobile! uhg...
-
@capeman Yes, it was my error. I had to disable ALL of my overclocking not just the
arm_freq
. Looks like the pi3b+ can't really handle overclocking the rest at 500mhz for long periods. I'm still not sure which setting it was, but removing it all did it. -
I know this topic is old, but I was having a problem with building this as well recently. Basically the same error. Resolution was to disconnect all controllers (I had 5 plus keyboard plugged in.) Confirmed this as the solution in my case, and adding it here in case others experience it.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.