I have this problem as well, and it appears to be a race condition of
sorts between GDM playing sound and ALSA attempting to initialize.  When
GDM is configured to play a sound for "Login Successful", the hw:0 PCM
device is busy when ALSA attempts to open it.  After I've logged in, I
cannot get any sound from ALSA.  When I open the Volume Control dialog,
there is a device labelled "Playback: Null Output (PulseAudio Mixer)".
When things are working correctly, this device is labelled "Playback:
HDA Intel - AD198x Analog (PulseAudio Mixer)".

The following lines of my /var/log/user.log file relate to the problem:

Jul 28 18:22:19 haven pulseaudio[3372]: alsa-util.c: Error opening PCM device 
hw:0: Device or resource busy
Jul 28 18:22:19 haven pulseaudio[3372]: module.c: Failed to load  module 
"module-alsa-sink" (argument: "device_id=0 
sink_name=alsa_output.pci_8086_269a_sound_card_0_alsa_playback_0 tsched=0"): 
initialization failed.

When I uncheck the "Login successful" sound in System / Administration /
Login Window / Accessibility and logout/login, everything works fine.

** Tags added: alsa audio gdm pcm pulse sound

-- 
No sound after setting login sounds for gdm
https://bugs.launchpad.net/bugs/400529
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to