What video card did you add in? What was the onboard chip set? (or motherboard if you don't know the chip set.)
Some of the really old cards were slower than the at-the-time CPUs doing the work on at-the-time PC games; some even used the CPU more than some onboard chips. Any of these cards would be even worse with mame. (You probably aren't using one of these since the drop is so minor, but maybe the next generation?)
There are many many points that might be at work with the onboard vs AGP card:
a. Mame currently favors directX 9.0 tuned chips & drivers with mame's default settings. If your card is only dX 8.0, mame automatically drops down to use that (but it's not as good AFAIK). Worse is if your card says it does dX 9.0, but does it poorly; on these cards it might be better to set mame to use 8.0 (or see next point).
b. Mame currently favors direct3D tuned cards with mame's default settings. If your card does directDraw better than direct3D 9.0 and 8.0 (see above point), set mame to use dd instead of d3d.
c. OTOH/Also, Mame now defaults to use windows desktop's resolution. If your card isn't powerful enough for that res with d3d or dd (see above two points), enable switchres and set mame to use a lower resolution (one that your card can use well). (This point is an expansion of Peale's post.)
d. Mame uses only a few parts of d3d, so if the card is better than the onboard chip at stuff mame doesn't use, it's of no use. (Ditto with dd if you use that.)
e. A few onboard chips are pretty good, and even fewer steal little to no resources. Rare, but it's possible your onboard chip really is better at d3d @ your resolution. (IOW, you shouldn't treat generalizations as absolute truth.)
f. As mentioned by others, video drivers might be at work, and effecting all the above five points.
I know I missed other points, but.... 2 fps is less than 7%, and with all the variables going on, that's not outside the range of error IMO. If you ran benchmarks a few times for, say, 120 seconds each (mame -str 120...) and the change was over 5%, I'd agree something is going on.
In the end, you'll get higher speed increases with a fast CPU. Sometimes an earlier version of mame is faster, but not always (again, generalizations can be not true, sometimes).
BTW, discrete sound emu/sim can take a
lot of CPU power. You should be okay, but don't be too surprized if your CPU isn't fast enough for a few discrete sound games.
BTW2:
Also remember, mame is completely cpu dependent, so gpu will have no effect even if you had a 8800GTX, it's all cpu power when for the video processing.
Not exactly true.
Mame is CPU depentdent on
emulation, so GPU will not help
on emulation.
Mame, however, can and
does use the GPU for none emulation stuff, like convert the original res to the displayed res, artwork, scanlines, ect. This is even more true now than it was years ago.
So a slow GPU can slow down mame, but a super-fast GPU will not be faster with mame than a good-enough GPU.