Amarok rocks on server side, KDE4 sound server problem

Bug #453014 reported by Asmo Koskinen on 2009-10-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ltsp (Ubuntu)
Undecided
Unassigned

Bug Description

I installed Kubuntu 64-bit 9.10 Beta as a LTSP5 server.

I have HP Mini 2133 as a thin client, all sounds are on server side.

When I launch Amarok and listen an internet radio station, it works, but sound is on server side. User is 'kub001'.

asmok@kubuntu:~$ ps ax | grep amarok
 2487 ? SLl 0:06 /usr/bin/amarok
 2503 ? S 0:00 kdeinit4: kio_trash [kdeinit] trash local:/tmp/ksocket-kub001/klauncherMT2328.slave-socket local:/tmp/ksocket-kub001/amarokTi2487.slave-socket
 2504 ? S 0:00 kdeinit4: kio_file [kdeinit] file local:/tmp/ksocket-kub001/klauncherMT2328.slave-socket local:/tmp/ksocket-kub001/amarokwZ2487.slave-socket
 2505 ? S 0:00 kdeinit4: kio_file [kdeinit] file local:/tmp/ksocket-kub001/klauncherMT2328.slave-socket local:/tmp/ksocket-kub001/amarokjd2487.slave-socket
 2511 ? S 0:00 kdeinit4: kio_http [kdeinit] http local:/tmp/ksocket-kub001/klauncherMT2328.slave-socket local:/tmp/ksocket-kub001/amarokzg2487.slave-socket
 2515 ? S 0:00 kdeinit4: kio_http [kdeinit] http local:/tmp/ksocket-kub001/klauncherMT2328.slave-socket local:/tmp/ksocket-kub001/amarokBb2487.slave-socket
 2516 ? S 0:00 kdeinit4: kio_http [kdeinit] http local:/tmp/ksocket-kub001/klauncherMT2328.slave-socket local:/tmp/ksocket-kub001/amarokZQ2487.slave-socket
 2517 ? S 0:00 kdeinit4: kio_http [kdeinit] http local:/tmp/ksocket-kub001/klauncherMT2328.slave-socket local:/tmp/ksocket-kub001/amarokTN2487.slave-socket
 2518 ? S 0:00 kdeinit4: kio_http [kdeinit] http local:/tmp/ksocket-kub001/klauncherMT2328.slave-socket local:/tmp/ksocket-kub001/amarokZc2487.slave-socket
 2519 ? S 0:00 kdeinit4: kio_http [kdeinit] http local:/tmp/ksocket-kub001/klauncherMT2328.slave-socket local:/tmp/ksocket-kub001/amarokuU2487.slave-socket
 2520 ? S 0:00 kdeinit4: kio_http [kdeinit] http local:/tmp/ksocket-kub001/klauncherMT2328.slave-socket local:/tmp/ksocket-kub001/amarokEN2487.slave-socket
 2545 pts/3 S+ 0:00 grep --color=auto amarok
asmok@kubuntu:~$

root@ltsp200:~# ps ax | grep PULSE
 3573 tty7 S 0:00 ssh -Y -t -S /var/run/ldm_socket_2510_192.168.1.101 -l kub001 192.168.1.101 LTSP_CLIENT=192.168.1.200 LTSP_CLIENT_HOSTNAME=ltsp200 PULSE_SERVER=tcp:192.168.1.200:4713 ESPEAKER=192.168.1.200:16001 /etc/X11/Xsession default < /dev/null > /dev/null ; /usr/sbin/ltspfsmounter all cleanup
 3867 pts/1 R+ 0:00 grep PULSE
root@ltsp200:~#

If you need more logs or something else information, let me know.

Best Regards Asmo Koskinen.

Oliver Grawert (ogra) wrote :

the KDE phonon multimedia framework doesnt talk to pulseaudio, probably the workaround below might work:

there is a package called phonon-backend-gstreamer, try installing that and run gstreamer-properties on the server for the account you want to hear music with.
adjust gstreamer to use it's pulse backend and log in newly.

Asmo Koskinen (asmok) wrote :

I installed these packages:

phonon-backend-gstreamer
gnome-media (needed by gstreamer-properties)

Then I run gstreamer-properties for user 'kub001'. I think I got it right.

<?xml version="1.0"?>
<gconf>
 <entry name="audiosrc" mtime="1255697738" type="string">
  <stringvalue>pulsesrc</stringvalue>
 </entry>
 <entry name="videosrc" mtime="1255697738" type="string">
  <stringvalue>v4l2src</stringvalue>
 </entry>
 <entry name="videosink" mtime="1255697738" type="string">
  <stringvalue>autovideosink</stringvalue>
 </entry>
 <entry name="audiosink" mtime="1255697738" type="string">
  <stringvalue>pulsesink</stringvalue>
 </entry>
</gconf>

But after booting thin client sound is still on server side (login sound and Amarok).

asmok@kubuntu:~$ ps ax
3856 ? SLl 0:30 /usr/bin/amarok
 3869 ? S 0:00 kdeinit4: kwalletd [kdeinit]
 3877 ? S 0:00 kdeinit4: kio_file [kdeinit] file local:/tmp/ksocket-kub001/klauncherMT3768.slave-socket local:/tmp/ksocket-kub001/amarokBC3856.slave-socket

If I try to test PulseAudio sink on thin client, I got this error message.

kub001@kubuntu:~$ gstreamer-properties
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'esdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'glimagesink'
gstreamer-properties-Message: Skipping unavailable plugin 'sdlvideosink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
gstreamer-properties-Message: Error running pipeline 'PulseAudio Sound Server': Failed to connect: Yhteys hylätty [pulsesink.c(435): gst_pulseringbuffer_open_device (): /GstPipeline:pipeline0/GstPulseSink:pulsesink3]
gstreamer-properties-Message: Error running pipeline 'PulseAudio Sound Server': Failed to connect: Yhteys hylätty [pulsesink.c(435): gst_pulseringbuffer_open_device (): /GstPipeline:pipeline1/GstPulseSink:pulsesink4]
kub001@kubuntu:~$

Best Regards Asmo Koskinen.

Asmo Koskinen (asmok) wrote :

Mea culpa - Amarok Rocks!

I made new ltsp-cluster application server (Kubuntu Alternate Karmic Daily) installation and now Amarok works. Thin client is different this time, too = Acer TravelMate 6592.

Case closed - KDE4/Amarok works with LTSP/LTSP-Cluster.

http://www.arkki.info/howto/Wiki/LTSP5-Testausta/Kubuntu_TC_02.png

Best Regards Asmo Koskinen.

Changed in ltsp (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers