[ATI HDaudio controller 1002:4383 (rev 40)] Recording with internal mic gets cut off

Bug #743266 reported by Andy Barilla
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When doing the laptop tests with this laptop (HP Pavilion DV7) recording with the internal mic does work, but the end of the recording gets cut off.

What I find is that there is approximately a 1 second delay in the audio input. This means that it records an extra second at the start (background noise) and chops off an extra second at the end. The sound itself is time-shifted by approx 1 second.

Specific test case: http://laptop.qa.ubuntu.com/qatracker/result/4781/890

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: alsa-base 1.0.24+dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: andrew 1709 F.... pulseaudio
 /dev/snd/pcmC0D0c: andrew 1709 F...m pulseaudio
 /dev/snd/pcmC0D0p: andrew 1709 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xf0500000 irq 16'
   Mixer name : 'IDT 92HD81B1X5'
   Components : 'HDA:111d7605,103c1641,00100402'
   Controls : 14
   Simple ctrls : 9
Card1.Amixer.info:
 Card hw:1 'Generic'/'HD-Audio Generic at 0xf0220000 irq 45'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Sat Mar 26 13:24:35 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110326)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaRecordingTest: ALSA recording test through plughw:SB successful
Symptom_Card: Internal Audio - HDA ATI SB
Symptom_Jack: Mic, Internal
Symptom_PulseAudioRecordingTest: PulseAudio recording test through plughw:SB successful
Symptom_Type: None of the above
Title: [HP Pavilion dv7 Notebook PC, IDT 92HD81B1X5, Mic, Internal] Recording problem
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/11/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.23
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 1641
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 67.32
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.23:bd11/11/2010:svnHewlett-Packard:pnHPPaviliondv7NotebookPC:pvr0585120014242B10000020100:rvnHewlett-Packard:rn1641:rvr67.32:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv7 Notebook PC
dmi.product.version: 0585120014242B10000020100
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Andy Barilla (andybarilla) wrote :
Revision history for this message
David Henningsson (diwic) wrote :

Hi Andrew and thanks for reporting this bug. I have some additional questions:

1) You indicated that recording worked correctly when you filed the bug. Is this a problem with a particular program only - does recording work with other programs?

2) How much is cut off? Is it always the last second regardless of recording length, or always say 50% of the recording, or...?

Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
codeslinger (codeslinger) wrote :

I have the same laptop model and the same problem.

I have tired:
Ubuntu 10.04
Ubuntu 10.10
Kubuntu 10.10

I have tried both 32 bit and 64 bit versions of the OS.

What I find is that there is approximately a 1 second delay in the audio input. This means that it records an extra second at the start (background noise) and chops off an extra second at the end. The sound itself is time-shifted by approx 1 second.

This makes the computer completely and totally unusable for VoIP and similar applications -- which is *very* important to me.
When doing an echo-back test on VoIP all I get are random fragments of my speech and other noise. I suspect the echo-cancellation is preventing the delayed audio from getting through.

Sound output (internal and external speakers) works Great! I have not tested the HDMI audio out.

 it is only the audio input that is not working.

I have tried the internal microphone,
the external microphone jack
and even tried a USB microphone/headset

all with the same result...

In the audio control panel, I can adjust the input volume and see the bars of audio level. I can adjust this to get reasonable sound level. Using the gnome-recorder I can get acceptable audio quality of record/playback, but the problem is the missing speech and the added time shift.

Details:
http://www.alsa-project.org/db/?f=50a9507df2b48592daf4d98dd9891c0273199ad1

Codec: IDT 92HD81B1X5
Codec: ATI R6xx HDMI

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
 Subsystem: Hewlett-Packard Company Device 1641
 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, Cache Line Size: 64 bytes
 Interrupt: pin ? routed to IRQ 16
 Region 0: Memory at f0500000 (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 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
 Kernel driver in use: HDA Intel
 Kernel modules: snd-hda-intel

Revision history for this message
codeslinger (codeslinger) wrote :

also some programs such as audicity will hang when trying to record sound. and other programs like the webcam video recorder run very slowly.

Revision history for this message
codeslinger (codeslinger) wrote :

see bug #582600 for a potentially related issue with sound delays

Revision history for this message
codeslinger (codeslinger) wrote :

I have now tried natty 10.04 64 bit

which is supposed to be the latest and greatest....

and it totally does not work. at least with 10.10 I could actually record sound even if it does get cut off, but with 11.04 I can't even do that, I have no sound input at all.

I have also fiddled considerably with various config settings as outlined on a zillion different web pages of a zillion different people all trying to get the audio system to work properly with the Intel HDA chips -- which are apparently the new standard for all (most) new laptops being made. and it simply does not work, nothing I have tried yet, other than to remove PulseAudio actually gets me a usable audio system.

description: updated
summary: - Recording with internal mic gets cut off
+ [ATI HDaudio controller 1002:4383 (rev 40)] Recording with internal mic
+ gets cut off
Revision history for this message
David Henningsson (diwic) wrote :

@codeslinger, thanks for the added comments. I've seen similar problems with this controller and another one in bug 741825, but this one seems more severe. Anyway, should we succeed in solving bug 741825 I'm hoping that these symptoms will stop as well.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for alsa-driver (Ubuntu) because there has been no activity for 60 days.]

Changed in alsa-driver (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.