Author Topic: Mame for RPI in X-windows with Attract Mode  (Read 4852 times)

nitrogen_widget

  • Sr. Member
  • ****
  • Posts: 307
    • View Profile
Mame for RPI in X-windows with Attract Mode
« on: May 28, 2015, 07:11:00 AM »
My findings are mame4all is the only version to run on a rpi1 in x-windows.

For an RPI2 advmame in console. not sure about X.
using the retro pie script I installed advmame .96 & 1.2 but using SDL .96 is locked to the RPI resolution you set in the config file so at high resolutions performance takes a hit on some games.

using advmame 1.2 you can use the Game resolution & higher and it scales up to the monitor resolution.
I've found this works for most classics just fine but other's are see slow downs.

The only reason i shy away from mame4all is that it doesn't scale to the full screen so you can get a black boarder all the way around but in X we may have to just deal with it.

tonight i'm going to upload an image to my google drive made with diet-pi OS, Attractmode compiled, retropi script installed along with mame4all, advmame .96 & 1.2

I'd love it if people could play around and help with figuring out the best version of mame to use in X.
Or if you have already tested this i'd love to hear your opinions.

I'm also going to try recompiling advmame from scratch for the X environment or possibly Xmame.


dbals

  • Guest
Re: Mame for RPI in X-windows with Attract Mode
« Reply #1 on: May 28, 2015, 10:22:40 AM »
Excited to try the image!   ;D

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 861
    • View Profile
    • new projects
Re: Mame for RPI in X-windows with Attract Mode
« Reply #2 on: May 28, 2015, 01:05:52 PM »
Have you tried nodm?

nodm = minimal display manager
display manager (on top of X) without chrome (windows decorations)

sudo apt-get install nodm

-----

I was using it to whip up chrome kiosk for my parents - booting up only to chrome without any GUI, window borders, etc.
It was working great.

nitrogen_widget

  • Sr. Member
  • ****
  • Posts: 307
    • View Profile
Re: Mame for RPI in X-windows with Attract Mode
« Reply #3 on: May 28, 2015, 01:55:56 PM »
Have you tried nodm?

nodm = minimal display manager
display manager (on top of X) without chrome (windows decorations)

sudo apt-get install nodm

-----

I was using it to whip up chrome kiosk for my parents - booting up only to chrome without any GUI, window borders, etc.
It was working great.

and this is why I love online communities.
never heard of this.

Will add it to my next test image.

I'm also wondering just how much a chore compiling advmame .72 would be or if compiling in X would help performance if I used some of the gl accelerated SDL builds floating around.

Or i'll try mame2003-libretro (.78) used in the console ports and android.
« Last Edit: May 28, 2015, 02:08:15 PM by nitrogen_widget »

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 861
    • View Profile
    • new projects
Re: Mame for RPI in X-windows with Attract Mode
« Reply #4 on: May 28, 2015, 02:35:37 PM »
and why you don't want to use mame4all?

I was using it briefly on RPi 1 and preformace was great - althou I've tried only a few games and not most demanding ones.
And it is actively maintained since it is for android and iOS also - so no compiling.

nitrogen_widget

  • Sr. Member
  • ****
  • Posts: 307
    • View Profile
Re: Mame for RPI in X-windows with Attract Mode
« Reply #5 on: May 28, 2015, 06:39:55 PM »
and why you don't want to use mame4all?

I was using it briefly on RPi 1 and preformace was great - althou I've tried only a few games and not most demanding ones.
And it is actively maintained since it is for android and iOS also - so no compiling.

It works fine for my vertical games but indiana jones don't work on it.
Plus my plan was to use a 17" lcd for a bartop & you loose like an inch all the way around on some games.
but since it works the best for now i'll use it.