Pulse Audio Security Update Evidently Bad

11.1, 32-bit, KDE 3

Installed this security update yesterday:

Name: libpulse-browse0, Summary: pulseaudio security update, Type:
security, New Version: 2129, Repository: repo-update, Restart: none

Today I find that I no longer have audio on YouTube in either FireFox or
Chromium. Audio is fine in Amarok.

As a confirmation of this observation, did you try some of the nominal checks for sound not working in Firefox?

First, ensure no other application is running that could be using the sound device.

Second go to YaST > Hardware > Sound and note the order of sound devices. Close YaST. Then (if a KDE user) go to Configure Desktop > Multimedia and ensure the order of devices there matches what you saw under YaST.

Third, when playing an audio in Firefox, ensure the PCM volume is UP (as it will be dynamically set to zero at times).

And finally, fourth in firefox, go to Edit > Preferences > Applications > Shockwave Flash and change it to "Use Flash Player (default). … you may need to restart firefox after changing that (I’m not sure).

On 03/20/2010 04:36 AM, oldcpu wrote:
>
> Robert Carlson;2139550 Wrote:
>> 11.1, 32-bit, KDE 3
>>
>> Installed this security update yesterday:
>>
>> Name: libpulse-browse0, Summary: pulseaudio security update, Type:
>> security, New Version: 2129, Repository: repo-update, Restart: none
>>
>> Today I find that I no longer have audio on YouTube in either FireFox
>> or
>> Chromium. Audio is fine in Amarok.
> As a confirmation of this observation, did you try some of the nominal
> checks for sound not working in Firefox?
>
> First, ensure no other application is running that could be using the
> sound device.

When I load monitor, I notice two things running that are sound related:

Kmix and Pulseaudio

>
> Second go to YaST > Hardware > Sound and note the order of sound
> devices. Close YaST. Then (if a KDE user) go to Configure Desktop >
> Multimedia and ensure the order of devices there matches what you saw
> under YaST.

My sound controller is the onboard Intel 82801H (ICH8 Family) HD Audio
Controller. That is the only device showing in YaST (as item 0)

I am guessing that the problem caused by this update only impacted the
8201H and that is why there haven’t been other users also reporting the
problem.

I don’t see this device specifically referenced under KDE 3 Desktop
Sound and Multimedia, Hardware, Sound System.

Under Select the Audio Device the setting is:
Autoselect

Under Select the MIDI Device the setting looks weird:
“Midi Through Midi Through Port-0-ALSA device”

>
> Third, when playing an audio in Firefox, ensure the PCM volume is UP
> (as it will be dynamically set to zero at times).

Checked volume for Flash, and it is on full
>
> And finally, fourth in firefox, go to Edit > Preferences >
> Applications > Shockwave Flash and change it to "Use Flash Player
> (default). … you may need to restart firefox after changing that (I’m
> not sure).

I checked that yesterday and tried changing it to Shockwave and then
back to Flash Player. This had no effect. It is still on Flash Player
(default).

I seem to remember resolving some sort of problem with the Intel
controller when I first installed 11.1. I don’t remember what that may
have been.

On 03/20/2010 06:48 AM, Robert Carlson wrote:
> On 03/20/2010 04:36 AM, oldcpu wrote:
>>
>> Robert Carlson;2139550 Wrote:
>>> 11.1, 32-bit, KDE 3
>>>
>>> Installed this security update yesterday:
>>>
>>> Name: libpulse-browse0, Summary: pulseaudio security update, Type:
>>> security, New Version: 2129, Repository: repo-update, Restart: none
>>>
>>> Today I find that I no longer have audio on YouTube in either FireFox
>>> or
>>> Chromium. Audio is fine in Amarok.
>> As a confirmation of this observation, did you try some of the nominal
>> checks for sound not working in Firefox?
>>
>> First, ensure no other application is running that could be using the
>> sound device.
>
> When I load monitor, I notice two things running that are sound related:
>
> Kmix and Pulseaudio

I am now suspecting some kind of conflict. If I run Firefox initially
after starting the system and go into YouTube, Flash audio works.
Usually, I start Thunderbird 3 prior to anything else, and that is where
I may see a blog posting relating to a science video, and I open the
blog page in Firefox because Thunderbird doesn’t have the plug-ins to
handle this itself. I just tested this while writing this message, and
it works, but there will be a sharp static noise or squawk when a the
video first plays. If it is then replayed, the squawk does not recur.

The only change that I can associate with the origin of this condition
is the installation of the pulse audio security update. A security
update to CUPS that installed at the same time, but I can’t see that
having anything to do with the problem.

What you could do is start keeping track as to which applications are using the audio device …maybe the problem is there. The below command should tell you what apps are using your audio device at any given time you run this:

 lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*

If you are a big pulse audio user, then maybe take a look at this guide: SystemWideInstance – PulseAudio

On 03/20/2010 03:56 PM, oldcpu wrote:
>
> What you could do is start keeping track as to which applications are
> using the audio device …maybe the problem is there. The below command
> should tell you what apps are using your audio device at any given time
> you run this:
>
> Code:
> --------------------
> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
>
> --------------------
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 4194 bcarlson 13u CHR 116,7 0t0 5471 /dev/snd/controlC0
amarokapp 4201 bcarlson 17r CHR 116,7 0t0 5471 /dev/snd/controlC0
pulseaudi 4565 bcarlson 20u CHR 116,7 0t0 5471 /dev/snd/controlC0
pulseaudi 4565 bcarlson 27u CHR 116,7 0t0 5471 /dev/snd/controlC0

Thanks. Why are there two instances of pulseaudio? In Monitor I see
only one.

On my KDE-4.3.5 64-bit openSUSE-11.2 I get with no sound playing:

oldcpu@hal2009:~>  lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND   PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
knotify4 3051 oldcpu   12u   CHR  116,9      0t0 5661 /dev/snd/controlC0
kmix     3524 oldcpu   10u   CHR  116,9      0t0 5661 /dev/snd/controlC0
kmix     3524 oldcpu   12u   CHR  116,4      0t0 5516 /dev/snd/controlC1

and when playing a music video in smplayer:

cpu@hal2009:~> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND    PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
knotify4  3051 oldcpu   12u   CHR  116,9      0t0 5661 /dev/snd/controlC0
kmix      3524 oldcpu   10u   CHR  116,9      0t0 5661 /dev/snd/controlC0
kmix      3524 oldcpu   12u   CHR  116,4      0t0 5516 /dev/snd/controlC1
mplayer  21106 oldcpu  mem    CHR  116,6          5623 /dev/snd/pcmC0D0p
mplayer  21106 oldcpu    5r   CHR  116,2      0t0 5240 /dev/snd/timer
mplayer  21106 oldcpu    6u   CHR  116,6      0t0 5623 /dev/snd/pcmC0D0p
mplayer  21106 oldcpu    7u   CHR  116,9      0t0 5661 /dev/snd/controlC0

… from what I can see, you have amarok playing an audio while you are trying to play something else?

On 03/20/2010 05:56 PM, oldcpu wrote:
>
> Robert Carlson;2139948 Wrote:

> … from what I can see, you have amarok playing an audio while you are
> trying to play something else?

Problem solved. I just blew away pulseaudio in YaST. I knew that I had
uninstalled something in the past to resolve this problem, but I
couldn’t remember what. I am assuming that I got an update to
pulseaudio even though I no longer had pulseaudio installed. Is that
possible?