T O P

MAME image posting bot, Raspberry Pi benchmarks, and cross compiling.

MAME image posting bot, Raspberry Pi benchmarks, and cross compiling.

killamegagiga

Thanks elvisap. Your stuff inspired me to give the 64-bit beta a whirl. It's a thing to tinker with and I've compiled the last couple MAME releases on it. Yep, nearly 6 hour compile with -j3 (after learning about swap death the hard way). At least it's not the non-parallel 11+ hour compile job. Anyway it finishes before waking up the next morning so I don't really think about it.


elvisap

I have 0.230 armhf (32bit) and aarch64 (64bit) builds on my site (link above with the benchmark results). The "GCC8" build is Debian/Rasbian 10 Buster, and the "GCC10" build is Debian/Rasbpian 11 Bullseye. If you'd like newer builds, let me know and I can throw a few up there.


star_jump

Seriously impressed with your dedication to this. Amazing effort.


arbee37

It's great to have those numbers, although for comparison's sake it would've been nice to see the specific set of games John IV tests (I know many of those are impractical for a Pi). And yes, cross-compiling for the Pi is always a good idea (not just for MAME).


elvisap

I'll redo the process with John IV's list this weekend. It'll likely take that long to benchmark despite the shorter list, just because so many of those games run at single digit percentages on the Pi3 especially.


elvisap

Hi u/arbee37 , John IV's gameslist benchmarks are here: [https://docs.google.com/spreadsheets/d/1aXGsPtXNTgvPz6\_WewPKMsQE0eUME1puKk6KpJZl5Jw/edit?usp=sharing](https://docs.google.com/spreadsheets/d/1aXGsPtXNTgvPz6_WewPKMsQE0eUME1puKk6KpJZl5Jw/edit?usp=sharing) If you'd rather it exported as a CSV, please let me know. I've benchmarked the RPi3B+ at 1.2 and 1.3GHz, and the RPi4B at 1.5 and 2.0GHz, all only in 64bit mode. A couple of games missing (noted as "0" in the results): * blitz - gives a black screen, unresponsive to tab/F11, needs to be "kill -9"ed. * gtfore06 - segfault, crash back to command line. * starsldr on RPi3 - OOM (out of memory) on the RPi3 1GB (fine on the RPi4 8GB). I've also benchmarked the same 0.232 build on my daughter's i5-3570 (4.0GHz max turbo boost) Windows 10 gaming machine, as well as copied the values from John IV's i7 system in his latest round of 0.232 benchmarks at time of writing. Second tab on the sheet is everything compared to John IV's machine as reference 100%. I've only benchmarked aarch64 (64bit), and not armhf (32bit) builds. If anyone really wants 32bit benchmarks, let me know, otherwise I won't bother. Is it worth me submitting any of the above two non-working games crash outputs to mametesters? Happy to put in the work with verbose outputs and strace results if you think that's valid. If the official response is "we don't support aarch64", also happy to ignore it.


arbee37

That's awesome, thanks! We do support aarch64 (especially since Apple M1 came out) but the support is super preliminary and we don't have a JIT backend for it yet.


tweakbod

The twitter bot would be more interesting of you deleted all of the placeholder images from your source material so that the bot does not select them. There are thousands of those duplicates in the packs that could be easily filtered out.


elvisap

There's over 240,000 images in the pack I have, and it's updated once every month or so. I'd love to delete the placeholder images, but it would be days of work manually removing them each time (and then again when the packs are updated), as they're not named in an obvious way. Unless there was some simple commands line image matching tool I could use? I wonder if ImageMagick has something like that?


tweakbod

I'm sure there are plenty of tools you could use. One simple way that requires no new software is to extract the zip, open the folder, sort by file size. All of the placeholder images will be grouped together. There are several different variations. Just view the thumbnails, click on the first one you see, scroll to the last of that variant, shift click and tap delete. rinse and repeat. You could probably clear all of the placeholders out like this in 5 minutes. And it's not like the twitter bot needs these files to be updated. It will take ages to work through them all, and if your setup allows repeats we may never see them all.


elvisap

Great idea, thanks. I'll give this a try next week when I get a bit of free time.


AutoModerator

Reminder: This subreddit does not support running MAME on a Pi or through RetroPie. If you have a question, or need help using MAME on a Pi, please ask in r/RetroPie. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/MAME) if you have any questions or concerns.*


fsk

For the twitter bot, include some software snap images. I was looking for a current MAME on Android or RG350 (Dingux), but learning how to do it is probably more work than I want to spend.


elvisap

Below is the complete list of files inside the images pack, each filled with thousands of images. "snap\_SL.zip", for example, contains 43033 snapshots from the "software list" set (essentially the non-arcade set of console/computer/mainframe/etc titles). When you say "include some software snap images", is that what you're referring to? Or something else? artpreview.zip, artwork, bosses.zip, cabinets.zip, covers\_SL.zip, cpanel.zip, devices.zip, ends.zip, flyers.zip, gameover.zip, howto.zip, logo.zip, marquees.zip, pcb.zip, scores.zip, select.zip, snap\_SL.zip, snap.zip, titles\_SL.zip, titles.zip, versus.zip, warning.zip,


fsk

Yeah, I meant software snap. I see now your feed has them, it just wasn't in the first few entries. Gameplay snapshots are more interesting than the other ones. I would increase the frequency of snap and snap_SL.