MAME performance problem: hitches & stutters
I don't know if there are a lot of Multiple Arcade Machine Emulator (MAME) gamers on this forum, but I figured I'd give it a shot.
I recently got into MAME, installing the GMAMEUI frontend (version 0.2.11, Sourceforge project page here: http://gmameui.sourceforge.net/). The actual executable that runs the games is listed in System Monitor as "sdl-mame" (or "SDLMAME" on the window title).
On to the problem proper: When I'm playing games through GMAMEUI, every so often the game will stutter and/or skip frames in a very disruptive fashion. Interestingly, it seems to be only a video problem. Game sounds do not drop out or distort. But the stuttering can cause the game animation to get so choppy that I can't see what I'm doing.
It happens with all games, so I don't see how it could be a bad ROM.
When the stuttering happens, it's not due to lack of system resources in general. I had a bunch of stuff running when I first noticed the problem, but was only using a total of 1 GB of RAM out of 4 GB (system specs in my sig). I observed the problem again just now, with only Firefox, Evince with a .pdf open, and System Monitor running in a window beside the SDLMAME window. The stuttering happened whenever sdl-mame's CPU use exceeded about 40%. It mostly sat at 30%-40% but would occasionally spike to 60%, 70%, sometimes even 100%. At these times, the visual stuttering was obvious.
I've tried setting the sdl-mame process to highest priority (-20 nice value), but this has no effect. System Monitor crashes. Weird.
I am also using the realtime Linux kernel (2.6.31-9-rt), which was supposed (I thought) to prevent this sort of thing.
What's going on here, and how do I fix it?
What is going on here, and how do I fix it?
Last edited by Objekt; June 2nd, 2010 at 12:39 AM.
Acer Swift 3 (SF314-42-R7LH)
Bookmarks