You are not logged in.

#1 2007-02-04 10:32:02

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

No sound with flashplugin 9

Hi community,

i upgraded from flash 7 to flash 9 and i don't get sound for example on youtube or in flashgames. All other sound works, for example i get sound from mplayer, cmus and xawtv at the same time.

My soundcard is:

okraits@asterix ~ $ lspci |grep audio
01:09.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev 01)

When i start firefox from urxvt and watch a youtube video, the following messages appear on the commandline:

ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: Kein passendes Gerät gefunden
ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: Kein passendes Gerät gefunden
ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: Kein passendes Gerät gefunden
ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: Kein passendes Gerät gefunden
ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib pcm_hw.c:1357:(_snd_pcm_hw_open) Invalid value for card

("Kein passendes Gerät gefunden" means "no matching device found")

The following sound modules are loaded:

okraits@asterix ~ $ lsmod|grep snd
snd_seq_oss            29440  0 
snd_seq_midi_event      6528  1 snd_seq_oss
snd_bt87x              12004  0 
snd_seq                47056  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            38944  0 
snd_mixer_oss          14464  1 snd_pcm_oss
snd_ens1370            15584  988 
gameport               11784  1 snd_ens1370
snd_rawmidi            19360  1 snd_ens1370
snd_seq_device          6796  3 snd_seq_oss,snd_seq,snd_rawmidi
snd_pcm                68612  497 snd_bt87x,snd_pcm_oss,snd_ens1370
snd_timer              18948  496 snd_seq,snd_pcm
snd_ak4531_codec        8064  1 snd_ens1370
snd                    44004  999 snd_seq_oss,snd_bt87x,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_ens1370,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer,snd_ak4531_codec
soundcore               6624  1 snd
snd_page_alloc          7816  3 snd_bt87x,snd_ens1370,snd_pcm

Any hints?

I could provide my /etc/asound.state if needed.

Offline

#2 2007-02-04 14:28:49

xabbott
Member
From: orlando, fl
Registered: 2007-01-11
Posts: 56
Website

Re: No sound with flashplugin 9

Are you using Gnome? I used to have a problem in Debian with flash sound if I turned on Esd.

Offline

#3 2007-02-04 15:20:48

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: No sound with flashplugin 9

No, pekwm or openbox, so i merely use alsa.

Offline

#4 2007-02-04 15:41:32

_Pi
Member
From: CT
Registered: 2005-07-07
Posts: 26

Re: No sound with flashplugin 9

What browser do you use? How do you run it? Do you have dmix running? Also what sound card do you own?

Last edited by _Pi (2007-02-04 15:41:54)

Offline

#5 2007-02-04 15:54:34

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: No sound with flashplugin 9

_Pi wrote:

What browser do you use? How do you run it? Do you have dmix running? Also what sound card do you own?

Firefox, run by typing 'firefox' into urxvt, no dmix running, Creative Soundblaster PCI128.

Offline

#6 2007-02-04 15:58:39

_Pi
Member
From: CT
Registered: 2005-07-07
Posts: 26

Re: No sound with flashplugin 9

Well that might be your problem. I believe that's the same card my friend has and he needs dmix for it to have mutliple sound programs working at once. Secondly you might want to do

pacman -S alsa-oss

And run "aoss firefox" in urxvt.

Offline

#7 2007-02-04 16:34:49

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: No sound with flashplugin 9

Are you sure? cmus, mplayer and xawtv produce sound at the same time.

Offline

#8 2007-02-04 19:08:21

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: No sound with flashplugin 9

okraits wrote:

Are you sure? cmus, mplayer and xawtv produce sound at the same time.

That is kinda weird since according to the Alsa website the Soundblaster PCI128 does not support hardware mixing. Thus you need some kind of software mixing (like dmix or a soundserver) to be able to play sound from multiple sources at once.

Offline

#9 2007-02-05 18:53:28

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: No sound with flashplugin 9

Well, then dmix might be used without me knowing it roll

Offline

#10 2007-02-05 23:42:01

scottro
Member
From: NYC
Registered: 2002-10-11
Posts: 466
Website

Re: No sound with flashplugin 9

I'm having the same problem with an old cmpci card.  Sound will work save in firefox with flash-9.  Downgrading flash to 7 solved the problem.

(Just installing also-oss fixed it, I didn't have to run firefox with any special parameters)

Last edited by scottro (2007-02-17 01:36:57)

Offline

#11 2007-02-06 07:58:42

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: No sound with flashplugin 9

Yes, Flash 7 works with sound but downgrading would not be a satisfying solution. I just don't get why i get sound from cmus, mplayer and xawtv at the same time but no sound from Flash 9 even if it is the only app producing sound. Do i have to configure dmix in /etc/asound.conf?

Offline

#12 2007-02-06 18:32:50

okraits
Member
From: Germany
Registered: 2006-03-02
Posts: 142
Website

Re: No sound with flashplugin 9

Now it works with flash 9 and sound. I created a /etc/asound.conf and /etc/libao.conf like it is described in http://wiki.archlinux.org/index.php/All … nd_at_once. Thanks for your help, guys!

Offline

#13 2007-02-17 01:36:13

scottro
Member
From: NYC
Registered: 2002-10-11
Posts: 466
Website

Re: No sound with flashplugin 9

I followed the suggestion from _Pi to install alsa-oss which fixed flash 9 sound for me.  Thanks _Pi

Offline

#14 2007-06-10 23:06:35

CaspianXI
Member
Registered: 2007-05-29
Posts: 59

Re: No sound with flashplugin 9

I've got the same problem -- I also get the error "Invalid value for card" in the command line when I try to watch a flash video in Firefox. I have alsa installed and have created the /etc/asound.conf file as suggested in the wiki page linked 2 posts ago. I've also added myself to the 'audio' group.

I have also tried launching Firefox with the command "aoss firefox", with no luck.

Any suggestions?

thanks.

//EDIT: I rebooted my machine and it works now. Maybe rebooting restarted alsa, or maybe it caused my group-add to take effect. Anyhow, it works now smile

Last edited by CaspianXI (2007-06-10 23:15:01)

Offline

Board footer

Powered by FluxBB