Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 155421

Summary: distorted esd sounds on ICH5 hardware
Product: [Fedora] Fedora Reporter: Marius Andreiana <marius.andreiana>
Component: esoundAssignee: John (J5) Palmieri <johnp>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: jkeck
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-20 21:06:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Marius Andreiana 2005-04-20 07:33:09 UTC
GNOME sounds and xmms with esd output plugin make distorted sounds.
Switching xmms to alsa and ogg123 in command line work ok.

My hardware on i865 chipset motherboard:
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)
        Subsystem: Giga-byte Technology GA-8IPE1000/8KNXP motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 9
        Region 0: I/O ports at dc00 [size=256]
        Region 1: I/O ports at e000 [size=64]
        Region 2: Memory at f8181000 (32-bit, non-prefetchable)
[size=512]
        Region 3: Memory at f8182000 (32-bit, non-prefetchable)
[size=256]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0
+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


I have these modules loaded automatically by kernel:
# lsmod|grep snd
snd_intel8x0           34689  1
snd_ac97_codec         75960  1 snd_intel8x0
snd_pcm_oss            51185  0
snd_mixer_oss          17728  1 snd_pcm_oss
snd_pcm               100041  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              33477  1 snd_pcm
snd                    57157  8
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10913  1 snd
snd_page_alloc          9669  2 snd_intel8x0,snd_pcm

Replicable: 100%
esdplay /usr/share/sounds/gaim/receive.wav

This works ok:
play /usr/share/sounds/gaim/receive.wav

Fedora-test-list thread suggested alsa's dmix as an alternative, could this be
the default and drop esd?

Thanks

Comment 1 John (J5) Palmieri 2005-04-20 21:06:01 UTC
We default to ALSA by default though with dmix disabled for some reason.  Might
want to file a bug against alsa.  As for the esd you will need to file this
upstream.

Comment 2 Marius Andreiana 2005-04-21 04:54:11 UTC
Filled upstream alsa bug report here:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1068

About defaulting to alsa, GNOME still uses esd. This can be checked in
Preferences - Sound, the box "Enable sound server startup" is checked. 

Comment 3 Marius Andreiana 2005-04-21 10:27:40 UTC
I added a new user for testing and esd isn't started by default. However,
without this option checked, one cannot select "Sounds for events".