Skip to contentSkip to conversation

: CMI9880 sometimes produces distorted sound

ALSA - driver 0001058 [email protected] 1 participant 1 message Aug 8, 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=1058>
======================================================================
Reported By: ahessling
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   1058
Category:                   PCI - hda-intel
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               Gentoo
Kernel Version:             2.6.11.6
======================================================================
Date Submitted:             04-16-2005 16:37 CEST
Last Modified:              08-08-2005 12:37 CEST

======================================================================
Summary: CMI9880 sometimes produces distorted sound
Description:
I am using the CVS version of alsa-kernel from a few days and because of the soundchip CMI9880, I have to activate Intel HDA in the kernel. Sound is working quite fine in stereo mode, but if I want to play a DVD with 5.1 sound, all speakers are activated but the sound is a little bit distorted.
xine uses plug:surround51:0 as the surround device.

My asound.conf looks like this:
pcm.!default {
type plug
slave.pcm "svol"
}

pcm.svol {
type softvol
slave.pcm "hw:0,0"
control {
name "PCM Playback Volume"
}
}

I also tried the one from http://www.sabi.co.uk/Cfg/ALSA/
Again, stereo sound works fine and also dmix does its work, but this time I only get stereo sound in xine although the same configuration of xine is used.

I also noticed that playing some files using aplay produces the same distortions, e.g.:

aplay /usr/share/sounds/k3b_success1.wav
Playing WAVE '/usr/share/sounds/k3b_success1.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono

Seems to have to do something with sample rate.
Using the other asound.conf from the homepage above just gives an error:
Playing WAVE '/usr/share/sounds/k3b_success1.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
aplay: set_params:857: Sample format non available

Is there a way to play 5.1 sound without these distortions? Maybe some lines added to my asound.conf would do the work.

Thanks in advance!

Regards,
André
======================================================================

----------------------------------------------------------------------
komanek - 08-08-05 12:26
----------------------------------------------------------------------
I have the distorted sound even playing 2-channel stereo sounds. Motherboard Asus P5AD2-E Deluxe offers the ability to use AC97 instead of HDA on the chipset, but Fedora Core 4 still detects it with the same Alsa driver.

This is surely software issue - in Windows XP (which are supported by the manufacturer - just to test if I should give the otherboard back to the reseller or not) there are no such problems.

----------------------------------------------------------------------
komanek - 08-08-05 12:37
----------------------------------------------------------------------
I also tried to modify modprobe.conf:

diff /etc/modprobe.conf /etc/modprobe.conf.orig_fc4 5c5
< options snd-hda-intel index=0 position_fix=1
---

Quoted 1 line

options snd-hda-intel index=0

But the new parameter is not recognized:

kernel: snd_hda_intel: Unknown parameter `position_fix'

Issue History
Date Modified Username Field Change
======================================================================

04-16-05 16:37 ahessling      New Issue                                    
04-16-05 16:37 ahessling      Distribution              => Gentoo          
04-16-05 16:37 ahessling      Kernel Version            => 2.6.11.6        
04-19-05 17:47 tiwai          Note Added: 0004527                          
04-19-05 17:47 tiwai          Category                 OTHERS => PCI - hda-intel
04-21-05 11:41 ahessling      Note Added: 0004550                          
06-22-05 16:32 andersin       Note Added: 0005133                          
06-22-05 17:49 tiwai          Note Added: 0005135                          
08-08-05 12:26 komanek        Note Added: 0005704                          
08-08-05 12:37 komanek        Note Added: 0005705                          

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

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf