Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 619696

Summary: kde-apps/kalarm-4.14.11_pre20160611 doesn't play any sound anymore
Product: Gentoo Linux Reporter: Christophe PEREZ <chris>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=595618
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info kalarm

Description Christophe PEREZ 2017-05-25 20:33:34 UTC
Created attachment 474310 [details]
emerge --info kalarm

I realized that I hadn't sound anymore with kalarm alerts.
Logs talk about phonon, so I recompiled media-libs/phonon-4.9.0 and kde-apps/phonon-kde-16.04.3.
Now, when try to play a sound (test sound in alert config) I have :

kalarm(25706)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "PhononBackend"  not found 
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
kalarm(25706)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "PhononBackend"  not found 
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
kalarm(25706)/phonon (KDE plugin): QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/modules/phononserver'") 
kalarm(25706)/phonon (KDE plugin): QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/modules/phononserver'") 
kalarm(25706)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "PhononBackend"  not found 
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
kalarm(25706)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "PhononBackend"  not found 
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
kalarm(25706)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "PhononBackend"  not found 
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
WARNING: Phonon::createPath: Cannot connect  Phonon::MediaObject ( no objectName ) to  Phonon::AudioOutput ( no objectName ). 
kalarm(25706)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "PhononBackend"  not found 
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 


I wanted to try to add gstreamer to phonon (media-libs/phonon gstreamer), but it requires to remove gstreamer from qtwebkit:4 (dev-qt/qtwebkit-4.8.7 -gstreamer)
and gstreamer just takes too mutch time to compile to test that now. I'll try it later if needed and if the idea to add gstreamer to phonon is the good one about you.
Comment 1 Christophe PEREZ 2017-05-25 22:24:07 UTC
recompiled with new USES :
media-libs/phonon gstreamer
<dev-qt/qtwebkit-4.10.4:4 -gstreamer

And sound works again in kalarm.
May be media-libs/phonon[gstreamer] should be a requirement for kalarm.
Comment 2 Andreas Sturmlechner gentoo-dev 2017-05-26 14:58:40 UTC
phonon[gstreamer] is certainly not a requirement for kalarm. phonon can be configured with several different backends, vlc's being preferred.
Comment 3 Christophe PEREZ 2017-05-26 15:41:19 UTC
never mind what solution is adopted.
When you emerge kalarm, you want sound working.
The solution I found, alone, is phonon[gstreamer]. Feel free to adopt another.
Comment 4 Andreas Sturmlechner gentoo-dev 2017-05-26 15:49:38 UTC
(In reply to Christophe PEREZ from comment #3)
> When you emerge kalarm, you want sound working.

Of course you do, but in your case probably simply rebuilding phonon was the solution. Did you recently get the upgrade to Qt-4.8.7?