2008-12-14 07:59:11

by Jaswinder Singh

[permalink] [raw]
Subject: BUG - HDA Intel very low audio with breaking voice in 2.6.28-rc8

Hello all,

I am facing problem in 2.6.28-rc8, HDA Intel audio is very low and
with breaking voice, may be it seems like HD effect ;)

dmesg :

HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
HDA Intel 0000:00:14.2: setting latency timer to 64
ALSA sound/pci/hda/hda_codec.c:3055: autoconfig: line_outs=1
(0xd/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3059: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3063: hp_outs=1 (0xa/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3064: mono: mono_out=0x0
ALSA sound/pci/hda/hda_codec.c:3072: inputs: mic=0xb, fmic=0x0,
line=0xe, fline=0x0, cd=0x0, aux=0x0
HDA Intel 0000:01:05.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
HDA Intel 0000:01:05.1: setting latency timer to 64

/sbin/lspci -vv :
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia
Subsystem: Hewlett-Packard Company Device 30f2
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Interrupt: pin ? routed to IRQ 16
Region 0: Memory at d2400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel


01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller
Subsystem: Hewlett-Packard Company Device 30f2
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 19
Region 0: Memory at d2310000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [a0] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable-
Address: 0000000000000000 Data: 0000
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

If you need more information, please let me know.

I am also curious why it is showing 2 audio devices with lspci. I am
using HP dv5-1002us laptop.

Thank you,

Jaswinder Singh.


2008-12-14 09:26:26

by Takashi Iwai

[permalink] [raw]
Subject: Re: BUG - HDA Intel very low audio with breaking voice in 2.6.28-rc8

At Sun, 14 Dec 2008 13:28:56 +0530,
Jaswinder Singh wrote:
>
> Hello all,
>
> I am facing problem in 2.6.28-rc8, HDA Intel audio is very low and
> with breaking voice, may be it seems like HD effect ;)

What do you mean "breaking voice"? Please be more specific.

Run alsa-info.sh with --no-upload option, and attach the generated
file. This will contain the detailed hardware information. The
script is found at
http://www.alsa-project.org/alsa-info.sh

Is this a regression from the older kernel? If yes, please run
alsa-info on both working and non-working kernels and attach the both
outputs.
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

Also, try the latest sound git tree whether the problem persists on
the latest version.

You can find some other information on
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/docs/HD-Audio.pdf


Takashi


>
> dmesg :
>
> HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> HDA Intel 0000:00:14.2: setting latency timer to 64
> ALSA sound/pci/hda/hda_codec.c:3055: autoconfig: line_outs=1
> (0xd/0x0/0x0/0x0/0x0)
> ALSA sound/pci/hda/hda_codec.c:3059: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
> ALSA sound/pci/hda/hda_codec.c:3063: hp_outs=1 (0xa/0x0/0x0/0x0/0x0)
> ALSA sound/pci/hda/hda_codec.c:3064: mono: mono_out=0x0
> ALSA sound/pci/hda/hda_codec.c:3072: inputs: mic=0xb, fmic=0x0,
> line=0xe, fline=0x0, cd=0x0, aux=0x0
> HDA Intel 0000:01:05.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
> HDA Intel 0000:01:05.1: setting latency timer to 64
>
> /sbin/lspci -vv :
> 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia
> Subsystem: Hewlett-Packard Company Device 30f2
> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
> Latency: 64
> Interrupt: pin ? routed to IRQ 16
> Region 0: Memory at d2400000 (64-bit, non-prefetchable) [size=16K]
> Capabilities: [50] Power Management version 2
> Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> Kernel driver in use: HDA Intel
> Kernel modules: snd-hda-intel
>
>
> 01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller
> Subsystem: Hewlett-Packard Company Device 30f2
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
> Latency: 0
> Interrupt: pin B routed to IRQ 19
> Region 0: Memory at d2310000 (32-bit, non-prefetchable) [size=16K]
> Capabilities: [50] Power Management version 3
> Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> Capabilities: [a0] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable-
> Address: 0000000000000000 Data: 0000
> Kernel driver in use: HDA Intel
> Kernel modules: snd-hda-intel
>
> If you need more information, please let me know.
>
> I am also curious why it is showing 2 audio devices with lspci. I am
> using HP dv5-1002us laptop.
>
> Thank you,
>
> Jaswinder Singh.
>

2008-12-14 11:31:11

by Jaswinder Singh

[permalink] [raw]
Subject: Re: BUG - HDA Intel very low audio with breaking voice in 2.6.28-rc8

Hello Takashi,

On Sun, Dec 14, 2008 at 2:56 PM, Takashi Iwai <[email protected]> wrote:
>>
>> I am facing problem in 2.6.28-rc8, HDA Intel audio is very low and
>> with breaking voice, may be it seems like HD effect ;)
>
> What do you mean "breaking voice"? Please be more specific.
>

1. It seems like few frames are dropping and it gives like crackling sound.
2. Audio volume is very low, I can only hear it if I increase the volume > 85%

