Hey all.
This morning I found that my audio playback is randomly sprinkled with sound skips and dropouts. I went to /var/log/yum.log and found this:
Feb 09 20:18:22 Updated: lame-3.99.4-2.el6.rf.i686
I'm not saying that caused the problem but it's all I could find that changed.
When I ls in /dev there is no dsp entry. That would explain why mplayer Can't open audio device /dev/dsp. I don't know why there is no /dev/dsp. MPlayer 1.0rc4-4.4.6
aplay just makes a nasty hiss. aplay: version 1.0.21
I'm using pulesaudio
$ rpm -qa | grep pulseaudio alsa-plugins-pulseaudio-1.0.21-3.el6.i686 pulseaudio-module-bluetooth-0.9.21-13.el6.i686 pulseaudio-0.9.21-13.el6.i686 pulseaudio-libs-0.9.21-13.el6.i686 pulseaudio-utils-0.9.21-13.el6.i686 pulseaudio-module-gconf-0.9.21-13.el6.i686 pulseaudio-module-x11-0.9.21-13.el6.i686 pulseaudio-gdm-hooks-0.9.21-13.el6.i686 pulseaudio-libs-glib2-0.9.21-13.el6.i686
$ uname -a Linux mushroom.patch 2.6.32-220.4.1.el6.i686 #1 SMP Mon Jan 23 22:37:12 GMT 2012 i686 i686 i386 GNU/Linux
CentOS 6.2
Any of these may, or may not, be related.
On 02/12/2012 05:07 PM, Mark LaPierre wrote:
Hey all.
This morning I found that my audio playback is randomly sprinkled with sound skips and dropouts. I went to /var/log/yum.log and found this:
Feb 09 20:18:22 Updated: lame-3.99.4-2.el6.rf.i686
I'm not saying that caused the problem but it's all I could find that changed.
lame-3.99.4-2.el6.rf.i686 is RepoForge package, and if he is the culprit, you have to take it on their mailing list.
To test, run "yum downgrade lame", log out or better yet reboot (to be safe it is unloaded), and see if that helps.
On Sunday 12 February 2012 18:03:03 Ljubomir Ljubojevic wrote:
On 02/12/2012 05:07 PM, Mark LaPierre wrote:
Hey all.
This morning I found that my audio playback is randomly sprinkled with sound skips and dropouts. I went to /var/log/yum.log and found this:
Feb 09 20:18:22 Updated: lame-3.99.4-2.el6.rf.i686
I'm not saying that caused the problem but it's all I could find that changed.
lame-3.99.4-2.el6.rf.i686 is RepoForge package, and if he is the culprit, you have to take it on their mailing list.
Lame should not be responsible for the missing /dev/dsp. It is likely that something else got updated as well (what else is in the yum.log?), or that something crashed (pulseaudio, alsa, the kernel... :-) ).
The simplest way is to try to logout and login, and see if that helps. If not, reboot. If not, reboot to an older kernel. If not, read logs for pulseaudio etc.
Btw, I am writing off the top of my head here, but I think that mplayer should not even try to use /dev/dsp. Try it with
mplayer -ao pulse file.wav
That should force mplayer to use pulseaudio (which should be the default by now, IIRC). If necessary, put it in mplayer's config file.
HTH, :-) Marko
On 02/12/2012 05:46 PM, Marko Vojinovic wrote:
On Sunday 12 February 2012 18:03:03 Ljubomir Ljubojevic wrote:
On 02/12/2012 05:07 PM, Mark LaPierre wrote:
Hey all.
This morning I found that my audio playback is randomly sprinkled with sound skips and dropouts. I went to /var/log/yum.log and found this:
Feb 09 20:18:22 Updated: lame-3.99.4-2.el6.rf.i686
I'm not saying that caused the problem but it's all I could find that changed.
lame-3.99.4-2.el6.rf.i686 is RepoForge package, and if he is the culprit, you have to take it on their mailing list.
Lame should not be responsible for the missing /dev/dsp. It is likely that something else got updated as well (what else is in the yum.log?), or that something crashed (pulseaudio, alsa, the kernel... :-) ).
The simplest way is to try to logout and login, and see if that helps. If not, reboot. If not, reboot to an older kernel. If not, read logs for pulseaudio etc.
Btw, I am writing off the top of my head here, but I think that mplayer should not even try to use /dev/dsp. Try it with
mplayer -ao pulse file.wav
That should force mplayer to use pulseaudio (which should be the default by now, IIRC). If necessary, put it in mplayer's config file.
HTH, :-) Marko
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
totem works great after lame downgrade. Thanks for the clue guys.
mplayer -ao pulse file.wav says: MPlayer 1.0rc4-4.4.6 (C) 2000-2010 MPlayer Team
Playing file.mp3. Audio only file format detected. ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== No such audio driver 'pulse' Could not open/initialize audio device -> no sound. Audio: no sound Video: no video
Exiting... (End of file)
aplay file.mp3 says: Playing raw data 'file.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono
Still just makes a nasty hiss.
Still no /dev/dsp. Maybe there isn't supposed to be one for my sound hardware?
lspci says: Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
On Sun, 2012-02-12 at 20:30 -0500, Mark LaPierre wrote:
No such audio driver 'pulse' Could not open/initialize audio device -> no sound. Audio: no sound Video: no video
Exiting... (End of file)
------------------------------------ You should get this: `mplayer -ao pulse my.mp3`
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... A: 41.3 (41.3) of 254.0 (04:14.0) 0.5%
MPlayer interrupted by signal 2 in module: play_audio A: 41.3 (41.3) of 254.0 (04:14.0) 0.5%
Exiting... (Quit) --------------------------------------------------------------------- With ALSA: mplayer -ao alsa my.mp3
========================================================================== Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... A: 12.7 (12.7) of 254.0 (04:14.0) 0.4%
MPlayer interrupted by signal 2 in module: play_audio A: 12.8 (12.7) of 254.0 (04:14.0) 0.4%
Exiting... (Quit) ----------------------------------------
On a corectly configured DAW Machine with pulseaudio you should be able to run: `padsp mplayer my.mp3`
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Video: no video Starting playback... A: 11.1 (11.1) of 254.0 (04:14.0) 0.4%
MPlayer interrupted by signal 2 in module: play_audio A: 11.2 (11.1) of 254.0 (04:14.0) 0.4% ----------------------------------------------------------
On EL6 you should be using ALSA for mplayer as alsa targets pulse.
aplay file.mp3 says: Playing raw data 'file.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono
Still just makes a nasty hiss.
`aplay -f dat my.wav` is what you want. "little indianess" byte words.
Still no /dev/dsp. Maybe there isn't supposed to be one for my sound hardware?
I said previously there is NO ""/dev/dsp"" and there want be one for EL6. If perhaps you had one then you really have someing funny going on.
lspci says: Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Those cards can be nothing but problems. Some say that there are common in linux but I say nothing but common trouble.
When did you update the the kernel last? Something good is `alsa-info` and read the instructions on the terminal and where to run it and get the standard output of it. You could try a diffeernt "codec" besides "lame" like mpg123. Does asound.conf point to the pulses conf file?
It is a normal thing that pulseaudio will pop and skip and snap crackle when it does not have enough of a Buffer or Priority and when a card is going bad.
Since in the above mplayer can not access pulse last thing you could do is reinstall all the pulse packages.
On 02/13/2012 12:15 AM, John Stanley wrote:
On Sun, 2012-02-12 at 20:30 -0500, Mark LaPierre wrote:
No such audio driver 'pulse' Could not open/initialize audio device -> no sound. Audio: no sound Video: no video
Exiting... (End of file)
You should get this: `mplayer -ao pulse my.mp3`
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... A: 41.3 (41.3) of 254.0 (04:14.0) 0.5%
MPlayer interrupted by signal 2 in module: play_audio A: 41.3 (41.3) of 254.0 (04:14.0) 0.5%
Exiting... (Quit)
With ALSA: mplayer -ao alsa my.mp3
========================================================================== Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... A: 12.7 (12.7) of 254.0 (04:14.0) 0.4%
MPlayer interrupted by signal 2 in module: play_audio A: 12.8 (12.7) of 254.0 (04:14.0) 0.4%
Exiting... (Quit)
On a corectly configured DAW Machine with pulseaudio you should be able to run: `padsp mplayer my.mp3`
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Video: no video Starting playback... A: 11.1 (11.1) of 254.0 (04:14.0) 0.4%
MPlayer interrupted by signal 2 in module: play_audio A: 11.2 (11.1) of 254.0 (04:14.0) 0.4%
On EL6 you should be using ALSA for mplayer as alsa targets pulse.
aplay file.mp3 says: Playing raw data 'file.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono
Still just makes a nasty hiss.
`aplay -f dat my.wav` is what you want. "little indianess" byte words.
Still no /dev/dsp. Maybe there isn't supposed to be one for my sound hardware?
I said previously there is NO ""/dev/dsp"" and there want be one for EL6. If perhaps you had one then you really have someing funny going on.
lspci says: Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Those cards can be nothing but problems. Some say that there are common in linux but I say nothing but common trouble.
When did you update the the kernel last? Something good is `alsa-info` and read the instructions on the terminal and where to run it and get the standard output of it. You could try a diffeernt "codec" besides "lame" like mpg123. Does asound.conf point to the pulses conf file?
It is a normal thing that pulseaudio will pop and skip and snap crackle when it does not have enough of a Buffer or Priority and when a card is going bad.
Since in the above mplayer can not access pulse last thing you could do is reinstall all the pulse packages.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I downgraded lame back to the previous package and rebooted the machine. That fixed the skipping and dropouts from totem/gstreamer.
Shortly after that I got a kernel upgrade notice on my auto update tool. I installed that but declined the upgrade to lame. After reboot that still worked. Last night I reinstalled the lame upgrade and did another cold start. Still no skipping and dropouts from totem/gstreamer.
mplayer still doesn't want to hear it. mplayer -ao pulse my.mp3 ====> No Joy mplayer -ao alsa my.mp3 ====> No Joy
padsp mplayer my.mp3 works. It says: AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) Sound it good.
`aplay -f dat my.mp3` just makes a hissy noise, but it's a different hissy noise than `aplay my.mp3` does.
My alsa information is at: http://www.alsa-project.org/db/?f=522b3664bd765b464440dabd18c7b2dda0a5e154
On 02/17/2012 11:43 PM, Mark LaPierre wrote:
On 02/13/2012 12:15 AM, John Stanley wrote:
On Sun, 2012-02-12 at 20:30 -0500, Mark LaPierre wrote:
No such audio driver 'pulse' Could not open/initialize audio device -> no sound. Audio: no sound Video: no video
Exiting... (End of file)
You should get this: `mplayer -ao pulse my.mp3`
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... A: 41.3 (41.3) of 254.0 (04:14.0) 0.5%
MPlayer interrupted by signal 2 in module: play_audio A: 41.3 (41.3) of 254.0 (04:14.0) 0.5%
Exiting... (Quit)
With ALSA: mplayer -ao alsa my.mp3
========================================================================== Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... A: 12.7 (12.7) of 254.0 (04:14.0) 0.4%
MPlayer interrupted by signal 2 in module: play_audio A: 12.8 (12.7) of 254.0 (04:14.0) 0.4%
Exiting... (Quit)
On a corectly configured DAW Machine with pulseaudio you should be able to run: `padsp mplayer my.mp3`
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Video: no video Starting playback... A: 11.1 (11.1) of 254.0 (04:14.0) 0.4%
MPlayer interrupted by signal 2 in module: play_audio A: 11.2 (11.1) of 254.0 (04:14.0) 0.4%
On EL6 you should be using ALSA for mplayer as alsa targets pulse.
aplay file.mp3 says: Playing raw data 'file.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono
Still just makes a nasty hiss.
`aplay -f dat my.wav` is what you want. "little indianess" byte words.
Still no /dev/dsp. Maybe there isn't supposed to be one for my sound hardware?
I said previously there is NO ""/dev/dsp"" and there want be one for EL6. If perhaps you had one then you really have someing funny going on.
lspci says: Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Those cards can be nothing but problems. Some say that there are common in linux but I say nothing but common trouble.
When did you update the the kernel last? Something good is `alsa-info` and read the instructions on the terminal and where to run it and get the standard output of it. You could try a diffeernt "codec" besides "lame" like mpg123. Does asound.conf point to the pulses conf file?
It is a normal thing that pulseaudio will pop and skip and snap crackle when it does not have enough of a Buffer or Priority and when a card is going bad.
Since in the above mplayer can not access pulse last thing you could do is reinstall all the pulse packages.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I downgraded lame back to the previous package and rebooted the machine. That fixed the skipping and dropouts from totem/gstreamer.
Shortly after that I got a kernel upgrade notice on my auto update tool. I installed that but declined the upgrade to lame. After reboot that still worked. Last night I reinstalled the lame upgrade and did another cold start. Still no skipping and dropouts from totem/gstreamer.
mplayer still doesn't want to hear it. mplayer -ao pulse my.mp3 ====> No Joy mplayer -ao alsa my.mp3 ====> No Joy
padsp mplayer my.mp3 works. It says: AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) Sound it good.
`aplay -f dat my.mp3` just makes a hissy noise, but it's a different hissy noise than `aplay my.mp3` does.
My alsa information is at: http://www.alsa-project.org/db/?f=522b3664bd765b464440dabd18c7b2dda0a5e154
Oh hold the phone! aplay doesn't support mp3. It works fine with wav files. Duhhh! I guess I should RTFM.
On Fri, 2012-02-17 at 23:43 -0500, Mark LaPierre wrote:
mplayer still doesn't want to hear it. mplayer -ao pulse my.mp3 ====> No Joy mplayer -ao alsa my.mp3 ====> No Joy
cat .mplayer/config
Should not have anything in it for a default config.
cat /etc/mplayer/mplayer.conf
Should have this for a default config.
# Default video output is xv, then xvidix, then try others #vo=xv,xvidix, # Default audio output is pulse, then alsa, then try others #ao=pulse,alsa, -----
So what does 'mplayer -v 3 my.mp3' say to you?
Did you look at the Mplayer Preferences to see what the output driver is? "Alsa" Channels by Default?
Have you tried 'rpm -e nodepps mplayer'? Then 'rpm -Uvh mplayer'. If you 'yum remove mplayer' you will remove the whole lock stock and barrel. So get the mplayer rpm from the repo you use first then do it.
padsp mplayer my.mp3 works.
Ok odd but it's not finding alsa / pulse.
My alsa information is at: http://www.alsa-project.org/db/?f=522b3664bd765b464440dabd18c7b2dda0a5e154
Nice Burr-Brown Decoder on the card your using.
On 02/18/2012 09:58 AM, John Stanley wrote:
On Fri, 2012-02-17 at 23:43 -0500, Mark LaPierre wrote:
mplayer still doesn't want to hear it. mplayer -ao pulse my.mp3 ====> No Joy mplayer -ao alsa my.mp3 ====> No Joy
cat .mplayer/config
Should not have anything in it for a default config.
cat /etc/mplayer/mplayer.conf
Should have this for a default config.
# Default video output is xv, then xvidix, then try others #vo=xv,xvidix, # Default audio output is pulse, then alsa, then try others
#ao=pulse,alsa,
So what does 'mplayer -v 3 my.mp3' say to you?
Did you look at the Mplayer Preferences to see what the output driver is? "Alsa" Channels by Default?
Have you tried 'rpm -e nodepps mplayer'? Then 'rpm -Uvh mplayer'. If you 'yum remove mplayer' you will remove the whole lock stock and barrel. So get the mplayer rpm from the repo you use first then do it.
padsp mplayer my.mp3 works.
Ok odd but it's not finding alsa / pulse.
My alsa information is at: http://www.alsa-project.org/db/?f=522b3664bd765b464440dabd18c7b2dda0a5e154
Nice Burr-Brown Decoder on the card your using.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
That's a USB turntable that I have plugged in. I've been ripping vinyl to mp3 files so I can play them on my mp3 player. The phono cartridge is a bit cheesy.
On Sat, 2012-02-18 at 21:15 -0500, Mark LaPierre wrote:
That's a USB turntable that I have plugged in. I've been ripping vinyl to mp3 files so I can play them on my mp3 player. The phono cartridge is a bit cheesy.
Oh my we should chat offlist...
On Sun, 2012-02-12 at 11:07 -0500, Mark LaPierre wrote:
Hey all.
This morning I found that my audio playback is randomly sprinkled with sound skips and dropouts. I went to /var/log/yum.log and found this:
Feb 09 20:18:22 Updated: lame-3.99.4-2.el6.rf.i686
I'm not saying that caused the problem but it's all I could find that changed.
When I ls in /dev there is no dsp entry. That would explain why mplayer Can't open audio device /dev/dsp. I don't know why there is no /dev/dsp.
You want find one either. It's called 'padsp'.
I'm using pulesaudio
restart it?
Is it running as a user daemon or system daemon? what is the system load while trying to play a file?
What is the last mod time on '/etc/pulse/daemon.conf'?
lspci|grep audio lsmod|grep snd
when did the padsp-bluetooth get installed? What is the mplayer output driver? for totem i find it utterly useless.
Mark LaPierre wrote:
Hey all.
This morning I found that my audio playback is randomly sprinkled with sound skips and dropouts. I went to /var/log/yum.log and found this:
Feb 09 20:18:22 Updated: lame-3.99.4-2.el6.rf.i686
I'm not saying that caused the problem but it's all I could find that changed.
When I ls in /dev there is no dsp entry. That would explain why mplayer Can't open audio device /dev/dsp. I don't know why there is no /dev/dsp. MPlayer 1.0rc4-4.4.6
seems you're mixing repos here, that's not the mplayer provided by repoforge AFAIK. this could be part or all of your problem.