MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

T21231
MAME Fan
Reged: 07/05/14
Posts: 6
Send PM


openEmu Mac shows less lag than Mame/Windows7 ?
#333516 - 10/20/14 03:32 AM


I've been playing Robotron using Mame v155 on Windows7/3770k/8GB/SSD/Nvidea650).
I am using a PS2 controller with a USB Converter. Works ok but there's always been
some lag and the game seemed harder to play on the PC than the real arcade machine.

I took home my MacPro laptop from work (i7/16GB/SSD) and loaded openEmu to see
if it played as good as the PC. I used the same PS2 controller with a USB Converter
on the mac. I displayed the game on my 27" 1080p LCD so the game would look the same
as on my PC.

To my surprise there was less lag from the joystick response using the Mac.
Movement was definitely more precise allowing me to zig-zag by grunts without
getting hit. Also it seemed like the game played smoother. Everything moving
looked smoother in motion.

Is it possible that openEmu/Mac plays games better and smoother than on Mame/Windows7?
Maybe Mac OS(which is unix based) runs smoother than Windows7 making the game more precise?
Anyone else experience this?



grog
Reged: 09/06/11
Posts: 419
Send PM


Re: openEmu Mac shows less lag than Mame/Windows7 ? new [Re: T21231]
#333518 - 10/20/14 04:17 AM


in your pc mame settings are you using triple buffer?
if so, turn that off and try using vsync instead.

in mame.ini find the lines below and change as follows:
triplebuffer 0
waitvsync 1



T21231
MAME Fan
Reged: 07/05/14
Posts: 6
Send PM


Re: openEmu Mac shows less lag than Mame/Windows7 ? new [Re: grog]
#333682 - 10/23/14 03:15 AM


> in your pc mame settings are you using triple buffer?
> if so, turn that off and try using vsync instead.
>
> in mame.ini find the lines below and change as follows:
> triplebuffer 0
> waitvsync 1

Yup, that's how I had it setup on Windows. Movement and firing
seems much more precise on the Mac using the same monitor,
PSX GamePad, and USB Converter. And I'm not a Mac fan either.
I have to use one at work and I did this only as an experiment.
So I have no BIAS to the Mac. But it does seem to play Robotron
better.



grog
Reged: 09/06/11
Posts: 419
Send PM


Re: openEmu Mac shows less lag than Mame/Windows7 ? new [Re: T21231]
#333685 - 10/23/14 04:18 AM


do u get different results regarding the controls/response of the game by switching between direct3d and directdraw?

in mame.ini see if there is a difference between using:

video d3d

and

video ddraw

also, see if there is a difference in controls/response between using your usb converter/joystick, and just using your regular pc keyboard.



T21231
MAME Fan
Reged: 07/05/14
Posts: 6
Send PM


Re: openEmu Mac shows less lag than Mame/Windows7 ? new [Re: grog]
#333847 - 10/27/14 04:37 AM



It was set to d3d by default on Mame/Windows7.

Setting it to DirectDraw with HardwareStretch off made the
game much more precise on Win7. I still think the Mac with
openEmu might be a little more precise but it's much
closer now. I have to try it again tomorrow but that tip
helped a lot.

HardwareSretch turned on with DirectDraw caused lots of
video problems which is why I quickly dismissed DirectDraw
before. My luck I turned off HardwareSretch this time to
see DirectDraw is actually better.

So what is the difference between d3d and DirectDraw ?

And thanks for the tip!!!



grog
Reged: 09/06/11
Posts: 419
Send PM


Re: openEmu Mac shows less lag than Mame/Windows7 ? new [Re: T21231]
#333848 - 10/27/14 05:26 AM


> So what is the difference between d3d and DirectDraw ?

on windows 7 with regular mame, im not really sure to be honest, as here im using windows xp for playing mame, and i use groovymame which is geared towards the more fussy gamers who want a bit more flexibility and additional/tweaked options regarding mame's video functions and handling (plus, the groovymame author hates input lag, and has managed to give this often overlooked issue a really good kick in the teeth..)



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: openEmu Mac shows less lag than Mame/Windows7 ? new [Re: T21231]
#333962 - 10/29/14 06:30 PM


> So what is the difference between d3d and DirectDraw ?

D3D uses your GPU made after 2001 as a GPU made after 2001: triangles, shaders, GPU compute processing, all that good stuff. The degree to which MAME actually leverages all that stuff is pretty minimal unless you enable HLSL, but the possibilities are there.

DirectDraw is strictly a 2D affair, and has been deprecated for several years in favor of the more aptly-named Direct2D.



Anonymous
Unregistered
Send PM


Re: openEmu Mac shows less lag than Mame/Windows7 ? new [Re: grog]
#334047 - 10/31/14 11:34 AM


> (plus, the groovymame author hates input lag, and
> has managed to give this often overlooked issue a really good kick in the teeth..)

Is that the one that messes around with the emulation to make it appear to be better, but just introduces other issues?



Calamity
MAME Fan
Reged: 05/30/11
Posts: 56
Send PM


Re: openEmu Mac shows less lag than Mame/Windows7 ? new [Re: ]
#334049 - 10/31/14 12:23 PM


> Is that the one that messes around with the emulation to make it appear to be better,
> but just introduces other issues?

That's somewhat far from being totally fair, don't you think?



Olivier Galibert
Semi-Lurker
Reged: 09/21/03
Posts: 398
Send PM


Re: openEmu Mac shows less lag than Mame/Windows7 ? new [Re: Calamity]
#334050 - 10/31/14 01:01 PM


> > Is that the one that messes around with the emulation to make it appear to be
> better,
> > but just introduces other issues?
>
> That's somewhat far from being totally fair, don't you think?

That's perfectly correct though. The emulation is badly hacked (short circuiting input processing of subcpus, removing hardware buffers, etc) in order to try to hide some of the latency, often desynchronizing parts of the graphics.

OG.



Calamity
MAME Fan
Reged: 05/30/11
Posts: 56
Send PM


Re: openEmu Mac shows less lag than Mame/Windows7 ? new [Re: Olivier Galibert]
#334053 - 10/31/14 01:12 PM


> That's perfectly correct though. The emulation is badly hacked (short circuiting
> input processing of subcpus, removing hardware buffers, etc) in order to try to hide
> some of the latency, often desynchronizing parts of the graphics.

I think you're mistaking GroovyMAME with Shmupmame. The emulation layer is not even touched by our patch.



Olivier Galibert
Semi-Lurker
Reged: 09/21/03
Posts: 398
Send PM


Re: openEmu Mac shows less lag than Mame/Windows7 ? new [Re: Calamity]
#334058 - 10/31/14 02:59 PM


> > That's perfectly correct though. The emulation is badly hacked (short circuiting
> > input processing of subcpus, removing hardware buffers, etc) in order to try to
> hide
> > some of the latency, often desynchronizing parts of the graphics.
>
> I think you're mistaking GroovyMAME with Shmupmame. The emulation layer is not even
> touched by our patch.

Indeed.

OG.



Traso
MAME Fan
Reged: 01/15/13
Posts: 2687
Send PM


Re: openEmu Mac shows less lag than Mame/Windows7 ? new [Re: Olivier Galibert]
#334078 - 11/01/14 12:17 AM


I thought that was obvious. I don't know why you didn't say so in the first, Calamity.



Scifi frauds. SF illuminates.
_________________

Culture General Contact Unit (Eccentric)


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 304 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3175