Onboard sound on Gigabyte GA-MA785GM-US2H unavailable through sound settings in precise

Bug #902944 reported by Andrew Somerville
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I upgraded to precise (12.04) alpha, and my onboard sound card is not available via the sound settings interface. I've also tested with the latest upstream kernel (linux-3.2.0-rc5) with the same results. The same kernel on my 11.10 partition recognizes and is able to utilize my onboard sound.

My motherbaord is a Gigabyte GA-MA785GM-US2H. The audio chipset is a Realtek ALC889A. The soundcard appears to be available through ALSA, but not through pulse.

lspci says:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: ATI Technologies Inc SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:00.0 VGA compatible controller: nVidia Corporation GF110 [GeForce GTX 560 Ti] (rev a1)
01:00.1 Audio device: nVidia Corporation Device 0e0c (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
03:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)

aplay -l says:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC889A Analog [ALC889A Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC889A Digital [ALC889A Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: pulseaudio 1:1.1-0ubuntu3
Uname: Linux 3.2.0-030200rc5-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: andrew 1832 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
   Mixer name : 'Realtek ALC889A'
   Components : 'HDA:10ec0885,1458a102,00100101'
   Controls : 42
   Simple ctrls : 24
Card1.Amixer.info:
 Card hw:1 'NVidia'/'HDA NVidia at 0xfbffc000 irq 19'
   Mixer name : 'Nvidia GPU 16 HDMI/DP'
   Components : 'HDA:10de0016,10de0101,00100100'
   Controls : 20
   Simple ctrls : 4
CheckboxSubmission: 1e30f81ce28ba1c34b3ec9f8f96eb1ea
CheckboxSystem: 4ed15c40009aa6f7770f606350a390a2
Date: Sun Dec 11 18:04:34 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
SourcePackage: pulseaudio
UpgradeStatus: Upgraded to precise on 2011-12-11 (0 days ago)
dmi.bios.date: 07/08/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F12a
dmi.board.name: GA-MA785GM-US2H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF12a:bd07/08/2010:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA785GM-US2H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA785GM-US2H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-MA785GM-US2H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Andrew Somerville (andy16666) wrote :
tags: added: kernel-upstream-tested
Revision history for this message
Andrew Somerville (andy16666) wrote :

Also, the latest upstream kernel on 11.10 does not have this issue.

Revision history for this message
Andrew Somerville (andy16666) wrote :

Please note: this may be related to bug #904347 which shows up on
different hardware.

Revision history for this message
Andrew Somerville (andy16666) wrote :

There's a forum post about this issue here:

http://ubuntuforums.org/showthread.php?t=1896708

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
status: Incomplete → Confirmed
description: updated
summary: - Onboard sound on Gigabyte GA-MA785GM-US2H unavailable in precise
+ Onboard sound on Gigabyte GA-MA785GM-US2H unavailable through sound
+ settings in precise
Revision history for this message
Miles Lane (miles-lane) wrote :

I am seeing this with:

01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
 Subsystem: ASUSTeK Computer Inc. Device 1af2
 Physical Slot: 16
 Flags: bus master, fast devsel, latency 0, IRQ 16
 Memory at fe97c000 (32-bit, non-prefetchable) [size=16K]
 Capabilities: [60] Power Management version 3
 Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
 Capabilities: [78] Express Endpoint, MSI 00
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd-hda-intel

My custom-built 3.2.0+ (Linus GIT) kernel works fine, so this seems to be an Ubuntu kernel issue.

Revision history for this message
David Henningsson (diwic) wrote :

Hello and thanks for testing the development version of Ubuntu!

Could you please provide a PulseAudio log as well? See http://wiki.ubuntu.com/PulseAudio/Log
I hope it will reveal some details about what is going wrong when PulseAudio probes the device.

Revision history for this message
Andrew Somerville (andy16666) wrote :
Revision history for this message
Andrew Somerville (andy16666) wrote :

The above log is from the machine in Bug #904347, which is marked as a duplicate. The issue is identical.

Revision history for this message
David Henningsson (diwic) wrote :

Hmm, from the PulseAudio log it looks like your on-board device is showing up just fine. Can you confirm that running "pulseaudio -k" in a terminal, then restarting the sound settings applet, will make the device show up?
Maybe there is something in the syslog ( grep pulseaudio /var/log/syslog ) that could tell us why it does not work at startup?

Revision history for this message
Raymond (superquad-vortex2) wrote :

The common between this bug and bug #904347 are both hda codec only have "Headphone Playback Switch" and there is no "Headphone Playback Volume"

I wonder why ubuntu did not include commit 356aab7d419822f413af5fe1bc47af40957a23fb

ALSA: hda - Add Headphone Playback Volume control for ad1988/ad1989

- use DAC0 instead of DAC1 for Port-A Headphone

- assign 0x03 to spec->multiout.hp_nid except model="6stack-dig-fp"

Changed in pulseaudio (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Andrew Somerville (andy16666) wrote :

Why has this bug been changed to incomplete? I haven't had time to get back about comment 6 and 9 but I did try those suggestions and no they do not cause the device to show.

I should also mention that the instructions here: http://wiki.ubuntu.com/PulseAudio/Log are incomplete, and/or broken. For one, they don't mention that you need root privileges to kill pulse. Following them (but adding sudo) made the applet disappear entirely rather than only showing the HDMI audio. The applet is still missing after several reboots, and I haven't had time to investigate why.

I'll change the bug back to confirmed since I have the issue on two unrelated systems. If there are any other suggestions for tests I will do my best to get around to them in a more timely manner, however I'm far too busy at the moment to deal with the broken instructions at http://wiki.ubuntu.com/PulseAudio/Log .

For now I can do without the sound on this system, using other devices when I have to video conference or something. But I sincerely hope this issue is resolved by the release date since it's bound to affect more users than just myself.

If it's helpful, both systems were upgrades from the LTS. (Ubuntu 10.04.) So it's possible this is a configuration issue of some kind.

Changed in pulseaudio (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Andrew Somerville (andy16666) wrote :

I ran pulseaudio -vv and the applet came back, but still only shows the HDMI device. Please find attached the log from starting pulse. I'm not sure why pulse isn't starting itself anymore but that seems to be a separate issue.

Sorry about the delay.

Revision history for this message
Andrew Somerville (andy16666) wrote :

By the way, the above log is for the machine in the duplicate bug...not the GIGABYTE system.

Revision history for this message
David Henningsson (diwic) wrote :

> Why has this bug been changed to incomplete?

I change it to incomplete when I'm waiting for the bug reporter to respond to answers to my questions, which you have now provided. For more information about bug statuses, see https://wiki.ubuntu.com/Bugs/Status

From the pulseaudio log it looks like another application is hindering PulseAudio from using the sound card. Could you provide the output of this terminal command:

sudo fuser -v /dev/snd/*

...which might help us to figure out which application is the guilty one?

(I'll set status to incomplete while waiting for this additional information)

Changed in pulseaudio (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Andrew Somerville (andy16666) wrote :

Without pulse running:
$ sudo fuser -v /dev/snd/*
$

With pulse running:
$ sudo fuser -v /dev/snd/*
                     USER PID ACCESS COMMAND
/dev/snd/controlC0: andrew 24795 F.... pulseaudio
/dev/snd/controlC1: andrew 24795 F.... pulseaudio

Although there seems to have been a development. I ran the updates over lunch hour and the device seems to be appearing now. So it looks like something in the update has resolved the issue.

Thanks.

Revision history for this message
David Henningsson (diwic) wrote :

Ok, thanks for the feedback! Feel free to reopen the bug (by setting its status) should the problem reappear.

Changed in pulseaudio (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.