Skip to content

/dev/snd/timer hangs on poll when using alsa dmix #1888

Open
@aeruder

Description

@aeruder

As far as I can tell, this has been around for a while.

To recreate, it should be as simple as:

aplay -D plug:dmix /usr/share/sounds/alsa/Front_Left.wav

The interesting thing seen in the strace is it appears that the first poll on /dev/snd/timer works fine and the 2nd one hangs.

Host

Linux babombpi2 4.9.13-v7+ #974 SMP Wed Mar 1 20:09:48 GMT 2017 armv7l GNU/Linux

config.txt:

kernel=uboot.bin
dtparam=audio=on
dtoverlay=vc4-kms-v3d
device_tree_address=0x02000000
device_tree_end=0x02080000
gpu_mem=128
max_usb_current=1
avoid_warnings=2

config_hdmi_boost=4
hdmi_force_hotplug=1
hdmi_drive=2
hdmi_edid_file=1
hdmi_group=1
hdmi_mode=16

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions