Welcome to GameHourz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

xmame - terrible sound

 
   Game Forums (Home) -> MAME Games RSS
Next:  Igametc Company  
Author Message
Magnus Warker

External


Since: Aug 24, 2006
Posts: 4



(Msg. 1) Posted: Thu Aug 24, 2006 12:55 am
Post subject: xmame - terrible sound
Archived from groups: alt>games>mame (more info?)

Hi,

when using xmame I get terrible sound, especially when there are some other
io-intensive processes running, but also without.

It sounds fragmented, as if sound starts and stops in an alternating manner.

I have tried playing with the xmame options, like buffer size, frequency,
mixer and digital sound plugins, without success.

I have compiled the latest xmame:

xmame (x11) version 0.106 (Aug 18 2006)

My kernel version is 2.6.16:

Linux magnus 2.6.16.20 #1 PREEMPT Sat Jun 17 11:25:16 CEST 2006
i686 GNU/Linux

I am using ALSA sound drivers:

magnus:~ >>> lsmod | grep snd
snd_via82xx 27032 1
gameport 15496 1 snd_via82xx
snd_ac97_codec 84384 1 snd_via82xx
snd_ac97_bus 2432 1 snd_ac97_codec
snd_pcm 82440 2 snd_via82xx,snd_ac97_codec
snd_timer 23940 1 snd_pcm
snd_page_alloc 10632 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7680 1 snd_via82xx
snd_rawmidi 24480 1 snd_mpu401_uart
snd_seq_device 8588 1 snd_rawmidi
snd 50660 9
snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 10464 1 snd

I have tested xmame with both ALSA and OSS emulation.

Any help???

Magnus

 >> Stay informed about: xmame - terrible sound 
Back to top
Login to vote
MCR

External


Since: Jul 22, 2006
Posts: 19



