Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Intel HD Audio and ALSA
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
andretti
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2007
Posts: 94

PostPosted: Thu May 03, 2007 11:49 am    Post subject: Intel HD Audio and ALSA Reply with quote

Here's is something that I had experienced and I thought someone might what to know or try this.

I used to get some annoying little noise in the background among everything I played. However after I muted all channels except PCM, those noises were gone and all channels are working fine now.
Back to top
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Fri May 18, 2007 10:39 am    Post subject: Reply with quote

That's a strange one. I'm using the Kernel 2.6.20-gentoo-r7 ALSA drivers and I also used the
normal alsa-driver (1.0.14_rc2-r1) and didn't have any problems.

Anyone else having issues ? If not can we put a [SOLVED] on this post ?

-m
_________________
choff.
Back to top
View user's profile Send private message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 881
Location: Vancouver, BC

PostPosted: Sat May 19, 2007 3:14 pm    Post subject: Reply with quote

Have you tried passing the position_fix parameter to the snd_hd_intel module? This fixed the noise for me.
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Sat May 19, 2007 10:45 pm    Post subject: Reply with quote

danomac wrote:
Have you tried passing the position_fix parameter to the snd_hd_intel module? This fixed the noise for me.

what does it do exactly?
and by the way do you know how to minimise the card's latency(because it does a lot of xrun)
Back to top
View user's profile Send private message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 881
Location: Vancouver, BC

PostPosted: Sun May 20, 2007 2:56 am    Post subject: Reply with quote

It changes how the module works, and is noted in the kernel ALSA configuration document. See the second note below. Changing the value of that parameter can get rid of the click/static noise from the card.

/usr/src/linux/Documentation/sound/alsa/ALSA-Configuration.txt wrote:

Module snd-hda-intel
--------------------

Module for Intel HD Audio (ICH6, ICH6M, ESB2, ICH7, ICH8),
ATI SB450, SB600, RS600,
VIA VT8251/VT8237A,
SIS966, ULI M5461

model - force the model name
position_fix - Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF, 3 = FIFO size)
single_cmd - Use single immediate commands to communicate with
codecs (for debugging only)
enable_msi - Enable Message Signaled Interrupt (MSI) (default = off)

This module supports one card and autoprobe.

Each codec may have a model table for different configurations.
If your machine isn't listed there, the default (usually minimal)
configuration is set up. You can pass "model=<name>" option to
specify a certain model in such a case. There are different
models depending on the codec chip.

Note 2: If you get click noises on output, try the module option
position_fix=1 or 2. position_fix=1 will use the SD_LPIB
register value without FIFO size correction as the current
DMA pointer. position_fix=2 will make the driver to use
the position buffer instead of reading SD_LPIB register.
(Usually SD_LPLIB register is more accurate than the
position buffer.)



I don't know how to reduce the card's latency.
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Sun May 20, 2007 9:14 am    Post subject: Reply with quote

thanks...and i've found how to reduce the latency in this post:
https://forums.gentoo.org/viewtopic.php?p=4065433#4065433
Back to top
View user's profile Send private message
andretti
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2007
Posts: 94

PostPosted: Mon Jun 04, 2007 10:09 am    Post subject: Reply with quote

di1bert wrote:
That's a strange one. I'm using the Kernel 2.6.20-gentoo-r7 ALSA drivers and I also used the
normal alsa-driver (1.0.14_rc2-r1) and didn't have any problems.

Anyone else having issues ? If not can we put a [SOLVED] on this post ?

-m


Unfortunately... This didn't solve the problem as I previously thought. The noise come back after I booted into Windows XP one day, and after that the noise was back. Anyway, I'll try the position_fix switch danomac suggested.
Back to top
View user's profile Send private message
MoridinBG
n00b
n00b


Joined: 24 May 2007
Posts: 13

PostPosted: Mon Jun 04, 2007 10:29 am    Post subject: Reply with quote

The noise comes from the surround channel. Muting it removes the noise. What about 5.1 sound?
Back to top
View user's profile Send private message
jabol
Apprentice
Apprentice


Joined: 05 Oct 2005
Posts: 269

PostPosted: Mon Jun 04, 2007 1:06 pm    Post subject: Reply with quote

this is probably because intel hda is a bit poor soundcard (depending on model maybe). if there is no input device (like microphone) plugged in there are noises. you must mute input device for those noises not to be passed to the to the output. set the control to max and mute the channel. so you will be able to reccord but the input won't connected with output. the problem should occur with all built-in soundcards.
this is the explanaition

Gratings,
AW
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum