Ubuntu 12.04, only "dummy output" device detected

Bug #908751 reported by Pawel
122
This bug affects 26 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

After fresh installation I have no sound (only dummy output) from sound menu. However alsa and other 'tools' are reporting that audio device is found.

~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC887 Analog [ALC887 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC887 Digital [ALC887 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

~$ cat /etc/modprobe.d/alsa-base.conf
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2

~$ lspci
00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
00:01.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx)
00:06.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 2)
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [IDE 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] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon 2100
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev

~$ lsmod
Module Size Used by
hidp 22165 1
bnep 17830 2
rfcomm 38140 10
parport_pc 32114 0
ppdev 12849 0
binfmt_misc 17292 1
dm_crypt 22559 0
btusb 17912 4
bluetooth 158470 28 hidp,bnep,rfcomm,btusb
snd_hda_codec_realtek 173850 1
snd_hda_intel 32765 4
snd_hda_codec 104211 2 snd_hda_codec_realtek,snd_hda_intel
snd_usb_audio 101535 2
snd_pcm 80845 4 snd_hda_intel,snd_hda_codec,snd_usb_audio
snd_hwdep 13276 2 snd_hda_codec,snd_usb_audio
snd_usbmidi_lib 24634 1 snd_usb_audio
snd_seq_midi 13132 0
snd_rawmidi 25187 2 snd_usbmidi_lib,snd_seq_midi
snd_seq_midi_event 14475 1 snd_seq_midi
serio_raw 13027 0
snd_seq 51567 2 snd_seq_midi,snd_seq_midi_event
snd_timer 28932 2 snd_pcm,snd_seq
snd_seq_device 14172 3 snd_seq_midi,snd_rawmidi,snd_seq
uvcvideo 67205 0
sp5100_tco 13495 0
k8temp 12905 0
snd 55991 22 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_pcm,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc 14115 2 snd_hda_intel,snd_pcm
videodev 86588 1 uvcvideo
i2c_piix4 13093 0
soundcore 12600 1 snd
joydev 17393 0
shpchp 32356 0
lp 17455 0
parport 40930 3 parport_pc,ppdev,lp
usbhid 41906 0
hid 77367 2 hidp,usbhid
radeon 729596 3
pata_atiixp 12999 0
ttm 65344 1 radeon
drm_kms_helper 36985 1 radeon
drm 197552 5 radeon,ttm,drm_kms_helper
i2c_algo_bit 13199 1 radeon
floppy 60310 0
r8169 56321 0
ati_agp 13242 0

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Please attach a pulseaudio log. Follow the directions here: https://wiki.ubuntu.com/PulseAudio/Log

Revision history for this message
Pawel (ytilare) wrote :

Log bellow.

Because this is permament issue (no sound) I opened youtube and played one of the clips (no sound here) while running the log capture.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
Oleg Cukanov (oleg-cukanov) wrote :

Add to /etc/modprobe.d/ file with the line "options snd-hda-intel model=auto"

Revision history for this message
inneas (inneas) wrote :

Same problem here but I had sound after installation. Maybe some update has broken the sound configuration.

**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: Intel [HDA Intel], Gerät 0: STAC92xx Analog [STAC92xx Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)

Revision history for this message
inneas (inneas) wrote :

How ever, its working again. (I didn't change anything, just some phyton updates were installed).
Comment #5 is obsolete.

Revision history for this message
Tarrade (matxieu) wrote :
Download full text (7.6 KiB)

I have exactly the same problem with a Nvidia ion; everything seems present and configurer with NO sound at all from any software.

attached pulselog

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

cat /etc/modprobe.d/alsa-base.conf
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
#added following earlier bug report bu no possitive effect
options snd-hda-intel model=auto

$ lsmod
Module ...

Read more...

Revision history for this message
prusswan (prusswan) wrote :

Please also refer to https://bugs.launchpad.net/pulseaudio/+bug/933209, where the symptoms suggest that the problem is caused by pulseaudio rather than alsa-driver.

Revision history for this message
manzur (sl-solaris) wrote :

i have the same problem right now!! audio is not working i can not play any video with sound because app that plays it crashes. ubuntu 12.04

Revision history for this message
manzur (sl-solaris) wrote :

no driver is found

summary: - Ubuntu 12.04 no sound
+ Ubuntu 12.04, only "dummy output" device detected
affects: alsa-driver (Ubuntu) → pulseaudio (Ubuntu)
Revision history for this message
David Henningsson (diwic) wrote :

Will
1) executing the "pulseaudio -k" cause the sound device to show up?
2) logging out and in again cause the sound device to show up?

It is possible that you will get different answers to the above questions, in which case we're looking at more than one bug here...

Revision history for this message
manzur (sl-solaris) wrote :

manzabud@manzabud-MS-7309:~$ pulseaudio -k
manzabud@manzabud-MS-7309:~$ sudo su
[sudo] password for manzabud:
root@manzabud-MS-7309:/home/manzabud# pulseaudio -k
E: [pulseaudio] main.c: Failed to kill daemon: No such process
root@manzabud-MS-7309:/home/manzabud#

Revision history for this message
manzur (sl-solaris) wrote :

look at this screenshot please. i am going mad because i can not use ubuntu.
if an app plays a sound crashes, it comes shadowed as you see firefox.
please ask what ever you want to know i want help in this.
thank you. God bless you!

Revision history for this message
Francisco Javier (lamas-green-fj) wrote :

Something worked for me, copy this killall pulseaudio; rm -r ~/.pulse* here:

etc/rc.local before exit 0

this usually fix the audio but every reboot the problem returns, but if you copy this in that script it will automatically execute.

Revision history for this message
Anthony Remmers (remmers.anthony) wrote :

'pulseaudio -k' did the trick.

Revision history for this message
Grecu Ionut Florin (protos87) wrote :

Type apt-get purge alsa-dha-dkms into terminal, restart.

Revision history for this message
Eric Buell (eric-r-buell) wrote :

Noob/First post ... I have two audio devices in my ASUS P8Z77-V/CORE I7/EGA GTX 670 system that weren't being recognized and the workaround that now works every time is to select the "recovery mode" kernel from the Grub menu (you need to comment out "GRUB_HIDDEN_TIMEOUT=0" in /etc/default/grub and run update-grub if Ubuntu is the only OS in the system in order to see this menu), then simply select Resume from the Recovery Menu to continue with a "normal" boot (4 extra keystrokes during the boot). This also fixed a 1+ minute pause during bootup, and a system hang that was occuring on shutdown/reboot (requiring a manual reset). IMHO this makes Ubuntu seem quite unfriendly to a new user and is therefore an important bug to fix. I want to see Ubuntu be very successful.

Revision history for this message
Onno (ostraaten) wrote :

I had sound but sound was not good so I played with the settings a little bit. Suddenly all options are gone with only one left: "Dummy output". I dread this so much because it means that it is time to reinstall Ubuntu....again.

I have had problems with sound before but after reinstall of Ubuntu 12.04 it was working again. On previous laptop, previous Ubuntu versions, similar problems with sound. It seems that sound is bit hard to have working reliably if at all on Ubuntu. My laptop is Alienware, value around $2000. NO SOUND! It sucks!

Is there a way to have good sound on Ubuntu. For example with an external sound card or something?

Revision history for this message
Onno (ostraaten) wrote :

pulseadio -k
doesn't work

apt-get purge alsa-dha-dkms
doesn't work, there is no package alsa-dha-dkms. Must be typo or different Ubuntu version? I'm on Ubuntu 12.04.

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

There are many different reasons why PulseAudio would not detect your card. Different people probably have different bugs here.
If "pulseaudio -k" does *not* work, you can get more information by looking at a PulseAudio verbose log: https://wiki.ubuntu.com/PusleAudio/Log

Revision history for this message
Vladimir (neutravlad) wrote :

I had the same issue. Dummy Output after installing 12.04. Alsa force-reload solves the problem but it ruins my wi-fi connectivity somehow. After force-reload my wifi device is fine for some time and then all of a sudden decides to "de-authenticate" the network. After that it would not connect to the wifi network no matter what. After reboot it's working fine until I do force-reload of alsa. Then I decided to try Oleg Cukanov's solution. It works as a charm. My config file had "options snd-hda-intel model=generic" in it. After changing it to "options snd-hda-intel model=auto" the sound and the wifi are working properly (for now).

Revision history for this message
Onno (ostraaten) wrote :

That is interesting. I don't even use my wi-fi connectivity anymore because it keeps on prompting me for the network key. It will work for a few minutes and then start prompting for key again. I must admin I didn't even bother to try to fix this issue, I can live with connectivity for now. But my hunch is that it is caused by Ubuntu. A bug for sure.

Revision history for this message
Raymond (superquad-vortex2) wrote :
Download full text (4.1 KiB)

pulseaudio use front device which has a softvol "PCM Playback Volume" for capturing

http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=6bb36928b114e27dcfeeddceabc3241e0fe1d921

0.714| 0.000) I: [pulseaudio] alsa-source.c: Hardware volume ranges from -16.50 dB to 60.00 dB.
( 0.714| 0.000) I: [pulseaudio] alsa-source.c: Fixing base volume to -60.00 dB
( 0.714| 0.000) I: [pulseaudio] alsa-source.c: Using hardware volume control. Hardware dB scale supported.
( 0.714| 0.000) I: [pulseaudio] alsa-source.c: Using hardware mute control.
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: snd_pcm_dump():
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: Soft volume PCM
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: Control: PCM Playback Volume
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: min_dB: -51
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: max_dB: 0
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: resolution: 256
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: Its setup is:
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: stream : CAPTURE
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: access : MMAP_INTERLEAVED
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: format : S16_LE
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: subformat : STD
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: channels : 2
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: rate : 44100
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: exact rate : 44100 (44100/1)
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: msbits : 16
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: buffer_size : 16384
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: period_size : 8192
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: period_time : 185759
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: tstamp_mode : ENABLE
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: period_step : 1
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: avail_min : 15502
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: period_event : 0
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: start_threshold : -1
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: stop_threshold : 1073741824
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: silence_threshold: 0
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: silence_size : 0
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: boundary : 1073741824
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: Slave: Hardware PCM card 0 'HDA ATI SB' device 0 subdevice 0
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: Its setup is:
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: stream : CAPTURE
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: access : MMAP_INTERLEAVED
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: format : S16_LE
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: subformat : STD
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: channels : 2
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: rate : 44100
( 0.714| 0.000) D: [pulseaudio] alsa-util.c: exact rate : 44100 (44100/1)
( 0.714| 0.000) D: [pulseaudio...

Read more...

Revision history for this message
slashru (slashru) wrote :

Adding of "options snd-hda-intel model=generic" to /etc/modprobe.d/alsa-base.conf fixed the same problem for me. Before I had "options snd-hda-intel probe_mask=1 model=auto" there. Now sound in 12.04 works fine.

During problem investigation I found following: I have Ubuntu 8.04 installed on my PC. When I reboot to 8.04 -- sound works fine in it. Then I reboot to 12.04 and sound continuing working there too. But when I switch off PC and boot directly to 12.04 -- "Dummy output" problem appears. Seems like it is some sound card initiation (or auto detection) problem..

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test.

Changed in pulseaudio (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

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

Other bug subscribers

Remote bug watches

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