Getting back to the subject title: I am also having poor performance with SDLMAME, versions & OS specified in my signature.
The really annoying bit is that it is inconsistently poor performance. I have a thread about it going in the Ubuntu forums:
SDLMAME video problems thread @ Ubuntu forums I've tried running SDLMAME with both "Software" and "OpenGL" modes in GMAMEUI. It doesn't make a difference which one I choose. Some games are particularly affected:
-Vs. Excitebike (either US or Japan)
-Vs. Dr. Mario
-Any Pacman variant
The problem ranges from a jerky "slideshow" effect, to the player character "teleporting" as if a whole bunch of frames were simply skipped. Audio does not distort or skip, so I guess it's not a PulseAudio problem (for once!).
I haven't messed with any settings in GMAMEUI beyond switching between software & OpenGL render modes. FWIW, I am using recent Nvidia proprietary Linux drivers (version 195.36.24). It probably doesn't matter, but also note I am using the 64-bit version of Ubuntu 9.10.
Anyone else having this problem? Let me know if you need more info about my hardware.