Configured audiosink player-audiosink is not working
I've Lubuntu (Ubuntu 14.04.1 LTS). When trying to play a sound, alarm clock give the message "file:/
Reading web suggestions I've installed gstreamer1.o-alsa and -nice and -pulseaudio (and I've also some gstreamer0.10-...), but the problem remains. What should I do?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Johannes H. Jensen
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Sounds like something is wrong with your audio setup. Does audio work in other applications such as Totem Video Player?
Does the following command work and produce a sound?
gst-launch-1.0 -v -m audiotestsrc ! audioconvert ! audioresample ! autoaudiosink
Revision history for this message
|
#2 |
Sound files (.wav and .oga) produce sounds with GNOME Player and with Audacious.
Installing Totem Video Player did not resolve the problem; I do have now:
/usr/bin/totem
and playing a video (MP4) does produce sound, but it also produces a warning:
(totem:5229): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:
Command "gst-launch-1.0 -v -m audiotestsrc..." produces the error message "command not found: gst-launch-1.0".
The description o package rel-gst-launch says "This package provides a gst-launch plugin...", so I installed it. Alas; both "locate gst-launch-1.0" and "which gst-launch-1.0" confirm that gst-launch-1.0 is not present (and similarly for gst-launch). However, "locate gst-launch" gives:
/usr/lib/
/usr/lib/
/usr/share/
/usr/share/
/usr/share/
/var/cache/
/var/lib/
/var/lib/
I cannot find gst-launch nor gst-launch-1.0 with Lubuntu Software Center, nor with Synaptic Package manager.
What can/should I do next?
Revision history for this message
|
#3 |
I filled in an answer on
https:/
2015-01-30 17:31 GMT+01:00 Johannes H. Jensen
<email address hidden>:
> Your question #261400 on Alarm Clock changed:
> https:/
>
> Status: Open => Needs information
>
> Johannes H. Jensen requested more information:
> Sounds like something is wrong with your audio setup. Does audio work in
> other applications such as Totem Video Player?
>
> Does the following command work and produce a sound?
>
> gst-launch-1.0 -v -m audiotestsrc ! audioconvert ! audioresample !
> autoaudiosink
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#4 |
For gst-launch, install the gstreamer-tools package.
On Fri, Jan 30, 2015 at 8:41 PM, Maarten Fokkinga <
<email address hidden>> wrote:
> Question #261400 on Alarm Clock changed:
> https:/
>
> Status: Needs information => Open
>
> Maarten Fokkinga gave more information on the question:
> Sound files (.wav and .oga) produce sounds with GNOME Player and with
> Audacious.
>
> Installing Totem Video Player did not resolve the problem; I do have now:
> /usr/bin/totem
> and playing a video (MP4) does produce sound, but it also produces a
> warning:
> (totem:5229): Gtk-WARNING **: Calling Inhibit failed:
> GDBus.Error:
> org.gnome.
>
> Command "gst-launch-1.0 -v -m audiotestsrc..." produces the error message
> "command not found: gst-launch-1.0".
> The description o package rel-gst-launch says "This package provides a
> gst-launch plugin...", so I installed it. Alas; both "locate
> gst-launch-1.0" and "which gst-launch-1.0" confirm that gst-launch-1.0 is
> not present (and similarly for gst-launch). However, "locate gst-launch"
> gives:
> /usr/lib/
> /usr/lib/
> /usr/share/
> /usr/share/
> /usr/share/
> /var/cache/
> /var/lib/
> /var/lib/
>
> I cannot find gst-launch nor gst-launch-1.0 with Lubuntu Software
> Center, nor with Synaptic Package manager.
>
> What can/should I do next?
>
> --
> You received this question notification because you are an answer
> contact for Alarm Clock.
>
Revision history for this message
|
#5 |
(Many thanks so far!!)
I installed gstreamet-tools. Command "locate gstreamer" give many many
lines, the first of which read as follows:
/home/maarten/
/home/maarten/
/home/maarten/
/home/maarten/
/home/maarten/
/home/maarten/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
Alas, "gst-launch-1.0 -v -m audiotestsrc ! audioconvert !
audioresample ! autoaudiosink" gives "command not found:
gst-launch-1.0", but without the "-1.0" I do get a message, namely:
Setting pipeline to PAUSED ...
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
ERROR: Pipeline doesn't want to pause.
Got message #7 from element "autoaudiosink0
(error): GstMessageError, gerror=
debug=(
gst_jack_
/GstJackAudioSi
connect\ to\ the\ Jack\ server\ \(status\ 17\)";
ERROR: from element
/GstJackAudioSi
not found
Additional debug info:
gstjackaudiosin
/GstJackAudioSi
Cannot connect to the Jack server (status 17)
Setting pipeline to NULL ...
Freeing pipeline ...
Also, alarm-clock still cannot playu sounds; it still says:
"file:/
Configured audiosink player-audiosink is not working."
2015-01-30 20:46 GMT+01:00 Johannes H. Jensen
<email address hidden>:
> Your question #261400 on Alarm Clock changed:
> https:/
>
> Status: Open => Answered
>
> Johannes H. Jensen proposed the following answer:
> For gst-launch, install the gstreamer-tools package.
>
> On Fri, Jan 30, 2015 at 8:41 PM, Maarten Fokkinga <
> <email address hidden>> wrote:
>
>> Question #261400 on Alarm Clock changed:
>> https:/
>>
>> Status: Needs information => Open
>>
>> Maarten Fokkinga gave more information on the question:
>> Sound files (.wav and .oga) produce sounds with GNOME Player and with
>> Audacious.
>>
>> Installing Totem Video Player did not resolve the problem; I do have now:
>> /usr/bin/totem
>> and playing a video (MP4) does produce sound, but it also produces a
>> warning:
>> (totem:5229): Gtk-WARNING **: Calling Inhibit failed:
>> GDBus.Error:
>> org.gnome.
>>
>> Command "gst-launch-1.0 -v -m audiotestsrc..." produces the error message
>> "command not found: gst-launch-1.0".
>> The description o package rel-gst-launch says "This package provides a
>> gst-launch plugin...", so I installed it. Alas; both "locate
>> gst-launch-1.0" and "which gst-launch-1.0" confirm that gst-launch-1.0 is
>> not present (and similarly for gst-launch). However, "locate gst-launch"
>> gives:
>> /usr/lib/
>> /usr/lib/
>> /usr/share/
>> /usr/share/
>> /usr/share/
>> /var/cache/
>> /var/lib/
>> /var/lib/
>>
>> I cannot find gst-launch nor gst-launch-1.0 with Lubuntu Software
>> Center, nor with Synaptic Package manager.
>>
>> What can/should I do next?
>>
>> --
>> You received this question notification because you are an answer
>> contact for Alarm Clock.
>>
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#6 |
Do I need to answer by mail, or should I usee the fill in form on
https:/
?
2015-01-30 20:59 GMT+01:00 Maarten Fokkinga <email address hidden>:
> (Many thanks so far!!)
> I installed gstreamet-tools. Command "locate gstreamer" give many many
> lines, the first of which read as follows:
> /home/maarten/
> /home/maarten/
> /home/maarten/
> /home/maarten/
> /home/maarten/
> /home/maarten/
> /usr/lib/
> /usr/lib/
> /usr/lib/
> /usr/lib/
> /usr/lib/
>
> Alas, "gst-launch-1.0 -v -m audiotestsrc ! audioconvert !
> audioresample ! autoaudiosink" gives "command not found:
> gst-launch-1.0", but without the "-1.0" I do get a message, namely:
> Setting pipeline to PAUSED ...
> Cannot connect to server socket err = No such file or directory
> Cannot connect to server request channel
> jack server is not running or cannot be started
> ERROR: Pipeline doesn't want to pause.
> Got message #7 from element "autoaudiosink0
> (error): GstMessageError, gerror=
> debug=(
> gst_jack_
> /GstJackAudioSi
> connect\ to\ the\ Jack\ server\ \(status\ 17\)";
> ERROR: from element
> /GstJackAudioSi
> not found
> Additional debug info:
> gstjackaudiosin
> /GstJackAudioSi
> Cannot connect to the Jack server (status 17)
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
> Also, alarm-clock still cannot playu sounds; it still says:
> "file:/
> Configured audiosink player-audiosink is not working."
>
>
>
>
> 2015-01-30 20:46 GMT+01:00 Johannes H. Jensen
> <email address hidden>:
>> Your question #261400 on Alarm Clock changed:
>> https:/
>>
>> Status: Open => Answered
>>
>> Johannes H. Jensen proposed the following answer:
>> For gst-launch, install the gstreamer-tools package.
>>
>> On Fri, Jan 30, 2015 at 8:41 PM, Maarten Fokkinga <
>> <email address hidden>> wrote:
>>
>>> Question #261400 on Alarm Clock changed:
>>> https:/
>>>
>>> Status: Needs information => Open
>>>
>>> Maarten Fokkinga gave more information on the question:
>>> Sound files (.wav and .oga) produce sounds with GNOME Player and with
>>> Audacious.
>>>
>>> Installing Totem Video Player did not resolve the problem; I do have now:
>>> /usr/bin/totem
>>> and playing a video (MP4) does produce sound, but it also produces a
>>> warning:
>>> (totem:5229): Gtk-WARNING **: Calling Inhibit failed:
>>> GDBus.Error:
>>> org.gnome.
>>>
>>> Command "gst-launch-1.0 -v -m audiotestsrc..." produces the error message
>>> "command not found: gst-launch-1.0".
>>> The description o package rel-gst-launch says "This package provides a
>>> gst-launch plugin...", so I installed it. Alas; both "locate
>>> gst-launch-1.0" and "which gst-launch-1.0" confirm that gst-launch-1.0 is
>>> not present (and similarly for gst-launch). However, "locate gst-launch"
>>> gives:
>>> /usr/lib/
>>> /usr/lib/
>>> /usr/share/
>>> /usr/share/
>>> /usr/share/
>>> /var/cache/
>>> /var/lib/
>>> /var/lib/
>>>
>>> I cannot find gst-launch nor gst-launch-1.0 with Lubuntu Software
>>> Center, nor with Synaptic Package manager.
>>>
>>> What can/should I do next?
>>>
>>> --
>>> You received this question notification because you are an answer
>>> contact for Alarm Clock.
>>>
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https:/
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https:/
>>
>> You received this question notification because you asked the question.
Revision history for this message
|
#7 |
Looks like
https:/
The fix: install pulseaudio
Doesn't matter whether you answer by e-mail or through the web. Your
message will show up both places :)
On Fri, Jan 30, 2015 at 9:06 PM, Maarten Fokkinga <
<email address hidden>> wrote:
> Question #261400 on Alarm Clock changed:
> https:/
>
> Maarten Fokkinga gave more information on the question:
> Do I need to answer by mail, or should I usee the fill in form on
> https:/
> ?
>
> 2015-01-30 20:59 GMT+01:00 Maarten Fokkinga <email address hidden>:
> > (Many thanks so far!!)
> > I installed gstreamet-tools. Command "locate gstreamer" give many many
> > lines, the first of which read as follows:
> > /home/maarten/
> > /home/maarten/
> > /home/maarten/
> > /home/maarten/
> > /home/maarten/
> > /home/maarten/
> > /usr/lib/
> > /usr/lib/
> > /usr/lib/
> > /usr/lib/
> > /usr/lib/
> >
> > Alas, "gst-launch-1.0 -v -m audiotestsrc ! audioconvert !
> > audioresample ! autoaudiosink" gives "command not found:
> > gst-launch-1.0", but without the "-1.0" I do get a message, namely:
> > Setting pipeline to PAUSED ...
> > Cannot connect to server socket err = No such file or directory
> > Cannot connect to server request channel
> > jack server is not running or cannot be started
> > ERROR: Pipeline doesn't want to pause.
> > Got message #7 from element "autoaudiosink0
> > (error): GstMessageError, gerror=
> > debug=(
> > gst_jack_
> > /GstJackAudioSi
> > connect\ to\ the\ Jack\ server\ \(status\ 17\)";
> > ERROR: from element
> > /GstJackAudioSi
> > not found
> > Additional debug info:
> > gstjackaudiosin
> > /GstJackAudioSi
> > Cannot connect to the Jack server (status 17)
> > Setting pipeline to NULL ...
> > Freeing pipeline ...
> >
> > Also, alarm-clock still cannot playu sounds; it still says:
> > "file:/
> > Configured audiosink player-audiosink is not working."
> >
> >
> >
> >
> > 2015-01-30 20:46 GMT+01:00 Johannes H. Jensen
> > <email address hidden>:
> >> Your question #261400 on Alarm Clock changed:
> >> https:/
> >>
> >> Status: Open => Answered
> >>
> >> Johannes H. Jensen proposed the following answer:
> >> For gst-launch, install the gstreamer-tools package.
> >>
> >> On Fri, Jan 30, 2015 at 8:41 PM, Maarten Fokkinga <
> >> <email address hidden>> wrote:
> >>
> >>> Question #261400 on Alarm Clock changed:
> >>> https:/
> >>>
> >>> Status: Needs information => Open
> >>>
> >>> Maarten Fokkinga gave more information on the question:
> >>> Sound files (.wav and .oga) produce sounds with GNOME Player and with
> >>> Audacious.
> >>>
> >>> Installing Totem Video Player did not resolve the problem; I do have
> now:
> >>> /usr/bin/totem
> >>> and playing a video (MP4) does produce sound, but it also produces a
> >>> warning:
> >>> (totem:5229): Gtk-WARNING **: Calling Inhibit failed:
> >>> GDBus.Error:
> >>> org.gnome.
> >>>
> >>> Command "gst-launch-1.0 -v -m audiotestsrc..." produces the error
> message
> >>> "command not found: gst-launch-1.0".
> >>> The description o package rel-gst-launch says "This package provides a
> >>> gst-launch plugin...", so I installed it. Alas; both "locate
> >>> gst-launch-1.0" and "which gst-launch-1.0" confirm that gst-launch-1.0
> is
> >>> not present (and similarly for gst-launch). However, "locate
> gst-launch"
> >>> gives:
> >>> /usr/lib/
> >>> /usr/lib/
> >>> /usr/share/
> >>> /usr/share/
> >>> /usr/share/
> >>> /var/cache/
> >>> /var/lib/
> >>> /var/lib/
> >>>
> >>> I cannot find gst-launch nor gst-launch-1.0 with Lubuntu Software
> >>> Center, nor with Synaptic Package manager.
> >>>
> >>> What can/should I do next?
> >>>
> >>> --
> >>> You received this question notification because you are an answer
> >>> contact for Alarm Clock.
> >>>
> >>
> >> --
> >> If this answers your question, please go to the following page to let us
> >> know that it is solved:
> >>
> https:/
> >>
> >> If you still need help, you can reply to this email or go to the
> >> following page to enter your feedback:
> >> https:/
> >>
> >> You received this question notification because you asked the question.
>
> --
> You received this question notification because you are an answer
> contact for Alarm Clock.
>
Revision history for this message
|
#8 |
I installed "pulsaudio".
Alas, alarm-clock still gives the same error message when I try to play the sound.
I executed "pulseaudio" in a terminal window, suspended it, and let it run in the backgroud. Then alarm-clock did not complain when I tried to play the sound BUT THERE WAS NO SOUND either.
In the meantime (I did not notice the precise timing), in the terminal window of pulseaudio there came a message (LOOK AT THE 2ND LINE):
E: [alsa-sink-Intel ICH] alsa-util.c: snd_pcm_avail() returned a value that is exceptionally large: 1209560 bytes (6856 ms).
E: [alsa-sink-Intel ICH] alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers.
E: [alsa-sink-Intel ICH] alsa-util.c: snd_pcm_dump():
E: [alsa-sink-Intel ICH] alsa-util.c: Hardware PCM card 0 'Intel 82801DB-ICH4' device 0 subdevice 0
E: [alsa-sink-Intel ICH] alsa-util.c: Its setup is:
E: [alsa-sink-Intel ICH] alsa-util.c: stream : PLAYBACK
E: [alsa-sink-Intel ICH] alsa-util.c: access : MMAP_INTERLEAVED
E: [alsa-sink-Intel ICH] alsa-util.c: format : S16_LE
E: [alsa-sink-Intel ICH] alsa-util.c: subformat : STD
E: [alsa-sink-Intel ICH] alsa-util.c: channels : 2
E: [alsa-sink-Intel ICH] alsa-util.c: rate : 44100
E: [alsa-sink-Intel ICH] alsa-util.c: exact rate : 44100 (44100/1)
E: [alsa-sink-Intel ICH] alsa-util.c: msbits : 16
E: [alsa-sink-Intel ICH] alsa-util.c: buffer_size : 16384
E: [alsa-sink-Intel ICH] alsa-util.c: period_size : 16384
E: [alsa-sink-Intel ICH] alsa-util.c: period_time : 371519
E: [alsa-sink-Intel ICH] alsa-util.c: tstamp_mode : ENABLE
E: [alsa-sink-Intel ICH] alsa-util.c: period_step : 1
E: [alsa-sink-Intel ICH] alsa-util.c: avail_min : 16384
E: [alsa-sink-Intel ICH] alsa-util.c: period_event : 0
E: [alsa-sink-Intel ICH] alsa-util.c: start_threshold : -1
E: [alsa-sink-Intel ICH] alsa-util.c: stop_threshold : 1073741824
E: [alsa-sink-Intel ICH] alsa-util.c: silence_threshold: 0
E: [alsa-sink-Intel ICH] alsa-util.c: silence_size : 0
E: [alsa-sink-Intel ICH] alsa-util.c: boundary : 1073741824
E: [alsa-sink-Intel ICH] alsa-util.c: appl_ptr : 596493
E: [alsa-sink-Intel ICH] alsa-util.c: hw_ptr : 882499
E: [alsa-sink-Intel ICH] alsa-util.c: snd_pcm_delay() returned a value that is exceptionally large: -488840 bytes (-2771 ms).
E: [alsa-sink-Intel ICH] alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers.
E: [alsa-sink-Intel ICH] alsa-util.c: snd_pcm_dump():
E: [alsa-sink-Intel ICH] alsa-util.c: Hardware PCM card 0 'Intel 82801DB-ICH4' device 0 subdevice 0
E: [alsa-sink-Intel ICH] alsa-util.c: Its setup is:
E: [alsa-sink-Intel ICH] alsa-util.c: stream : PLAYBACK
E: [alsa-sink-Intel ICH] alsa-util.c: access : MMAP_INTERLEAVED
E: [alsa-sink-Intel ICH] alsa-util.c: format : S16_LE
E: [alsa-sink-Intel ICH] alsa-util.c: subformat : STD
E: [alsa-sink-Intel ICH] alsa-util.c: channels : 2
E: [alsa-sink-Intel ICH] alsa-util.c: rate : 44100
E: [alsa-sink-Intel ICH] alsa-util.c: exact rate : 44100 (44100/1)
E: [alsa-sink-Intel ICH] alsa-util.c: msbits : 16
E: [alsa-sink-Intel ICH] alsa-util.c: buffer_size : 16384
E: [alsa-sink-Intel ICH] alsa-util.c: period_size : 16384
E: [alsa-sink-Intel ICH] alsa-util.c: period_time : 371519
E: [alsa-sink-Intel ICH] alsa-util.c: tstamp_mode : ENABLE
E: [alsa-sink-Intel ICH] alsa-util.c: period_step : 1
E: [alsa-sink-Intel ICH] alsa-util.c: avail_min : 16384
E: [alsa-sink-Intel ICH] alsa-util.c: period_event : 0
E: [alsa-sink-Intel ICH] alsa-util.c: start_threshold : -1
E: [alsa-sink-Intel ICH] alsa-util.c: stop_threshold : 1073741824
E: [alsa-sink-Intel ICH] alsa-util.c: silence_threshold: 0
E: [alsa-sink-Intel ICH] alsa-util.c: silence_size : 0
E: [alsa-sink-Intel ICH] alsa-util.c: boundary : 1073741824
E: [alsa-sink-Intel ICH] alsa-util.c: appl_ptr : 760333
E: [alsa-sink-Intel ICH] alsa-util.c: hw_ptr : 882543
ALAS, now audacious and GNOME MPlayer DO NOT produce sound anymore....
I've rebooted the system; pulseaudio seems automatically running:
$ ps -ax | grep pulseaudio
1493 ? S<l 0: 00 /usr/bin/pulseaudio --start --log-target=syslog
1755 pts/0 S+ 0: 00 grep pulseaudio
Still
(1) alarm-clock doesnot complain but doesnot produce sound, either (when trying to play sound).
(2) audacious and GNOME MPlayer do not produce sound (things have become worse...)
Also,
"gst-launch -v -m audiotestsrc ! audioconvert ! audioresample ! autoaudiosink"
still gives a huge error message (different than before):
Setting pipeline to PAUSED ...
/GstPipeline:
Pipeline is PREROLLING ...
Got message #9 from element "autoaudiosink0" (state-changed): GstMessageState, old-state=
Got message #10 from element "audioresample0" (state-changed): GstMessageState, old-state=
...
and many more "Got message #x..." lines (with x comming from the range 11-39), and then:
...
/GstPipeline:
/GstPipeline:
/GstPipeline:
/GstPipeline:
It seems as if the (sound) system is completely erroneous now....
Revision history for this message
|
#9 |
Hmm, I don't know why pulseaudio shouldn't work. You can try uninstalling
pulseaudio and gstreamer0.
On Fri, Jan 30, 2015 at 10:11 PM, Maarten Fokkinga <
<email address hidden>> wrote:
> Question #261400 on Alarm Clock changed:
> https:/
>
> Status: Answered => Open
>
> Maarten Fokkinga is still having a problem:
> I installed "pulsaudio".
>
> Alas, alarm-clock still gives the same error message when I try to play
> the sound.
>
> I executed "pulseaudio" in a terminal window, suspended it, and let it
> run in the backgroud. Then alarm-clock did not complain when I tried to
> play the sound BUT THERE WAS NO SOUND either.
>
> In the meantime (I did not notice the precise timing), in the terminal
> window of pulseaudio there came a message (LOOK AT THE 2ND LINE):
>
> E: [alsa-sink-Intel ICH] alsa-util.c: snd_pcm_avail() returned a value
> that is exceptionally large: 1209560 bytes (6856 ms).
> E: [alsa-sink-Intel ICH] alsa-util.c: Most likely this is a bug in the
> ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers.
> E: [alsa-sink-Intel ICH] alsa-util.c: snd_pcm_dump():
> E: [alsa-sink-Intel ICH] alsa-util.c: Hardware PCM card 0 'Intel
> 82801DB-ICH4' device 0 subdevice 0
> E: [alsa-sink-Intel ICH] alsa-util.c: Its setup is:
> E: [alsa-sink-Intel ICH] alsa-util.c: stream : PLAYBACK
> E: [alsa-sink-Intel ICH] alsa-util.c: access : MMAP_INTERLEAVED
> E: [alsa-sink-Intel ICH] alsa-util.c: format : S16_LE
> E: [alsa-sink-Intel ICH] alsa-util.c: subformat : STD
> E: [alsa-sink-Intel ICH] alsa-util.c: channels : 2
> E: [alsa-sink-Intel ICH] alsa-util.c: rate : 44100
> E: [alsa-sink-Intel ICH] alsa-util.c: exact rate : 44100 (44100/1)
> E: [alsa-sink-Intel ICH] alsa-util.c: msbits : 16
> E: [alsa-sink-Intel ICH] alsa-util.c: buffer_size : 16384
> E: [alsa-sink-Intel ICH] alsa-util.c: period_size : 16384
> E: [alsa-sink-Intel ICH] alsa-util.c: period_time : 371519
> E: [alsa-sink-Intel ICH] alsa-util.c: tstamp_mode : ENABLE
> E: [alsa-sink-Intel ICH] alsa-util.c: period_step : 1
> E: [alsa-sink-Intel ICH] alsa-util.c: avail_min : 16384
> E: [alsa-sink-Intel ICH] alsa-util.c: period_event : 0
> E: [alsa-sink-Intel ICH] alsa-util.c: start_threshold : -1
> E: [alsa-sink-Intel ICH] alsa-util.c: stop_threshold : 1073741824
> E: [alsa-sink-Intel ICH] alsa-util.c: silence_threshold: 0
> E: [alsa-sink-Intel ICH] alsa-util.c: silence_size : 0
> E: [alsa-sink-Intel ICH] alsa-util.c: boundary : 1073741824
> E: [alsa-sink-Intel ICH] alsa-util.c: appl_ptr : 596493
> E: [alsa-sink-Intel ICH] alsa-util.c: hw_ptr : 882499
> E: [alsa-sink-Intel ICH] alsa-util.c: snd_pcm_delay() returned a value
> that is exceptionally large: -488840 bytes (-2771 ms).
> E: [alsa-sink-Intel ICH] alsa-util.c: Most likely this is a bug in the
> ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers.
> E: [alsa-sink-Intel ICH] alsa-util.c: snd_pcm_dump():
> E: [alsa-sink-Intel ICH] alsa-util.c: Hardware PCM card 0 'Intel
> 82801DB-ICH4' device 0 subdevice 0
> E: [alsa-sink-Intel ICH] alsa-util.c: Its setup is:
> E: [alsa-sink-Intel ICH] alsa-util.c: stream : PLAYBACK
> E: [alsa-sink-Intel ICH] alsa-util.c: access : MMAP_INTERLEAVED
> E: [alsa-sink-Intel ICH] alsa-util.c: format : S16_LE
> E: [alsa-sink-Intel ICH] alsa-util.c: subformat : STD
> E: [alsa-sink-Intel ICH] alsa-util.c: channels : 2
> E: [alsa-sink-Intel ICH] alsa-util.c: rate : 44100
> E: [alsa-sink-Intel ICH] alsa-util.c: exact rate : 44100 (44100/1)
> E: [alsa-sink-Intel ICH] alsa-util.c: msbits : 16
> E: [alsa-sink-Intel ICH] alsa-util.c: buffer_size : 16384
> E: [alsa-sink-Intel ICH] alsa-util.c: period_size : 16384
> E: [alsa-sink-Intel ICH] alsa-util.c: period_time : 371519
> E: [alsa-sink-Intel ICH] alsa-util.c: tstamp_mode : ENABLE
> E: [alsa-sink-Intel ICH] alsa-util.c: period_step : 1
> E: [alsa-sink-Intel ICH] alsa-util.c: avail_min : 16384
> E: [alsa-sink-Intel ICH] alsa-util.c: period_event : 0
> E: [alsa-sink-Intel ICH] alsa-util.c: start_threshold : -1
> E: [alsa-sink-Intel ICH] alsa-util.c: stop_threshold : 1073741824
> E: [alsa-sink-Intel ICH] alsa-util.c: silence_threshold: 0
> E: [alsa-sink-Intel ICH] alsa-util.c: silence_size : 0
> E: [alsa-sink-Intel ICH] alsa-util.c: boundary : 1073741824
> E: [alsa-sink-Intel ICH] alsa-util.c: appl_ptr : 760333
> E: [alsa-sink-Intel ICH] alsa-util.c: hw_ptr : 882543
>
> ALAS, now audacious and GNOME MPlayer DO NOT produce sound anymore....
>
> I've rebooted the system; pulseaudio seems automatically running:
> $ ps -ax | grep pulseaudio
> 1493 ? S<l 0: 00 /usr/bin/pulseaudio --start
> --log-target=syslog
> 1755 pts/0 S+ 0: 00 grep pulseaudio
>
> Still
> (1) alarm-clock doesnot complain but doesnot produce sound, either (when
> trying to play sound).
> (2) audacious and GNOME MPlayer do not produce sound (things have become
> worse...)
>
> Also,
> "gst-launch -v -m audiotestsrc ! audioconvert ! audioresample !
> autoaudiosink"
> still gives a huge error message (different than before):
> Setting pipeline to PAUSED ...
> /GstPipeline:
> audio/x-raw-int, endianness=
> depth=(int)16, rate=(int)44100, channels=(int)1
> Pipeline is PREROLLING ...
> Got message #9 from element "autoaudiosink0" (state-changed):
> GstMessageState, old-state=
> new-state=
> pending-
> Got message #10 from element "audioresample0" (state-changed):
> GstMessageState, old-state=
> new-state=
> pending-
> ...
> and many more "Got message #x..." lines (with x comming from the range
> 11-39), and then:
> ...
> /GstPipeline:
> volume = 1,000000
> /GstPipeline:
> mute = FALSE
> /GstPipeline:
> volume = 1,000000
> /GstPipeline:
> mute = FALSE
>
> It seems as if the (sound) system is completely erroneous now....
>
> --
> You received this question notification because you are an answer
> contact for Alarm Clock.
>
Revision history for this message
|
#10 |
I obeyed your suggestions (uninstall pulseaudio and gstreamer0.
No sound (and no complaints) from alarm-clock, audacious, and GNOME Mplayer.
Then I realized that I had speakers attached to sound jacket, but not switched on...
Switching on the speakers... YES, sound works as it should. (Before I started this question, the sound came from the computer itself even though the speakers were plugged in and on status "off".) So, the problem has been solved in an acceptable way.
HOWEVER after unplugging the speakers from the computer, the computer's sound does not work, whereas it did before I started this question for help. I can certainly live with the solution thus far (but I would appreciate a suggestion how to repair this situation).
Many many thanks for your help, Johannes!
Revision history for this message
|
#11 |
Thanks Johannes H. Jensen, that solved my question.
Revision history for this message
|
#12 |
I'm having the same issue.
The following command creates sound
gst-launch-1.0 -v -m audiotestsrc ! audioconvert ! audioresample ! autoaudiosink
So do other applications, like Firefox, VLC, etc.
I've installed:
- gstreamer0.10-alsa
- gstreamer1.0-als
- gstreamer0.
- gstreamer1.
- pulseaudio (1:4.0-0ubuntu11)
- gstreamer-tools (0.10.36-1.2ubun)
I'm on elementary OS 0.3.2 Freya (64-bit)
Which is based on Ubuntu 14.04 LTS