[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Strange problem with sound in Flash plugin (maybe OT)



Hi all,
This is a really weird problem with sound in Flash movies.  The problem is
that the sound only plays once in a while.  E.g., if I point Mozilla at
the well-known Star Wars Gangsta Rap animation,
http://www.its.caltech.edu/~po/gangsta.swf, and I keep reloading the
animation, I will get sound maybe 40% of the times I reload.  The same is
true with Netscape 4.77, although in this case I get sound about 90% of
the time.

I do not have problems with any other sound-playing program:  xmms,
playmidi, etc. all work properly every time.  Any ideas?  Does anyone else
have a Soundblaster AWE32/64 and have [or not have] this problem?  I put
all the gory details below.

Please CC: to my email since I'm not subscribed to the list.

Thanks in advance for any help,
Kevin McCarty

-----

0) Hardware
I have a Pentium II running at 266 MHz, and 128M RAM.
The sound card is an ISA-PnP Soundblaster AWE64.

1) Program versions
Version of Flash: 5.0 r45, downloaded from Macromedia
Version of Mozilla: mozilla-browser 0.9.6-6 (Debian package)
Version of Netscape: communicator-smotif-477 4.77-2 (Debian package)
Version of the AWE drivers: awe-drv 0.4.3.1-1.2 (Debian package)
Kernel: Linux 2.4.14 compiled from scratch, all relevant sound options 
installed as modules.  Same problem with Debian kernel package 
kernel-image-2.4.7-586, though.

2) Relevant part of output of lsmod:
Module                  Size  Used by    Tainted: P 
awe_wave              155200   0 
opl3                   10888   0 
sb                      7360   1  (autoclean)
sb_lib                 32128   0  (autoclean) [sb]
uart401                 6048   0  (autoclean) [sb_lib]
sound                  51596   1  (autoclean) [awe_wave opl3 sb_lib uart401]
soundcore               3268   8  (autoclean) [sb_lib sound]

3) The appropriate part of my /etc/modules.conf looks like this:
alias char-major-14 soundcore
alias sound-slot-0 sb
alias sound-service-0-0 sound
alias sound-service-0-1 opl3
alias sound-service-0-2 awe_wave
alias sound-service-0-3 sound
alias sound-service-0-6 sound
alias midi awe_wave

options sound dmabuf=1
options opl3 io=0x388
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330

post-install sb /sbin/modprobe opl3 && /sbin/modprobe awe_wave
post-install awe_wave /bin/sfxload /etc/midi/GU11-ROM.SF2

[note: /etc/midi/GU11-ROM.SF2 is a symlink to a 512k SoundFont file, 
/usr/local/lib/awe/sfbank/synthgs.sbk.  I don't remember where I got the 
file, but it works, so I don't mess with it!]

4) Output of isapnp at boot time, obtained from dmesg:
isapnp: Scanning for PnP cards...
isapnp: Calling quirk for 01:03
isapnp: CMI8330 quirk - fixing interrupts and dma
isapnp: Calling quirk for 02:00
isapnp: SB audio device quirk - increasing port range
isapnp: Calling quirk for 02:02
isapnp: AWE32 quirk - adding two ports
isapnp: Card 'CMI8330. Audio Adapter'
isapnp: Card 'Creative SB AWE64  PnP'
isapnp: 2 Plug & Play cards detected total

(The CMI8330 card is a motherboard-based card which I ignore.)

5) The sound modules when loaded output the following to /var/log/messages:
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: Creative SB AWE64  PnP detected
sb: ISAPnP reports 'Creative SB AWE64  PnP' at i/o 0x220, irq 5, dma 1, 5
SB 4.16 detected OK (220)
<Sound Blaster 16 (4.16)> at 0x220 irq 5 dma 1,5
<Sound Blaster 16> at 0x330 irq 5 dma 0,0
sb: CMI8330. Audio Adapter detected
sb: ISAPnP reports 'CMI8330. Audio Adapter' at i/o 0x240, irq 10, dma 3, 7
SB 4.13 detected OK (240)
<Sound Blaster 16 (4.13)> at 0x240 irq 10 dma 3,7
sb: 2 Soundblaster PnP card(s) found.
YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996
<Yamaha OPL3> at 0x388
ISAPnP reports AWE64 WaveTable at i/o 0x620
<SoundBlaster EMU8000 (RAM512k)>



Reply to: