gstreamer10 is unable to output sound using alsa on an ibm thinkpad t43

Bug #42881 reported by Steve Pike
10
Affects Status Importance Assigned to Milestone
GStreamer
Fix Released
Medium
gst-plugins-base0.10 (Ubuntu)
Fix Released
Medium
Sebastian Dröge

Bug Description

Binary package hint: gstreamer0.10-alsa

Sound does not play through alsa using gstreamer10 on ibm thinkpad t43 with latest dapper updates.

output of:

$ gst-launch-0.10 audiotestsrc ! audioconvert ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/alsasink0: Could not get/set settings from/on resource.
Additional debug info:
gstalsasink.c(54: set_hwparams (): /pipeline0/alsasink0:
Sample format not available for playback: Invalid argument
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

-------------------------

sound plays fine using amarok with the xine backend or totem-xine
sound also plays fine using muine and gstreamer8
xmms plays fine with alsa output
*sound only does not work when using gstreamer10*

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you still have that issue with the new version of the packages uploaded since?

Changed in gst-plugins-base0.10:
assignee: nobody → desktop-bugs
Revision history for this message
Steve Pike (scpike) wrote : Re: [Bug 42881] Re: gstreamer10 is unable to output sound using alsa on an ibm thinkpad t43

Yes, I upgraded and still get

steve@steve:~$ gst-launch-0.10 audiotestsrc ! audioconvert ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/alsasink0: Could not get/set settings
from/on resource.
Additional debug info:
gstalsasink.c(548): set_hwparams (): /pipeline0/alsasink0:
Sample format not available for playback: Invalid argument
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

and no sounds...

On Sun, 2006-05-07 at 20:59 +0000, Sebastien Bacher wrote:
> Do you still have that issue with the new version of the packages
> uploaded since?
>
> ** Changed in: gst-plugins-base0.10 (Ubuntu)
> Assignee: (unassigned) => Ubuntu Desktop Bugs
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you run " GST_DEBUG=3 GST_DEBUG_NO_COLOR=1gst-launch-0.10 audiotestsrc ! audioconvert ! alsasink &>gst-launch.log" and attach it to that page?

Revision history for this message
Steve Pike (scpike) wrote :

bash: audiotestsrc: command not found

Revision history for this message
Sebastian Dröge (slomo) wrote :

GST_DEBUG=3 GST_DEBUG_NO_COLOR=1 gst-launch-0.10 audiotestsrc ! audioconvert ! alsasink &>gst-launch.log

there was a space missing before gst-launch-0.10

Revision history for this message
Steve Pike (scpike) wrote :
Download full text (43.4 KiB)

INFO (0x80509a0 - 0:00:00.005106000) GST_INIT(28923) gst.c(513):init_pre: Initializing GStreamer Core Library version 0.10.5
INFO (0x80509a0 - 0:00:00.005207000) GST_INIT(28923) gst.c(514):init_pre: Using library installed in /usr/lib
INFO (0x80509a0 - 0:00:00.005255000) GST_INIT(28923) gstquery.c(101):_gst_query_initialize: init queries
INFO (0x80509a0 - 0:00:00.005545000) GST_INIT(28923) gstmessage.c(72):_gst_message_initialize: init messages
INFO (0x80509a0 - 0:00:00.006306000) GST_PLUGIN_LOADING(28923) gstplugin.c(182):_gst_plugin_register_static: loaded static plugin "staticelements"
INFO (0x80509a0 - 0:00:00.047626000) GST_REGISTRY(28923) gstregistryxml.c(557):gst_registry_xml_read_cache: loaded /home/steve/.gstreamer-0.10/registry.i486.xml in 0.040391 seconds
INFO (0x80509a0 - 0:00:00.059069000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstcoreelements.so" loaded
INFO (0x80509a0 - 0:00:00.059624000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstcoreindexers.so" loaded
INFO (0x80509a0 - 0:00:00.064466000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstalsa.so" loaded
INFO (0x80509a0 - 0:00:00.065743000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgst1394.so" loaded
INFO (0x80509a0 - 0:00:00.076648000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstaasink.so" loaded
INFO (0x80509a0 - 0:00:00.077379000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstalaw.so" loaded
INFO (0x80509a0 - 0:00:00.078051000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstalpha.so" loaded
INFO (0x80509a0 - 0:00:00.078658000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstapetag.so" loaded
INFO (0x80509a0 - 0:00:00.081800000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstavi.so" loaded
INFO (0x80509a0 - 0:00:00.086039000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstautodetect.so" loaded
INFO (0x80509a0 - 0:00:00.087300000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstcacasink.so" loaded
INFO (0x80509a0 - 0:00:00.088893000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstcdio.so" loaded
INFO (0x80509a0 - 0:00:00.092768000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgsteffectv.so" loaded
INFO (0x80509a0 - 0:00:00.093409000) GST_PLUGIN_LOADING(28923) gstplugin.c(462):gst_plugin_load_file: plugin "/usr/lib/gstreamer-0.10/libgstgoom.so" loaded
INFO (0x80509a0 - 0:00:00.094226000) GST_PLUGIN_LOADING(28923) gstplugin.c(46...

Revision history for this message
Sebastian Dröge (slomo) wrote :

Thanks, what audio hardware do you have?
Could you also try the following two and attach (see the add attachment link on the left) the two created log files here?
GST_DEBUG=3 GST_DEBUG_NO_COLOR=1 gst-launch-0.10 audiotestsrc ! audioconvert ! "audio/x-raw-int, rate=48000" ! alsasink &>gst-launch-alsa.log

GST_DEBUG=3 GST_DEBUG_NO_COLOR=1 gst-launch-0.10 audiotestsrc ! audioconvert ! osssink &>gst-launch-oss.log

Revision history for this message
Steve Pike (scpike) wrote : requested gst-launch-alsa.log

This was requested, when ran it plays a solid tone

Revision history for this message
Steve Pike (scpike) wrote : requested gst-launch-oss.log

The output of GST_DEBUG=3 GST_DEBUG_NO_COLOR=1 gst-launch-0.10 audiotestsrc ! audioconvert ! osssink &>gst-launch-oss.log

was requested, it played a solid tone.

Revision history for this message
Steve Pike (scpike) wrote :

this is from the output of lspci

Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)

the hardware is the standard audio hardware that ships with the ibm t43

Revision history for this message
Sebastian Dröge (slomo) wrote :

Thanks so the problem is that ALSA or the gst alsa sink doesn't detect the capabilities of your hardware correctly as it's only able to play sound sampled at 48000khz... I'll get this reported upstream :)

Revision history for this message
Steve Pike (scpike) wrote :

cool, thanks

Revision history for this message
Sebastian Dröge (slomo) wrote : gst-launch.log

The first log you pasted here instead of attaching to make it easier to read :)

Changed in gst-plugins-base0.10:
assignee: desktop-bugs → slomo
status: Unconfirmed → Confirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

This should be fixed with 0.10.7-0ubuntu2 which was uploaded some seconds ago... please reopen otherwise :)

Changed in gst-plugins-base0.10:
status: Confirmed → Fix Released
Changed in gstreamer:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.