Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm facing a problem with multi channel audio in Ubuntu 12.10/Quantal. I've gone around in circles googling for an answer but still no perfect solution. In my case, audio travels over HDMI to TV which is connected to a receiver. I'm getting stereo + LFE only, not the back speakers. Another symptom is XBMC specific, that it plays video with AC3 audio in it at a very high speed and without any audio at all. When fiddling around with the settings I can get it to play at normal speed, but only certain audio channels (like music and some effects, but no dialog). Audio test in ubuntu play L/R channels fine. The other channels are shown, but nothing comes out. The receiver does not indicate that it's getting more channels.

Setup: Ubuntu machine --HDMI--> TV (Sony Bravia KDL-52W5500) --Optical--> Receiver (Sony STR-KSL 50). I also have a PS3 is connected the same way and plays the 5.1 just fine.

Internally, I've connected the motherboard's SPDIF pins to the graphics card so it can pick up the audio.

I've gone through the links mentioned below and taken the steps but still do not get proper surround audio (although the options of 5.1 Digital Surround is available in Ubuntu's audio option).

Any advice would be appreciated.

DigitalAC-3Pulseaudio: https://help.ubuntu.com/community/DigitalAC-3Pulseaudio
Ubuntu 12.04 spdif output doesn't support multichannel sound: Ubuntu 12.04 spdif output doesn't support multichannel sound

laban@fenrir:~/Desktop$ hwinfo --sound
> hal.1: read hal dataprocess 4767: arguments to dbus_move_error() were incorrect, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" failed in file ../../dbus/dbus-errors.c line 282.
This is normally a bug in some application using the D-Bus library.
libhal.c 3483 : Error unsubscribing to signals, error=The name org.freedesktop.Hal was not provided by any .service files
13: PCI 1b.0: 0403 Audio device                                 
  [Created at pci.318]
  Unique ID: u1Nb.SjXCD70s323
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: sound
  Model: "Intel 82801JI (ICH10 Family) HD Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x3a3e "82801JI (ICH10 Family) HD Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x82fe 
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xfcff8000-0xfcffbfff (rw,non-prefetchable)
  IRQ: 22 (55444 events)
  Module Alias: "pci:v00008086d00003A3Esv00001043sd000082FEbc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

26: PCI 100.1: 0403 Audio device
  [Created at pci.318]
  Unique ID: NXNs.YUmULhdftq6
  Parent ID: vSkL.QShDoIk7DM4
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.1
  SysFS BusID: 0000:01:00.1
  Hardware Class: sound
  Model: "nVidia Audio device"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x0be3 
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x8334 
  Revision: 0xa1
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xfe9fc000-0xfe9fffff (rw,non-prefetchable)
  IRQ: 17 (891 events)
  Module Alias: "pci:v000010DEd00000BE3sv00001043sd00008334bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #8 (PCI bridge)

-

laban@fenrir:~/Desktop$ lspci
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 4
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
03:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller
share|improve this question
    
As the HDMI signal is digital (this is also why your PS3 plays fine!) I believe this is an issue of settings from the signal receiver, not of sound settings in Ubuntu. –  Takkat Feb 26 '13 at 9:21
    
I don't get that... Both PC and PS3 are connected the exact same ways and the ports on the TV are configured the same way. The receiver that is uplinked from the TV via toslink is using the same input setting for all devices since it's all coming from the TV. –  Simon Fredriksson Feb 27 '13 at 10:04
    
Try to remove the SPDIF link between your internal Intel audio device and your NVidia card. Then use the NVidia audio device for HDMI digital out. –  Takkat Feb 27 '13 at 10:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.