ALSA: hda - Use LPIB position fix for Acer AO751h
PATCH 1/1 ALSA: hda - Use LPIB position fix for Acer AO751h
The user reports a regression (choppy audio), and that position_fix=1 (or position_fix=4) fixes the issue.
This is a Poulsbo controller (8086:811b (rev 07)), so might be worth checking if other Poulsbo machines suffer from the same bug.
--- sound/pci/hda/hda_intel.c | 1 + 1 file changed, 1 insertion(+)
sound/pci/hda/hda_intel.c +1 -0
@@ -3114,6 +3114,7 @@ static bool check_hdmi_disabled(struct pci_dev *pci)* white/black-listing for position_fix */ static struct snd_pci_quirk position_fix_list[] = { +SND_PCI_QUIRK (0x1025 ,0x0244 ,"Acer AO751h" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x1028 ,0x01cc ,"Dell D820" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x1028 ,0x01de ,"Dell Precision 390" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x103c ,0x306d ,"HP dv3" ,POS_FIX_LPIB ),
Signature · 1 line
1.7.9.5
At Thu, 28 Feb 2013 08:18:30 +0100,
Quoted 10 lines · David Henningsson
The user reports a regression (choppy audio), and that position_fix=1 (or position_fix=4) fixes the issue.
This is a Poulsbo controller (8086:811b (rev 07)), so might be worth checking if other Poulsbo machines suffer from the same bug.
Cc [email protected] [v3.7+]Signed-off-by David Henningsson <[email protected]>
Please check whether the latest sound git tree works as is. We enabled the LPIB delay counting for Poulsbo there, and it may fix most cases.
Takashi
Quoted 19 lines
--- sound/pci/hda/hda_intel.c | 1 + 1 file changed, 1 insertion(+)sound/pci/hda/hda_intel.c +1
-0@@ -3114,6 +3114,7 @@ static bool check_hdmi_disabled(struct pci_dev *pci)* white/black-listing for position_fix */ static struct snd_pci_quirk position_fix_list[] = { +SND_PCI_QUIRK (0x1025 ,0x0244 ,"Acer AO751h" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x1028 ,0x01cc ,"Dell D820" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x1028 ,0x01de ,"Dell Precision 390" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x103c ,0x306d ,"HP dv3" ,POS_FIX_LPIB ),Signature · 1 line
1.7.9.5
Quoted 9 lines · Takashi Iwai
At Thu, 28 Feb 2013 08:18:30 +0100,
Quoted 7 lines · David Henningsson
The user reports a regression (choppy audio), and that position_fix=1 (or position_fix=4) fixes the issue.
This is a Poulsbo controller (8086:811b (rev 07)), so might be worth checking if other Poulsbo machines suffer from the same bug.
Quoted 7 lines
Quoted 3 lines
Cc [email protected] [v3.7+]Signed-off-by David Henningsson <[email protected]>Please check whether the latest sound git tree works as is. We enabled the LPIB delay counting for Poulsbo there, and it may fix most cases.
The test was done on a 3.8 based kernel. Isn't LPIB delay counting enabled there as well?
(Alsa-info is here: https://launchpadlibrarian.net/132247367/AlsaInfo.txt )
Quoted 25 lines
Takashi
Quoted 19 lines
--- sound/pci/hda/hda_intel.c | 1 + 1 file changed, 1 insertion(+)sound/pci/hda/hda_intel.c +1
-1@@ -3114,6 +3114,7 @@ static bool check_hdmi_disabled(struct pci_dev *pci)* white/black-listing for position_fix */ static struct snd_pci_quirk position_fix_list[] = { +SND_PCI_QUIRK (0x1025 ,0x0244 ,"Acer AO751h" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x1028 ,0x01cc ,"Dell D820" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x1028 ,0x01de ,"Dell Precision 390" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x103c ,0x306d ,"HP dv3" ,POS_FIX_LPIB ), --1.7.9.5
Signature · 2 lines
David Henningsson, Canonical Ltd. https://launchpad.net/~diwic
At Thu, 28 Feb 2013 09:49:23 +0100,
Quoted 15 lines · David Henningsson
Quoted 13 lines · Takashi Iwai
At Thu, 28 Feb 2013 08:18:30 +0100,
Quoted 10 lines · David Henningsson
The user reports a regression (choppy audio), and that position_fix=1 (or position_fix=4) fixes the issue.
This is a Poulsbo controller (8086:811b (rev 07)), so might be worth checking if other Poulsbo machines suffer from the same bug.
Cc [email protected] [v3.7+]Signed-off-by David Henningsson <[email protected]>
Quoted 6 lines
Quoted 3 lines
Please check whether the latest sound git tree works as is. We enabled the LPIB delay counting for Poulsbo there, and it may fix most cases.
The test was done on a 3.8 based kernel. Isn't LPIB delay counting enabled there as well?
No, it was added fairly recently.
I didn't put Cc to stable for the commit f748abcc5bf62de007019d841f7caba81cc3d673. If this is confirmed to work in general for Poulsbo, we can merge to stable.
But, overall I wonder why POSFIX_LPIB is needed for this device. In the recent kernels up to 3.8, LPIB is used as default for Poulsbo.
Takashi
Takashi
Quoted 35 lines
(Alsa-info is here: https://launchpadlibrarian.net/132247367/AlsaInfo.txt )
Quoted 25 lines
Takashi
Quoted 19 lines
--- sound/pci/hda/hda_intel.c | 1 + 1 file changed, 1 insertion(+)sound/pci/hda/hda_intel.c +1
-1@@ -3114,6 +3114,7 @@ static bool check_hdmi_disabled(struct pci_dev *pci)* white/black-listing for position_fix */ static struct snd_pci_quirk position_fix_list[] = { +SND_PCI_QUIRK (0x1025 ,0x0244 ,"Acer AO751h" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x1028 ,0x01cc ,"Dell D820" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x1028 ,0x01de ,"Dell Precision 390" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x103c ,0x306d ,"HP dv3" ,POS_FIX_LPIB ), --1.7.9.5
Signature · 2 lines
David Henningsson, Canonical Ltd. https://launchpad.net/~diwic
Quoted 24 lines · Takashi Iwai
At Thu, 28 Feb 2013 09:49:23 +0100,
Quoted 15 lines · David Henningsson
Quoted 13 lines · Takashi Iwai
At Thu, 28 Feb 2013 08:18:30 +0100,
Quoted 10 lines · David Henningsson
The user reports a regression (choppy audio), and that position_fix=1 (or position_fix=4) fixes the issue.
This is a Poulsbo controller (8086:811b (rev 07)), so might be worth checking if other Poulsbo machines suffer from the same bug.
Cc [email protected] [v3.7+]Signed-off-by David Henningsson <[email protected]>Quoted 6 lines
Quoted 3 lines
Please check whether the latest sound git tree works as is. We enabled the LPIB delay counting for Poulsbo there, and it may fix most cases.
The test was done on a 3.8 based kernel. Isn't LPIB delay counting enabled there as well?
Quoted 7 lines
No, it was added fairly recently.
I didn't put Cc to stable for the commitf748abcc5bf62de007019d841f7caba81cc3d673. If this is confirmed to work in general for Poulsbo, we can merge to stable.But, overall I wonder why
POSFIX_LPIBis needed for this device. In the recent kernels up to 3.8, LPIB is used as default for Poulsbo.
According to "git describe --contains", this commit was added to v3.8-rc6, and released into Ubuntu before this bug was filed. Probably this commit is was what caused the regression then, and so the cc to stable should be to 3.8+, not 3.7+.
Quoted 4 lines
Takashi
Takashi
Have you cloned yourself, or is it just a race condition? :-)
Quoted 37 lines
Quoted 36 lines
(Alsa-info is here: https://launchpadlibrarian.net/132247367/AlsaInfo.txt )
Quoted 9 lines
Takashi
Quoted 4 lines
--- sound/pci/hda/hda_intel.c | 1 + 1 file changed, 1 insertion(+)Quoted 16 lines
Quoted 13 lines
sound/pci/hda/hda_intel.c +1
-1@@ -3114,6 +3114,7 @@ static bool check_hdmi_disabled(struct pci_dev *pci)* white/black-listing for position_fix */ static struct snd_pci_quirk position_fix_list[] = { +SND_PCI_QUIRK (0x1025 ,0x0244 ,"Acer AO751h" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x1028 ,0x01cc ,"Dell D820" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x1028 ,0x01de ,"Dell Precision 390" ,POS_FIX_LPIB ),SND_PCI_QUIRK (0x103c ,0x306d ,"HP dv3" ,POS_FIX_LPIB ), --Quoted 2 lines
1.7.9.5
--
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
Signature · 2 lines
David Henningsson, Canonical Ltd. https://launchpad.net/~diwic
At Thu, 28 Feb 2013 11:05:20 +0100,
Quoted 31 lines · David Henningsson
Quoted 29 lines · Takashi Iwai
At Thu, 28 Feb 2013 09:49:23 +0100,
Quoted 15 lines · David Henningsson
Quoted 13 lines · Takashi Iwai
At Thu, 28 Feb 2013 08:18:30 +0100,
Quoted 10 lines · David Henningsson
The user reports a regression (choppy audio), and that position_fix=1 (or position_fix=4) fixes the issue.
This is a Poulsbo controller (8086:811b (rev 07)), so might be worth checking if other Poulsbo machines suffer from the same bug.
Cc [email protected] [v3.7+]Signed-off-by David Henningsson <[email protected]>Quoted 6 lines
Quoted 3 lines
Please check whether the latest sound git tree works as is. We enabled the LPIB delay counting for Poulsbo there, and it may fix most cases.
The test was done on a 3.8 based kernel. Isn't LPIB delay counting enabled there as well?
No, it was added fairly recently.
I didn't put Cc to stable for the commitf748abcc5bf62de007019d841f7caba81cc3d673. If this is confirmed to work in general for Poulsbo, we can merge to stable.
Quoted 5 lines
Quoted 2 lines
But, overall I wonder why
POSFIX_LPIBis needed for this device. In the recent kernels up to 3.8, LPIB is used as default for Poulsbo.According to "git describe --contains", this commit was added to v3.8-rc6, and released into Ubuntu before this bug was filed.
Ah, right, I forgot it was included in 3.8-final...
Quoted 3 lines
Probably
this commit is was what caused the regression then, and so the cc to stable should be to 3.8+, not 3.7+.
Possible. We seem have no reliable generic solution for Poulsbo, unfortunately.
But, POSFIX_LPIB is most likely buggy in the regard of capture. Can the tester check whether the recording really works, also without pulseaudio, too?) I guess POSFIX_COMBO would work better for Poulsbo.
(Oh I dropped AZX_DCAPS_POSFIX_COMBO, and we may need to revive in in
bit 24)
Quoted 7 lines
Quoted 5 lines
Takashi
Takashi
Have you cloned yourself, or is it just a race condition? :-)
It must be a dejavu, aka a bug, due to a lack of caffeine.
Takashi