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: MAME sound problems cont.  (Read 1723 times)

0 Members and 1 Guest are viewing this topic.

radiator

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 347
  • Last login:April 18, 2013, 07:14:43 pm
  • SFA OK!
    • :: verticalcircle ::
MAME sound problems cont.
« on: April 16, 2003, 07:56:47 pm »
i posted a while back about nasty sound problems i was getting in MAME...

well...i've sorted it (kind of) but need some advice/help/opinions...

my machine is an Athlon 1.2Ghz, 640Mb RAM, 40Gb HDD, ATI 7500 64MB graphics card, and i'm using a 25" s-video tv
the problem only occurs when the tv is connected to the computer (ie, only the tv, as the main display, no secondary monitor plugged into the card).
as soon as i unplug the tv and connect my monitor, the problems completely go away (and suddenly i'm able to play the vast majority of games at full speed (auto frameskip, reports 100% and 60/60 fps - whereas using the tv, with the same games, it goes down to 50/60 with nasty sound skipping)

just wondered if this problem has occured to anyone else, and is there an easy fix that i've missed along the way ???

cheers guys
When the Germans bombed the British, the British ducked.
When the British bombed the Germans, the Germans ducked.
When the Americans started bombing, everyone ducked!

austinrfnd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 45
  • Last login:March 28, 2004, 06:13:42 pm
  • I want my own arcade controls!
Re:MAME sound problems cont.
« Reply #1 on: April 16, 2003, 09:45:04 pm »
Wow, that's weird man.  I am a newbie, but are you using the correct and updated drivers for your ATI card?    Are you running your emulation in DOS or windows?

-Austin


radiator

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 347
  • Last login:April 18, 2013, 07:14:43 pm
  • SFA OK!
    • :: verticalcircle ::
Re:MAME sound problems cont.
« Reply #2 on: April 16, 2003, 10:32:35 pm »
running mame .65 in WindowsXP Pro

ATI drivers are the latest (only got the card a month ago - downloaded the drivers as soon as it arrived!)

it is kind of a weird problem, not really sure why it happens...

 ???
When the Germans bombed the British, the British ducked.
When the British bombed the Germans, the Germans ducked.
When the Americans started bombing, everyone ducked!

radiator

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 347
  • Last login:April 18, 2013, 07:14:43 pm
  • SFA OK!
    • :: verticalcircle ::
Re:MAME sound problems cont.
« Reply #3 on: April 17, 2003, 05:11:28 pm »
anyone ???
When the Germans bombed the British, the British ducked.
When the British bombed the Germans, the Germans ducked.
When the Americans started bombing, everyone ducked!

Cave

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 122
  • Last login:June 07, 2009, 10:27:58 am
Re:MAME sound problems cont.
« Reply #4 on: April 18, 2003, 11:53:14 am »
Try renaming or deleting your mame.ini this should give you default settings and try the offending game again if its ok now then its got to be a setting in the .ini, this is what my problem was sounds very much like yours.

Cave

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 122
  • Last login:June 07, 2009, 10:27:58 am
Re:MAME sound problems cont.
« Reply #5 on: April 18, 2003, 12:10:02 pm »
Ok I've found out that it was the "Triplebuffer" command, try setting this to 0, having this turned on was causing crackled sound and lag on my setup.

radiator

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 347
  • Last login:April 18, 2013, 07:14:43 pm
  • SFA OK!
    • :: verticalcircle ::
Re:MAME sound problems cont.
« Reply #6 on: April 18, 2003, 12:24:34 pm »
Cave:

did what you said, renamed my old mame.ini and created a new one (i'd have never thought of that :P )

anywho, setup the following in the new .ini file:

hwstretch              1
resolution              640x480
effect                      sharp
high_priority          1
skip_disclaimer      1
skip_info                1

and also turned off artwork, backdrops, overlays and bezels, fired up mame and the sound problem was solved.........but, got nasty video 'tearing' in the game i ran (using SmashTV as a test).

after fiddling around with the .ini file i found that turning on either triplebuffer, or waitvsync would cause the problems again (and also, the autoframeskip would report between 89% and 110%, at anything between 47 and 58fps (out of 53fps)).

grrrr

is there any damn solution that can get rid of the video tearing, but leave the sound alone?!?!?

this really bugs me, its like you can either have nice video, or nice sound, but not both at the same time...

(just waiting for Howard to come along and tell me i need a P4 3Ghz to be able to run MAME properly ;D )

but seriously, i dont think this is a 'CPU not fast enough' situation, as the problems go away as soon as i connect my PC monitor...it only seems to happen with the tv!?


EDIT:

ok, just ran SmashTV again, using my computer monitor - same settings as above (but with waitvsync and triplebuffer enabled)
sound is fine, graphics look nice and smooth, and the frameskip constantly flickers between 99% and 100%, the fps runs at 53/53 and very occasionaly flicks down to 46/53

seems to just be a problem with the tv-out on the graphics card...hmmm
« Last Edit: April 18, 2003, 12:38:04 pm by radiator »
When the Germans bombed the British, the British ducked.
When the British bombed the Germans, the Germans ducked.
When the Americans started bombing, everyone ducked!

Cave

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 122
  • Last login:June 07, 2009, 10:27:58 am
Re:MAME sound problems cont.
« Reply #7 on: April 18, 2003, 05:40:44 pm »
I'm using an arcade monitor+ArcadeVGA with an AMD xp2000+ and have the same problem one or the other  ???, the thing is i never had this problem last week and can't remember what i've done to cause it.

radiator

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 347
  • Last login:April 18, 2013, 07:14:43 pm
  • SFA OK!
    • :: verticalcircle ::
Re:MAME sound problems cont.
« Reply #8 on: April 19, 2003, 11:14:01 am »
thanks for the info Cave

does anyone else have this problem?
When the Germans bombed the British, the British ducked.
When the British bombed the Germans, the Germans ducked.
When the Americans started bombing, everyone ducked!

StephenH

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 544
  • Last login:January 09, 2023, 06:15:45 am
  • I'm a llama!
Re:MAME sound problems cont.
« Reply #9 on: April 19, 2003, 02:02:46 pm »
Try upgrading to the latest version of DirectX

radiator

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 347
  • Last login:April 18, 2013, 07:14:43 pm
  • SFA OK!
    • :: verticalcircle ::
Re:MAME sound problems cont.
« Reply #10 on: April 20, 2003, 01:48:46 pm »
ok, i've double checked that my ATI drivers are up to date (and they are), i've also downloaded DirectX 9.0a (which took bloody ages!)

still, the problem persists...

i might give advanceMAME a shot and see what happens, unless anyone has any bright ideas?

 :P
When the Germans bombed the British, the British ducked.
When the British bombed the Germans, the Germans ducked.
When the Americans started bombing, everyone ducked!

Cave

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 122
  • Last login:June 07, 2009, 10:27:58 am
Re:MAME sound problems cont.
« Reply #11 on: April 21, 2003, 04:00:28 pm »
I've narrowed it down a bit more, Puckman for instance, when its displayed in its native rotation i.e. vertical, sound is fine with triple buffer on, when i run the game on a horizontal monitor sound starts to skip, now would this sugest a video problem ?