Skip to contentSkip to conversation

: Scratchy Intel HDA

ALSA - driver 0001380 [email protected] 1 participant 1 message Sep 16, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1380>
======================================================================

Reported By:                Varanger
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Issue ID:                   1380
Category:                   PCI - hda-intel
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               Ubuntu 5.04 "Hoary Hedgehog"
Kernel Version:             Linux 2.6.11-1-686-smp
======================================================================
Date Submitted:             08-30-2005 20:07 CEST
Last Modified:              09-16-2005 04:49 CEST

======================================================================
Summary: Scratchy Intel HDA
Description:
Hello.

I am getting very scratchy audio in my Intel HDA card besides the sound is very low.

lspci output is:

0000:00:1b.0 0403: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)

Reading every article I could have found on the net regarding this card, I discovered that i needed snd-azx (ALSA 1.0.8 ) or snd-hda-intel modules (ALSA 1.0.9rc* or later).

I have downloaded every sources from 1.0.8 up to 1.0.10rc1 (including 1.0.9 release candidates) from http://www.alsa-project.org, then built and installed them.

In all those versions, I have followed this steps:
alsa-driver : ./configure --with-oss=yes --with-cards=hda-intel && make && make install
library / oss-lib / utils : ./configure && make && make install

I've looked every on the net and found that I could use position_fix=1 or position_fix=2 to help me but no good either.

I've tried in Ubuntu, Kubuntu, Debian, even Mandriva 2005 LE and Fedora Core 4 (using the modules from the kernel) and it's the same problem in all of them.

The card came with the mainboard Intel 915G (D915GEV or 915GEV)

more info about my soundcard:

Running: "lspci -v"

0000:00:1b.0 0403: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
Subsystem: Intel Corp.: Unknown device e200
Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at ff43c000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+
Queue=0/0 Enable-

        Capabilities: [70] #10 [0091]

/proc/sound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b. Compiled on Jul 7 2005 for kernel 2.6.10-5-686-smp (SMP).

/proc/asound/devices
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
0: [0- 0]: ctl
33: : timer

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC880 Analog [ALC880 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

Thanks for the help,
Varanger
======================================================================

----------------------------------------------------------------------
rlrevell - 09-16-05 04:03
----------------------------------------------------------------------
I think tiwai was mistaken about the dxs_support parameter. This only applies to the via82xx driver, not intel-hda. So you only need to test position_fix=x where x is 0, 1, 2, and 3.

First, try ALSA CVS or ALSA 1.0.10-rc1. There have been many bugs fixed since 1.0.9-rc2.

Then, if it still doesn't work, to verify that it's not a modutils bug, explicitly do:

rmmod snd-intel-hda
modprobe snd-intel-hda position_fix=0

Then test the sound and repeat with position_fix=1, 2, and 3.

Also, to narrow down the problem, do all testing with XMMS, and switch back and forth between the ALSA and OSS driver. Make sure that XMMS is using the device "default".

If your test results were using Rhythmbox+ALSA and XMMS+OSS to play the same MP3, then it looks like Rhythmbox might be using "hw:x,x" which is wrong, as it's reporting the sample rate as 48000 not 44100.

----------------------------------------------------------------------
chrome - 09-16-05 04:49
----------------------------------------------------------------------
XMMS with OSS emulation:

[root@vaio etc]# cat /proc/asound/card0/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 1024
buffer_size: 16384
tick_time: 1000
OSS format: S16_LE
OSS channels: 2
OSS rate: 44100
OSS period bytes: 4096
OSS periods: 16
OSS period frames: 1024

XMMS with Alsa:

[root@vaio etc]# cat /proc/asound/card0/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 16384
tick_time: 1000

Same deal, so its not a problem with Rhythmbox.

I didn't see any instructions on how I can compile just the drivers for my running kernel, and install them. How do I do that? Is there a bit of documentation you can point me to? sorry. I'm not very familiar with Alsa and how to build it etc; it just came with my distro ;)

Issue History
Date Modified Username Field Change
======================================================================
08-30-05 20:07 Varanger New Issue
08-30-05 20:07 Varanger Distribution => Ubuntu 5.04 "Hoary
Hedgehog"
08-30-05 20:07 Varanger Kernel Version => Linux
2.6.11-1-686-smp

09-08-05 09:27 cventers       Note Added: 0006070                          
09-12-05 19:02 mico           Note Added: 0006149                          
09-12-05 19:04 mico           Note Edited: 0006149                         
09-13-05 18:26 tiwai          Note Added: 0006154                          
09-15-05 19:19 Varanger       Note Added: 0006218                          
09-16-05 03:35 chrome         Note Added: 0006236                          
09-16-05 04:03 rlrevell       Note Added: 0006237                          
09-16-05 04:49 chrome         Note Added: 0006238                          

======================================================================

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php