This is not really a question, rather I wanted to give my experiences compiling Mame on the Jetson. The short version is that it’s not too hard and works great.
Install firmware version 21.4. It’s possible earlier 21.x versions work as well. It may be more difficult to get sound working on 19.x.
Create a swap partition. 2 GB of RAM isn’t enough to compile MAME without swap. I installed an SSD and put an 8 GB swap partition on the SSD. You could also shrink the internal flash and put the swap there.
Download “SDL-MAME-Orig” version 164 from the SDL Mame site. The Arm changes were integrated into the trunk of the project in version 164. Older versions may require patching.
Edit the makefile. Set “WERROR” to false (or NOWERROR to True). For a faster compile, add “-j 5 -pipe” to the build options. This uses 5 threads to compile and uses pipelining to keep the threads full.
Type make. If you want just Mame (and not Mess), specify the “SUBPROJECT” for Arcade. Wait an hour or so.
The compile will show a whole lot of byte align warnings. These are harmless from a functionality perspective, and are likely caused by compiling for ARM.
Put ROMs in the ROMs folder. There are some legal ones on the Mame website.
Run the executable. It’s working great for me.
I’m planning to get an arcade cabinet soon, and I had a Jetson board that was underutilized, so decided to try it with Mame. The plan right now is that the Jetson board is going to live inside my arcade cabinet as a dedicated Mame processor.
As far as performance, check out this site:
He tested with a 1.6 Ghz Atom processor, but in my experience the Jetson is roughly similar for Mame performance. The games that are Green should work well on the Jetson.
Also, setting the SDL video mode to “opengl” provides much faster performance on the Jetson than the default of “soft”, because of the fast GPU.
Is anyone else running Mame on their Jetson? Thoughts?