You are not logged in.

#1 2012-04-08 19:14:24

danym
Member
From: Saint-Hippolyte, Qc
Registered: 2007-05-14
Posts: 75
Website

[solved] Lost surround 5.1 with kernel version 3.3.1

Hi!  Since i've upgrade to kernel 3.3.1, i lost surround sound, even if pulseaudio says that surround 5.1 is enable.

My modprobe.d dir contains a special file (alsa-base.conf) that contains theses lines:
alias snd-card-0 snd-hda-intel
options snd-hda-intel model=acer-aspire-8930g power_save=0 power_save_controller=N

My laptop is a acer 8940g and it used to work well since kernel 2.6.30.
I use pulseaudio since a long time ago and likes it.

Here's output from aplay -l

aplay -l
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: Intel [HDA Intel], périphérique 0: ALC889 Analog [ALC889 Analog]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: Intel [HDA Intel], périphérique 1: ALC889 Digital [ALC889 Digital]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 1: NVidia [HDA NVidia], périphérique 3: HDMI 0 [HDMI 0]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 1: NVidia [HDA NVidia], périphérique 7: HDMI 0 [HDMI 0]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 1: NVidia [HDA NVidia], périphérique 8: HDMI 0 [HDMI 0]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 1: NVidia [HDA NVidia], périphérique 9: HDMI 0 [HDMI 0]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0

Does anyone knows about this problem?  The only solution i had right now is to revert back to kernel 3.2.14.

Thanks!

Last edited by danym (2012-04-12 02:04:43)


sin² x + cos² x = 1

Offline

#2 2012-04-08 19:58:18

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

I have an 8930g, so pretty close to you.

My surround sound works. I use alsa-driver 1.0.25, rather than the in-kernel ALSA.

So, my kernel config is:

$ zgrep SOUND /proc/config.gz 
CONFIG_SOUND=m
# CONFIG_SOUND_OSS_CORE is not set
# CONFIG_SOUND_PRIME is not set

$ zgrep SND /proc/config.gz
# CONFIG_SND is not set

And alsa-driver is compiled with:

  ./configure  --prefix=/usr --with-isapnp=no --with-sequencer=yes --with-oss=no --with-pcm-oss-plugins=no --with-debug=none --with-kernel=/usr/src/linux --with-cards=hda-intel,hrtimer --with-card-options=seq-hrtimer-default,hda-codec-realtek,hda-hwdep,hda-reconfig,hda-patch-loader,hda-enable-realtek-quirks,hda-codec-analog,hda-prealloc-size=2048

Offline

#3 2012-04-08 22:28:34

nuxli
Member
Registered: 2011-05-03
Posts: 15

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

danym wrote:

Does anyone knows about this problem?


I have the same problem with my desktop (Gigabyte 945GME-DS2), Card: HDA Intel, Chip: Realtek ALC888. Channels are mixed, they are not where they should be and I don't have option to select 5.1 or 7.1 surround. Nor from alsamixer, nor from mixer in xfce4. Interesting is that when I try to increase or decrease the volume with scroll on mixer in xfce4, it crashes.

Offline

#4 2012-04-08 22:38:40

danym
Member
From: Saint-Hippolyte, Qc
Registered: 2007-05-14
Posts: 75
Website

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

brebs: I tried what you said, but no chances...   also while modprobing, it says: hda-codec: No codec parser is available


sin² x + cos² x = 1

Offline

#5 2012-04-08 23:26:29

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

Remove the "model=...", or try "model=auto". I suppose.

I see that the ALSA code has "quirks" for the Aspire 8942g and 8943g - must drive the ALSA devs mad yikes

Offline

#6 2012-04-09 01:33:43

danym
Member
From: Saint-Hippolyte, Qc
Registered: 2007-05-14
Posts: 75
Website

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

brebs:  I did try "model=auto", but it didn't work.  I recompiled my own kernel, compiled alsa driver, tried many configuration (with or without pulseaudio), but i think the problem is with kernel 3.3.1.   
I'll continue to investigate and keep you informed!


sin² x + cos² x = 1

Offline

#7 2012-04-09 02:03:26

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

Is it the same chip? In my 8930g:

$ lspci -v | grep -B7 snd_hda_intel | head -n2
00:1b.0 Class 0403: Device 8086:293e (rev 03)
	Subsystem: Device 1025:0145

Pulseaudio will only confuse & complicate matters, while trying to resolve this problem - disable it.

Offline

#8 2012-04-09 15:19:06

straykat
Member
From: Queensland, Australia
Registered: 2009-12-06
Posts: 60

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

Same problem here, but with a ASUS Xonar D1 PCI sound card that uses the C-Media CMI8788 [Oxygen HD Audio] chip on an AMD64 system with KDE & pulseaudio.

Did a number of linux 3.3.1-1 recompiles with different compile options with no result.

Downgraded to linux-3.2.14-1-x86_64 & my 5.1 digital sound works again.

Offline

#9 2012-04-09 15:59:06

danym
Member
From: Saint-Hippolyte, Qc
Registered: 2007-05-14
Posts: 75
Website

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

