Author Topic: Compilation of Attract-Mode in Raspberry pi 4  (Read 328 times)

iOtero

  • Sr. Member
  • ****
  • Posts: 378
    • View Profile
Compilation of Attract-Mode in Raspberry pi 4
« on: August 06, 2019, 06:51:05 AM »
I bought a Raspberry pi 4 4GB and i installed Raspbian Buster Lite.

I tried to compile Attract-Mode following the instructions Keilmillerjr has on GitHub (https://github.com/keilmillerjr/Raspberry-Pi-MAME-Setup-Guide) and that had worked perfectly for me on Raspbian Stretch Lite and Raspberry pi 3B +.

FFmpeg, SFML and Attract-Mode has compiled easily and without problems.

But to launch AM, it does nothing and gives this error message:

* failed to add service - already in use?

Could someone tell me why?

Note for Keil: In the instructions for SFML, there is a missing line:

sudo make install
I love that on my laptop the eyes shine to the Alien every time i access the ssd... :D

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 980
    • View Profile
Re: Compilation of Attract-Mode in Raspberry pi 4
« Reply #1 on: August 06, 2019, 09:05:19 AM »
Whats your memory split/over clock settings?

Have you compiled a newer mame? Im curious for a speed test comparison between pi 3b+ and 4.

iOtero

  • Sr. Member
  • ****
  • Posts: 378
    • View Profile
Re: Compilation of Attract-Mode in Raspberry pi 4
« Reply #2 on: August 06, 2019, 09:50:14 AM »
Whats your memory split/over clock settings?

Have you compiled a newer mame? Im curious for a speed test comparison between pi 3b+ and 4.

Overclock, nothing...
gpu mem = 512


If I can't compile Attract-Mode, why would i want to compile the MAME?   :-[

The emulators interest me only if I can make them work through Attract-Mode.  ::)

The truth is that i have tried to compile SDL 2.0.10 and I have not succeeded.  :'(

If nobody helps me, i will try to compile SDL 2.0.8 again. 8)

A few minutes ago i have compiled RetroArch, but it only works with graphic environment. If raspbian is started in console mode, retroarch does not work. And i do not know why. I guess by opengles... But i haven't tried any games yet.

I've tried Lakka and Dreamcast games work great on my pi 4. D2, Aqua GT, Shenmue...   In pi 3B +, they moved like lame turtles...  :P

« Last Edit: August 12, 2019, 07:26:25 AM by iOtero »
I love that on my laptop the eyes shine to the Alien every time i access the ssd... :D

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 980
    • View Profile
Re: Compilation of Attract-Mode in Raspberry pi 4
« Reply #3 on: August 06, 2019, 10:42:06 AM »

iOtero

  • Sr. Member
  • ****
  • Posts: 378
    • View Profile
Re: Compilation of Attract-Mode in Raspberry pi 4
« Reply #4 on: August 06, 2019, 01:55:13 PM »
That is a really high value. Try something lower?

https://www.raspberrypi.org/documentation/configuration/config-txt/memory.md

Yes, it is a very high value, with 256MB is more than enough. And by the way I already got the AM compilation in pi 4.
« Last Edit: August 13, 2019, 11:30:06 AM by iOtero »
I love that on my laptop the eyes shine to the Alien every time i access the ssd... :D