I tested using Super Mario Bros too, and I noticed input lag with the options you described in your thread about this issue.
And as far as I remember the vsync option is a little different in MAME that in the Control Panel but both achieve the same thing although doing things differently. So I prefer to be enabled by the Nvidia driver.
The only reason I use Direct3D over Direct Draw is because HQ2XS only works in Direct3D.