You are not logged in.

#1 2008-11-08 23:58:10

zamolxis
Member
Registered: 2008-03-29
Posts: 34

Problem with the latest alsa updates

After the latest alsa-lib and alsa-utils updates, I cannot use 5.1 surround any longer.

Even a "speaker-test -Dplug:surround51 -c6 -l1 -twav" gets stuck at :

Playback device is plug:surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 5440
Period size range from 32 to 2720
Using max buffer size 5440
Periods = 4
was set period_size = 1088
was set buffer_size = 5440
 0 - Front Left

and will not go any further.

If I start mplayer with "-channels 6" - it will hang. Same thing in vlc if I select the 5.1 device in the audio menu.

It all used work fine before these updates.

Any ideas? smile

Last edited by zamolxis (2008-11-09 00:24:06)

Offline

#2 2008-11-09 10:19:15

Ekimino
Member
From: Maldonado, Uruguay
Registered: 2008-02-26
Posts: 69
Website

Re: Problem with the latest alsa updates

check alsamixer, and see if all the channels are where they are supposed to be.

Offline

#3 2008-11-09 12:29:24

zamolxis
Member
Registered: 2008-03-29
Posts: 34

Re: Problem with the latest alsa updates

Ekimino wrote:

check alsamixer, and see if all the channels are where they are supposed to be.

Yes, all the channels are there - it just hangs when you actually use 5.1

Offline

#4 2008-11-09 12:33:24

Ekimino
Member
From: Maldonado, Uruguay
Registered: 2008-02-26
Posts: 69
Website

Re: Problem with the latest alsa updates

A momentary solution is to downgrade to previous alsa version, and block the new alsa package. BTW what sound card are you using?

Offline

#5 2008-11-09 12:53:30

zamolxis
Member
Registered: 2008-03-29
Posts: 34

Re: Problem with the latest alsa updates

Yes, I downgraded and everything works fine again.

It's a Realtek ALC880

Offline

#6 2008-11-09 13:17:08

Ekimino
Member
From: Maldonado, Uruguay
Registered: 2008-02-26
Posts: 69
Website

Re: Problem with the latest alsa updates

I was wondering, if you passed any module parameters? I guessed you own an intel motherboard, still searched for a while but, I wasn't able to find the module parameters  list. Maybe you are luckier than me, and can take a look at it, if there's any option for your alc880. I guess its inside of you're system, and on the internet also. Worth a try.

Offline

#7 2008-11-09 15:48:57

zamolxis
Member
Registered: 2008-03-29
Posts: 34

Re: Problem with the latest alsa updates

I'm just wondering - cause I just don't know - could that cause only the 5.1 to fail (as stereo for ex. works fine with the 1.0.18 version -  the problems arise only when I select 5.1)

Offline

#8 2008-11-09 16:11:32

Ekimino
Member
From: Maldonado, Uruguay
Registered: 2008-02-26
Posts: 69
Website

Re: Problem with the latest alsa updates

I own an Intel ALC889 and i have passed the parameter "options snd-hda-intel model=acer-aspire" to make my sound card work. All I remember is that there are certain options in each codec like "3stack" or 3jack, which I GUESS it tells the driver that the soundcard has 3 jacks input, if you're lucky maybe the'res something for 5.1. I'm guessing, dont rely just on me.

Offline

#9 2008-11-10 11:59:48

zamolxis
Member
Registered: 2008-03-29
Posts: 34

Re: Problem with the latest alsa updates

I opened a bug at alsa - it seems I wasn't the only one experiencing this problem.

According to someone else there:

it seem that this patch cause the problem

pcm_softvol plugin: remove access type change for refine

The softvol plugin does in-place sample recalculation. The access type

cannot be changed like in linear plugins.

Offline

#10 2009-01-06 10:37:15

jase
Member
From: Finland
Registered: 2008-01-20
Posts: 25

Re: Problem with the latest alsa updates

There is now a fix for this at alsa git. I sent it to Arch bug tracker so it might get fixed pretty soon.

For the restless, look http://bugs.archlinux.org/task/12225

Applying it to the current PKGBUILD is trivial, add "patch -Np1 -i ../pcm_softvol.c.patch || return 1" before configure at line 20.

Offline

Board footer

Powered by FluxBB