Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MALA with MAME .123 64bit really slow, 32bit fine  (Read 7118 times)

0 Members and 1 Guest are viewing this topic.

rooter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:October 14, 2021, 01:31:15 pm
    • ShaunRoot.net
MALA with MAME .123 64bit really slow, 32bit fine
« on: February 27, 2008, 01:47:15 am »
I compiled my own 64bit version of MAME and I'm having problems.  When I tried running it, everything was incredibly slow.  It was completely unplayable.  It took the emulator about 5 seconds to respond to any key press and I was getting about a frame per second.  I thought I might have screwed up the compile somehow, so I downloaded the official binaries and had the same problem.  I'm running 64bit Vista with a 2.8ghz Intel dual core chip with 4gigs of ram.  The 32bit version of MAME runs fine.  Does anyone have any ideas what might be causing this problem?
« Last Edit: February 29, 2008, 08:02:59 pm by rooter »

Jdurg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1127
  • Last login:October 04, 2020, 09:26:27 pm
  • A young guy feeling older than sin......
Re: Mame .123 64bit really slow, 32bit fine
« Reply #1 on: February 27, 2008, 01:12:27 pm »
Did you accidentally compile it with the Intel Core2Duo optimizations in place?  If that is the case then it will run horribly on an AMD based system.
Donkey Kong High Scores:
1): 49,500
2): 35,600
3): 30,100
4): 29,400
5): 28,200

rooter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:October 14, 2021, 01:31:15 pm
    • ShaunRoot.net
Re: Mame .123 64bit really slow, 32bit fine
« Reply #2 on: February 27, 2008, 01:56:35 pm »
Almost definitely not.  Would the default distribution have done that?  You would think they would have two versions of the executables on mamedev.org if that was the case.

BASS!

  • Just have fun.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 837
  • Last login:August 10, 2013, 03:12:33 am
Re: Mame .123 64bit really slow, 32bit fine
« Reply #3 on: February 27, 2008, 05:57:33 pm »
I've got the stupid question of the day.you sure you have a 64bit os? If you dont, you wont be able to run 64bit programs. Vista 64bit and xp 64 will work, but just because your processor is 64bit, that doesn't mean that you can run 64bit programs. Sorry to post a duuuhh question, but this may be your issue. Also make sure that you get a bin that is optimized for vista, I don't think they all are.

I don't know much about vista, but can you run the executable in compatibility mode?

*edit - missed part of the question
« Last Edit: February 27, 2008, 05:59:46 pm by uprightbass360 »

Jdurg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1127
  • Last login:October 04, 2020, 09:26:27 pm
  • A young guy feeling older than sin......
Re: Mame .123 64bit really slow, 32bit fine
« Reply #4 on: February 27, 2008, 07:07:17 pm »
I've got the stupid question of the day.you sure you have a 64bit os? If you dont, you wont be able to run 64bit programs. Vista 64bit and xp 64 will work, but just because your processor is 64bit, that doesn't mean that you can run 64bit programs. Sorry to post a duuuhh question, but this may be your issue. Also make sure that you get a bin that is optimized for vista, I don't think they all are.

I don't know much about vista, but can you run the executable in compatibility mode?

*edit - missed part of the question

If he didn't have a 64-bit OS he wouldn't even be able to get the program to run.  A 64-bit program won't even load on a 32-bit OS.  You'd immediately get an error message when you try to run the program.
Donkey Kong High Scores:
1): 49,500
2): 35,600
3): 30,100
4): 29,400
5): 28,200

rooter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:October 14, 2021, 01:31:15 pm
    • ShaunRoot.net
Re: Mame .123 64bit really slow, 32bit fine
« Reply #5 on: February 28, 2008, 02:54:59 pm »

Jdurg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1127
  • Last login:October 04, 2020, 09:26:27 pm
  • A young guy feeling older than sin......
Re: Mame .123 64bit really slow, 32bit fine
« Reply #6 on: February 29, 2008, 08:56:57 am »
Okay.  So now you have an Intel CPU in there?  Just checking to see if you still have the same problems.  I only ask because I have a 64-bit build of MAME and I'm having no problem running it on a Windows Vista Home Premium 64-bit OS with an Intel 2.5 GHz Core2Duo CPU.
Donkey Kong High Scores:
1): 49,500
2): 35,600
3): 30,100
4): 29,400
5): 28,200

