All of lore.kernel.org
 help / color / mirror / Atom feed
* Sound distortion with Realtek ALC889A
@ 2009-10-29 12:21 Damien Brossard
  2009-10-30  1:47 ` Simos Xenitellis
  0 siblings, 1 reply; 4+ messages in thread
From: Damien Brossard @ 2009-10-29 12:21 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 2364 bytes --]

Hi.

I recently bought a Gigabyte GA-MA78GM-S2H motherboard. This board uses the
(in)famous (from what i've read for now) alc889a chip. While playing 5.1
content, I can hear noise or distortion coming from the center channel. I
can not test my configuration with another OS, so I can't fully dismiss a HW
problem. However, i made several tests with 5.1 and 2.0 speakers which
points me to soundcard problem.

I've made some tests with speaker-test (speaker-test -D surround51 -c 6) :
1) Each time a sound is played either on front left channel or rear left
channel, a noise can be heared on the center channel (and subwoofer, this is
confirmed pluging a stereo headphone on the center/lfe jack). No noise when
a sound is played on right channels (front or rear).
2) In alsamixer, if I set the volume to 0 for the front or rear left
channels, i can hear the noise on center/lfe when a sound is "played" on
this channels
3) In alsamixer, if I mute the front or rear left channels, i can hear no
more noise on center/lfe

Complementary tests have been made with alsaplayer and using a simple mp3
file. In this configuration (stereo output), center and rear channels play
the same sound as front channel.
1) If all channels are unmuted, I hear no noise.
2) If either the front channel or the rear channel are muted, I can hear the
noise on center channel.

I tried this with alsa-driver 1.0.20 and 1.0.21 with the same result, I
recently went back to 1.0.20 due to kernel upgrade.

Things that seem strange to me (maybe not so strange to alsa dev :)) :
1) alsamixer shows volumes in percentage, however when I set a channel
volume to 50% and the master volume to 50%, I hope to find a resulting
volume of 25%, not 0.
2) lspci reports my soundcard subsystem id as 1458:a022, but in
/proc/asound/card0/codec#0 the subsystem id is 1458:a002

Googling around made me find few references (in alsa-devel list) to a
similar problem :

http://mailman.alsa-project.org/pipermail/alsa-devel/2008-July/008942.html
http://mailman.alsa-project.org/pipermail/alsa-devel/2008-August/009754.html

The distortion / noise described here is exactly what i can hear with my
system. Apparently the user solved the issue buying another soundcard. I'd
like to be sure it is the only way to go.

Attached is the file produced by alsa-info.sh

Thanks in advance.

Best regards
Damien Brossard

[-- Attachment #2: alsa-info-output --]
[-- Type: application/octet-stream, Size: 14259 bytes --]

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.58
!!################################

!!Script ran on: Thu Oct 29 10:47:48 UTC 2009


!!Linux Distribution
!!------------------

Gentoo Base System release 1.12.11.1


!!DMI Information
!!---------------

Manufacturer:      Gigabyte Technology Co., Ltd.
Product Name:      GA-MA78GM-S2H


!!Kernel Information
!!------------------

Kernel release:    2.6.30-gentoo-r7
Operating System:  GNU/Linux
Architecture:      i686
Processor:         AMD Athlon(tm) Dual Core Processor 5050e
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     1.0.20
Library version:    1.0.21a
Utilities version:  1.0.20


!!Loaded ALSA modules
!!-------------------



!!Sound Servers on this system
!!----------------------------

No sound servers found.


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfe024000 irq 16
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfdffc000 irq 19


!!PCI Soundcards installed in the system
!!--------------------------------------

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller


!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------

00:14.2 0403: 1002:4383
	Subsystem: 1458:a022
--
01:05.1 0403: 1002:960f
	Subsystem: 1002:960f


!!Loaded sound module options
!!--------------------------


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC889A
Address: 0
Function Id: 0x1
Vendor Id: 0x10ec0885
Subsystem Id: 0x1458a002
Revision Id: 0x100101
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x05 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x90 0x90]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x1c 0x1c]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x00 0x00]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 10
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x20 0x20]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x20 0x20]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x20 0x20]
  Connection: 2
     0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x05 0x0b
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01014410: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x15 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01011412: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x2
  Pin-ctls: 0x40: OUT VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d* 0x0e 0x0f 0x26
Node 0x16 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000003c: IN OUT HP Detect
  Pin Default 0x01016411: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0x1, Sequence = 0x1
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d 0x0e* 0x0f 0x26
Node 0x17 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000003c: IN OUT HP Detect
  Pin Default 0x01012414: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
    DefAssociation = 0x1, Sequence = 0x4
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d 0x0e 0x0f* 0x26
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19c40: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02a19c50: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x5, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x0181344f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x4, Sequence = 0xf
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02214c20: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x593301f0: [N/A] CD at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4005e601: [N/A] Line Out at Ext N/A
    Conn = Optical, Color = White
    DefAssociation = 0x0, Sequence = 0x1
  Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
  Pincap 0x00000010: OUT
  Pin Default 0x014b6130: [Jack] SPDIF Out at Ext Rear
    Conn = Comb, Color = Orange
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400200: Mono Digital
  Pincap 0x00000020: IN
  Pin Default 0x01cb7160: [Jack] SPDIF In at Ext Rear
    Conn = Comb, Color = Yellow
    DefAssociation = 0x6, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=17
  Processing Coefficient: 0xbbcc
  Coefficient Index: 0x10
Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono
  Volume-Knob: delta=0, steps=32, direct=0, val=0
  Unsolicited: tag=00, enabled=0
  Connection: 0
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x25 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x26 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Connection: 2
     0x25 0x0b
Codec: ATI RS690/780 HDMI
Address: 0
Function Id: 0x1
Vendor Id: 0x1002791a
Subsystem Id: 0x00791a00
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x02
--endcollapse--



[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sound distortion with Realtek ALC889A
  2009-10-29 12:21 Sound distortion with Realtek ALC889A Damien Brossard
@ 2009-10-30  1:47 ` Simos Xenitellis
  2009-10-30 11:01   ` Damien Brossard
  0 siblings, 1 reply; 4+ messages in thread
From: Simos Xenitellis @ 2009-10-30  1:47 UTC (permalink / raw)
  To: Damien Brossard; +Cc: alsa-devel

On Thu, Oct 29, 2009 at 2:21 PM, Damien Brossard
<brossard.damien@gmail.com> wrote:
>
> Hi.
>
> I recently bought a Gigabyte GA-MA78GM-S2H motherboard. This board uses the
> (in)famous (from what i've read for now) alc889a chip. While playing 5.1
> content, I can hear noise or distortion coming from the center channel. I
> can not test my configuration with another OS, so I can't fully dismiss a HW
> problem. However, i made several tests with 5.1 and 2.0 speakers which
> points me to soundcard problem.
>
> I've made some tests with speaker-test (speaker-test -D surround51 -c 6) :
> 1) Each time a sound is played either on front left channel or rear left
> channel, a noise can be heared on the center channel (and subwoofer, this is
> confirmed pluging a stereo headphone on the center/lfe jack). No noise when
> a sound is played on right channels (front or rear).
> 2) In alsamixer, if I set the volume to 0 for the front or rear left
> channels, i can hear the noise on center/lfe when a sound is "played" on
> this channels
> 3) In alsamixer, if I mute the front or rear left channels, i can hear no
> more noise on center/lfe
>
> Complementary tests have been made with alsaplayer and using a simple mp3
> file. In this configuration (stereo output), center and rear channels play
> the same sound as front channel.
> 1) If all channels are unmuted, I hear no noise.
> 2) If either the front channel or the rear channel are muted, I can hear the
> noise on center channel.
>
> I tried this with alsa-driver 1.0.20 and 1.0.21 with the same result, I
> recently went back to 1.0.20 due to kernel upgrade.
>
> Things that seem strange to me (maybe not so strange to alsa dev :)) :
> 1) alsamixer shows volumes in percentage, however when I set a channel
> volume to 50% and the master volume to 50%, I hope to find a resulting
> volume of 25%, not 0.
> 2) lspci reports my soundcard subsystem id as 1458:a022, but in
> /proc/asound/card0/codec#0 the subsystem id is 1458:a002
>
> Googling around made me find few references (in alsa-devel list) to a
> similar problem :
>
> http://mailman.alsa-project.org/pipermail/alsa-devel/2008-July/008942.html
> http://mailman.alsa-project.org/pipermail/alsa-devel/2008-August/009754.html
>
> The distortion / noise described here is exactly what i can hear with my
> system. Apparently the user solved the issue buying another soundcard. I'd
> like to be sure it is the only way to go.
>
> Attached is the file produced by alsa-info.sh

A user had the same issue (Gigabyte P35-DS4), with alsa-info
http://www.alsa-project.org/db/?f=eb49c36810be2543bcb913d80390f6cba13ec766
and he just reported back that setting the model line to

options snd-hda-intel model=6stack-dig

he was able to fix the problem.

He tried this on Ubuntu 9.10 (Alsa 1.0.20).
Assuming that it has not been fixed yet, what change would I make to
the Alsa source code so that newer versions would be able to
autodetect the chipset?
I would appreciate such an answer, as I tend to get a few feedback
reports on audio cards.

Simos

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sound distortion with Realtek ALC889A
  2009-10-30  1:47 ` Simos Xenitellis
@ 2009-10-30 11:01   ` Damien Brossard
  2010-02-11 12:33     ` Damien Brossard
  0 siblings, 1 reply; 4+ messages in thread
From: Damien Brossard @ 2009-10-30 11:01 UTC (permalink / raw)
  To: Simos Xenitellis; +Cc: alsa-devel

2009/10/30 Simos Xenitellis <simos.lists@googlemail.com>

> On Thu, Oct 29, 2009 at 2:21 PM, Damien Brossard
> <brossard.damien@gmail.com> wrote:
> >
> > Hi.
> >
> > I recently bought a Gigabyte GA-MA78GM-S2H motherboard. This board uses
> the
> > (in)famous (from what i've read for now) alc889a chip. While playing 5.1
> > content, I can hear noise or distortion coming from the center channel. I
> > can not test my configuration with another OS, so I can't fully dismiss a
> HW
> > problem. However, i made several tests with 5.1 and 2.0 speakers which
> > points me to soundcard problem.
> >
> > I've made some tests with speaker-test (speaker-test -D surround51 -c 6)
> :
> > 1) Each time a sound is played either on front left channel or rear left
> > channel, a noise can be heared on the center channel (and subwoofer, this
> is
> > confirmed pluging a stereo headphone on the center/lfe jack). No noise
> when
> > a sound is played on right channels (front or rear).
> > 2) In alsamixer, if I set the volume to 0 for the front or rear left
> > channels, i can hear the noise on center/lfe when a sound is "played" on
> > this channels
> > 3) In alsamixer, if I mute the front or rear left channels, i can hear no
> > more noise on center/lfe
> >
> > Complementary tests have been made with alsaplayer and using a simple mp3
> > file. In this configuration (stereo output), center and rear channels
> play
> > the same sound as front channel.
> > 1) If all channels are unmuted, I hear no noise.
> > 2) If either the front channel or the rear channel are muted, I can hear
> the
> > noise on center channel.
> >
> > I tried this with alsa-driver 1.0.20 and 1.0.21 with the same result, I
> > recently went back to 1.0.20 due to kernel upgrade.
> >
> > Things that seem strange to me (maybe not so strange to alsa dev :)) :
> > 1) alsamixer shows volumes in percentage, however when I set a channel
> > volume to 50% and the master volume to 50%, I hope to find a resulting
> > volume of 25%, not 0.
> > 2) lspci reports my soundcard subsystem id as 1458:a022, but in
> > /proc/asound/card0/codec#0 the subsystem id is 1458:a002
> >
> > Googling around made me find few references (in alsa-devel list) to a
> > similar problem :
> >
> >
> http://mailman.alsa-project.org/pipermail/alsa-devel/2008-July/008942.html
> >
> http://mailman.alsa-project.org/pipermail/alsa-devel/2008-August/009754.html
> >
> > The distortion / noise described here is exactly what i can hear with my
> > system. Apparently the user solved the issue buying another soundcard.
> I'd
> > like to be sure it is the only way to go.
> >
> > Attached is the file produced by alsa-info.sh
>
> A user had the same issue (Gigabyte P35-DS4), with alsa-info
> http://www.alsa-project.org/db/?f=eb49c36810be2543bcb913d80390f6cba13ec766
> and he just reported back that setting the model line to
>
> options snd-hda-intel model=6stack-dig


