Skip to contentSkip to conversation

: Sound still bad with alsa on sb audigyls / ca0106

ALSA - driver 0000711 [email protected] 1 participant 1 message Dec 8, 2004

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=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 01:23 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.
======================================================================

----------------------------------------------------------------------
scorpion77 - 12-08-04 00:22
----------------------------------------------------------------------
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 too 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 5

cat 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

cat ~/.asoundrc

pcm.audigyls {
type hw
card 0
}

ctl.audigyls {
type hw
card 0
}

pcm.intel8x0 {
type hw
card 1
}

ctl.intel8x0 {
type hw
card 1
}

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.

edited on: 12-08-04 00:22

----------------------------------------------------------------------
jcdutton - 12-08-04 01:23
----------------------------------------------------------------------
The sound card hardware is able to do:
1) Capture at 8, 11.025, 22.05, 44,1, 48, 96, at 16 or 24 bit
2) Analog playback at 48, 96 at 16 or 24bit.
3) Digital playback at 44.1, 48, 96.
4) Only one stream at a time.

All the other rates and options are all done in software in windows.

You are correct that the sound card driver is new, and will probably not be updated for some time as I will be doing work on other alsa drivers before I come back to the Audigy LS. For example, add support for 96khz, 24bit to the Audigy 2 class of sound cards.

I can only suggest that you try to configure arts to talk to the sound card in a better fashion. e.g. Use buffers of 8 periods if you can get arts to do that, otherwise use 4 periods. I expect that the problems you are having is that the sound app is setting 2 periods, and as the sound card hardware has a fairly small limit on max size of a period, your PC cannot handle the interrupts quickly enough, and thus get the bad sound. More periods is better with this sound card, up to a max of 8 periods. Also, try forcing arts to output at 48khz.

I do not use arts or esd, so I am not the best person to ask regarding them.

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                          
12-08-04 00:22 scorpion77     Note Edited: 0002769                         
12-08-04 01:23 jcdutton       Note Added: 0002770                          

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

-------------------------------------------------------
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/