Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new stuttering on IQAudio Dac #1497

Closed
rbnpi opened this issue May 27, 2016 · 10 comments

Comments

@rbnpi
Copy link

commented May 27, 2016

Since upgrading to the latest Raspbian 2016-05-10 I have noticed a stuttering on the audio output of my IQAudio DacPlus. I use this with Sonic Pi 2.10 On previous versions of Raspbian it is fine. I gather that the same effect has been noted on the HiFiBerry card as well.

Sam Aaaron (developer of Sonic Pi) also tells me that he has noticed the effect as well. The card plays .wav files OK directly with aplay, so the problem may be connected to the jackd connection that Sonic Pi uses.

@multivac61

This comment has been minimized.

Copy link

commented May 29, 2016

Can confirm that I have silmilar issues with specific audio output from my HiFiBerry card after upgrading to the lastest Raspbian. I get crystal clear audio when running aplay but when I run jackd commands and play audio that way the issue becomes apparent.

@stuzog

This comment has been minimized.

Copy link

commented May 30, 2016

Same issue with Sonic Pi on a RPi2 with a HiFiBerry DAC+. Sonic Pi uses 'jackd' but a qjackctrl window shows Jack not running and many instances of "skipped 13" and "skipped 14" in the log window (the distorted sound and clicking). It also shows system audio connected, but not Sonic Pi. The green light on the DAC+ comes on, however, so it is running.

Comments on this Google group suggest that it's a Linux problem.

@clivem

This comment has been minimized.

Copy link
Contributor

commented May 30, 2016

The long and the short of it, from reading that link......

MMAP is now disabled by default with brcm2835 I2S driver. You need to re-enable it with an overlay, "dtoverlay=i2s-mmap".

My memory is hazy. I remember at one time, MMAP was enabled by default. Then it got disabled with a patch and the overlay was the way to re-enable it. Can't remember why.

@stuzog

This comment has been minimized.

Copy link

commented May 30, 2016

dtoverly=i2s-mmap was already enabled to get Sonic Pi running.

@rbnpi

This comment has been minimized.

Copy link
Author

commented May 30, 2016

That’s not the problem it is enabled with that line in the config.txt file.

On 30 May 2016, at 19:21, Clive Messer notifications@github.com wrote:

The long and the short of it, from reading that link......

MMAP is now disabled by default with brcm2835 I2S driver. You need to e-enable it with an overlay, "dtoverlay=i2s-mmap".


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@clivem

This comment has been minimized.

Copy link
Contributor

commented May 30, 2016

Sorry, not really clear to me what is going on. That Google thread starts with "jack doesn't work without MMAP" and then halfway through it now seems to be about "ticks" in the audio stream.

@rbnpi

This comment has been minimized.

Copy link
Author

commented May 31, 2016

Yes. initially mmap was the problem. This was then sorted (a long time ago) and things have been fine until the latest release, when a clicking sound has been introduced using HiFiBerry or IQAudio cards. They work fine with aplay. The problem is in the jack connection necessary for Sonic Pi

@stuzog

This comment has been minimized.

Copy link

commented Jun 13, 2016

STUTTERING AUDIO SOLVED -- Updating both distribution (apt-get dist-update) and kernel (using rpi-update) results in clean audio, no stuttering on RPi2 with HiFiBerry DAC+. Thanks to Martin Sperl for this, info via Clive Messer.

Stuart

@popcornmix

This comment has been minimized.

Copy link
Collaborator

commented Jun 13, 2016

@rbnpi Please run rpi-update and close if issue is resolved.

@rbnpi

This comment has been minimized.

Copy link
Author

commented Jun 14, 2016

Thanks guys for all your hard work. Works perfectly now :-)
Closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.