rooter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:October 14, 2021, 01:31:15 pm
    • ShaunRoot.net
Re: Mame .123 64bit really slow, 32bit fine
« Reply #7 on: February 29, 2008, 10:03:38 am »
Okay.  So now you have an Intel CPU in there?  Just checking to see if you still have the same problems.  I only ask because I have a 64-bit build of MAME and I'm having no problem running it on a Windows Vista Home Premium 64-bit OS with an Intel 2.5 GHz Core2Duo CPU.

Yeah, that was a bone head move on my part.  It is a Pentium 920 D.  I confused my desktop pc with my arcade machine.  I've swapped a lot of parts between them, so it was an understandable mistake I guess.

I didn't optimize my compile for any certain chip set though, so I don't know the problem. Should I try choosing a specific chip set?  I'm assuming the binaries at mamedev.org aren't compiled for a specific processor and would work in either case.

I would kill to just copy someone's known working Intel build with working highscores, but I know that is frowned upon.

BASS!

  • Just have fun.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 837
  • Last login:August 10, 2013, 03:12:33 am
Re: Mame .123 64bit really slow, 32bit fine
« Reply #8 on: February 29, 2008, 03:42:18 pm »
I've got the stupid question of the day.you sure you have a 64bit os? If you dont, you wont be able to run 64bit programs. Vista 64bit and xp 64 will work, but just because your processor is 64bit, that doesn't mean that you can run 64bit programs. Sorry to post a duuuhh question, but this may be your issue. Also make sure that you get a bin that is optimized for vista, I don't think they all are.

I don't know much about vista, but can you run the executable in compatibility mode?

*edit - missed part of the question

If he didn't have a 64-bit OS he wouldn't even be able to get the program to run.  A 64-bit program won't even load on a 32-bit OS.  You'd immediately get an error message when you try to run the program.

My stupid, good point  :-[

rooter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 205
  • Last login:October 14, 2021, 01:31:15 pm
    • ShaunRoot.net
Re: MALA with MAME .123 64bit really slow, 32bit fine
« Reply #9 on: February 29, 2008, 08:10:14 pm »
Thanks to Headkaze's new program, I think I have made some progress here.  I was able to compile MAMEUI64 and it works great.  I guess this means that the problem is somewhere with MALA.  If I just run MAMEUI64 I have no problems whatsoever.  When I run MALA and use any of the three 64bit builds mentioned in this thread, I have major slowdown issues.  If I run MALA with a 32bit version of MAME, I have no problems.  Has anyone gotten MALA to work with a 64bit version of MAME?  Or any other customizable frontend for that matter?  I really don't want to switch frontends, but I would be willing to do so to switch over to 64 bit.  The only real requirement that I would have is that the frontend needs to support my LEDWiz.

rdenis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 54
  • Last login:January 11, 2011, 04:19:38 pm
Re: MALA with MAME .123 64bit really slow, 32bit fine
« Reply #10 on: March 08, 2008, 12:24:05 pm »
I am running Mala and Mame 123 on Vista 64 Premium with no issues other than slowdown when attract vids are enabled.  This is not an issue in Vista 32 - SP1 for Vista 64 is coming out any day and supposedly has marked perfomrance increases - we'll see if the SP helps.  Other than the attract vid issue, Mala and LedBlinky run great (I'm running Blinky 3.6 beta which solves a speech threading issue in 64 bit O/S).

rdenis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 54
  • Last login:January 11, 2011, 04:19:38 pm
Re: MALA with MAME .123 64bit really slow, 32bit fine
« Reply #11 on: March 19, 2008, 03:33:34 pm »
I compiled my own 64bit version of MAME and I'm having problems.  When I tried running it, everything was incredibly slow.  It was completely unplayable.  It took the emulator about 5 seconds to respond to any key press and I was getting about a frame per second.  I thought I might have screwed up the compile somehow, so I downloaded the official binaries and had the same problem.  I'm running 64bit Vista with a 2.8ghz Intel dual core chip with 4gigs of ram.  The 32bit version of MAME runs fine.  Does anyone have any ideas what might be causing this problem?

Thanks to Headkaze's new program, I think I have made some progress here.  I was able to compile MAMEUI64 and it works great.  I guess this means that the problem is somewhere with MALA.  If I just run MAMEUI64 I have no problems whatsoever.  When I run MALA and use any of the three 64bit builds mentioned in this thread, I have major slowdown issues.  If I run MALA with a 32bit version of MAME, I have no problems.  Has anyone gotten MALA to work with a 64bit version of MAME?  Or any other customizable frontend for that matter?  I really don't want to switch frontends, but I would be willing to do so to switch over to 64 bit.  The only real requirement that I would have is that the frontend needs to support my LEDWiz.

I'm feeling your pain - I just compiled 123.u5 64 bit Mame (optimized for Core 2 Quad 6600 and running Vista 64 Premium) and launching from Mala is unplayable because of the framerate slowdown :(

I can launch from command line no problems and it runs great.  Mala seems to only play nice with 32 bit versions unless I am missing something in the Mame setup/config that would address this issue.

Perhaps Loadman or someone else has a suggestion?

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1235
  • Last login:Today at 02:33:09 pm
    • For Amusement Only e.V.
Re: MALA with MAME .123 64bit really slow, 32bit fine
« Reply #12 on: April 12, 2008, 05:56:35 pm »
It's related to the keyhook.
MAME runs fine without any key input for me (I use ultrastiks), but somewhat stops completely for about half a second as soon as I press something on my keyboard.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


joebells

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 100
  • Last login:January 11, 2009, 07:57:45 pm
Re: MALA with MAME .123 64bit really slow, 32bit fine
« Reply #13 on: April 13, 2008, 12:06:41 am »
I wonder if x64 mame has some kind of input issue as I suffer from an eip error when I run x64 mame with a controller turned on. When its on and I'm running mame it acts very slow when trying to assign keys in the menu also. I wonder if some of you might be getting that eip error also. Try running a game from the command line when you exit it'll show it.

8way

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 219
  • Last login:February 03, 2017, 05:52:21 am
  • This is my BOOM stick!
Re: MALA with MAME .123 64bit really slow, 32bit fine
« Reply #14 on: May 04, 2008, 07:04:45 pm »
It's related to the keyhook.
MAME runs fine without any key input for me (I use ultrastiks), but somewhat stops completely for about half a second as soon as I press something on my keyboard.

I have the same problem. Is their a fix or some kind of workaround yet?

massive88

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 938
  • Last login:February 26, 2024, 02:21:01 pm
Re: MALA with MAME .123 64bit really slow, 32bit fine
« Reply #15 on: May 06, 2008, 08:41:08 am »
It's related to the keyhook.
MAME runs fine without any key input for me (I use ultrastiks), but somewhat stops completely for about half a second as soon as I press something on my keyboard.

I have the same problem. Is their a fix or some kind of workaround yet?

Not yet.  The hope is that its being worked on, fueled by non-commitive comments by Loadman  =D

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: MALA with MAME .123 64bit really slow, 32bit fine
« Reply #16 on: May 06, 2008, 06:04:51 pm »
It's related to the keyhook.
MAME runs fine without any key input for me (I use ultrastiks), but somewhat stops completely for about half a second as soon as I press something on my keyboard.

I have the same problem. Is their a fix or some kind of workaround yet?

Not yet.  The hope is that its being worked on, fueled by non-commitive comments by Loadman  =D

It is... Patience young Jedi.  ;)

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: MALA with MAME .123 64bit really slow, 32bit fine
« Reply #17 on: May 11, 2008, 05:28:30 am »
Just making another post here to let you all know deleting MaLaKeyHook.dll from your MaLa folder will solve the performance issues running it with Mame64. Loadman thought it might work so I tested it on my XP 64 machine and indeed it did solve the problem. Good work loadman your already making progress! :)
« Last Edit: May 11, 2008, 05:31:11 am by headkaze »

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: MALA with MAME .123 64bit really slow, 32bit fine
« Reply #18 on: May 11, 2008, 06:59:27 am »
Just making another post here to let you all know deleting MaLaKeyHook.dll from your MaLa folder will solve the performance issues running it with Mame64. Loadman thought it might work so I tested it on my XP 64 machine and indeed it did solve the problem. Good work loadman your already making progress! :)

Thanks for testing it on your Commodore 64  :cheers:  I mean 64 bit OS   :P

http://forum.arcadecontrols.com/index.php?topic=79974.0
« Last Edit: May 11, 2008, 07:44:00 am by loadman »