[Bug 692953] alsa modules are silent or noisy after several hours of use

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 26 05:00:54 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=692953
  GStreamer | gst-plugins-base | 1.0.9

--- Comment #55 from Thomas DEBESSE <thomas.debesse at rcf.fr> 2013-08-26 12:00:37 UTC ---
Here new information accordingly to my tests.

These pipelines:

* alsasrc device=hw:XFi ! queue ! alsasink device=hw:XFi sync=false
* alsasrc device=hw:Intel ! alsasink device=hw:Intel sync=false
* audiotestsrc ! alsasink device=hw:Intel

has not failed in more than three days (PCI Creative SoundBlaster X-Fi,
Integrated PCI Intel 82801H), Integrated PCI Intel 82801H)

These three pipelines:
* alsasrc device=alsa_iface ! capsfilter caps="audio/x-raw, format=S16LE,
rate=48000, channels=2" ! audioconvert ! audioresample ! capsfilter
caps="audio/x-raw, format=F32LE, rate=48000, channels=2" ! jackaudiosink
sync=false connect=none

using alsa_iface = Live, alsa_iface=Live1, alsa_iface=Juli (PCI Creative
SoundBlaster Live! CT4790, PCI Creative SoundBlaster Live! CT4832, PCIe ESI
Juli@ XTe)

with Warnings like that :
AVERTISSEMENT : de l'élément /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0 :
Impossible d'enregistrer assez rapidement les données audio
Information de débogage supplémentaire :
gstaudiobasesrc.c(848): gst_audio_base_src_create ():
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0:
Dropped 10240 samples. This is most likely because downstream can't keep up and
is consuming samples too slowly.
14:50:41.515700033  3711  0x97f84f0 WARN            audiobasesrc
gstaudiobasesrc.c:843:gst_audio_base_src_create:<alsasrc0> create DISCONT of
10240 samples at sample 2565442560
14:50:41.515759371  3711  0x97f84f0 WARN            audiobasesrc
gstaudiobasesrc.c:848:gst_audio_base_src_create:<alsasrc0> warning: Impossible
d'enregistrer assez rapidement les données audio
14:50:41.515785649  3711  0x97f84f0 WARN            audiobasesrc
gstaudiobasesrc.c:848:gst_audio_base_src_create:<alsasrc0> warning: Dropped
10240 samples. This is most likely because downstream can't keep up and is
consuming samples too slowly.

has not failed in more than three days

---> These six pipelines using alsasrc has not failed in more than three days

These three pipelines:
* "jackaudiosrc connect=none ! capsfilter caps="audio/x-raw, format=F32LE,
rate=48000, chanels=2" ! audioconvert ! audioresample ! capsfilter
caps="audio/x-raw, forma=S32LE, rate=48000, channels=2" ! alsasink
device=alsa_iface sync=false

using alsa_iface = Live, alsa_iface=Live1, alsa_iface=Juli (PCI Creative
SoundBlaster Live! CT4790, PCI Creative SoundBlaster Live! CT4832, PCIe ESI
Juli@ XTe)

with warnings like that:
AVERTISSEMENT : de l'élément
/GstPipeline:pipeline0/GstJackAudioSrc:jackaudiosrc0 : Ressource introuvable.
Information de débogage supplémentaire :
gstjackaudiosrc.c(479): gst_jack_ring_buffer_acquire ():
/GstPipeline:pipeline0/GstJackAudioSrc:jackaudiosrc0:
No physical output ports found, leaving ports unconnected
0:00:02.961586728  6042  0x88204f0 WARN            audiobasesrc
gstaudiobasesrc.c:843:gst_audio_base_src_create:<jackaudiosrc0> create DISCONT
of 134144 samples at sample 135168
0:00:02.961768645  6042  0x88204f0 WARN            audiobasesrc
gstaudiobasesrc.c:848:gst_audio_base_src_create:<jackaudiosrc0> warning:
Impossible d'enregistrer assez rapidement les données audio
0:00:02.961796268  6042  0x88204f0 WARN            audiobasesrc
gstaudiobasesrc.c:848:gst_audio_base_src_create:<jackaudiosrc0> warning:
Dropped 134144 samples. This is most likely because downstream can't keep up
and is consuming samples too slowly.

has failed.


_______________________________________________________

This day (2013-08-26), with Gstreamer 1.0.9.

Pipelines known to be faulty pipelines:
* alsasrc ! audioresample ! audioconvert ! alsasink sync=false
* jackaudiosrc ! audioresample ! audioconvert ! alsasink sync=false

Pipelines not kwnown to be faulty pipelines:
* alsasrc ! alsasink
* alsasrc ! queue ! alsasink
* audiotestsrc ! alsasink
* jackaudiosrc ! audioresample ! audioconvert ! opusenc ! rtpopuspay ! udpsink
* udpsrc ! rtpjitterbuffer ! rtpopusdepay ! opusdec ! audioresample !
audioconvert ! jackaudiosink

For your information, some soundcards have not same format as recording format
and playing format, needing audioconvert when pipelining alsasrc with alsasink,
and some soundcards has not functionnal 48000Hz playing sampling (functionnal
44100Hz sampling) but functionnal 48000Hz recording sampling, needing
audioresample when pipelining alsasrc with alsasink. Pipelining audioconvert
and audioresampling between alsasrc and alsasink is needed in some case.

Analysis:
---> alsasrc with audioconvert and audioresample does not fail
---> alsasrc without audioconvert and without audioresample does not fail
---> alsasink without audioconvert and without audioresample does not fail
---> alsasink with audioconvert and audioresample fails
---> audioconvert with audioresample without alsasink does not fail
---> audioresample with audioconvert without alsasink does not fail

The bug seems to appear in combination of alsasink with audioconvert, or in
combination of alasink with audioresample, or in combination of alsasink with
audioresample with audioconvert.
Both audioconvert and audioresample module are not faulty when used without
alsasink module. The alsasink module is not faulty when used without on of the
audioconvert or audioresample module or without both of them.

I will try theses four pipelines (never tested) :

* alsasrc device=hw:Live ! audioconvert ! alsasink device=hw:Live sync=false
* alsasrc device=hw:Live1 ! audioresample ! alsasink device=hw:Live1 sync=false
* audiotestsrc ! audioconvert ! alsasink device=hw:Intel
* audiotestsrc ! audioresample ! alsasink device=hw:XFi

(by the way, I confirm, a failed pipeline need state.NULL before state.PLAYING
to become functionnal again, state.PAUSED before state.PLAYING does nothing)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list