This command doesn't work, it says "aplay: set_params:1239: Channels
count non available". The -D default:CARD=CA0106 variant works and it
does not overrun. I only had overruns on recording (at least, explicit).
That said, I've made a huge improvement in my system, I compiled a pf-
kernel and set CONFIG_PREEMPT=y, CONFIG_HZ_1000=y and CONFIG_HZ=1000.
The default Debian kernel is on 250 Hz and is not preemptible. Now that
my kernel supports preemption I (crossing fingers) don't have ALSA over-
and underruns anymore. They were quite sudden and audible as
clicks/gaps. I saw this in the log:

Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
Scheduling delay of 11.42 ms > 11.31 ms, you might want to investigate this to 
improve latency...
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
Underrun!
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
Increasing minimal latency to 1.00 ms
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
Latency set to 21.33ms
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
hwbuf_unused=57352
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
setting avail_min=7651
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
Latency set to 21.33ms
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
hwbuf_unused=57352
Jan  4 20:25:15 homecomp pulseaudio[26848]: [alsa-sink-ca0106] alsa-sink.c: 
setting avail_min=7651

With the preempt kernel this doesn't happen at all (I grepped the log)
and sound is just as good as with pure ALSA.

However, arecord still drops overrun for CA0106. It doesn't do it for
PCH (ALC889) though.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1315212

Title:
  [CA0106 - CA0106, playback] Playback problem - Surround dies, no valid
  output

To manage notifications about this bug go to:
https://bugs.launchpad.net/alsa-driver/+bug/1315212/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to