|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I'm stumped and need with configuring my computer for sound with
video. I can play CD's and listen to audio streams but get no sound with video feeds (CNN, MSNBC, You Tube, etc.). I've searched the list archives and Google for the past 3 days finding similar problems but none of the solutions in my situation. I'm running Debian Etch on a P4 with 2GB RAM; sound card is C-Media Electronics Inc CM8738 (rev 10). cat /proc/asound/cards 0 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6 C-Media PCI CMI8738-MC6 (model 55) at 0xd000, irq 5 The permissions are okay; my user name is in the audio group. If I understand correctly, ALSA is correctly configured and activated. Per cat /proc/modules: snd_cmipci 31456 1 - Live 0xf8b15000 snd_pcm_oss 38368 0 - Live 0xf8b27000 snd_mixer_oss 15200 2 snd_pcm_oss, Live 0xf8a0e000 snd_pcm 68676 2 snd_cmipci,snd_pcm_oss, Live 0xf8ae5000 snd_page_alloc 9640 1 snd_pcm, Live 0xf8a0a000 snd_opl3_lib 9920 1 snd_cmipci, Live 0xf889f000 snd_hwdep 8836 1 snd_opl3_lib, Live 0xf8967000 snd_mpu401_uart 8064 1 snd_cmipci, Live 0xf895b000 snd_seq_dummy 3844 0 - Live 0xf8917000 snd_seq_oss 28768 0 - Live 0xf8a15000 snd_seq_midi 8192 0 - Live 0xf8958000 snd_seq_midi_event 7008 2 snd_seq_oss,snd_seq_midi, Live 0xf88b1000 snd_seq 45680 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event, Live 0xf8a29000 snd_timer 20996 3 snd_pcm,snd_opl3_lib,snd_seq, Live 0xf8971000 snd_rawmidi 22560 2 snd_mpu401_uart,snd_seq_midi, Live 0xf8960000 snd_seq_device 7820 6 snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_mid i,snd_seq,snd_rawmidi, Live 0xf8877000 snd 47012 12 snd_cmipci,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_o pl3_lib,snd_hwdep,snd_mpu401_uart,snd_seq_oss,snd_ seq,snd_timer,snd_rawmidi,snd_seq_device, Live 0xf89d1000 soundcore 9248 2 snd, Live 0xf891d000 I'd appreciate if anyone can offer a solution or point me in the right direction. Thanks in advance. Tom Ashley -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Thu, Nov 15, 2007 at 11:50:44AM -0500, Tom Ashley wrote:
> I'm stumped and need with configuring my computer for sound with > video. I can play CD's and listen to audio streams but get no sound > with video feeds (CNN, MSNBC, You Tube, etc.). I've searched the list > archives and Google for the past 3 days finding similar problems but > none of the solutions in my situation. If sound works with other stuff then it is an application problem. How do you open these streams? Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHPJPGqJyztHCFm9kRAsIwAJ9+bbXk2QRAL6LSwlyVP4 VgJNXCAQCgoYkO 4k6C0YAASymVzIwAKVy3IY0= =VS1Q -----END PGP SIGNATURE----- |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On 11/15/2007 11:50 AM, Tom Ashley wrote:
> I'm stumped and need with configuring my computer for sound with > video. I can play CD's and listen to audio streams but get no sound > with video feeds (CNN, MSNBC, You Tube, etc.). I've searched the list > archives and Google for the past 3 days finding similar problems but > none of the solutions in my situation. > > I'm running Debian Etch on a P4 with 2GB RAM; sound card is C-Media > Electronics Inc CM8738 (rev 10). > > The permissions are okay; my user name is in the audio group. > > If I understand correctly, ALSA is correctly configured and activated. > Per cat /proc/modules: > I'd appreciate if anyone can offer a solution or point me in the right > direction. > > Thanks in advance. Hi Tom -- Yes, it's frustrating. Search for my posts here in 2007 for my struggles and solutions with sound on etch. You have sound, you say. But not with video. Which players work/don't work? Sound with flash running thru a browser is different from sound from an mpeg4 file playing on mplayer. If you use mplayer, what's in .mplayer/config? This list is the right place. Just provide some more detail, and the experts will jump in after we mere mortals swing and miss. :-P Good luck, Ralph -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Thursday 15 November 2007, Ralph Katz wrote:
> On 11/15/2007 11:50 AM, Tom Ashley wrote: > > I'm stumped and need with configuring my computer for sound with > > video. I can play CD's and listen to audio streams but get no sound > > with video feeds (CNN, MSNBC, You Tube, etc.). I've searched the list > > archives and Google for the past 3 days finding similar problems but > > none of the solutions in my situation. > > > > I'm running Debian Etch on a P4 with 2GB RAM; sound card is C-Media > > Electronics Inc CM8738 (rev 10). > > > > > > The permissions are okay; my user name is in the audio group. > > > > If I understand correctly, ALSA is correctly configured and activated. > > Per cat /proc/modules: > > > > > > I'd appreciate if anyone can offer a solution or point me in the right > > direction. > > > > Thanks in advance. > > Hi Tom -- Yes, it's frustrating. Search for my posts here in 2007 for > my struggles and solutions with sound on etch. > > You have sound, you say. But not with video. > > Which players work/don't work? Sound with flash running thru a browser > is different from sound from an mpeg4 file playing on mplayer. > > If you use mplayer, what's in .mplayer/config? > > This list is the right place. Just provide some more detail, and the > experts will jump in after we mere mortals swing and miss. :-P > > Good luck, > Ralph Hi, If you are using xine as your engine, and trying to play mp3s, then you need to make sure you have the following installed: libxine1-ffmpeg Once you install that, then go into your home directory and remove the .xine/. I was having problems listening to mp3 streams and doing the above resolved my problems. I note that using the mplayer engine in kmplayer worked fine however, if switching to the xine engine for kmplayer or amarok, mp3s wouldn't play without the addition of libxine1-ffmpeg library. The above assumes you are using the xine engine for your sound. If you are using other engines, this fix shouldn't resolve your problem. John -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Thu, 2007-11-15 at 20:45 +0200, Andrei Popescu wrote:
> On Thu, Nov 15, 2007 at 11:50:44AM -0500, Tom Ashley wrote: > > I'm stumped and need with configuring my computer for sound with > > video. I can play CD's and listen to audio streams but get no sound > > with video feeds (CNN, MSNBC, You Tube, etc.). I've searched the list > > archives and Google for the past 3 days finding similar problems but > > none of the solutions in my situation. > > If sound works with other stuff then it is an application problem. How > do you open these streams? > > Regards, > Andrei Andrei, I open the videos with the Iceweasel Flash plugin. Tom -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On Thu, 2007-11-15 at 12:02 -0700, John Schmidt wrote:
> On Thursday 15 November 2007, Ralph Katz wrote: > > On 11/15/2007 11:50 AM, Tom Ashley wrote: > > > I'm stumped and need with configuring my computer for sound with > > > video. I can play CD's and listen to audio streams but get no sound > > > with video feeds (CNN, MSNBC, You Tube, etc.). I've searched the list > > > archives and Google for the past 3 days finding similar problems but > > > none of the solutions in my situation. > > > > Hi, > > If you are using xine as your engine, and trying to play mp3s, .... If you are > using other engines, this fix shouldn't resolve your problem. > > John > Hi John, Thanks for the response. I can play the mp3s withouth any problem. My problem appears to be limited to flash audio. Tom -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On Thu, 2007-11-15 at 13:53 -0500, Ralph Katz wrote:
> On 11/15/2007 11:50 AM, Tom Ashley wrote: > > I'm stumped and need with configuring my computer for sound with > > video. I can play CD's and listen to audio streams but get no sound > > with video feeds (CNN, MSNBC, You Tube, etc.). I've searched the list > > archives and Google for the past 3 days finding similar problems but > > none of the solutions in my situation. > > > > I'm running Debian Etch on a P4 with 2GB RAM; sound card is C-Media > > Electronics Inc CM8738 (rev 10). > > > > > The permissions are okay; my user name is in the audio group. > > > > If I understand correctly, ALSA is correctly configured and activated. > > Per cat /proc/modules: > > > > I'd appreciate if anyone can offer a solution or point me in the right > > direction. > > > > Thanks in advance. > > Hi Tom -- Yes, it's frustrating. Search for my posts here in 2007 for > my struggles and solutions with sound on etch. > Hi Ralph, Thanks for the response. I had seen your posts previously and tried the proposed solutions but none worked. Nevertheless, I reveiwed them again just to be sure--still no luck. > You have sound, you say. But not with video. > > Which players work/don't work? Sound with flash running thru a browser > is different from sound from an mpeg4 file playing on mplayer. > Totem, xmms, soundjuicer, rythmbox all work without any problems. > If you use mplayer, what's in .mplayer/config? mplayer is installed but I've never used it. The config file is empty. > > This list is the right place. Just provide some more detail, and the > experts will jump in after we mere mortals swing and miss. :-P > My problem appears to be limited to the audio portion of flash videos; I use Iceweasel with the flash plugin. Thanks, Tom -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
On 11/15/2007 04:29 PM, Tom Ashley wrote:
> Hi Ralph, > > Thanks for the response. I had seen your posts previously and tried the > proposed solutions but none worked. Nevertheless, I reveiwed them again > just to be sure--still no luck. But you get Credits for having done the research! >> Which players work/don't work? Sound with flash running thru a browser >> is different from sound from an mpeg4 file playing on mplayer. >> > Totem, xmms, soundjuicer, rythmbox all work without any problems. > > My problem appears to be limited to the audio portion of flash videos; I > use Iceweasel with the flash plugin. OK, problem isolated. Flash does not play well with others, the player grabs ALSA, so maybe something is using it when flash tries to play audio. (For me with my old pnp sound card, the dmix plugin was the answer.) Just a thought, my cat /dev/sndstat output includes: Installed drivers: Type 10: ALSA emulation Does yours? There is a command something like <lsof /dev/dsp>, but not that, to report what's using the sound driver or device. Uh.. time to turn it over to the experts. Ralph -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
--- Andrei Popescu <andreimpopescu@gmail.com> wrote: > On Thu, Nov 15, 2007 at 11:50:44AM -0500, Tom Ashley > wrote: > > I'm stumped and need with configuring my > computer for sound with > > video. I can play CD's and listen to audio > streams but get no sound > > with video feeds (CNN, MSNBC, You Tube, etc.). > I've searched the list > > archives and Google for the past 3 days finding > similar problems but > > none of the solutions in my situation. > > If sound works with other stuff then it is an > application problem. How > do you open these streams? > > Regards, > Andrei > -- > If you can't explain it simply, you don't understand > it well enough. > (Albert Einstein) > you could try the vlc plugins for firefox and konqueror, i have had problems with streaming video before and i found that these plugins ed alot (vlc is very versitile if it isn't the fastest of media players) __________________________________________________ __________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
On Thu, Nov 15, 2007 at 03:28:07PM -0500, Tom Ashley wrote:
> On Thu, 2007-11-15 at 20:45 +0200, Andrei Popescu wrote: > > On Thu, Nov 15, 2007 at 11:50:44AM -0500, Tom Ashley wrote: > > > I'm stumped and need with configuring my computer for sound with > > > video. I can play CD's and listen to audio streams but get no sound > > > with video feeds (CNN, MSNBC, You Tube, etc.). I've searched the list > > > archives and Google for the past 3 days finding similar problems but > > > none of the solutions in my situation. > > > > If sound works with other stuff then it is an application problem. How > > do you open these streams? > > I open the videos with the Iceweasel Flash plugin. Check /etc/iceweasel/iceweaselrc On my etch install it's set to 'none' Try 'auto' or 'alsa' instead. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHPQ+4qJyztHCFm9kRAqe1AJ4tWmvSid9X6iPPwxJ/UNnbvqwv2ACfYK1o ytZW+Pb1mLZz2Xin9pCykH8= =brAC -----END PGP SIGNATURE----- |
|
|
|
#11 |
|
Messages: n/a
Hébergeur: |
On Thu, Nov 15, 2007 at 16:32:46 -0500, Tom Ashley wrote:
> On Thu, 2007-11-15 at 12:02 -0700, John Schmidt wrote: [...] > > If you are using xine as your engine, and trying to play mp3s, .... If you are > > using other engines, this fix shouldn't resolve your problem. > > > > John > > > Hi John, > > Thanks for the response. I can play the mp3s withouth any problem. My > problem appears to be limited to flash audio. The default configuration for iceweasel is ICEWEASEL_DSP="none" which means it will try to play audio by accessing the ALSA /dev/snd/* devices directly. (You can change this setting in /etc/iceweasel/iceweaselrc, as Andrei has already pointed out.) If I run iceweasel in this default configuration and play a youtube video (with sound, of course) then I see this: $ lsof -w | egrep 'snd|dsp' npviewer. 9886 florian mem CHR 116,16 7092 /dev/snd/pcmC0D0p npviewer. 9886 florian 63r CHR 116,33 7000 /dev/snd/timer npviewer. 9886 florian 64u CHR 116,16 7092 /dev/snd/pcmC0D0p (I edited the output above to trim excessive whitespace.) This means that iceweasel's flash plugin cannot play sound if some other process is blocking these devices. If you are using KDE or Gnome then the devices are probably under the control of a sound daemon (artsd or esd, respectively). Run the "lsof -w | egrep 'snd|dsp'" command before you start iceweasel to see which process is blocking the device(s). The first quick test is to kill the blocking process and check if this allows iceweasel to play sound in flash movies. If a sound daemon is indeed responsible for locking the devices then you can either tell it to share the device (this is possible in KDE, I don't know about Gnome's esd) or you can try to configure iceweasel for playing audio via the sound daemon by putting one of these into /etc/iceweasel/iceweaselrc: ICEWEASEL_DSP="artsdsp" # for KDE's artsd or ICEWEASEL_DSP="esddsp" # for Gnome's esd Iceweasel has to be restarted after changing the settings. I took these options from "man iceweasel" but I never tried them myself. (I told my artsd not to hog the ALSA devices and this works fine with iceweasel's default DSP="none" setting.) -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#12 |
|
Messages: n/a
Hébergeur: |
On Fri, 2007-11-16 at 05:34 +0200, Andrei Popescu wrote:
> On Thu, Nov 15, 2007 at 03:28:07PM -0500, Tom Ashley wrote: > > On Thu, 2007-11-15 at 20:45 +0200, Andrei Popescu wrote: > > > On Thu, Nov 15, 2007 at 11:50:44AM -0500, Tom Ashley wrote: > > > > I'm stumped and need with configuring my computer for sound with > > > > video. I can play CD's and listen to audio streams but get no sound > > > > with video feeds (CNN, MSNBC, You Tube, etc.). I've searched the list > > > > archives and Google for the past 3 days finding similar problems but > > > > none of the solutions in my situation. > > > > > > If sound works with other stuff then it is an application problem. How > > > do you open these streams? > > > > I open the videos with the Iceweasel Flash plugin. > > Check /etc/iceweasel/iceweaselrc On my etch install it's set to 'none' > Try 'auto' or 'alsa' instead. I tried each of the options. Neither made worked. Thanks Tom -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#13 |
|
Messages: n/a
Hébergeur: |
On Fri, 2007-11-16 at 10:53 +0100, Florian Kulzer wrote:
> On Thu, Nov 15, 2007 at 16:32:46 -0500, Tom Ashley wrote: > > Hi John, > > > > Thanks for the response. I can play the mp3s withouth any problem. My > > problem appears to be limited to flash audio. > > The default configuration for iceweasel is ICEWEASEL_DSP="none" which > means it will try to play audio by accessing the ALSA /dev/snd/* devices > directly. (You can change this setting in /etc/iceweasel/iceweaselrc, as > Andrei has already pointed out.) > > If I run iceweasel in this default configuration and play a youtube > video (with sound, of course) then I see this: > > $ lsof -w | egrep 'snd|dsp' > npviewer. 9886 florian mem CHR 116,16 7092 /dev/snd/pcmC0D0p > npviewer. 9886 florian 63r CHR 116,33 7000 /dev/snd/timer > npviewer. 9886 florian 64u CHR 116,16 7092 /dev/snd/pcmC0D0p > > (I edited the output above to trim excessive whitespace.) > > This means that iceweasel's flash plugin cannot play sound if some other > process is blocking these devices. If you are using KDE or Gnome then > the devices are probably under the control of a sound daemon (artsd or > esd, respectively). Run the "lsof -w | egrep 'snd|dsp'" command before > you start iceweasel to see which process is blocking the device(s). The > first quick test is to kill the blocking process and check if this > allows iceweasel to play sound in flash movies. > > If a sound daemon is indeed responsible for locking the devices then you > can either tell it to share the device (this is possible in KDE, I don't > know about Gnome's esd) or you can try to configure iceweasel for > playing audio via the sound daemon by putting one of these into > /etc/iceweasel/iceweaselrc: > > ICEWEASEL_DSP="artsdsp" # for KDE's artsd > > or > > ICEWEASEL_DSP="esddsp" # for Gnome's esd > > Iceweasel has to be restarted after changing the settings. I took these > options from "man iceweasel" but I never tried them myself. (I told my > artsd not to hog the ALSA devices and this works fine with iceweasel's > default DSP="none" setting.) > > -- > Regards, | http://users.icfo.es/Florian.Kulzer > Florian | > Hi Florian, Using the clues from your reference to /dev/snd, I discovered I had no /dev/snd/ and esd was not being loaded. Unable to determine why by Googling, I decided to remove all ALSA and ESD related packages and to reinstall. In doing so, /dev/snd/ was created and ESD is now active. Thanks to all for your patience and . Tom -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#14 |
|
Messages: n/a
Hébergeur: |
On Fri, Nov 16, 2007 at 10:53:03AM +0100, Florian Kulzer wrote:
[detailed explanation about arts, esd and alsa] Interesting. My unstable installation works without problems set to 'auto' and no esd or arts. I guess the dmix plugin is doing it's magic. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHPf+yqJyztHCFm9kRAsozAJ9foYeD98hZ699vSysOTc B0lMInPwCgmDFI LINyxt3H3kCmDAGkMiI7SFs= =lIaE -----END PGP SIGNATURE----- |
|
|
|
#15 |
|
Messages: n/a
Hébergeur: |
On Fri, Nov 16, 2007 at 07:03:54AM -0500, Tom Ashley wrote:
> > Check /etc/iceweasel/iceweaselrc On my etch install it's set to 'none' > > Try 'auto' or 'alsa' instead. > > I tried each of the options. Neither made worked. Just to be sure, did you restart iceweasel before trying the sound? Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHPf5kqJyztHCFm9kRAoeVAJ0Yl11NQtqpI70XZzfr8w LSpq+JxgCeOcIT FI5B3tWRNH5hxpkxtvzxuwE= =P39B -----END PGP SIGNATURE----- |
|
![]() |
| Outils de la discussion | |
|
|