[alsa-devel] Realtek ALC889: HDA Intel and kernel 3.1 gives choppy sound (again)
Hi,
Back to 3.0, the sound on my soundcard [1] started to be choppy, I reported it [2] and it got fixed (thanks to Takashi Iwai!).
However, the story repeated with 3.1 (and probably 3.0.8 or before [3]): I've got similar choppy sound again.
I bisected the few commits that happened on sound/pci/hda/patch_realtek.c, and finally found the villain:
"8974bd51 ALSA: hda/realtek - Fix auto-mute with HP+LO configuration"
Reverting it from v3.1 fixes the problem.
master (94956ee) also suffers of the problem, but I couldn't test without that commit because reverting it fails, too much changes happened.
Thanks for your attention, and if you need any extra information (although many are already available in my previous report [2]) or testing, please let me know.
Regards, Colomban
[1] Realtek ALC889 on an MSI H55M-E33
[2] bugs.debian.org/cgi-bin/bugreport.cgi?bug=635362, http://mailman.alsa-project.org/pipermail/alsa-devel/2011-July/042250.html (though I can't find my original message here)
[3] I first saw the problem in Debian's 3.0.0-6 which includes 3.0 up to .8 -- but the debugging I did was on vanilla kernel from git://github.com/torvalds/linux.git.
At Mon, 07 Nov 2011 23:45:40 +0100, Colomban Wendling wrote:
Hi,
Back to 3.0, the sound on my soundcard [1] started to be choppy, I reported it [2] and it got fixed (thanks to Takashi Iwai!).
However, the story repeated with 3.1 (and probably 3.0.8 or before [3]): I've got similar choppy sound again.
I bisected the few commits that happened on sound/pci/hda/patch_realtek.c, and finally found the villain:
"8974bd51 ALSA: hda/realtek - Fix auto-mute with HP+LO configuration"
Reverting it from v3.1 fixes the problem.
Does it? Very weird. This patch has nothing to do with the HD-audio controller side but purely a codec change.
master (94956ee) also suffers of the problem, but I couldn't test without that commit because reverting it fails, too much changes happened.
Did you try to pass position_fix=1 (or 2) option? Also, passing enable_msi=0 (or 1) may change anything?
In anyway, please give alsa-info.sh output again with the fresh kernel. Run it with --no-upload option and attach the output.
thanks,
Takashi
Le 08/11/2011 07:32, Takashi Iwai a écrit :
At Mon, 07 Nov 2011 23:45:40 +0100, Colomban Wendling wrote:
Hi,
Back to 3.0, the sound on my soundcard [1] started to be choppy, I reported it [2] and it got fixed (thanks to Takashi Iwai!).
However, the story repeated with 3.1 (and probably 3.0.8 or before [3]): I've got similar choppy sound again.
I bisected the few commits that happened on sound/pci/hda/patch_realtek.c, and finally found the villain:
"8974bd51 ALSA: hda/realtek - Fix auto-mute with HP+LO configuration"
Reverting it from v3.1 fixes the problem.
Does it? Very weird. This patch has nothing to do with the HD-audio controller side but purely a codec change.
master (94956ee) also suffers of the problem, but I couldn't test without that commit because reverting it fails, too much changes happened.
Did you try to pass position_fix=1 (or 2) option? Also, passing enable_msi=0 (or 1) may change anything?
In anyway, please give alsa-info.sh output again with the fresh kernel. Run it with --no-upload option and attach the output.
My answer was moderated because it was huge (including the alsa-info outputs), but I guess you got it? Any news on the subject?
Regards, Colomban
Le 07/11/2011 23:45, Colomban Wendling a écrit :
Hi,
Back to 3.0, the sound on my soundcard [1] started to be choppy, I reported it [2] and it got fixed (thanks to Takashi Iwai!).
However, the story repeated with 3.1 (and probably 3.0.8 or before [3]): I've got similar choppy sound again.
I bisected the few commits that happened on sound/pci/hda/patch_realtek.c, and finally found the villain:
"8974bd51 ALSA: hda/realtek - Fix auto-mute with HP+LO configuration"
Reverting it from v3.1 fixes the problem.
master (94956ee) also suffers of the problem, but I couldn't test without that commit because reverting it fails, too much changes happened.
This bug is still there in 3.2rc5 (dc47ce9).
Regards, Colomban
At Tue, 13 Dec 2011 15:33:04 +0100, Colomban Wendling wrote:
Le 07/11/2011 23:45, Colomban Wendling a écrit :
Hi,
Back to 3.0, the sound on my soundcard [1] started to be choppy, I reported it [2] and it got fixed (thanks to Takashi Iwai!).
However, the story repeated with 3.1 (and probably 3.0.8 or before [3]): I've got similar choppy sound again.
I bisected the few commits that happened on sound/pci/hda/patch_realtek.c, and finally found the villain:
"8974bd51 ALSA: hda/realtek - Fix auto-mute with HP+LO configuration"
Reverting it from v3.1 fixes the problem.
master (94956ee) also suffers of the problem, but I couldn't test without that commit because reverting it fails, too much changes happened.
This bug is still there in 3.2rc5 (dc47ce9).
It seems that your post with alsa-info was filtered out. Could you resend alsa-info outputs of both working and non-working states? Attach the compressed files if the size can be too big.
Since the commit you spotted is about the codec, not controller, thus the difference must be seen in alsa-info outputs. I still don't understand why that commit affects the output quality. We need more details. (Cc'ed David since he is the author of the commit.)
thanks,
Takashi
participants (2)
-
Colomban Wendling
-
Takashi Iwai