You are not logged in.

#1 2011-02-09 10:20:48

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

[SOLVED]KDE and PulseAudio

Hi!

I have a perfectly working Gnome desktop, but I am thinking of switching to KDE so I installed a minimum kde (just kdebase and phonon-gstreamer) to try it out. My problem is now that I don't know how to get a nice pulse audio integration. From what I understand, PA should integrate fine from 4.6, with a nice 'speaker setup' tab in multimedia settings. For me, there is nothing there. Sound is working in mplayer and firefox, but not in the desktop.
  I have been googling for a howto, and checked the wiki, but all I can find is something like "Just install pulseaudio and it should work". It's not working for me. What did I miss? And yes, I tried installing kdeartwork-sounds smile

Last edited by KlavKalashj (2011-03-11 22:02:43)

Offline

#2 2011-02-09 16:32:24

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 393

Re: [SOLVED]KDE and PulseAudio

Try to change phonon backend, install phonon-vlc for example...


I do not speak English, but I understand...

Offline

#3 2011-02-09 17:06:32

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]KDE and PulseAudio

Pyntux wrote:

Try to change phonon backend, install phonon-vlc for example...

Thanks, that made it better. Now 'pulse' shows up in the list, and works when I press 'test'. But it is still not 100%, what I'm after is the 'speaker setup' tab shown in this screenshot:
http://www.pulseaudio.org/raw-attachmen … g-full.png

That is not there yet. Also, why does it not work at all with gstreamer? I booted up Kubuntu Natty for a quick test, and there everything is fine with gstreamer.

Edit: Hm, maybe I was too fast. A notification says that 'pulse' is not working and it's falling back to blah blah. Man, this is complicated.

Last edited by KlavKalashj (2011-02-09 17:50:39)

Offline

#4 2011-02-09 21:49:24

Loose_Control
Member
From: Germany
Registered: 2011-01-11
Posts: 136

Re: [SOLVED]KDE and PulseAudio

after installing pulse didn't you start pulseaudio?
check if pulseaudio is running (restarting pulse could chance something...)

Offline

#5 2011-02-09 21:56:38

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]KDE and PulseAudio

Loose_Control wrote:

after installing pulse didn't you start pulseaudio?
check if pulseaudio is running (restarting pulse could chance something...)

How?  Isn't it started automatically? It says so in the wiki, a file in /etc/xdg/autostart. Anyway, I tried:

oscar@arch-laptop: [etc/xdg/autostart] >>> start-pulseaudio-x11
Failure: Module initalization failed
oscar@arch-laptop: [etc/xdg/autostart] >>> pulseaudio --kill
oscar@arch-laptop: [etc/xdg/autostart] >>> start-pulseaudio-x11
oscar@arch-laptop: [etc/xdg/autostart] >>> 

And there was no difference...

Offline

#6 2011-02-10 12:07:46

Loose_Control
Member
From: Germany
Registered: 2011-01-11
Posts: 136

Re: [SOLVED]KDE and PulseAudio

try it with start-pulseaudio-kde

Offline

#7 2011-02-10 21:09:26

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]KDE and PulseAudio

Yeah, I did that too... And that command is also in autostart.

Offline

#8 2011-02-16 18:06:21

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]KDE and PulseAudio

Well, now pulse audio is working. Currently using phonon-mplayer-git from AUR. I'm still wondering why I don't have the 'speaker setup' tab. Is it in some package that I missed? I did not install full KDE and I have looked through package list to try find something related, but I don't. Any ideas? I want to get rid of veromix and pavucontrol, and instead use the speaker setub tab and kmix. If that's possible.

Edit: I found something. I got some terminal output when I ran systemsettings, and I found:

WARNING: Disabling PulseAudio integration for lack of GLib event loop.

Could this be something?

Last edited by KlavKalashj (2011-02-17 22:30:27)

Offline

#9 2011-02-19 20:07:17

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]KDE and PulseAudio

I have searched the web over and over the last few days. Wiki's, forums, mailing lists, and also checked repositorys for packages I might have missed, but I find nothing. My only clue is still the glib event loop error message. Anyone have a good howto for installing pulseaudio in KDE? Or knows if the error message is the cause, and what to do with it?

Offline

#10 2011-02-19 20:54:15

Loose_Control
Member
From: Germany
Registered: 2011-01-11
Posts: 136

Re: [SOLVED]KDE and PulseAudio

