Skip to contentSkip to conversation

2.6.x ALSA sound is pretty broken

BUG Hetfield 4 participants 9 messages Jun 18, 2004 – Jun 21, 2004

lore
Share & tools
lore

Hetfield

author
#0 lore raw

i've got hard problems with sound in all 2.6.x, even 2.6.7 kernels.

with 2.4.2x or windows i've got no problems, so i'm sure it's kernel and not hardware related.

the problem is that sound jumps, flickers and isn't good when harddisk reads lots of data (i mean not 1-2mb but 60-100mb and more)

i checked irq and there is not conflict, i setted a higher and lower value of latency and nothing changed.

i've the same problems since 2.6.0 kernels. Vanilla and Gentoo too. I've tried lots of solutions, like disabling preemptile kernel, adding alsa and oss, only oss, only alsa, as module or built-in. nothing changes.

my audio card is a Creative SB PCI128, found by linux as

0000:00:0b.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev
01)
Subsystem: Unknown device 4942:4c4c
Flags: bus master, slow devsel, latency 32, IRQ 10 I/O ports at b000

while on Windows i use es1371/3 drivers.
however with 2.4.x i always used es1370 alsa module without problems. When harddisk is sleeping sound is normally good.

Thanks for support

author
#1 lore raw

Il ven, 2004-06-18 alle 16:03, Hetfield ha scritto:

Quoted 29 lines

i've got hard problems with sound in all 2.6.x, even 2.6.7 kernels.

with 2.4.2x or windows i've got no problems, so i'm sure it's kernel and not hardware related.

the problem is that sound jumps, flickers and isn't good when harddisk reads lots of data (i mean not 1-2mb but 60-100mb and more)

i checked irq and there is not conflict, i setted a higher and lower value of latency and nothing changed.

i've the same problems since 2.6.0 kernels. Vanilla and Gentoo too. I've tried lots of solutions, like disabling preemptile kernel, adding alsa and oss, only oss, only alsa, as module or built-in. nothing changes.

my audio card is a Creative SB PCI128, found by linux as

0000:00:0b.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev
01)
Subsystem: Unknown device 4942:4c4c
Flags: bus master, slow devsel, latency 32, IRQ 10 I/O ports at b000

while on Windows i use es1371/3 drivers.
however with 2.4.x i always used es1370 alsa module without problems. When harddisk is sleeping sound is normally good.

Quoted 7 lines

Thanks for support

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

i forgot to say that some applications doesn't work properly

example: "beep" when i execute beep i hear no sounds, neither from speakers (audio card) nor from internal pc speaker.

in kde environment kconsole doesn't beep too.
mplayer seems to have some problem using the alsa output, giving strange messages. (using oss emulation works good, with the only bad sound quality problem)

xmms with alsa plugin works good without any warning or problem.

#2 lore raw

At Fri, 18 Jun 2004 16:12:58 +0200,

Quoted 4 lines · Hetfield

example: "beep" when i execute beep i hear no sounds, neither from speakers (audio card)
nor from internal pc speaker.

Did you enable CONFIG_INPUT_PCSPKR?

Quoted 3 lines

in kde environment kconsole doesn't beep too.
mplayer seems to have some problem using the alsa output, giving strange messages. (using oss emulation works good, with the only bad sound quality problem)

Then it's a mlayer specific problem.

Takashi

author
#3 lore raw

Il ven, 2004-06-18 alle 16:35, Takashi Iwai ha scritto:

Quoted 8 lines

At Fri, 18 Jun 2004 16:12:58 +0200,

Quoted 4 lines · Hetfield

example: "beep" when i execute beep i hear no sounds, neither from speakers (audio card)
nor from internal pc speaker.

Did you enable CONFIG_INPUT_PCSPKR?

sorry i can't find it! i searched whole sound system part of menuconfig without finding nothing similar...

Quoted 7 lines
Quoted 4 lines

in kde environment kconsole doesn't beep too.
mplayer seems to have some problem using the alsa output, giving strange messages. (using oss emulation works good, with the only bad sound quality problem)

Then it's a mlayer specific problem.

i suppose so too. i'll fill an mplayer bug.
however it seems that the problem is with IDE driver, when DMA is enabled. Can the right team investigate for that?

thanks

Quoted 7 lines

Takashi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

________________________________________________________________________
Hetfield
www.blight.tk

#4 lore raw

At Fri, 18 Jun 2004 17:34:43 +0200,

Quoted 5 lines · Hetfield

Il ven, 2004-06-18 alle 16:35, Takashi Iwai ha scritto:

Quoted 3 lines

At Fri, 18 Jun 2004 16:12:58 +0200,

Quoted 1 line · Hetfield
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

example: "beep" when i execute beep i hear no sounds, neither from speakers (audio card)
nor from internal pc speaker.

Did you enable CONFIG_INPUT_PCSPKR?

sorry i can't find it! i searched whole sound system part of menuconfig without finding nothing similar...

It's in 'Input device support/Misc' section (by mysterious reason :)

Takashi

#5 lore raw
In reply to Hetfield
Quoted 4 lines · Hetfield

i forgot to say that some applications doesn't work properly

example: "beep" when i execute beep i hear no sounds, neither from speakers (audio card) nor from internal pc speaker.

This has nothing to do with ALSA -- you are probably not loading the PC speaker driver.

Jeff

#6 lore raw
In reply to Hetfield

Hello,

Do you have DMA enabled for your hard disk? hdparm -d /dev/hdx will tel you ...

Lenar

Quoted 38 lines · Hetfield

i've got hard problems with sound in all 2.6.x, even 2.6.7 kernels.

with 2.4.2x or windows i've got no problems, so i'm sure it's kernel and not hardware related.

the problem is that sound jumps, flickers and isn't good when harddisk reads lots of data (i mean not 1-2mb but 60-100mb and more)

i checked irq and there is not conflict, i setted a higher and lower value of latency and nothing changed.

i've the same problems since 2.6.0 kernels. Vanilla and Gentoo too. I've tried lots of solutions, like disabling preemptile kernel, adding alsa and oss, only oss, only alsa, as module or built-in. nothing changes.

my audio card is a Creative SB PCI128, found by linux as

0000:00:0b.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev
01)
Subsystem: Unknown device 4942:4c4c
Flags: bus master, slow devsel, latency 32, IRQ 10 I/O ports at b000

while on Windows i use es1371/3 drivers.
however with 2.4.x i always used es1370 alsa module without problems. When harddisk is sleeping sound is normally good.

Thanks for support

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

author
#7 lore raw

Il ven, 2004-06-18 alle 16:20, Lenar Lõhmus ha scritto:

Quoted 5 lines

Hello,

Do you have DMA enabled for your hard disk? hdparm -d /dev/hdx will tel you ...

disabling DMA fixes completly the problem.
of course cpu usage is very high without it.
i can't burn cd and speed faster than 4x.

so ide-dma related seems!

Quoted 43 lines

Lenar

Quoted 29 lines · Hetfield

i've got hard problems with sound in all 2.6.x, even 2.6.7 kernels.

with 2.4.2x or windows i've got no problems, so i'm sure it's kernel and not hardware related.

the problem is that sound jumps, flickers and isn't good when harddisk reads lots of data (i mean not 1-2mb but 60-100mb and more)

i checked irq and there is not conflict, i setted a higher and lower value of latency and nothing changed.

i've the same problems since 2.6.0 kernels. Vanilla and Gentoo too. I've tried lots of solutions, like disabling preemptile kernel, adding alsa and oss, only oss, only alsa, as module or built-in. nothing changes.

my audio card is a Creative SB PCI128, found by linux as

0000:00:0b.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev
01)
Subsystem: Unknown device 4942:4c4c
Flags: bus master, slow devsel, latency 32, IRQ 10 I/O ports at b000

while on Windows i use es1371/3 drivers.
however with 2.4.x i always used es1370 alsa module without problems. When harddisk is sleeping sound is normally good.

Quoted 9 lines

Thanks for support

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

________________________________________________________________________
Hetfield
www.blight.tk

#8 lore raw
In reply to Hetfield

At Fri, 18 Jun 2004 16:03:53 +0200,

Quoted 11 lines · Hetfield

i've got hard problems with sound in all 2.6.x, even 2.6.7 kernels.

with 2.4.2x or windows i've got no problems, so i'm sure it's kernel and not hardware related.

the problem is that sound jumps, flickers and isn't good when harddisk reads lots of data (i mean not 1-2mb but 60-100mb and more)

i checked irq and there is not conflict, i setted a higher and lower value of latency and nothing changed.

It's a known problem with this hardware.
Since the ALSA code isn't change, I suspect the problem is somewhere else, e.g. in the IDE driver code...

--
Takashi Iwai <[email protected]> ALSA Developer - www.alsa-project.org

Quoted 18 lines

i've the same problems since 2.6.0 kernels. Vanilla and Gentoo too. I've tried lots of solutions, like disabling preemptile kernel, adding alsa and oss, only oss, only alsa, as module or built-in. nothing changes.

my audio card is a Creative SB PCI128, found by linux as

0000:00:0b.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev
01)
Subsystem: Unknown device 4942:4c4c
Flags: bus master, slow devsel, latency 32, IRQ 10 I/O ports at b000

while on Windows i use es1371/3 drivers.
however with 2.4.x i always used es1370 alsa module without problems. When harddisk is sleeping sound is normally good.