Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Gstreamer alsasink crashes on AMD Geode

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Yojimbo
Posts: 2
Joined: 2023-01-28 00:17

Gstreamer alsasink crashes on AMD Geode

#1 Post by Yojimbo »

I have just installed Debian 11 on an Alix3d3 machine, which uses an AMD Geode LX800 (https://www.pcengines.ch/alix3d3.htm)
ALSA seems to be working properly - alsamixer & aplay do the right thing, and good quality audio comes out of the right place :-)

However when I try to use GStreamer to produce output, I get a crash ...

Code: Select all

# gst-launch-1.0 audiotestsrc ! audioconvert ! audioresample ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Illegal instruction
In syslog I get a kernel message:

Code: Select all

Jan 28 13:44:49 music kernel: [57893.028848] traps: audiotestsrc0:s[11929] trap invalid opcode ip:b6330000 sp:b736c4bc error:0 in orcexec.kZtMj7 (deleted)[b6330000+10000]
I thought I'd ask here for some advice on how to fix this! Or if not, what further info to collect and where else to report it?

Some more details on the system & packages ...

Code: Select all

root@music:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

root@music:~# uname -a
Linux music 5.10.0-21-686 #1 SMP Debian 5.10.162-1 (2023-01-21) i586 GNU/Linux

root@music:~# dpkg -l gst\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                           Version          Architecture Description
+++-==============================-================-============-======================================================
ii  gstreamer1.0-alsa:i386         1.18.4-2         i386         GStreamer plugin for ALSA
un  gstreamer1.0-audiosink         <none>           <none>       (no description available)
un  gstreamer1.0-audiosource       <none>           <none>       (no description available)
ii  gstreamer1.0-gl:i386           1.18.4-2         i386         GStreamer plugins for GL
un  gstreamer1.0-plugins-bad       <none>           <none>       (no description available)
ii  gstreamer1.0-plugins-base:i386 1.18.4-2         i386         GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-good:i386 1.18.4-2+deb11u1 i386         GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:i386 1.18.4-2         i386         GStreamer plugins from the "ugly" set
un  gstreamer1.0-plugins-ugly-amr  <none>           <none>       (no description available)
ii  gstreamer1.0-pulseaudio:i386   1.18.4-2+deb11u1 i386         GStreamer plugin for PulseAudio (transitional package)
ii  gstreamer1.0-tools             1.18.4-2.1       i386         Tools for use with GStreamer
un  gstreamer1.0-videosink         <none>           <none>       (no description available)
un  gstreamer1.0-videosource       <none>           <none>       (no description available)
un  gstreamer1.0-visualization     <none>           <none>       (no description available)
ii  gstreamer1.0-x:i386            1.18.4-2         i386         GStreamer plugins for X11 and Pango

root@music:~# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 5
model           : 10
model name      : Geode(TM) Integrated Processor by AMD PCS
stepping        : 2
cpu MHz         : 498.073
cache size      : 128 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu de pse tsc msr cx8 sep pge cmov clflush mmx mmxext 3dnowext 3dnow cpuid 3dnowprefetch vmmcall
bugs            : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass
bogomips        : 996.14
clflush size    : 32
cache_alignment : 32
address sizes   : 32 bits physical, 32 bits virtual
power management:

Yojimbo
Posts: 2
Joined: 2023-01-28 00:17

Re: Gstreamer alsasink crashes on AMD Geode

#2 Post by Yojimbo »

I probably should also clarify that I've used other inputs to gstreamer, not just the 'audiotestsrc', and I still get the crash. 'autoaudiosink' should end up in ALSA, and crashes. Specifying the ALSA device doesn't help, '... ! alsasink device=hw:0' and other combinations like that all fail (if I name an invalid device, I get an error message, not a crash)
So I'm assuming that GStreamer's alsasink is the failing component; and that I assume comes from the package gstreamer1.0-alsa, which contains only libgstalsa.so.

Post Reply