lesbird.com

MAME4jetson

NVIDIA has a really awesome embedded computer called the Jetson-TX2. It's an ARM based CPU with a Pascal architecture GPU, 32 GB embedded storage and 8 GB of RAM running L4T (Linux 4 Tegra).
Originally designed for computer vision applications like self driving cars, it also makes a great MAME computer. This web page will go over how to get MAME 0.195 to build and run on the device.

Let's get started.

You'll need to install Jetpac 3.2 on the Jetson-TX2.
Go here: JETPACK and download the installer.

Follow the installation procedures and make sure you install the samples too.
When done open up a terminal and type the following:
$ sudo apt-get install libsdl2-dev
$ sudo apt-get install libsdl2-image-dev
$ sudo apt-get install libsdl2-mixer-dev
$ sudo apt-get install libsdl2-net-dev
$ sudo apt-get install libsdl2-ttf-dev
$ sudo apt-get install qtdeclarative5-dev
$ sudo apt-get install libfontconfig-dev
Grab MAME 0.195 source code from here: MAME0195s
Unzip into a new folder then CD to the folder where the makefile is and type in the following line:
$ QT_SELECT=5 make
MAME will start to build. This could take a while and you may get some linker errors at the end about undefined reference to drm* functions in libGL.so. If you do follow these instructions:
$ cd /usr/lib/aarch64-linux-gnu/
$ sudo ln -sf tegra/libGL.so libGL.so
CD back to the MAME source folder and type:
$ QT_SELECT=5 make
If you don't get any linker errors or you fixed it by doing the above procedure you should be good to go with a mame binary executable in the folder with the makefile. Go grab some ROMs. Get some free ones here: FREE MAME ROMS
Put the zipped roms in the "roms" folder then type:
$ ./mame
I've included a pre-compiled executable here: mame

YouTube video of MAME in action: MAME for Jetson-TX2


2018.11.30

email

HOME PAGE