> Run alsa-info.sh with --no-upload option, and attach the generated
> file. This will contain the detailed hardware information. The
> script is found at
> http://www.alsa-project.org/alsa-info.sh
>

I am attaching output file by using sound git kernel.

> Is this a regression from the older kernel?

I have no idea, I have checked many trees and versions but all are
giving same problem.

> If yes, please run
> alsa-info on both working and non-working kernels and attach the both
> outputs.

http://www.alsa-project.org/db/?f=ef63766d74e6a7aa7fe246b62dafa2711aae109a
by using sound git kernel.

> git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
>
> Also, try the latest sound git tree whether the problem persists on
> the latest version.
>

sound-2.6 git is also giving same problem, its dmesg is :

[ 3.927195] Advanced Linux Sound Architecture Driver Version 1.0.18a.
[ 3.929171] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level,
low) -> IRQ 16
[ 3.929698] HDA Intel 0000:00:14.2: setting latency timer to 64
[ 3.936487] input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input5
[ 3.941096] usb 1-3: new high speed USB device using ehci_hcd and address 2
[ 3.994132] ehci_hcd 0000:00:12.2: port 3 high speed
[ 3.994148] ehci_hcd 0000:00:12.2: GetStatus port 3 status 001005
POWER sig=se0 PE CONNECT
[ 3.994816] input: HDA ATI SB at 0xd2400000 irq 16 Line In at Ext
Rear Jack as /devices/pci0000:00/0000:00:14.2/input/input6
[ 3.997629] input: HDA ATI SB at 0xd2400000 irq 16 Mic at Ext Front
Jack as /devices/pci0000:00/0000:00:14.2/input/input7
[ 4.000630] input: HDA ATI SB at 0xd2400000 irq 16 Line In at Ext
Rear Jack as /devices/pci0000:00/0000:00:14.2/input/input8
[ 4.003629] input: HDA ATI SB at 0xd2400000 irq 16 HP Out at Ext
Front Jack as /devices/pci0000:00/0000:00:14.2/input/input9
[ 4.009588] HDA Intel 0000:01:05.1: PCI INT B -> GSI 19 (level,
low) -> IRQ 19
[ 4.009588] HDA Intel 0000:01:05.1: setting latency timer to 64
[ 4.035961] ALSA device list:
[ 4.036079] #0: HDA ATI SB at 0xd2400000 irq 16
[ 4.036335] #1: HDA ATI HDMI at 0xd2310000 irq 19
..
[ 47.642943] hda-intel: Invalid position buffer, using LPIB read
method instead.
..
[ 113.786524] hda_intel: azx_get_response timeout, switching to
polling mode: last cmd=0x021f000a
..
[ 114.787522] hda_intel: azx_get_response timeout, switching to
single_cmd mode: last cmd=0x021f000a

Thank you,

Jaswinder Singh.


Attachments:
(No filename) (2.87 kB)
alsa-info.txt (9.79 kB)
Download all attachments

2008-12-15 07:26:20

by Takashi Iwai

[permalink] [raw]
Subject: Re: BUG - HDA Intel very low audio with breaking voice in 2.6.28-rc8

At Sun, 14 Dec 2008 17:00:52 +0530,
Jaswinder Singh wrote:
>
> Hello Takashi,
>
> On Sun, Dec 14, 2008 at 2:56 PM, Takashi Iwai <[email protected]> wrote:
> >>
> >> I am facing problem in 2.6.28-rc8, HDA Intel audio is very low and
> >> with breaking voice, may be it seems like HD effect ;)
> >
> > What do you mean "breaking voice"? Please be more specific.
> >
>
> 1. It seems like few frames are dropping and it gives like crackling sound.
> 2. Audio volume is very low, I can only hear it if I increase the volume > 85%
>
> > Run alsa-info.sh with --no-upload option, and attach the generated
> > file. This will contain the detailed hardware information. The
> > script is found at
> > http://www.alsa-project.org/alsa-info.sh
> >
>
> I am attaching output file by using sound git kernel.

Could you try probe_mask=1 option so that only the first code is used?
I guess your BIOS is broken and the driver tries to probe the wrong
slot.

> > Is this a regression from the older kernel?
>
> I have no idea, I have checked many trees and versions but all are
> giving same problem.
>
> > If yes, please run
> > alsa-info on both working and non-working kernels and attach the both
> > outputs.
>
> http://www.alsa-project.org/db/?f=ef63766d74e6a7aa7fe246b62dafa2711aae109a
> by using sound git kernel.

Run with --no-upload option and attach the both results.
But, if the other kernel version shows the same behavior, it's no help
actually.


Takashi

2008-12-16 15:40:41

by Jaswinder Singh

[permalink] [raw]
Subject: Re: BUG - HDA Intel very low audio with breaking voice in 2.6.28-rc8

Hello Takashi,

On Mon, Dec 15, 2008 at 12:56 PM, Takashi Iwai <[email protected]> wrote:
> But, if the other kernel version shows the same behavior, it's no help
> actually.

After updating the system, voice breaking is fixed.

I am quite happy with this.

Thanks for your help,

Jaswinder Singh.