(Msg. 2) Posted: Thu Aug 24, 2006 7:55 am
Post subject: Re: xmame - terrible sound [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Magnus Warker <magnus DeleteThis @warker.co> wrote in news:ecj5me$bk8$1@online.de:

Snipped

> I have tested xmame with both ALSA and OSS emulation.
>
> Any help???
>
> Magnus
>
>

What is your CPU and what games have you tried this on?
It sounds like your trying to run a game that your hardware is not powerful
enough to run. What does the FPS show? is it 60/60 or whatever the frame
rate the game is trying to run at?
--
MCR
MAME - History In The Making
www.pleasuredome.org.uk

 >> Stay informed about: xmame - terrible sound 
Back to top
Login to vote
Magnus Warker

External


Since: Aug 24, 2006
Posts: 4



(Msg. 3) Posted: Thu Aug 24, 2006 1:55 pm
Post subject: Re: xmame - terrible sound [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi MCR,

I've tried bombjack and rocnrope, but other games show the same effect.

My CPU is the following:

AMD Athlon(tm) 64 Processor 3500+
cpu MHz : 2200.097
cache size : 512 KB

What I've found interesting, is the framerate, because it heavily depends on
the scaling factor:

> xmame bombjack
....
Average FPS: 58.507894 (916 frames)

> xmame -s 3 bombjack
....
Average FPS: 19.272259 (287 frames)

Is it really the graphics that is the bottleneck? I thought these graphics
from the old days are trivial (no 3d etc.).

Can I improve this? It's frustrating that mame runs fine on Windows boxes
with much older hardware.

Many thanks,
Magnus


MCR wrote:
> What is your CPU and what games have you tried this on?
> It sounds like your trying to run a game that your hardware is not
> powerful
> enough to run. What does the FPS show? is it 60/60 or whatever the frame
> rate the game is trying to run at?
 >> Stay informed about: xmame - terrible sound 
Back to top
Login to vote
Lasse Reinikainen

External


Since: Apr 17, 2005
Posts: 7



(Msg. 4) Posted: Thu Aug 24, 2006 3:55 pm
Post subject: Re: xmame - terrible sound [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2006-08-24, Magnus Warker <magnus RemoveThis @warker.co> wrote:
> Is it really the graphics that is the bottleneck? I thought these graphics
> from the old days are trivial (no 3d etc.).

Scaling is slow if it is done with software. If you have nVidia or ATI display
adapter (adapter based on those chipsets) and official binary only (= closed
source) driver installed, OpenGL wili help.

I have no problem scaling up to 1920x1200 (I scale everything because I am
using LCD) with my 2533 MHz P4 and old GeForce 4. SDL MAME supports OpenGL
(and has been updated to v1.0Cool. I don't know about xmame.

If you don't have ATI or nVidia based videocard (from this millennium), then I
think your best option is AdvanceMAME (stuck at v1.06 like xmame) which
directly supports many display adapters.
--
___.-.___ ________
oldieboy @@ gamebox .. net \_______/ (|______/
`-'_\\___||_
)[______.-'
 >> Stay informed about: xmame - terrible sound 
Back to top
Login to vote
Lasse Reinikainen

External


Since: Apr 17, 2005
Posts: 7



(Msg. 5) Posted: Fri Aug 25, 2006 7:55 am
Post subject: Re: xmame - terrible sound [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2006-08-24, Andreas Kohlbach <ankman.TakeThisOut@email.com> wrote:
>> If you don't have ATI or nVidia based videocard (from this millennium),
>> then I think your best option is AdvanceMAME (stuck at v1.06 like
>> xmame) which directly supports many display adapters.
>
> Under Linux? Then I might have a look at it.

Linux, yes.
--
___.-.___ ________
oldieboy @@ gamebox .. net \_______/ (|______/
`-'_\\___||_
)[______.-'
 >> Stay informed about: xmame - terrible sound 
Back to top
Login to vote
Magnus Warker

External


Since: Aug 24, 2006
Posts: 4



(Msg. 6) Posted: Fri Aug 25, 2006 7:11 pm
Post subject: Re: xmame - terrible sound [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Andreas!

Andreas Kohlbach wrote:

> When you disbale sound what frame rate you have? And what with sound?

Well, I have not found any option to disable sound within xmame. However,
the "-nosound" option is not present (anymore) in xmame (x11) version
0.106. But I really would like to test this.

> How do you invoke OSS? With "-dp oss"? What does "xmame -ldp" say?

I have tested "-dp oss", "-dp alsa" and without "-dp" option (using
defaults).

My mixer plugins are the following:

> xmame -ldp
oss Open Sound System DSP plugin
alsa Alsa Sound System DSP plugin
sdl Simple Direct Library DSP plugin

I have compiled in SDL for testing purposes.

What about the mixer devices?

> xmame -lmp
oss Open Sound System mixer plugin
alsa ALSA mixer plugin

On startup, xmame says:
error: /dev/mixer: No such file or directory

Anyhow...

> If there is a problem with speed, try an alternate "driver" like adding
> "-vidmod 1" to your command line.

With this option the game runs *much* better. What does this mean?

> If it looks okay (no reversed colors as I have) I'd be more interested in
> your Linux specs (graphic card, X server...).

Below is a lspci and a xvinfo.

Many thanks,
Magnus

--- lspci ---
0000:00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0282
Subsystem: VIA Technologies, Inc.: Unknown device 0282
Flags: bus master, 66MHz, medium devsel, latency 8
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [80] AGP version 3.0
Capabilities: [50] Power Management version 2
Capabilities: [60] #08 [0060]
Capabilities: [58] #08 [8001]

0000:00:00.1 Host bridge: VIA Technologies, Inc.: Unknown device 1282
Flags: bus master, medium devsel, latency 0

0000:00:00.2 Host bridge: VIA Technologies, Inc.: Unknown device 2282
Flags: bus master, medium devsel, latency 0

0000:00:00.3 Host bridge: VIA Technologies, Inc.: Unknown device 3282
Flags: bus master, medium devsel, latency 0

0000:00:00.4 Host bridge: VIA Technologies, Inc.: Unknown device 4282
Flags: bus master, medium devsel, latency 0

0000:00:00.7 Host bridge: VIA Technologies, Inc.: Unknown device 7282
Flags: bus master, medium devsel, latency 0

0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800
South] (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fb000000-fb0fffff
Prefetchable memory behind bridge: e8000000-f7ffffff
Capabilities: [80] Power Management version 2

0000:00:0a.0 Multimedia video controller: Conexant Winfast TV2000 XP (rev
05)
Subsystem: Hauppauge computer works Inc.: Unknown device 9002
Flags: bus master, medium devsel, latency 32, IRQ 201
Memory at f8000000 (32-bit, non-prefetchable) [size=16M]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2

0000:00:0a.2 Multimedia controller: Conexant: Unknown device 8802 (rev 05)
Subsystem: Hauppauge computer works Inc.: Unknown device 9002
Flags: bus master, medium devsel, latency 32, IRQ 201
Memory at f9000000 (32-bit, non-prefetchable) [size=16M]
Capabilities: [4c] Power Management version 2

0000:00:0a.4 Multimedia controller: Conexant: Unknown device 8804 (rev 05)
Subsystem: Hauppauge computer works Inc.: Unknown device 9002
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
Capabilities: [4c] Power Management version 2

0000:00:0b.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02)
Subsystem: Adaptec 29160 Ultra160 SCSI Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 169
BIST result: 00
I/O ports at e000 [disabled] [size=256]
Memory at fb122000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at 40000000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2

0000:00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169
Gigabit Ethernet (rev 10)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 094c
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 193
I/O ports at e200 [size=256]
Memory at fb120000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at 40020000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2

0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA
RAID Controller (rev 80)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7094
Flags: bus master, medium devsel, latency 32, IRQ 177
I/O ports at e300 [size=8]
I/O ports at e400 [size=4]
I/O ports at e500 [size=8]
I/O ports at e600 [size=4]
I/O ports at e700 [size=16]
I/O ports at e800 [size=256]
Capabilities: [c0] Power Management version 2

0000:00:0f.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if
8a [Master SecP PriP])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7094
Flags: bus master, medium devsel, latency 32, IRQ 177
I/O ports at e900 [size=16]
Capabilities: [c0] Power Management version 2

0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7094
Flags: bus master, medium devsel, latency 32, IRQ 185
I/O ports at ea00 [size=32]
Capabilities: [80] Power Management version 2

0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7094
Flags: bus master, medium devsel, latency 32, IRQ 185
I/O ports at eb00 [size=32]
Capabilities: [80] Power Management version 2

0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7094
Flags: bus master, medium devsel, latency 32, IRQ 185
I/O ports at ec00 [size=32]
Capabilities: [80] Power Management version 2

0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7094
Flags: bus master, medium devsel, latency 32, IRQ 185
I/O ports at ed00 [size=32]
Capabilities: [80] Power Management version 2

0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
(prog-if 20 [EHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7094
Flags: bus master, medium devsel, latency 32, IRQ 185
Memory at fb121000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2

0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800
South]
Subsystem: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2

0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Subsystem: Micro-Star International Co., Ltd.: Unknown device b010
Flags: medium devsel, IRQ 209
I/O ports at ee00 [size=256]
Capabilities: [c0] Power Management version 2

0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
Flags: fast devsel
Capabilities: [80] #08 [2101]

0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
Flags: fast devsel

0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
Flags: fast devsel

0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
Flags: fast devsel

0000:01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device
4e51 (prog-if 00 [VGA])
Subsystem: PC Partner Limited: Unknown device 0200
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 5
Memory at e8000000 (32-bit, prefetchable) [size=128M]
I/O ports at d000 [size=256]
Memory at fb030000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at fb000000 [disabled] [size=128K]
Capabilities: [58] AGP version 3.0
Capabilities: [50] Power Management version 2

0000:01:00.1 Display controller: ATI Technologies Inc: Unknown device 4e71
Subsystem: PC Partner Limited: Unknown device 0201
Flags: bus master, 66MHz, medium devsel, latency 32
Memory at f0000000 (32-bit, prefetchable) [disabled] [size=128M]
Memory at fb020000 (32-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: [50] Power Management version 2


---xvinfo---

X-Video Extension version 2.2
screen #0
Adaptor #0: "ATI Radeon Video Overlay"
number of ports: 1
port base: 61
operations supported: PutImage
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
depth 24, visualID 0x27
depth 24, visualID 0x28
depth 24, visualID 0x29
depth 24, visualID 0x2a
number of attributes: 12
"XV_SET_DEFAULTS" (range 0 to 1)
client settable attribute
"XV_AUTOPAINT_COLORKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_COLORKEY" (range 0 to -1)
client settable attribute
client gettable attribute (current value is 30)
"XV_DOUBLE_BUFFER" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_COLOR" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_RED_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_GREEN_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_BLUE_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
maximum XvImage size: 2048 x 2048
Number of image formats: 4
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
 >> Stay informed about: xmame - terrible sound 
Back to top
Login to vote
Magnus Warker

External


Since: Aug 24, 2006
Posts: 4



(Msg. 7) Posted: Sat Aug 26, 2006 3:55 am
Post subject: Re: xmame - terrible sound [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Lasse!

Lasse Reinikainen wrote:

> Scaling is slow if it is done with software. If you have nVidia or ATI
> display adapter (adapter based on those chipsets) and official binary only
> (= closed source) driver installed, OpenGL wili help.

How can I check this out?

lspci shows 2 (?) graphics devices:

0000:01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device
4e51 (prog-if 00 [VGA])
Subsystem: PC Partner Limited: Unknown device 0200
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 5
Memory at e8000000 (32-bit, prefetchable) [size=128M]
I/O ports at d000 [size=256]
Memory at fb030000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at fb000000 [disabled] [size=128K]
Capabilities: [58] AGP version 3.0
Capabilities: [50] Power Management version 2

0000:01:00.1 Display controller: ATI Technologies Inc: Unknown device 4e71
Subsystem: PC Partner Limited: Unknown device 0201
Flags: bus master, 66MHz, medium devsel, latency 32
Memory at f0000000 (32-bit, prefetchable) [disabled] [size=128M]
Memory at fb020000 (32-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: [50] Power Management version 2


> I have no problem scaling up to 1920x1200 (I scale everything because I am
> using LCD) with my 2533 MHz P4 and old GeForce 4. SDL MAME supports OpenGL
> (and has been updated to v1.0Cool. I don't know about xmame.

You mean, I could switch to mame (instead of xmame) and still use it under
X11?

Many thanks,
Magnus
 >> Stay informed about: xmame - terrible sound 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Xmame, Linux and a strange problem - Hi, I installed Suse 9.3, xmame and kxmame. Everything went fine, no error messages. When I start a game, no problem it works fine....BUT if I press Escape to quit the game, to play the next one, the screen stays black for some seconds and I`m back on..

Dos Sound Card - What would be the best sound card to run the dos version of mame?

Help with garbled sound - I'm trying to get MAME to run on a P3 1ghz (maybe) computer. The sound works sometimes and then sometimes is really messed up. I've got a few version of mame installled going back to about 3 years as well as the newest mame32. They all suffer from...

Star Trek sound problems - and Ninja Kid2 false memories - semi-n00b/eldster questions: Do the newer versions of mame have the Star Trek rom corrected so the voice sounds works properly? Using a .6 derivative in win, and a .32 dos. The problem(s) with the sound: When a sector is first entered, all the sounds...

MAME32 / Windows Problem - Hi folks, Last time I opened MAME32, I think I accidentally hit something in one of the title bar fields. Now the title bar no longer appears. Any hints on how to get it back without reloading? Thanks, DG
   Game Forums (Home) -> MAME Games All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]