> he was able to fix the problem.
>

He tried this on Ubuntu 9.10 (Alsa 1.0.20).
> Assuming that it has not been fixed yet, what change would I make to
> the Alsa source code so that newer versions would be able to
> autodetect the chipset?
> I would appreciate such an answer, as I tend to get a few feedback
> reports on audio cards.
>
> Simos
>

Hi,

I tried the "model" solution, but it did not solve the problem for me.

Playing a bit with "PCM Volume" in alsamixer allows me to give a better
description of what can be heared (very clear when you use "-t sine" option
with speaker-test) :
* the distortion played on center channel looks like the same tone but in
higher octave (that's remind me of harmonics - if the term have any sense in
english), I don't know how to clearly explain the phenomenon, but the center
channel plays a higher frequency than the one played on left channels (front
or rear), few octaves higher (original frequency multiplied by an unknown
factor)

Damien.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Sound distortion with Realtek ALC889A
  2009-10-30 11:01   ` Damien Brossard
@ 2010-02-11 12:33     ` Damien Brossard
  0 siblings, 0 replies; 4+ messages in thread
From: Damien Brossard @ 2010-02-11 12:33 UTC (permalink / raw)
  To: alsa-devel

>
> > Damien Brossard wrote:
>> >
>> > Hi.
>> >
>> > I recently bought a Gigabyte GA-MA78GM-S2H motherboard. This board uses
>> the
>> > (in)famous (from what i've read for now) alc889a chip. While playing 5.1
>> > content, I can hear noise or distortion coming from the center channel.
>> I
>> > can not test my configuration with another OS, so I can't fully dismiss
>> a HW
>> > problem. However, i made several tests with 5.1 and 2.0 speakers which
>> > points me to soundcard problem.
>> >
>> > I've made some tests with speaker-test (speaker-test -D surround51 -c 6)
>> :
>> > 1) Each time a sound is played either on front left channel or rear left
>> > channel, a noise can be heared on the center channel (and subwoofer,
>> this is
>> > confirmed pluging a stereo headphone on the center/lfe jack). No noise
>> when
>> > a sound is played on right channels (front or rear).
>> > 2) In alsamixer, if I set the volume to 0 for the front or rear left
>> > channels, i can hear the noise on center/lfe when a sound is "played" on
>> > this channels
>> > 3) In alsamixer, if I mute the front or rear left channels, i can hear
>> no
>> > more noise on center/lfe
>> >
>> > Complementary tests have been made with alsaplayer and using a simple
>> mp3
>> > file. In this configuration (stereo output), center and rear channels
>> play
>> > the same sound as front channel.
>> > 1) If all channels are unmuted, I hear no noise.
>> > 2) If either the front channel or the rear channel are muted, I can hear
>> the
>> > noise on center channel.
>> >
>> > I tried this with alsa-driver 1.0.20 and 1.0.21 with the same result, I
>> > recently went back to 1.0.20 due to kernel upgrade.
>> >
>> > Things that seem strange to me (maybe not so strange to alsa dev :)) :
>> > 1) alsamixer shows volumes in percentage, however when I set a channel
>> > volume to 50% and the master volume to 50%, I hope to find a resulting
>> > volume of 25%, not 0.
>> > 2) lspci reports my soundcard subsystem id as 1458:a022, but in
>> > /proc/asound/card0/codec#0 the subsystem id is 1458:a002
>> >
>> > Googling around made me find few references (in alsa-devel list) to a
>> > similar problem :
>> >
>> >
>> http://mailman.alsa-project.org/pipermail/alsa-devel/2008-July/008942.html
>> >
>> http://mailman.alsa-project.org/pipermail/alsa-devel/2008-August/009754.html
>> >
>> > The distortion / noise described here is exactly what i can hear with my
>> > system. Apparently the user solved the issue buying another soundcard.
>> I'd
>> > like to be sure it is the only way to go.
>> >
>> > Attached is the file produced by alsa-info.sh
>>
>> A user had the same issue (Gigabyte P35-DS4), with alsa-info
>> http://www.alsa-project.org/db/?f=eb49c36810be2543bcb913d80390f6cba13ec766
>> and he just reported back that setting the model line to
>>
>> options snd-hda-intel model=6stack-dig
>
>
>> he was able to fix the problem.
>>
>
> He tried this on Ubuntu 9.10 (Alsa 1.0.20).
>> Assuming that it has not been fixed yet, what change would I make to
>> the Alsa source code so that newer versions would be able to
>> autodetect the chipset?
>> I would appreciate such an answer, as I tend to get a few feedback
>> reports on audio cards.
>>
>> Simos
>>
>
> Hi,
>
> I tried the "model" solution, but it did not solve the problem for me.
>
> Playing a bit with "PCM Volume" in alsamixer allows me to give a better
> description of what can be heared (very clear when you use "-t sine" option
> with speaker-test) :
> * the distortion played on center channel looks like the same tone but in
> higher octave (that's remind me of harmonics - if the term have any sense in
> english), I don't know how to clearly explain the phenomenon, but the center
> channel plays a higher frequency than the one played on left channels (front
> or rear), few octaves higher (original frequency multiplied by an unknown
> factor)
>
> Damien.
>

Hi.

Sorry for bringing back my problem. I was finally able to test my board
under Vista with Realtek drivers. The sound produced is nice and much more
loud than with alsa 1.0.20. I can hear no distortion as well. So my
conclusion is : software issue. Perhaps an interesting thing to notice is
that with Vista, i must plug my rear speakers on the side slot, while with
alsa i use the rear slot.

Is there a way to dump the codec configuration (as with
/proc/asound/card0/codec#0) in Windows so as to be able to compare it with
the one obtained in Linux ?

Thanks

Damien.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-11 12:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-29 12:21 Sound distortion with Realtek ALC889A Damien Brossard
2009-10-30  1:47 ` Simos Xenitellis
2009-10-30 11:01   ` Damien Brossard
2010-02-11 12:33     ` Damien Brossard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.