MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Elaphe
MAME
Reged: 07/06/05
Posts: 127
Send PM


Disaster with MAME after migrating from XP 32 to Win7 64
#333350 - 10/17/14 09:52 AM


I've been using MAME with my Core2duo, a more or less modern Geforce card and a 120hz monitor, under Windows XP 32 bits. Everything perfect. I even had SweetFX to improve the display. I'm not using HLSL. I compile my own build and the performance is excellent, no lag, no hiccups in the scrolls, no sound stuttering, etc. This is with D3D, 1920x1080, vsync or triple buffer, and a custom rgb effect.

Now I've changed from XP to Windows 7 64 bits and I'm surprised how many problems I've found with MAME. I've compiled it for 64 bits. The first thing I notice is that it doesn't work at all. I've found out that it's SweetFX, which must be uncompatible with this OS. After removing it, MAME works. The first problem is that the games run at double speed. I have to manually change the refresh rate from 120hz to 60hz to have normal speed. Is there a fix for this? Second, at 60hz the lag is terrible, very very noticiable. This is software and not hardware related because with XP I had zero lag. Any idea what's wrong? Could it be something related to the card drivers (I'm using the latest). If this can't be solved, I think I'll have to create a partition and install XP, just to be able to use MAME.






Ziggy100
MAME Fan
Reged: 06/14/08
Posts: 314
Send PM


Re: Disaster with MAME after migrating from XP 32 to Win7 64 new [Re: Elaphe]
#333354 - 10/17/14 12:07 PM


SweetFX is actually only a 32bit app, it will work perfectly fine on 64bit Win7, so long as the executable programme you want to use it with is only 32bit, so I'm guessing that is the problem now you are using the 64bit version of Mame.

But...there is a 64bit version of SweetFX out there, I use it on the 64bit build of the Dolphin emulator.

Google for it and see if that helps.



Anonymous
Unregistered
Send PM


Re: Disaster with MAME after migrating from XP 32 to Win7 64 new [Re: Elaphe]
#333362 - 10/17/14 02:17 PM


> The first problem is that the games run
> at double speed. I have to manually change the refresh rate from 120hz to 60hz to
> have normal speed. Is there a fix for this?

It sounds like you've configured MAME to sync to the refresh rate, when you do that you get to keep the pieces.

Have you tried deleting mame.ini, then running mame -cc & starting again?
Don't just start changing things in there without understanding the consequences, it's better off you don't assume you know anything.

Edited by smf (10/17/14 02:18 PM)



Elaphe
MAME
Reged: 07/06/05
Posts: 127
Send PM


Re: Disaster with MAME after migrating from XP 32 to Win7 64 new [Re: Ziggy100]
#333396 - 10/17/14 11:29 PM


I've finally got it to work. I already tried that alternative 64 bit version of SweetFX before, but it crashed. The problem was that I was copying the dlls only, and I need to copy everything, including all the shaders from the pack.






Elaphe
MAME
Reged: 07/06/05
Posts: 127
Send PM


Re: Disaster with MAME after migrating from XP 32 to Win7 64 new [Re: ]
#333397 - 10/17/14 11:31 PM


I don't think it's a problem of configuration, because it was working perfectly and when I changed my OS, using the same files and everything, the problem arose. I'll do further tests and I'll tell you the results. Nobody here uses a 120hz monitor with MAME under Windows 7?






lamprey
MAME Fan
Reged: 12/01/11
Posts: 238
Send PM


Re: Disaster with MAME after migrating from XP 32 to Win7 64 new [Re: Elaphe]
#333398 - 10/17/14 11:40 PM


My understanding, and I could well be wrong, is that you shouldn't use v-sync with mame. Not all games run at the same speed/refresh rate and, unless it was changes recently, that will cause games to run faster or slower than intended when v-sync is enabled; As you have found by enabling vsync on a 120hz monitor.



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3200
Loc: A long way from you
Send PM


Re: Disaster with MAME after migrating from XP 32 to Win7 64 new [Re: Elaphe]
#333402 - 10/18/14 12:54 AM





Elaphe
MAME
Reged: 07/06/05
Posts: 127
Send PM


Syncrefresh new [Re: Elaphe]
#333436 - 10/18/14 01:52 PM


After many tests with vsync, triple buffer, throtle, etc. I've found out that the problem comes when I use syncrefresh 1. Then the game accelerates to 120 fps when my monitor is at 120hz. This was not happening with XP. If I set my monitor to 60hz, then when syncrefresh is set to 1 the lag is terrible.






Elaphe
MAME
Reged: 07/06/05
Posts: 127
Send PM


Re: Disaster with MAME after migrating from XP 32 to Win7 64 new [Re: Robbbert]
#333448 - 10/18/14 05:26 PM


What graphic card are you using?






Anonymous
Unregistered
Send PM


Re: Syncrefresh new [Re: Elaphe]
#333449 - 10/18/14 05:42 PM


> I've found out that the problem comes when I use syncrefresh 1.

Yes, that is the option you shouldn't use unless you know how to make it work properly.

-[no]syncrefresh

Enables speed throttling only to the refresh of your monitor. This
means that the game's actual refresh rate is ignored; however, the
sound code still attempts to keep up with the game's original refresh
rate, so you may encounter sound problems. This option is intended
mainly for those who have tweaked their video card's settings to
provide carefully matched refresh rate options. Note that this option
does not work with -video gdi mode.The default is OFF (-nosyncrefresh).

I assume someone recommended using it, in which case you should ask them. The last time I paid any attention to people trying to do what you are doing they were using waitvsync 1 & throttle 0 instead of syncrefresh (although I don't think that would work with a 120hz graphics mode either).

But it's clearly your configuration at fault and not the operating system, graphics card or MAME. You either weren't using 120hz refresh rate on XP or there was something that meant it was reporting it was running at 60hz somehow (which is possible either because of a bug or some for of hack that you added).

Edited by smf (10/18/14 05:48 PM)



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3200
Loc: A long way from you
Send PM


Re: Disaster with MAME after migrating from XP 32 to Win7 64 new [Re: Elaphe]
#333459 - 10/18/14 10:41 PM





Elaphe
MAME
Reged: 07/06/05
Posts: 127
Send PM


Re: Syncrefresh new [Re: ]
#333488 - 10/19/14 12:43 PM


I've always used syncrefresh in order to have smooth scrolls with non-60hz games.

I'll try changing my monitor with a 60hz monitor and also try using a different graphic card. Sooner or later, I hope to find the source of the problem.





Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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