the error message is the cause...
from what i found the error appears when the user disables event loop or qt is build without it...

http://gitorious.org/phonon/phonon/comm … 27c103ec6d

Last edited by Loose_Control (2011-02-19 20:54:35)

Offline

#11 2011-02-19 20:59:43

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]KDE and PulseAudio

Thanks! So, how do I turn it back on/build qt with it enabled? (I have stock QT from repos, is it enabled there?)

Offline

#12 2011-02-20 02:22:55

Loose_Control
Member
From: Germany
Registered: 2011-01-11
Posts: 136

Re: [SOLVED]KDE and PulseAudio

it should be enabled... and i dont even know how to disable it without rebuilding qt

maybe reinstalling qt and glib2 could help

Offline

#13 2011-02-20 07:00:22

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]KDE and PulseAudio

Loose_Control wrote:

it should be enabled... and i dont even know how to disable it without rebuilding qt

maybe reinstalling qt and glib2 could help

Didn't help, I still get the same error message...

Edit: here is the config line from the PKGBUILD for qt (in repos)

./configure -confirm-license -opensource \
        -prefix /usr \
        -docdir /usr/share/doc/qt \
        -plugindir /usr/lib/qt/plugins \
        -importdir /usr/lib/qt/imports \
        -datadir /usr/share/qt \
        -translationdir /usr/share/qt/translations \
        -sysconfdir /etc \
        -examplesdir /usr/share/doc/qt/examples \
        -demosdir /usr/share/doc/qt/demos \
        -largefile \
        -plugin-sql-{psql,mysql,sqlite,odbc} \
        -system-sqlite \
        -xmlpatterns \
        -no-phonon \
        -no-phonon-backend \
        -svg \
        -webkit \
        -script \
        -scripttools \
        -system-zlib \
        -system-libtiff \
        -system-libpng \
        -system-libmng \
        -system-libjpeg \
        -nomake demos \
        -nomake examples \
        -nomake docs \
        -no-rpath \
        -openssl-linked \
        -silent \
        -optimized-qmake \
        -dbus \
        -reduce-relocations \
        -no-separate-debug-info \
        -gtkstyle \
        -opengl \
        -no-openvg \
        -glib

This means that glib is enabled by default, right? What about the phonon lines, do they need change?

Edit2: I noticed that glib2 in repos was flagged out of date, so I changed the PKGBUILD to install the newest stable version. Still no change.

Last edited by KlavKalashj (2011-02-20 07:38:32)

Offline

#14 2011-02-20 18:12:39

Loose_Control
Member
From: Germany
Registered: 2011-01-11
Posts: 136

Re: [SOLVED]KDE and PulseAudio

hm create a new user and check if the problem is still there

Offline

#15 2011-02-20 19:24:54

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]KDE and PulseAudio

That was one of the first thing I tried, and it's the same problem. Sorry, should have written that in the first post.

Offline

#16 2011-02-20 22:45:26

Loose_Control
Member
From: Germany
Registered: 2011-01-11
Posts: 136

Re: [SOLVED]KDE and PulseAudio

hm sorry but i am out of ideas hmm

Offline

#17 2011-02-21 07:31:44

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]KDE and PulseAudio

Thank you anyway. Is this a bug? I asked in #pulseaudio on freenode, they told me QT is built without glib support. According to the PKGBUILD it IS supported, but, at least for me, not working. Here is a list of all my installed packages, I don't know if it could be any conflict or so. http://pastebin.com/umzQ3b6H

Offline

#18 2011-02-24 17:41:34

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]KDE and PulseAudio

But this error, it can't be a configuration error, can it? It must be some package that wasn't build right? I don't use ABS,  all my packages are standard pre-built(except for a few non-related AUR packages). So why doesn't anybody else have this problem?

Offline

#19 2011-03-01 14:55:58

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]KDE and PulseAudio

Got an update for QT today, but problem still remains.

Offline

#20 2011-03-11 22:02:00

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED]KDE and PulseAudio

Wow, really, just wow. Was lurking around some other stuff and did a 'cat /etc/profile'. Saw the last line:

# blah blah [url]http://bbs.archlinux.org/viewtopic.php?pid=788913#p788913[/url]
export QT_NO_GLIB=1

Apparently that was an old edit I did back when I ran KDE the last time (had a Gnome period the whole autumn and that line stuck). Found it just by pure luck. Needless to say, I'm marking this thread as solved...

Offline

Board footer

Powered by FluxBB