: Sound still bad with alsa on sb audigyls / ca0106
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=711>
======================================================================
Reported By: scorpion77 Assigned To: jcdutton ====================================================================== Project: ALSA - driver Issue ID: 711 Category: PCI - audigyls Reproducibility: always Severity: major Priority: normal Status: assigned Distribution: Fedora Core 2 Kernel Version: 2.6.9-1.6_FC2custom ====================================================================== Date Submitted: 12-07-2004 18:12 CET Last Modified: 12-08-2004 00:21 CET
======================================================================
Summary: Sound still bad with alsa on sb audigyls / ca0106
Description:
Sound is choppy and at wrong speed with both the snd-audigyls from alsa 1.0.7 and snd-ca0106 from alsa CVS. CVS seems worse, which bugs me since last bug report was closed woth a "Use snd-ca0106 from CVS remark"! Workaround seems to select (Threaded)OSS as artsd backend instead of Alsa. Esd as artsd backend only works / fixes things in 1.0.7, it crashes when the CVS version is used.
======================================================================
----------------------------------------------------------------------
jcdutton - 12-07-04 21:53
----------------------------------------------------------------------
You don't really give me much information do you.
How about some useful info, like:
cat /proc/asound/card0/cards
cat /proc/asound/version
etc.
I suspect you are trying to play a file at 44.1khz, and the sound card does not support that rate(hardware limitation), so alsa-lib tries to resample 44.1khz to 48khz.
That, together with badly written applications that you might be using is bound to fail.
If the media file plays fine in xine, this is not an alsa bug.
----------------------------------------------------------------------
scorpion77 - 12-08-04 00:21
----------------------------------------------------------------------
I'm having the same problem lots of other folks have with this driver, not trying anything fancy. Before the only problem was with artsd and the hardware limitations of my onboard sound, so i bought a real soundcard, or at least I thought I did:
- Old Artsd problem defined: some apps / games can't play audio when artsd is running
- Define old hardware limitations: lots of noise and to few input options (cd sound OR tvsound not both). Define non problematic setup: onboard realtec chip, intel8x0 driver. Other problems, sometimes I got "Device in use" messages from artsd when not using alsa as backend. Don't ask me why the silly thing doesn't use alsa as default ;)
That much for the old setup, now for the new one. To answer your questions:
- Xine plays just fine indeed and so does mpg123 with a mp3 file if and only if I completly disable kde's soundsystem (select no input/output in control panel && kill artsd).
- Some output:
cd /proc/asound
cat cards
0 [AUDIGYLS ]: AudigyLS - AUDIGYLS
AudigyLS [SB0310] at 0x9000 irq 9
1 [ICH5 ]: ICH4 - Intel ICH5
Intel ICH5 with ALC650F at 0xe2201000, irq 5cat version
Advanced Linux Sound Architecture Driver Version 1.0.7. Compiled on Dec 6 2004 for kernel 2.6.9-1.6_FC2custom.
cat devices
0: [0- 0]: ctl
19: [0- 3]: digital audio playback
18: [0- 2]: digital audio playback
17: [0- 1]: digital audio playback
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
1: : sequencer
33: : timer
32: [1- 0]: ctl
52: [1- 4]: digital audio playback
59: [1- 3]: digital audio capture
58: [1- 2]: digital audio capture
57: [1- 1]: digital audio capture
48: [1- 0]: digital audio playback
56: [1- 0]: digital audio capture
cat modules
0 snd_audigyls
1 snd_intel8x0
cat pcm
00-00: audigyls : AUDIGYLS : playback 1 : capture 1 00-01: audigyls : AUDIGYLS : playback 1
00-02: audigyls : AUDIGYLS : playback 1
00-03: audigyls : AUDIGYLS : playback 1
01-00: Intel ICH : Intel ICH5 : playback 1 : capture 1 01-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1 01-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1 01-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1 01-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1
cat timers
G0: system timer : 1000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-1-0: PCM playback 0-1-0 : SLAVE
P0-2-0: PCM playback 0-2-0 : SLAVE
P0-3-0: PCM playback 0-3-0 : SLAVE
P1-0-0: PCM playback 1-0-0 : SLAVE
P1-0-1: PCM capture 1-0-1 : SLAVE
P1-1-1: PCM capture 1-1-1 : SLAVE
P1-2-1: PCM capture 1-2-1 : SLAVE
P1-3-1: PCM capture 1-3-1 : SLAVE
P1-4-0: PCM playback 1-4-0 : SLAVE
lsmod (edited)
Module Size Used by snd_seq 44816 0 snd_seq_device 8588 1 snd_seq snd_pcm_oss 46504 1 snd_mixer_oss 16768 1 snd_pcm_oss snd_intel8x0 29372 0 snd_audigyls 22576 1 snd_ac97_codec 63584 2 snd_intel8x0,snd_audigyls snd_pcm 81928 4 snd_pcm_oss,snd_intel8x0,snd_audigyls,snd_ac97_codec snd_timer 21764 2 snd_seq,snd_pcm snd 49252 10 snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_audigyls,snd_ac97_codec,snd_pcm,snd_timer soundcore 8800 2 snd snd_page_alloc 9608 3 snd_intel8x0,snd_audigyls,snd_pcm
Both artsd and esd have problems (as in esd as arts backend), only OSS (emulation) seems to work as mentioned before. Sound is both choppy and at wrong speed otherwise. Soundcardbox mentions it CAN play 44.1khz (8, 11.025, 22.05, 44,1, 48, 96 out at 16 or 24 bit / 44.1, 48, 96 in at max 24 bit).
To me it seems I'm using an experimental driver and I'm mainly curious if and when it will be fixed, but I'm the soundcard amateur here.
Issue History
Date Modified Username Field Change
======================================================================
12-07-04 18:12 scorpion77 New Issue 12-07-04 18:12 scorpion77 Distribution => Fedora Core 2 12-07-04 18:12 scorpion77 Kernel Version => 2.6.9-1.6_FC2custom 12-07-04 20:24 rlrevell Note Added: 0002764 12-07-04 21:40 scorpion77 Note Added: 0002765 12-07-04 21:53 jcdutton Note Added: 0002766 12-08-04 00:21 scorpion77 Note Added: 0002769
======================================================================
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/