Skip to content

alsa hangs/stutters about 0,5s when mmcqd/0 works #55

Closed

Description

@mrzk-pl

Everytime when mmcqd/0 eating CPU (about 12% CPU) I have short sound stutters.

I've tested various options:

  • the same problem was when I've played music on mpd / mpg123 / aplay / pulseaudio stream from LAN
  • the same problem on internal and external card (via usbaudio.ko). When playing music on two cards, the hang was in the same time on both cards (when mmcqd worked)
  • tested on low / high cpu usage/load, on various snd quality (44100, 22050Hz)

I have Kingston SDHC 8GB Class10 (SD10G2/8GB) and default .asoundrc

Activity

  1. popcornmix commented on Jul 16, 2012

    @popcornmix
    Collaborator

    We currently block in sdcard driver which could possibly cause underflows on audio if this is happening.

    There is a patch that avoids it:
    grigorig@547d57b

    but it needs testing. Here is a kernel built with it:
    https://dl.dropbox.com/u/3669512/temp/kernel.img

    Please test and report. Note there is a small chance of sdcard instability, so it's worth backup up sdcard first.

  2. mrzk-pl commented on Jul 17, 2012

    @mrzk-pl
    Author

    Hi, thank for response. I've applied patch but nothing changes, alsa hangs.
    But after them I put my old SanDisk SD Card into Raspberry where I created backup before, and issue disappeared!
    Something is wrong with SD10G2/8GB, that is marked as compatible in RPi_VerifiedPeripherals

  3. popcornmix commented on Jul 17, 2012

    @popcornmix
    Collaborator

    With the bad sdcard, any error messages (in dmesg log) appearing when the sound stutters?

  4. mrzk-pl commented on Jul 18, 2012

    @mrzk-pl
    Author

    No, zero logs. Only higher cpu usage (mmcq/0) on bad card

  5. popcornmix commented on Aug 20, 2012

    @popcornmix
    Collaborator

    Likely to be an instance of this:
    #72
    We know what the problem is, but no solution yet.

  6. popcornmix commented on Aug 21, 2012

    @popcornmix
    Collaborator

    Closing as duplicate of #72

  7. 41 remaining items

  8. added a commit that references this issue on Jul 8, 2026
  9. added a commit that references this issue on Sep 22, 2026
  10. added a commit that references this issue on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions