[Karmic stac9227 regression] No sound after upgrade from Jaunty to Karmic

Bug #400682 reported by Jamie Strandboge
96
This bug affects 14 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Daniel T Chen
Karmic
Fix Released
Medium
Daniel T Chen
Lucid
Fix Released
Medium
Daniel T Chen

Bug Description

I can't tell if this is a duplicate or not, but yesterday running an up to date Jaunty everything was fine, then I upgraded to Karmic (via update-manager -d), rebooted and there is no sound. I tried unmuting things with alsamixer and the gnome mixer, stopping and starting pulseaudio, removing ~/.pulse but nothing worked. :( I'm not sure where to go from here as I don't know the sound stack very well.

ProblemType: Bug
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jamie 5821 f.... mixer_applet2
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xe0220000 irq 22'
   Mixer name : 'SigmaTel STAC9227'
   Components : 'HDA:83847618,80862008,00100201'
   Controls : 32
   Simple ctrls : 22
Date: Fri Jul 17 08:36:11 2009
DistroRelease: Ubuntu 9.10
Package: pulseaudio 1:0.9.15-4ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-3.19-generic
SourcePackage: pulseaudio
Uname: Linux 2.6.31-3-generic x86_64

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
description: updated
Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] [NEW] No sound after upgrade from Jaunty to Karmic

Can you hear output from "speaker-test -c2 -Dplug:front"?

On Jul 17, 2009 9:55 AM, "Jamie Strandboge" <email address hidden> wrote:

Public bug reported:

Binary package hint: pulseaudio

I can't tell if this is a duplicate or not, but yesterday running an up
to date Jaunty everything was fine, then I upgraded to Karmic (via
update-manager -d), rebooted and there is no sound. I tried unmuting
things with alsamixer and the gnome mixer, stopping and starting
pulseaudio, removing ~/.pulse but nothing worked. :( I'm not sure where
to go from here as I don't know the sound stack very well.

ProblemType: Bug
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jamie 5821 f.... mixer_applet2
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xe0220000 irq 22'
  Mixer name : 'SigmaTel STAC9227'
  Components : 'HDA:83847618,80862008,00100201'
  Controls : 32
  Simple ctrls : 22
Date: Fri Jul 17 08:36:11 2009
DistroRelease: Ubuntu 9.10
Package: pulseaudio 1:0.9.15-4ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-3.19-generic
SourcePackage: pulseaudio
Uname: Linux 2.6.31-3-generic x86_64

** Affects: pulseaudio (Ubuntu)
    Importance: Undecided
        Status: New

** Tags: amd64 apport-bug

--
No sound after upgrade from Jaunty to Karmic
https://bugs.launchpad.net/bugs/400682
You received this bug notification because you are a member of Ubuntu
Audio Team, which is subscribed to pulseaudio in ubuntu.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote : Re: No sound after upgrade from Jaunty to Karmic

I have been using karmic for some time now and I used to have sound. Yesterday, I updated the system and now the sound is no longer working on reboot. I think it may be related to this bug (although it is not an upgrade from Jaunty) because I have the same audio card.

00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02)
 Subsystem: Dell Device [1028:0209]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 21
 Region 0: Memory at f6dfc000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: <access denied>
 Kernel driver in use: HDA Intel
 Kernel modules: snd-hda-intel

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Cannot hear anything from "speaker-test -c2 -Dplug:front".

Pulseaudio was updated yesterday I believe:

pulseaudio (1:0.9.15-4ubuntu2)
SECURITY UPDATE: root escalation from BIND_NOW re-execution.
0040-do-not-exec-for-bindnow.patch: use -Wl,-z,now instead of performing a racey re-exec.
CVE-2009-1894

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Reverting to pulseaudio 0.9.14-0ubuntu20 did not fix the problem on my laptop. I don't think pulseaudio is the problem, at least not for me.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I reverted gstreamer to 0.10.23 too but it still did not help.

However, I noticed that I have sound with mplayer. It seems like only gnome apps are affected maybe.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Please ignore my messages. My sound is back. It turns out it was simply a sound settings problem. Apparently my PCM level was reset to 0 (probably by one of the updates?).

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Unfortunately, no sound:

$ speaker-test -c2 -Dplug:front

speaker-test 1.0.20

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.632573
 0 - Front Left
 1 - Front Right
Time per period = 5.973476
 0 - Front Left
 1 - Front Right
Time per period = 5.973441
 0 - Front Left
 1 - Front Right
Time per period = 5.978433
 0 - Front Left
 1 - Front Right
Time per period = 5.968532
 0 - Front Left
 1 - Front Right
Time per period = 5.973472
 0 - Front Left
 1 - Front Right
...

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Download full text (4.0 KiB)

I had tried looking at PCM before and while it was zero at one point, raising it I still don't have sound.

$ amixer scontents
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 62 [97%] [-1.50dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 53 [83%] [-8.25dB] [on]
  Front Right: Playback 53 [83%] [-8.25dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 233 [91%] [-4.40dB]
  Front Right: Playback 233 [91%] [-4.40dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 56 [88%] [-6.00dB] [on]
  Front Right: Playback 56 [88%] [-6.00dB] [on]
Simple mixer control 'Front Mic Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 61 [95%] [-2.25dB] [on]
  Front Right: Playback 61 [95%] [-2.25dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'Line Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In' 'Line Out'
  Item0: 'Line Out'
Simple mixer control 'Mic Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In' 'Line Out'
  Item0: 'Mic In'
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Digital Playback' 'ADAT' 'Analog Mux 1' 'Analog Mux 2' 'Analog Mux 3'
  Item0: 'Digital Playback'
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 10 [71%] [15.00dB] [on]
  Front Right: Capture 10 [71%] [15.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Mux',0
  Capabilitie...

Read more...

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: No sound after upgrade from Jaunty to Karmic

On Sat, Jul 18, 2009 at 10:10 AM, Jamie Strandboge<email address hidden> wrote:
> Playback open error: -16,Device or resource busy

Something has already grabbed hw:0. Try:

pkill pulseaudio; speaker-test -c2 -Dplug:front

(See also sudo fuser -v /dev/dsp* /dev/snd/*)

Both 'Center' and 'LFE' are also muted, but I have not looked at your
codec output yet.

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: No sound after upgrade from Jaunty to Karmic

Hmmm, still no sound. pkill pulseaudio wasn't good enough cause pulseaudio kept restarting. I saw this in .xsession-errors:
** (gnome-volume-control-applet:5093): WARNING **: Connection failed, reconnecting...

** (gnome-volume-control-applet:5093): WARNING **: Unable to get default source

I did have a volume control applet open and then one in the notification area. I removed the applet, then fiddled with the notification area one. Eventually it went away and I got this in .xsession-errors:
** (gnome-volume-control:18676): WARNING **: Unable to find stream for bar
Assertion 'pa_atomic_load(&(c)->_ref) >= 1' failed at pulse/ext-stream-restore.c:202, function pa_ext_stream_restore_write(). Aborting.

At this point I could kill pulseaudio and it wouldn't restart. So I did:
$ speaker-test -c2 -Dplug:front

speaker-test 1.0.20

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Playback open error: -16,Device or resource busy
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.632618
 0 - Front Left
 1 - Front Right
...

After this, I noticed that pulseaudio had restarted itself. I checked /var/log/user.log and see:
Jul 18 15:56:23 severus pulseaudio[18671]: alsa-source.c: ALSA woke us up to read new data from the device, but there was actually nothing to read!
Jul 18 15:56:23 severus pulseaudio[18671]: alsa-source.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Jul 18 15:56:23 severus pulseaudio[18671]: alsa-source.c: We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

So this seems it is likely it, but I don't know how to proceed. Please advise. Thanks!

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: No sound after upgrade from Jaunty to Karmic

On Sat, Jul 18, 2009 at 5:04 PM, Jamie Strandboge<email address hidden> wrote:
> Jul 18 15:56:23 severus pulseaudio[18671]: alsa-source.c: We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

Those messages are not related to your audio being muted, however.

Try disabling autospawn temporarily:
echo "autospawn = no" > ~/.pulse/client.conf && killall pulseaudio &&
speaker-test -c2 -Dplug:front

(To revert to stock behavior, just rm ~/.pulse/client.conf)

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: No sound after upgrade from Jaunty to Karmic

Ok, that worked to stop autospawn, but still no sound:

$ echo "autospawn = no" > ~/.pulse/client.conf && killall pulseaudio &&
> speaker-test -c2 -Dplug:front

speaker-test 1.0.20

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.632583
 0 - Front Left
 1 - Front Right
Time per period = 5.973461
 0 - Front Left
 1 - Front Right
Time per period = 5.973476
 0 - Front Left
 1 - Front Right
...

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: No sound after upgrade from Jaunty to Karmic

Have you tried removing the state file? I think I missed a step when I let
you know on irc. You need:

sudo /sbin/alsa force-unload && sudo rm /var/lib/alsa/asound.state

then reboot

On Jul 18, 2009 9:00 PM, "Jamie Strandboge" <email address hidden> wrote:

Ok, that worked to stop autospawn, but still no sound:

$ echo "autospawn = no" > ~/.pulse/client.conf && killall pulseaudio &&

> speaker-test -c2 -Dplug:front

speaker-test 1.0.20 Playback device is plug:front Stream parameters are
48000Hz, S16_LE, 2 channels...

Rate set to 48000Hz (requested 48000Hz) Buffer size range from 64 to 16384
Period size range from 32...
Time per period = 5.632583

0 - Front Left 1 - Front Right
Time per period = 5.973461

0 - Front Left 1 - Front Right
Time per period = 5.973476

0 - Front Left 1 - Front Right
...

-- No sound after upgrade from Jaunty to Karmic
https://bugs.launchpad.net/bugs/400682 You receive...

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: No sound after upgrade from Jaunty to Karmic

The output of your request is:
$ sudo /sbin/alsa force-unload && sudo rm /var/lib/alsa/asound.state
[sudo] password for jamie:
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
Terminating processes: 4557lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
Unloading ALSA sound driver modules: snd-hda-codec-idt snd-hda-intel snd-hda-codec snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc (failed: modules still loaded: snd-hda-codec-idt snd-hda-codec snd-pcm snd-timer snd-page-alloc).

This didn't unload all the modules, so I did the force-unload again before the reboot:
$ sudo /sbin/alsa force-unload
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
Unloading ALSA sound driver modules: snd-hda-codec-idt snd-hda-codec snd-pcm snd-timer snd-page-alloc.

After logging in on reboot, still no sound:
$ ps auxww|grep pulse
jamie 5120 0.0 0.0 7340 892 pts/0 S+ 22:22 0:00 grep pulse
$ speaker-test -c2 -Dplug:front

speaker-test 1.0.20

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
...

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: No sound after upgrade from Jaunty to Karmic

On Sat, Jul 18, 2009 at 11:27 PM, Jamie Strandboge<email address hidden> wrote:
> After logging in on reboot, still no sound:

What does "amixer -Dhw:0" report? Are you using analog speakers or
headphones connected via the jack?

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: No sound after upgrade from Jaunty to Karmic
Download full text (8.0 KiB)

$ amixer -Dhw:0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 52 [81%] [-9.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 52 [81%] [-9.00dB] [on]
  Front Right: Playback 52 [81%] [-9.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 52 [81%] [-9.00dB] [on]
  Front Right: Playback 52 [81%] [-9.00dB] [on]
Simple mixer control 'Front Mic Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [off]
  Front Right: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'Line Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In' 'Line Out'
  Item0: 'Line Out'
Simple mixer control 'Mic Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In' 'Line Out'
  Item0: 'Mic In'
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Digital Playback' 'ADAT' 'Analog Mux 1' 'Analog Mux 2' 'Analog Mux 3'
  Item0: 'Digital Playback'
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 0 [0%] [0.00dB] [on]
  Front Right: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'
Simple mixer control 'Mux',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 4
  Front Left: Capture 0 [0%] [0.00d...

Read more...

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: No sound after upgrade from Jaunty to Karmic

On Sun, Jul 19, 2009 at 9:04 AM, Jamie Strandboge<email address hidden> wrote:
> I am using analog speakers connected to the input jack on the front of
> the computer. This was previously controlled by 'Front' in Jaunty

To avoid overloading the term "input", do you mean the front
microphone ("input") jack, or do you mean the headphone out jack? If
the former, see:

> Simple mixer control 'Mic Jack Mode',0
>  Capabilities: enum
>  Items: 'Mic In' 'Line In' 'Line Out'
>  Item0: 'Mic In'

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: No sound after upgrade from Jaunty to Karmic

I'm sorry. The front of the computer has two jacks-- a microphone and a headphone. The speakers are connected to the headphone jack. This jack showed up as 'Front' in the mixer in Jaunty.

Revision history for this message
Daniel T Chen (crimsun) wrote :

To help pinpoint whether this is a driver regression, please try model=ref:

sudo /sbin/alsa force-unload && sudo modprobe snd-hda-intel model=ref && speaker-test -c2 -Dplug:front

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Still no sound. As before, I had to run /sbin/alsa force-unload twice to unload all the modules. Here is the output:

$ sudo /sbin/alsa force-unload && sudo modprobe snd-hda-intel model=ref && speaker-test -c2 -Dplug:front
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
Terminating processes: 4512lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
Unloading ALSA sound driver modules: snd-hda-codec-idt snd-hda-intel snd-hda-codec snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc (failed: modules still loaded: snd-hda-codec-idt snd-hda-codec snd-pcm snd-timer snd-page-alloc).
[1]
$ sudo /sbin/alsa force-unload && sudo modprobe snd-hda-intel model=ref && speaker-test -c2 -Dplug:front
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/jamie/.gvfs
      Output information may be incomplete.
Unloading ALSA sound driver modules: snd-hda-codec-idt snd-hda-codec snd-pcm snd-timer snd-page-alloc.

speaker-test 1.0.20

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.632245
 0 - Front Left
 1 - Front Right
...

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I'm not sure why this is still Incomplete, as I think I gave everything asked of me.

That said, I decided to boot into kernel 2.6.28-13.45-generic (ie, Jaunty's kernel) on my up to date Karmic system, and I have sound with:
$ paplay /usr/share/sounds/ubuntu/stereo/desktop-login.ogg

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: No sound after upgrade from Jaunty to Karmic

Thanks; we'll need to git bisect next.

On Jul 21, 2009 8:00 PM, "Jamie Strandboge" <email address hidden> wrote:

I'm not sure why this is still Incomplete, as I think I gave everything
asked of me.

That said, I decided to boot into kernel 2.6.28-13.45-generic (ie, Jaunty's
kernel) on my up to date Karmic system, and I have sound with:
$ paplay /usr/share/sounds/ubuntu/stereo/desktop-login.ogg

-- No sound after upgrade from Jaunty to Karmic
https://bugs.launchpad.net/bugs/400682 You receive...

Daniel T Chen (crimsun)
Changed in pulseaudio (Ubuntu):
status: Incomplete → Confirmed
status: Confirmed → Triaged
assignee: nobody → Daniel T Chen (crimsun)
summary: - No sound after upgrade from Jaunty to Karmic
+ [Karmic regression] No sound after upgrade from Jaunty to Karmic
summary: - [Karmic regression] No sound after upgrade from Jaunty to Karmic
+ [Karmic stac927x regression] No sound after upgrade from Jaunty to
+ Karmic
affects: pulseaudio (Ubuntu) → linux (Ubuntu)
tags: added: regression-potential
Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: [Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic

As Daniel knows, I tried several kernels going back to http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.29.6/ and still no sound.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I am out of town, but when I get home I'll run 'apport-collect -p linux' and verify against the -5 kernel.

description: updated
tags: added: kernel-sound
Revision history for this message
draoi99 (draoi99) wrote :

This bug affects me too - same soundcard:

card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I have good sound in the speakers but no sound from the headphone jack. This was always the case for me in all previous releases so I used to add

options snd-hda-intel model=vaio

to /etc/modprobe.d/alsa-base.conf

I tried that again this time but still no sound from the headphones. I have a Sony Vaio VGN-FZ21M

.

Revision history for this message
Jamie Strandboge (jdstrand) wrote : apport-collect data

AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jamie 5664 F.... pulseaudio
 /dev/snd/pcmC0D0p: jamie 5664 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xe0220000 irq 22'
   Mixer name : 'SigmaTel STAC9227'
   Components : 'HDA:83847618,80862008,00100201'
   Controls : 32
   Simple ctrls : 22
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=f17af5ae-d165-4d03-9443-5fea4eeb5d6c
Package: linux (not installed)
ProcCmdLine: root=UUID=027f6784-68b4-4dad-8387-c5319fedda74 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-5-generic N/A
 linux-firmware 1.15
RfKill:

Uname: Linux 2.6.31-5-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse kqemu kvm libvirtd lpadmin plugdev pulse pulse-access sbuild scanner video
WpaSupplicantLog:

dmi.bios.date: 08/04/2006
dmi.bios.vendor: Intel Corp.
dmi.bios.version: CO96510J.86A.4462.2006.0804.2059
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: DQ965GF
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD41676-400
dmi.chassis.type: 2
dmi.modalias: dmi:bvnIntelCorp.:bvrCO96510J.86A.4462.2006.0804.2059:bd08/04/2006:svn:pn:pvr:rvnIntelCorporation:rnDQ965GF:rvrAAD41676-400:cvn:ct2:cvr:

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: [Karmic stac927x regression] No sound after upgrade from Jaunty to Karmic
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
tags: added: apport-collected
Changed in linux (Ubuntu):
importance: Undecided → Medium
Changed in linux (Ubuntu):
status: Triaged → In Progress
Daniel T Chen (crimsun)
Changed in linux (Ubuntu):
status: In Progress → Fix Committed
summary: - [Karmic stac927x regression] No sound after upgrade from Jaunty to
+ [Karmic stac9227 regression] No sound after upgrade from Jaunty to
Karmic
Changed in linux (Ubuntu):
status: Fix Committed → In Progress
Daniel T Chen (crimsun)
Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Changed in linux (Ubuntu):
status: Fix Committed → In Progress
64 comments hidden view all 144 comments
Revision history for this message
lfuruya (lfuruya) wrote : XsessionErrors.txt
tags: added: regression-release
removed: regression-potential
tags: added: karmic
Revision history for this message
ajayambawat (ajayambawat) wrote :

Any update on this ?
Eagerly waiting for a solution.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I finally upgraded this machine to lucid, and am still have the problem.

Changed in linux (Ubuntu Karmic):
assignee: nobody → Daniel T Chen (crimsun)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Approved the Karmic task and added the Lucid one. Since Karmic released with this bug, feel free to adjust the Karmic task as necessary.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 400682] Re: [Karmic stac9227 regression] No sound after upgrade from Jaunty to Karmic

Please attach /proc/asound/card*/codec* from Lucid.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
robs9 (robs9)
Changed in linux (Ubuntu Karmic):
status: In Progress → Fix Released
status: Fix Released → In Progress
Revision history for this message
Lukasz (papciozoe) wrote : apport-collect data

Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: rafael 2638 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'CA0106'/'Audigy SE [SB0570] at 0xcf00 irq 21'
   Mixer name : 'CA0106'
   Components : ''
   Controls : 35
   Simple ctrls : 18
Card1.Amixer.info:
 Card hw:1 'U0x46d0x8a2'/'USB Device 0x46d:0x8a2 at usb-0000:00:12.0-1, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:08a2'
   Controls : 3
   Simple ctrls : 2
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: pulseaudio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu12~9.10~ricotz1
PackageArchitecture: amd64
ProcEnviron:
 SHELL=/bin/bash
 LANG=pl_PL.UTF-8
ProcVersionSignature: Ubuntu 2.6.32-15.22~ricotz1-generic
Uname: Linux 2.6.32-15-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Lukasz (papciozoe) wrote : AlsaDevices.txt
Revision history for this message
Lukasz (papciozoe) wrote : AplayDevices.txt
Revision history for this message
Lukasz (papciozoe) wrote : ArecordDevices.txt
Revision history for this message
Lukasz (papciozoe) wrote : BootDmesg.txt
Revision history for this message
Lukasz (papciozoe) wrote : Card0.Amixer.values.txt
Revision history for this message
Lukasz (papciozoe) wrote : Card1.Amixer.values.txt
Revision history for this message
Lukasz (papciozoe) wrote : CurrentDmesg.txt
Revision history for this message
Lukasz (papciozoe) wrote : Dependencies.txt
Revision history for this message
Lukasz (papciozoe) wrote : PciMultimedia.txt
Revision history for this message
Lukasz (papciozoe) wrote : XsessionErrors.txt
Revision history for this message
Lukasz (papciozoe) wrote :

The same bug affected my Karmic Koala. Sound is turned off. It's happened after upgrading Alsa → alsa-base (1.0.20+dfsg-1ubuntu5) to 1.0.22.1+dfsg-0ubuntu3~ricotz1; and pulseaudio → pulseaudio (1:0.9.19-0ubuntu4.1) to 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu11~~karmic~ubuntuaudiodev1).
My kernel is : 2.6.32-15-generic.
Then I tried to downgrade to the previous version, but the sound hasn't returned.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Does it needs an apport-collect -p linux from lucid too?

I can provide if, just let me know.

tags: added: lucid
Revision history for this message
Lukasz (papciozoe) wrote :

Now, it seems to work :-) Great thanks for everyone who was working on that bug!

Revision history for this message
Lukasz (papciozoe) wrote : apport-collect data

Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: rafael 2884 F.... pulseaudio
 /dev/snd/controlC1: rafael 2884 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'CA0106'/'Audigy SE [SB0570] at 0xcf00 irq 21'
   Mixer name : 'CA0106'
   Components : ''
   Controls : 35
   Simple ctrls : 18
Card1.Amixer.info:
 Card hw:1 'U0x46d0x8a2'/'USB Device 0x46d:0x8a2 at usb-0000:00:12.0-1, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:08a2'
   Controls : 3
   Simple ctrls : 2
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=a94f64da-061e-451a-bfb1-200266aac101
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: Gigabyte Technology Co., Ltd. GA-MA770-UD3
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-17-preempt root=UUID=a01537c5-d1f0-4d9b-b692-9d943d1610be ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=pl_PL.UTF-8
ProcVersionSignature: Ubuntu 2.6.32-17.26~ricotz1-preempt 2.6.32.10+drm33.1
RelatedPackageVersions: linux-firmware 1.33~dnjl0
RfKill:

Uname: Linux 2.6.32-17-preempt x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/31/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F4
dmi.board.name: GA-MA770-UD3
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.:bvrF4:bd12/31/2008:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA770-UD3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA770-UD3:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-MA770-UD3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Lukasz (papciozoe) wrote : AlsaDevices.txt
Revision history for this message
Lukasz (papciozoe) wrote : AplayDevices.txt
Revision history for this message
Lukasz (papciozoe) wrote : ArecordDevices.txt
Revision history for this message
Lukasz (papciozoe) wrote : BootDmesg.txt
Revision history for this message
Lukasz (papciozoe) wrote : Card0.Amixer.values.txt
Revision history for this message
Lukasz (papciozoe) wrote : Card1.Amixer.values.txt
Revision history for this message
Lukasz (papciozoe) wrote : CurrentDmesg.txt
Revision history for this message
Lukasz (papciozoe) wrote : IwConfig.txt
Revision history for this message
Lukasz (papciozoe) wrote : Lspci.txt
Revision history for this message
Lukasz (papciozoe) wrote : Lsusb.txt
Revision history for this message
Lukasz (papciozoe) wrote : PciMultimedia.txt
Revision history for this message
Lukasz (papciozoe) wrote : ProcCpuinfo.txt
Revision history for this message
Lukasz (papciozoe) wrote : ProcInterrupts.txt
Revision history for this message
Lukasz (papciozoe) wrote : ProcModules.txt
Revision history for this message
Lukasz (papciozoe) wrote : UdevDb.txt
Revision history for this message
Lukasz (papciozoe) wrote : UdevLog.txt
Revision history for this message
Lukasz (papciozoe) wrote : WifiSyslog.txt
Revision history for this message
Lukasz (papciozoe) wrote : XsessionErrors.txt
Revision history for this message
Sahil Arora (sahilarora946-deactivatedaccount) wrote :

i am also getting the same problem
i think sound softwares of ubuntu are not compatible with
ma processor intel i5 core.
my frrnds are working fine on old processor

Changed in linux (Ubuntu):
status: In Progress → Fix Released
Changed in linux (Ubuntu Lucid):
status: In Progress → Fix Released
Changed in linux (Ubuntu Karmic):
status: In Progress → Fix Released
Displaying first 40 and last 40 comments. View all 144 comments or add a comment.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments

Remote bug watches

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