HDMI Audio : Segfault with any ALSA apps

cancel
Showing results for 
Search instead for 
Did you mean: 

HDMI Audio : Segfault with any ALSA apps

Jump to solution
1,342 Views
frederic_coiffi
Contributor II

Hi,

I'm working on HDMI output for a custom i.MX6Q board. I'm using the last git commit of the imx_3.0.35_4.0.0 branch.

The HDMI video works fine in framebuffer but I can't get a working HDMI audio.

The sound device is correctly created :

mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
asoc: mxc-hdmi-soc <-> imx-hdmi-soc-dai.0 mapping ok
ALSA device list:
  #0: imx-hdmi-soc

And :

$ cat /proc/asound/cards

0 [imxhdmisoc     ]: imx-hdmi-soc - imx-hdmi-soc

                      imx-hdmi-soc

$ cat /proc/asound/pcm

00-00: IMX HDMI TX mxc-hdmi-soc-0 :  : playback 1

But, when I try to use aplay or speaker-test, I get a segfault :

$ aplay -L
Segmentation fault
$ aplay /tmp/test.wav
Segmentation fault
$ aplay -D hw:0,0 /tmp/test.wav
Segmentation fault
$ speaker-test

speaker-test 1.0.24.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Segmentation fault


So, is it a known problem in the current Linux kernel or is there something missing in my configuration ?


Labels (3)
Tags (1)
0 Kudos
1 Solution
371 Views
frederic_coiffi
Contributor II

In fact, the problem was due to a compiler bug in the toolchain Sourcery CodeBench ARM 2012.03.

Using the toolchain Sourcery CodeBench ARM 2013.05 solves the Segmentation Fault in alsa-utils applications (aplay, speaker-test...)

View solution in original post

0 Kudos
2 Replies
372 Views
frederic_coiffi
Contributor II

In fact, the problem was due to a compiler bug in the toolchain Sourcery CodeBench ARM 2012.03.

Using the toolchain Sourcery CodeBench ARM 2013.05 solves the Segmentation Fault in alsa-utils applications (aplay, speaker-test...)

View solution in original post

0 Kudos
371 Views
gavinbao
Contributor I

I have the same qustion.when playback video,no sound .

0 Kudos