Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: iOtero on August 06, 2019, 06:51:05 AM

Title: Compilation of Attract-Mode in Raspberry pi 4
Post by: iOtero 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
Title: Re: Compilation of Attract-Mode in Raspberry pi 4
Post by: keilmillerjr 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.
Title: Re: Compilation of Attract-Mode in Raspberry pi 4
Post by: iOtero 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

Title: Re: Compilation of Attract-Mode in Raspberry pi 4
Post by: keilmillerjr on August 06, 2019, 10:42:06 AM
That is a really high value. Try something lower?

https://www.raspberrypi.org/documentation/configuration/config-txt/memory.md
Title: Re: Compilation of Attract-Mode in Raspberry pi 4
Post by: iOtero 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.