latest phonon doesn't work with pulseaudio

After update to latest phonon (4.4.0-37) - with kde 4.4.1., it doesn’t recognize pulseaudio anymore. I am using xine backend, but I can’t find ‘PulseAudio Server’ device entry in phonon configuration

Is there special pulseaudio configuration so phonon will regonize it?

rpm -qa phonon

phonon-4.4.0-37.1.x86_64

rpm -qa libkde4

libkde4-4.4.1-227.4.x86_64

zypper lr

#  | Alias                               | Názov                                                                                    | Zapnutý | Samoaktual.
---+-------------------------------------+------------------------------------------------------------------------------------------+---------+------------
1  | 11.2                                | 11.2                                                                                     | Áno     | Áno        
2  | 11.2_1                              | 11.2                                                                                     | Áno     | Áno        
3  | Education                           | Applications for education users (openSUSE_11.2)                                         | Áno     | Áno        
4  | Emulators_Wine                      | Wine (openSUSE_11.2)                                                                     | Áno     | Nie        
5  | KDE_KDE4_Community                  | KDE4 community maintained KDE 4.x / Qt 4.x packages (openSUSE_11.2_KDE4_Factory_Desktop) | Áno     | Nie        
6  | KDE_KDE4_Factory_Desktop            | KDE 4.4.x Packages (openSUSE_11.2)                                                       | Áno     | Nie        
7  | KDE_KDE4_Playground                 | Unstable KDE 4.x Applications (openSUSE_11.2_KDE4_Factory_Desktop)                       | Áno     | Nie        
8  | KDE_Qt                              | Current Qt 4.x packages (openSUSE_11.2)                                                  | Áno     | Nie        
9  | Packman-RPMs                        | Packman-RPMs                                                                             | Áno     | Áno        
10 | home_dgege                          | Georges A.K. (openSUSE_Factory)                                                          | Áno     | Áno        
11 | http-download.opensuse.org-95a82e2b | Aktualizácie pre openSUSE 11.2-0                                                         | Áno     | Áno        
12 | repo-debug                          | openSUSE-11.2-Debug                                                                      | Áno     | Áno        
13 | repo-non-oss                        | openSUSE-11.2-Non-Oss                                                                    | Áno     | Áno        
14 | repo-oss                            | openSUSE-11.2-Oss                                                                        | Áno     | Áno        
15 | repo-source                         | openSUSE-11.2-Source                                                                     | Áno     | Áno        
16 | windows_mingw_win32                 | Cross-toolchain for 32-bit windows and 32-bit windows packages (openSUSE_11.2)           | Áno     | Nie        

Thanks for any help (i can’t listen to music in amarok because of this :’( )

Same problem here.

Hi,
you have to install
pulseaudio-0.9.19-2.3 and all is good.

Andy
>
> Same problem here.
>
>

I downgraded puleaudio but that doesn’t help …

Try phonon-4.4.0-73.1

Fruchtratte wrote:

>
> I downgraded puleaudio but that doesn’t help …
>
>

i have latest pulseaudio (compiled from sources).

But finally i figured it out. It looks like the pulseaudio starts after the phonon checks if it’s acite. And because of new pulseaudio support in phonon, it ignores pulseaudio backend for xine.

Then the solution was “simple” :). I downloaded phonon sources, commented out all the “pulseaudio” support from xine backend so pulseaudio xine backend was just ordinary audio output for phonon. Compiled and after next login voila - “PulseAudio Server” was BACK (and amarok was usable again rotfl! )

I had similar issue with updating to phonon 4.4.0-37.1 on my KDE 4.4.1. The sound stopped working and reinstalling the package did not help. The solution in my case was to go to Yast->Hardware->Sound and reset all the values for my sound card. Don’t know what was wrong with it but it works now.

I’m wondering if threads like this should be in the Pre-Release/Beta - openSUSE Forums subforum area? I’m going to discuss this with my fellow mods/admins and get their views.

I find it irritating to see a title “latest phonon doesn’t work with pulseaudio” only to find it is not official released software.

I solved the problem in yet a different and, in my opinion, much easier way. I did some searching and the ArchLinux website has a great tutorial on getting Pulse to work with KDE 4.4. Unfortunately I forgot to bookmark it and can’t find it again.

Apparently as of 4.4, Phonon will use PulseAudio by default, but you have add a few lines to your ~/.asoundrc or /etc/asound.conf.

Here’s the .asoundrc file I created, after which I was easily able to select PulseAudio as the default sound output in Phonon:

pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}

pcm.phononpulse {
type plug
slave.pcm {
type pulse
}
hint {
show on
description “PulseAudio”
}
}

pcm.pulse_monitor {
type pulse
device alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
}

ctl.pulse_monitor {
type pulse
device alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
}

I’d love to hear back from anyone to see if it worked for them, because it worked like a charm for me.

Thanks, it works !

Just these like do the job:

pcm.phononpulse {
type plug
slave.pcm {
type pulse
}
hint {
show on
description “PulseAudio”
}
}

It comes from PulseAudio - ArchWiki

There is also some information here http://alsa.opensrc.org/index.php/Dmix

Thanks !

Nice links. Thanks! I bookmarked them.

Works for me, Thanks!

Thank you, this solved my problems with notifications suddenly no longer playing!