I got 2 very good news
First, I did some more testing yesterday and found the reason why MAME was slower under
AdvanceMENU. It has nothing to do with
AdvanceMENU. It is caused by the way I was calling the MAME binary. In the script file mame-launcher.sh, I set these environment variables:
export SDL_VIDEODRIVER=kmsdrm
export SDL_RENDER_DRIVER=opengles2
export SDL_RENDER_VSYNC=1
export SDL_GRAB_KEYBOARD=1
export SDL_VIDEO_GLES2=1
I was calling the MAME binary directly, so these variables were not set. I will fix that (I will move these variables assignments to /etc/environment, wich is executed at boot time).
Secondly, I successfully built the latest version of
Attract Mode (and its dependency, sfml-pi).
Attract Mode works nicely and perflectly in KMS/DRM mode.
As a result, I will publish a new version of the image wich will include
AdvanceMENU and
Attract Mode. The image will boot to
AdvanceMENU, but
Attract Mode will be selectable with just a quick edit of a configuration file.
Stay tuned