brebs: I know it's not the same chip
lspci -v | grep -B7 snd_hda_intel | head -n2 doen't give the same output, but lspci | grep Audio gives

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)

sin² x + cos² x = 1

Offline

#10 2012-04-09 23:17:07

straykat
Member
From: Queensland, Australia
Registered: 2009-12-06
Posts: 60

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

Linux 3.3.1 appears to work with alsa-utils slightly differently.

Bringing up alsamixer on 3.3.1 gives me a new "digital input monitor". Downgrade to 3.2.14 & alsamixer no longer has "digital input monitor".

Add to this that "digital input monitor" (in 3.3.1) was set to "00" (unmute) & 0% (volume). Reset to 100% & as su "alsactl store", but the new setting do not survive a reboot?

This is also in my System Log:
"[pulseaudio] alsa-mixer.c: Volume element Master has 8 channels. That's too much! I can't handle that!".

Last edited by straykat (2012-04-10 01:08:43)

Offline

#11 2012-04-10 02:04:43

straykat
Member
From: Queensland, Australia
Registered: 2009-12-06
Posts: 60

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

Problem solved here on my ASUS Xonar D1 PCI sound card smile

After trying a number of config settings in alsamixer with pulseaudio both installed & removed found that I needed "S/PDIF Loopback" set to MM (muted/off).

Sound now works with pulseaudio either installed or not.

Of course my exact config change may not work for every card but suggest working on your alsamixer config may the the solution to this.

Offline

#12 2012-04-10 13:48:20

danym
Member
From: Saint-Hippolyte, Qc
Registered: 2007-05-14
Posts: 75
Website

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

I don't have S/PDIF Loopback.  All i have is S/PDIF and S/PDIF Default.
I've tried many combination with alsamixer without luck.


sin² x + cos² x = 1

Offline

#13 2012-04-10 14:25:20

danym
Member
From: Saint-Hippolyte, Qc
Registered: 2007-05-14
Posts: 75
Website

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

I even tried oss without succes.  LFE, center and rear channel doesn't work either.


sin² x + cos² x = 1

Offline

#14 2012-04-10 15:02:41

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

I wouldn't be surprised that OSS has the same problem - it has even fewer devs than ALSA, to try to handle all the nasty quirks in all the different soundcards.

You could try hda-verb or "hda-emu", and check the low-level setup between your old working ALSA, and what alsa-driver 1.0.15 gives you. Example thread.

Last edited by brebs (2012-04-10 16:12:16)

Offline

#15 2012-04-11 01:25:19

danym
Member
From: Saint-Hippolyte, Qc
Registered: 2007-05-14
Posts: 75
Website

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

I ran alsa-info.sh script on kernel version 3.2.14 and version 3.3.1
There are difference between but i cannot understand it perfectly.   Maybe someone can take a look at it: log from 3.2.14 and  log from 3.3.1


sin² x + cos² x = 1

Offline

#16 2012-04-11 02:16:05

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

I didn't see a significant difference.

In /etc/modprobe.d/ I use:

options snd-hda-intel enable_msi=1 index=0 probe_mask=1 model=acer-aspire-8930g

I suggest you use:

options snd-hda-intel enable_msi=1 index=0 probe_mask=1

That probe_mask entry will make ALSA ignore the nvidia audio card. Just to make things a bit simpler.

Offline

#17 2012-04-12 02:04:12

danym
Member
From: Saint-Hippolyte, Qc
Registered: 2007-05-14
Posts: 75
Website

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

Finally, i made it work with the help of one of the hda developper (    Takashi Iwai )
I've applied the following patch to kernel 3.3.1: patch_realtek.c.diff
From now, /etc/modprobe.conf/alsa-base.conf contains only: alias snd-card-0 snd-hda-intel

Thanks to all of you for your help!


sin² x + cos² x = 1

Offline

#18 2012-04-16 11:32:32

nuxli
Member
Registered: 2011-05-03
Posts: 15

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

With new kernel nothing has changed. Please explain me how to apply the patch.

Thanks.

Offline

#19 2012-04-21 21:09:28

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

Offline

#20 2012-04-21 21:17:04

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

Dropbox would be much more convenient than that filefactory ad-ridden rubbish - I can't even see where to click to get the file yikes

Offline

#21 2012-04-21 21:40:52

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

brebs, I don't have intention to install a program and aditional ~100 MB of its dependencies just to upload a ~70 kB file. Feel free to reupload if you like, I'll be happy to edit my post with the link you provide.

Offline

#22 2012-04-22 01:09:46

danym
Member
From: Saint-Hippolyte, Qc
Registered: 2007-05-14
Posts: 75
Website

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

Kernel 3.3.3 (and 3.4.0) will have the patch integrated.  I've talked to developpers.


sin² x + cos² x = 1

Offline

#23 2012-04-22 02:21:02

nuxli
Member
Registered: 2011-05-03
Posts: 15

Re: [solved] Lost surround 5.1 with kernel version 3.3.1

One more time, thanks!

Offline

Board footer

Powered by FluxBB