You are not logged in.

#1 2010-03-27 14:14:52

damis648
Member
Registered: 2010-01-25
Posts: 18

KDE applications segfault with Pulseaudio as default

Hello, I am having a bit of a problem with KDE and pulseaudio.
Basically, this is my /etc/asound.conf:

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"
  }
}

The problem is that the two "!default" sections seem to cause segfaults at start on many KDE applications, including Knotify and Amarok, among other applications which use sound. Removing those two blocks fixes the problem, however then any application that doesn't use pulseaudio by default doesn't play audio. I can post the crash report if needed.

I have tried many things, including moving the settings to ~/.asoundrc, disabling real time scheduling of pulseaudio, but nothing seems to fix it. Any ideas? Thanks in advance.

Offline

#2 2010-03-29 01:25:29

cpslanet
Member
Registered: 2010-01-10
Posts: 12

Re: KDE applications segfault with Pulseaudio as default

I had the same problem, fixed it by installing the phonon-xine package and selecting xine as the default backend in system-settings/multimedia

Offline

#3 2010-03-29 20:12:26

damis648
Member
Registered: 2010-01-25
Posts: 18

Re: KDE applications segfault with Pulseaudio as default

Thank you very much! It worked perfectly.

Offline

#4 2010-04-04 13:48:01

red_erik
Member
Registered: 2009-01-27
Posts: 9

Re: KDE applications segfault with Pulseaudio as default

I have the same problem, but selecting xine as default backedn doesn't fix anything.

This is what I get when trying to run amarok:

QDBusObjectPath: invalid path ""
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
amarok(2591)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok(2591)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok(2591)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Calling appendChild() on a null node does nothing.
QGraphicsLinearLayout::removeAt: invalid index 1
<unknown program name>(2590)/: Communication problem with  "amarok" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name org.kde.amarok was not provided by any .service files" "

edit:

nvm, fixed it by removing amarok configuration files and restarting it.

Last edited by red_erik (2010-04-04 13:51:20)

Offline

#5 2010-05-19 12:56:00

damjan
Member
Registered: 2006-05-30
Posts: 451

Re: KDE applications segfault with Pulseaudio as default

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

WOW, this has been a great hint!!

Now pulseaudio appeared in KDEs media settings and Amarok worsk just fine. Thnkas.

Offline

Board footer

Powered by FluxBB