FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-12-2012, 04:03 PM
Ljubomir Ljubojevic
 
Default Sound drop out with totem. mplayer Can't open audio device /dev/dsp

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.


--

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-12-2012, 11:41 PM
John Stanley
 
Default Sound drop out with totem. mplayer Can't open audio device /dev/dsp

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.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-13-2012, 12:30 AM
Mark LaPierre
 
Default Sound drop out with totem. mplayer Can't open audio device /dev/dsp

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)


--
_
v
/(_)
^ ^ Mark LaPierre
Registerd Linux user No #267004
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 02-13-2012, 04:15 AM
John Stanley
 
Default Sound drop out with totem. mplayer Can't open audio device /dev/dsp

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
 

Thread Tools




All times are GMT. The time now is 02:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org