I am using an Acer Aspire A115-31 laptop. When running newer kernel versions, sound played through headphones is distorted, but when running older versions, it is not.
Kernel version: Linux version 6.12.5 (user@hostname) (gcc (Debian 14.2.0-8) 14.2.0, GNU ld (GNU Binutils for Debian) 2.43.50.20241210) #1 SMP PREEMPT_DYNAMIC Sun Dec 15 05:09:16 IST 2024 Operating System: Debian GNU/Linux trixie/sid
No special actions are needed to reproduce the issue. The sound is distorted all the time, and it doesn't depend on anything besides using an affected kernel version.
It seems to be caused by commit 34ab5bbc6e82214d7f7393eba26d164b303ebb4e (ALSA: hda/realtek - Add Headset Mic supported Acer NB platform). Indeed, if I remove the entry that this commit adds, the issue disappears.
lspci output for the device in question:
00:0e.0 Multimedia audio controller [0401]: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio [8086:3198] (rev 06) Subsystem: Acer Incorporated [ALI] Device [1025:1360] Flags: bus master, fast devsel, latency 0, IRQ 130 Memory at a1214000 (64-bit, non-prefetchable) [size=16K] Memory at a1000000 (64-bit, non-prefetchable) [size=1M] Capabilities: [50] Power Management version 3 Capabilities: [80] Vendor Specific Information: Len=14 <?> Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Root Complex Integrated Endpoint, IntMsgNum 0 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_apl
Hi Kapun,
Please run attach script as below.
./alsa-info.sh --no-upload
Then send back the result.
-----Original Message----- From: Evgeny Kapun abacabadabacaba@gmail.com Sent: Sunday, December 15, 2024 9:07 PM To: Linux Sound Mailing List linux-sound@vger.kernel.org Cc: Kailang kailang@realtek.com; Takashi Iwai tiwai@suse.de; Linux Kernel Mailing List linux-kernel@vger.kernel.org; Linux Regressions Mailing List regressions@lists.linux.dev; Linux Stable Mailing List stable@vger.kernel.org Subject: [REGRESSION] Distorted sound on Acer Aspire A115-31 laptop
External mail.
I am using an Acer Aspire A115-31 laptop. When running newer kernel versions, sound played through headphones is distorted, but when running older versions, it is not.
Kernel version: Linux version 6.12.5 (user@hostname) (gcc (Debian 14.2.0-8) 14.2.0, GNU ld (GNU Binutils for Debian) 2.43.50.20241210) #1 SMP PREEMPT_DYNAMIC Sun Dec 15 05:09:16 IST 2024 Operating System: Debian GNU/Linux trixie/sid
No special actions are needed to reproduce the issue. The sound is distorted all the time, and it doesn't depend on anything besides using an affected kernel version.
It seems to be caused by commit 34ab5bbc6e82214d7f7393eba26d164b303ebb4e (ALSA: hda/realtek - Add Headset Mic supported Acer NB platform). Indeed, if I remove the entry that this commit adds, the issue disappears.
lspci output for the device in question:
00:0e.0 Multimedia audio controller [0401]: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio [8086:3198] (rev 06) Subsystem: Acer Incorporated [ALI] Device [1025:1360] Flags: bus master, fast devsel, latency 0, IRQ 130 Memory at a1214000 (64-bit, non-prefetchable) [size=16K] Memory at a1000000 (64-bit, non-prefetchable) [size=1M] Capabilities: [50] Power Management version 3 Capabilities: [80] Vendor Specific Information: Len=14 <?> Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Root Complex Integrated Endpoint, IntMsgNum 0 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_apl
Hi Kailang,
Here are the results of running the script on kernel versions 6.12.5 (affected) and 6.7.11 (not affected).
On 12/16/24 04:07, Kailang wrote:
Hi Kapun,
Please run attach script as below.
./alsa-info.sh --no-upload
Then send back the result.
-----Original Message----- From: Evgeny Kapun abacabadabacaba@gmail.com Sent: Sunday, December 15, 2024 9:07 PM To: Linux Sound Mailing List linux-sound@vger.kernel.org Cc: Kailang kailang@realtek.com; Takashi Iwai tiwai@suse.de; Linux Kernel Mailing List linux-kernel@vger.kernel.org; Linux Regressions Mailing List regressions@lists.linux.dev; Linux Stable Mailing List stable@vger.kernel.org Subject: [REGRESSION] Distorted sound on Acer Aspire A115-31 laptop
External mail.
I am using an Acer Aspire A115-31 laptop. When running newer kernel versions, sound played through headphones is distorted, but when running older versions, it is not.
Kernel version: Linux version 6.12.5 (user@hostname) (gcc (Debian 14.2.0-8) 14.2.0, GNU ld (GNU Binutils for Debian) 2.43.50.20241210) #1 SMP PREEMPT_DYNAMIC Sun Dec 15 05:09:16 IST 2024 Operating System: Debian GNU/Linux trixie/sid
No special actions are needed to reproduce the issue. The sound is distorted all the time, and it doesn't depend on anything besides using an affected kernel version.
It seems to be caused by commit 34ab5bbc6e82214d7f7393eba26d164b303ebb4e (ALSA: hda/realtek - Add Headset Mic supported Acer NB platform). Indeed, if I remove the entry that this commit adds, the issue disappears.
lspci output for the device in question:
00:0e.0 Multimedia audio controller [0401]: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio [8086:3198] (rev 06) Subsystem: Acer Incorporated [ALI] Device [1025:1360] Flags: bus master, fast devsel, latency 0, IRQ 130 Memory at a1214000 (64-bit, non-prefetchable) [size=16K] Memory at a1000000 (64-bit, non-prefetchable) [size=1M] Capabilities: [50] Power Management version 3 Capabilities: [80] Vendor Specific Information: Len=14 <?> Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Root Complex Integrated Endpoint, IntMsgNum 0 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_apl
Headphone or Headset. Which did you use? I don't know your platform has headset mic support or not.
-----Original Message----- From: Evgeny Kapun abacabadabacaba@gmail.com Sent: Thursday, December 19, 2024 4:34 AM To: Kailang kailang@realtek.com; Linux Sound Mailing List linux-sound@vger.kernel.org Cc: Takashi Iwai tiwai@suse.de; Linux Kernel Mailing List linux-kernel@vger.kernel.org; Linux Regressions Mailing List regressions@lists.linux.dev; Linux Stable Mailing List stable@vger.kernel.org Subject: Re: [REGRESSION] Distorted sound on Acer Aspire A115-31 laptop
External mail.
Hi Kailang,
Here are the results of running the script on kernel versions 6.12.5 (affected) and 6.7.11 (not affected).
On 12/16/24 04:07, Kailang wrote:
Hi Kapun,
Please run attach script as below.
./alsa-info.sh --no-upload
Then send back the result.
-----Original Message----- From: Evgeny Kapun abacabadabacaba@gmail.com Sent: Sunday, December 15, 2024 9:07 PM To: Linux Sound Mailing List linux-sound@vger.kernel.org Cc: Kailang kailang@realtek.com; Takashi Iwai tiwai@suse.de; Linux Kernel Mailing List linux-kernel@vger.kernel.org; Linux Regressions Mailing List regressions@lists.linux.dev; Linux Stable Mailing List stable@vger.kernel.org Subject: [REGRESSION] Distorted sound on Acer Aspire A115-31 laptop
External mail.
I am using an Acer Aspire A115-31 laptop. When running newer kernel versions, sound played through headphones is distorted, but when running older versions, it is not.
Kernel version: Linux version 6.12.5 (user@hostname) (gcc (Debian 14.2.0-8) 14.2.0, GNU ld (GNU Binutils for Debian) 2.43.50.20241210) #1 SMP PREEMPT_DYNAMIC Sun Dec 15 05:09:16 IST 2024 Operating
System:
Debian GNU/Linux trixie/sid
No special actions are needed to reproduce the issue. The sound is distorted all the time, and it doesn't depend on anything besides using an affected kernel version.
It seems to be caused by commit 34ab5bbc6e82214d7f7393eba26d164b303ebb4e (ALSA: hda/realtek - Add Headset Mic supported Acer NB platform). Indeed, if I remove the entry that this commit adds, the issue disappears.
lspci output for the device in question:
00:0e.0 Multimedia audio controller [0401]: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio [8086:3198] (rev
Subsystem: Acer Incorporated [ALI] Device [1025:1360] Flags: bus master, fast devsel, latency 0, IRQ 130 Memory at a1214000 (64-bit, non-prefetchable) [size=16K] Memory at a1000000 (64-bit, non-prefetchable) [size=1M] Capabilities: [50] Power Management version 3 Capabilities: [80] Vendor Specific Information: Len=14 <?> Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Root Complex Integrated Endpoint,
IntMsgNum 0 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_apl
Headphone or Headset. Which did you use? I don't know your platform has headset mic support or not.
I use headphones (no mic). I suppose my laptop should support a mic, because there is an icon next to the headset socket which shows a headset with a mic.
Could you record sound via headphone?
I want to know how the voice distortion.
I've run some experiments to determine the nature of the distortions, and I found that on affected kernels, what I'm hearing is the difference between the left and the right channel of what is playing. So, if I play a mono sound, I hear nothing at all (or rather, almost nothing). If I manually mute one of the channels, I hear the sound normally (through both ears, while on older kernels muting individual channels actually works). If I invert one of the channels, I hear the sound normally as well. If I play a stereo sound (for example, a music track), I hear distortions.
Could you record sound via headphone?
I want to know how the voice distortion.
-----Original Message----- From: Evgeny Kapun abacabadabacaba@gmail.com Sent: Thursday, December 19, 2024 4:34 AM To: Kailang kailang@realtek.com; Linux Sound Mailing List linux-sound@vger.kernel.org Cc: Takashi Iwai tiwai@suse.de; Linux Kernel Mailing List linux-kernel@vger.kernel.org; Linux Regressions Mailing List regressions@lists.linux.dev; Linux Stable Mailing List stable@vger.kernel.org Subject: Re: [REGRESSION] Distorted sound on Acer Aspire A115-31 laptop
External mail.
Hi Kailang,
Here are the results of running the script on kernel versions 6.12.5 (affected) and 6.7.11 (not affected).
On 12/16/24 04:07, Kailang wrote:
Hi Kapun,
Please run attach script as below.
./alsa-info.sh --no-upload
Then send back the result.
-----Original Message----- From: Evgeny Kapun abacabadabacaba@gmail.com Sent: Sunday, December 15, 2024 9:07 PM To: Linux Sound Mailing List linux-sound@vger.kernel.org Cc: Kailang kailang@realtek.com; Takashi Iwai tiwai@suse.de; Linux Kernel Mailing List linux-kernel@vger.kernel.org; Linux Regressions Mailing List regressions@lists.linux.dev; Linux Stable Mailing List stable@vger.kernel.org Subject: [REGRESSION] Distorted sound on Acer Aspire A115-31 laptop
External mail.
I am using an Acer Aspire A115-31 laptop. When running newer kernel versions, sound played through headphones is distorted, but when running older versions, it is not.
Kernel version: Linux version 6.12.5 (user@hostname) (gcc (Debian 14.2.0-8) 14.2.0, GNU ld (GNU Binutils for Debian) 2.43.50.20241210) #1 SMP PREEMPT_DYNAMIC Sun Dec 15 05:09:16 IST 2024 Operating
System:
Debian GNU/Linux trixie/sid
No special actions are needed to reproduce the issue. The sound is distorted all the time, and it doesn't depend on anything besides using an affected kernel version.
It seems to be caused by commit 34ab5bbc6e82214d7f7393eba26d164b303ebb4e (ALSA: hda/realtek - Add Headset Mic supported Acer NB platform). Indeed, if I remove the entry that this commit adds, the issue disappears.
lspci output for the device in question:
00:0e.0 Multimedia audio controller [0401]: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio [8086:3198] (rev
Subsystem: Acer Incorporated [ALI] Device [1025:1360] Flags: bus master, fast devsel, latency 0, IRQ 130 Memory at a1214000 (64-bit, non-prefetchable) [size=16K] Memory at a1000000 (64-bit, non-prefetchable) [size=1M] Capabilities: [50] Power Management version 3 Capabilities: [80] Vendor Specific Information: Len=14 <?> Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Root Complex Integrated Endpoint,
IntMsgNum 0 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_apl
Please also do it on older kernel.
-----Original Message----- From: Evgeny Kapun abacabadabacaba@gmail.com Sent: Sunday, December 15, 2024 9:07 PM To: Linux Sound Mailing List linux-sound@vger.kernel.org Cc: Kailang kailang@realtek.com; Takashi Iwai tiwai@suse.de; Linux Kernel Mailing List linux-kernel@vger.kernel.org; Linux Regressions Mailing List regressions@lists.linux.dev; Linux Stable Mailing List stable@vger.kernel.org Subject: [REGRESSION] Distorted sound on Acer Aspire A115-31 laptop
External mail.
I am using an Acer Aspire A115-31 laptop. When running newer kernel versions, sound played through headphones is distorted, but when running older versions, it is not.
Kernel version: Linux version 6.12.5 (user@hostname) (gcc (Debian 14.2.0-8) 14.2.0, GNU ld (GNU Binutils for Debian) 2.43.50.20241210) #1 SMP PREEMPT_DYNAMIC Sun Dec 15 05:09:16 IST 2024 Operating System: Debian GNU/Linux trixie/sid
No special actions are needed to reproduce the issue. The sound is distorted all the time, and it doesn't depend on anything besides using an affected kernel version.
It seems to be caused by commit 34ab5bbc6e82214d7f7393eba26d164b303ebb4e (ALSA: hda/realtek - Add Headset Mic supported Acer NB platform). Indeed, if I remove the entry that this commit adds, the issue disappears.
lspci output for the device in question:
00:0e.0 Multimedia audio controller [0401]: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio [8086:3198] (rev 06) Subsystem: Acer Incorporated [ALI] Device [1025:1360] Flags: bus master, fast devsel, latency 0, IRQ 130 Memory at a1214000 (64-bit, non-prefetchable) [size=16K] Memory at a1000000 (64-bit, non-prefetchable) [size=1M] Capabilities: [50] Power Management version 3 Capabilities: [80] Vendor Specific Information: Len=14 <?> Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Root Complex Integrated Endpoint, IntMsgNum 0 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_apl
On Sun, 15 Dec 2024 14:06:38 +0100, Evgeny Kapun wrote:
I am using an Acer Aspire A115-31 laptop. When running newer kernel versions, sound played through headphones is distorted, but when running older versions, it is not.
Kernel version: Linux version 6.12.5 (user@hostname) (gcc (Debian 14.2.0-8) 14.2.0, GNU ld (GNU Binutils for Debian) 2.43.50.20241210) #1 SMP PREEMPT_DYNAMIC Sun Dec 15 05:09:16 IST 2024 Operating System: Debian GNU/Linux trixie/sid
No special actions are needed to reproduce the issue. The sound is distorted all the time, and it doesn't depend on anything besides using an affected kernel version.
It seems to be caused by commit 34ab5bbc6e82214d7f7393eba26d164b303ebb4e (ALSA: hda/realtek - Add Headset Mic supported Acer NB platform). Indeed, if I remove the entry that this commit adds, the issue disappears.
lspci output for the device in question:
00:0e.0 Multimedia audio controller [0401]: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio [8086:3198] (rev 06) Subsystem: Acer Incorporated [ALI] Device [1025:1360] Flags: bus master, fast devsel, latency 0, IRQ 130 Memory at a1214000 (64-bit, non-prefetchable) [size=16K] Memory at a1000000 (64-bit, non-prefetchable) [size=1M] Capabilities: [50] Power Management version 3 Capabilities: [80] Vendor Specific Information: Len=14 <?> Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Root Complex Integrated Endpoint, IntMsgNum 0 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_apl
Could you give alsa-info.sh output with broken and working (reverted) states? Run the script with --no-upload option and attach the outputs.
thanks,
Takashi
On 12/19/24 18:38, Takashi Iwai wrote:
Could you give alsa-info.sh output with broken and working (reverted) states? Run the script with --no-upload option and attach the outputs.
Hi,
I already posted alsa-info output in a previous message:
Broken, kernel version 6.12.5: https://lore.kernel.org/linux-sound/0625722b-5404-406a-b571-ff79693fe980@gma... Working, kernel version 6.7.11: https://lore.kernel.org/linux-sound/0625722b-5404-406a-b571-ff79693fe980@gma...
Or do you need alsa-info with a new kernel, but with the offending commit reverted?
On Sun, 22 Dec 2024 08:37:27 +0100, Evgeny Kapun wrote:
On 12/19/24 18:38, Takashi Iwai wrote:
Could you give alsa-info.sh output with broken and working (reverted) states? Run the script with --no-upload option and attach the outputs.
Hi,
I already posted alsa-info output in a previous message:
Broken, kernel version 6.12.5: https://lore.kernel.org/linux-sound/0625722b-5404-406a-b571-ff79693fe980@gma... Working, kernel version 6.7.11: https://lore.kernel.org/linux-sound/0625722b-5404-406a-b571-ff79693fe980@gma...
Or do you need alsa-info with a new kernel, but with the offending commit reverted?
Yes, that'll be the best for eliminating other possible artifacts.
thanks,
Takashi
Please test attach patch.
-----Original Message----- From: Evgeny Kapun abacabadabacaba@gmail.com Sent: Monday, December 23, 2024 9:29 PM To: Takashi Iwai tiwai@suse.de Cc: Linux Sound Mailing List linux-sound@vger.kernel.org; Kailang kailang@realtek.com; Linux Kernel Mailing List linux-kernel@vger.kernel.org; Linux Regressions Mailing List regressions@lists.linux.dev; Linux Stable Mailing List stable@vger.kernel.org Subject: Re: [REGRESSION] Distorted sound on Acer Aspire A115-31 laptop
External mail.
Or do you need alsa-info with a new kernel, but with the offending commit reverted?
Yes, that'll be the best for eliminating other possible artifacts.
Here are two alsa-info outputs for the same kernel version, except that one has the problematic commit reverted.
On 12/24/24 04:54, Kailang wrote:
Please test attach patch.
This patch, when applied to kernel version 6.12.8, appears to fix the issue. There are no distortions, and the left and the right channel can be controlled independently.
Here is alsa-info output with and without the patch. The distortions only occur without the patch.
On Sat, 11 Jan 2025 16:00:33 +0100, Evgeny Kapun wrote:
On 12/24/24 04:54, Kailang wrote:
Please test attach patch.
This patch, when applied to kernel version 6.12.8, appears to fix the issue. There are no distortions, and the left and the right channel can be controlled independently.
Good to hear.
Kailang, care to submit a proper patch for merging?
thanks,
Takashi
Attached.
-----Original Message----- From: Takashi Iwai tiwai@suse.de Sent: Thursday, January 16, 2025 10:27 PM To: Evgeny Kapun abacabadabacaba@gmail.com Cc: Kailang kailang@realtek.com; Takashi Iwai tiwai@suse.de; Linux Sound Mailing List linux-sound@vger.kernel.org; Linux Kernel Mailing List linux-kernel@vger.kernel.org; Linux Regressions Mailing List regressions@lists.linux.dev; Linux Stable Mailing List stable@vger.kernel.org Subject: Re: [REGRESSION] Distorted sound on Acer Aspire A115-31 laptop
External mail.
On Sat, 11 Jan 2025 16:00:33 +0100, Evgeny Kapun wrote:
On 12/24/24 04:54, Kailang wrote:
Please test attach patch.
This patch, when applied to kernel version 6.12.8, appears to fix the issue. There are no distortions, and the left and the right channel can be controlled independently.
Good to hear.
Kailang, care to submit a proper patch for merging?
thanks,
Takashi
On Fri, 17 Jan 2025 08:48:46 +0100, Kailang wrote:
Attached.
Thanks, now applied.
Takashi
-----Original Message----- From: Takashi Iwai tiwai@suse.de Sent: Thursday, January 16, 2025 10:27 PM To: Evgeny Kapun abacabadabacaba@gmail.com Cc: Kailang kailang@realtek.com; Takashi Iwai tiwai@suse.de; Linux Sound Mailing List linux-sound@vger.kernel.org; Linux Kernel Mailing List linux-kernel@vger.kernel.org; Linux Regressions Mailing List regressions@lists.linux.dev; Linux Stable Mailing List stable@vger.kernel.org Subject: Re: [REGRESSION] Distorted sound on Acer Aspire A115-31 laptop
External mail.
On Sat, 11 Jan 2025 16:00:33 +0100, Evgeny Kapun wrote:
On 12/24/24 04:54, Kailang wrote:
Please test attach patch.
This patch, when applied to kernel version 6.12.8, appears to fix the issue. There are no distortions, and the left and the right channel can be controlled independently.
Good to hear.
Kailang, care to submit a proper patch for merging?
thanks,
Takashi
linux-stable-mirror@lists.linaro.org