Pulseaudio doesn't work at startup of kde 4.4. It works only after killing it (pulseaudio -k), then it respawns correctly as soon as an app needs it (Amarok for example). At startup, my output device list in System Settings -> Multimedia shows all devices, all greyed out but one (*). However, it doesn't show pulseaudio, although it's running. Amarok runs silently without error. Pavucontrol doesn't show an Amarok stream. At startup of kde, the messages log shows: Jan 31 19:37:48 bestia pulseaudio[6063]: pid.c: Daemon already running. Jan 31 19:37:49 bestia pulseaudio[6072]: pid.c: Daemon already running. Jan 31 19:37:49 bestia pulseaudio[6073]: pid.c: Daemon already running. If I kill pulseaudio with pulseaudio -k, the list in System Settings -> Multimedia shows Pulseaudio, and the list of devices (with different names, see **). If I then restart Amarok, it works. This didn't happen in kde 4.3, but since then, pulseaudio support has been integrated in phonon (see http://colin.guthr.ie/2009/11/pulseaudio-phonon-support-now-in-kde-trunk-and- heading-towards-4-4/) On a sidenote, after a while, the devices disappear from the list, and only "PulseAudio Sound Server" remains. The only way to control the output is through pavucontrol. This doesn't happen if I add module-device-manager in default.pa, as explained here: http://colin.guthr.ie/2009/10/so-how-does-the-kde-pulseaudio-support-work-anyway/ . Maybe we should insert a line in /etc/pulse/default.pa: load-module module-device-manager Reproducible: Always (*) list of devices at startup: (grey)Internal Audio Digital Stereo (IEC958) (grey)Logitech_USB_Headset Analog Stereo Internal Audio Analog Stereo (grey)Logitech_USB_Headset Digital Stereo (IEC958) (**) list of devices after killing pulseaudio PulseAudio HDA Intel (AD198x Analog) HDA Intel, AD198x Digital (IEC958 (S/PDIF) Digital Audio Output) HDA Intel (AD198x Digital) Logitech Logitech USB Headset (USB Audio) Logitech USB Headset, USB Audio (IEC958 (S/PDIF) Digital Audio Output) Installed software: media-sound/pulseaudio-0.9.21.1 media-sound/pavucontrol-0.9.10 kde-base/phonon-kde-4.3.95 media-sound/phonon-4.3.80-r1
The problem persists with the 4.4 release. I investigated a little more, and found out this bug report in kde: https://bugs.kde.org/show_bug.cgi?id=223662 that seems to fit to my description. This issue is solved by installing phonon-9999 from the svn (kde overlay). Unfortunately there are no new source packages available from upstream, to my knowledge (the newest one in the mirrors is kde/unstable/phonon/phonon-4.3.80). Does anyone know whether a new phonon-4.4.0 package will be released? Or can someone provide a patch to media-sound/phonon-4.3.80-r1 based on the kde bug report and the therein described commit?
I've made a small script: #!/bin/sh sleep 60 pulseaudio -k && pulseaudio -D and put it in autostart.
I confirm this.
(In reply to comment #3) > I confirm this. > Then confirm the upstream patch too :-) https://bugs.kde.org/show_bug.cgi?id=223662 http://websvn.kde.org/?revision=1078226&view=revision
phonon-4.4.0 is in Portage now, please test
Confirmed working on kde-4.4.1 with the following packages: media-sound/pulseaudio-0.9.21.1 media-sound/pavucontrol-0.9.10 kde-base/phonon-kde-4.4.1 media-sound/phonon-4.4.0 No problems with pulseaudio at startup anymore, all devices are recognised correctly. Thank you for the good work, Samuli!
(In reply to comment #6) > Confirmed working on kde-4.4.1 with the following packages: > media-sound/pulseaudio-0.9.21.1 > media-sound/pavucontrol-0.9.10 > kde-base/phonon-kde-4.4.1 > media-sound/phonon-4.4.0 > > No problems with pulseaudio at startup anymore, all devices are recognised > correctly. > > Thank you for the good work, Samuli! > Closing as FIXED.