Latest 0.9.0 + devel build, anyone else having issues with pulse?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Latest 0.9.0 + devel build, anyone else having issues with pulse?

camerajunkie
This post was updated on .
Trying to test some of the new compression settings, built xrdp 0.9.0 on Xubuntu 14.04 recently,
it seems that the audio is not functioning.

Using X11RDP-O-Matic I used the following flags

--justdoit
--withjpeg
--withsound

Also I followed the instructions on the xrdp.org->documents to build Pulse correctly for Pulse 4.0 x64, have tried removing my Pulse folder from .config, and PulseAudio seems to start up fine, am I missing something?
Copied both

-module-xrdp-sink.so
-module-xrdp-source.so

to /usr/lib/pulse-4.0/modules, permissions are set to 777 for now on both files
the ./configure process of pulseaudio 4.0 came back fine with no errors. Any advice?

Regards,
E
Reply | Threaded
Open this post in threaded view
|

Re: Latest 0.9.0 + devel build, anyone else having issues with pulse?

camerajunkie
This post was updated on .
Hello All,

Environment - Hyper-V 3 Generation 1 VM with Xubuntu 14.04 x64 and PulseAudio 4.0
Build - XRDP 0.9.0 devel
Build Creation - sudo ./X11RDP-O-Matic.sh --justdoit --branch devel --withjpeg
Created PulseAudio Sink/Source through these instructions - http://www.xrdp.org/index.php?option=com_content&view=article&id=19:xrdp-pulse-sink&catid=2:documents&Itemid=7

Did some tests in the morning to see what's going. It seems that the sink_process is sometimes running and it sometimes is not. In order to get it to run, I've had to disconnect/reconnect and reboot the Xubuntu 14.04 x64 session a couple of times. About 100% of the time right now PulseAudio is not redirecting sound with Parole or VLC, but only with a Google Chrome Youtube session.

Majority of the tests from 10:55am to 11:50am where disconnecting and reconnecting a session from MSTSC to XRDP.

At approximately 11:52am and onwards, I was rebooting the machine everytime to get the results I have.

Attached is a screencap of PulseAudio Manager. Everything seems to be setup correctly.

Server Info Screencap -
Screenshot_-_07092014_-_010503_PM_PAMAN.png

PulseAudio Manager Devices -
Screenshot_-_07092014_-_011637_PM_PAMAN.png

PulseAudio Manager Modules -
Screenshot_-_07092014_-_011749_PM.png

From /var/log/syslog -

Jul  9 10:55:58 (none) pulseaudio[1475]: sink_process_msg: not running
Jul  9 10:55:58 (none) pulseaudio[1475]: close_send:

Jul  9 10:56:28 (none) pulseaudio[1991]: sink_process_msg: not running
Jul  9 10:56:28 (none) pulseaudio[1991]: close_send:

Jul  9 11:45:18 (none) pulseaudio[1503]: sink_process_msg: not running
Jul  9 11:45:18 (none) pulseaudio[1503]: close_send:

Jul  9 11:46:55 (none) pulseaudio[1503]: sink_process_msg: not running
Jul  9 11:46:55 (none) pulseaudio[1503]: close_send:

Jul  9 11:50:17 (none) pulseaudio[1362]: sink_process_msg: not running
Jul  9 11:50:17 (none) pulseaudio[1362]: close_send:

Jul  9 11:52:38 Xu-xrdp-1 pulseaudio[1940]: [pulseaudio] module-x11-xsmp.c: module-x11-xsmp may not be loaded twice.
Jul  9 11:52:38 Xu-xrdp-1 pulseaudio[1940]: [pulseaudio] module.c: Failed to load module "module-x11-xsmp" (argument: "display=:10.0 session_manager=local/Xu-xrdp-1:@/tmp/.ICE-unix/2447,unix/Xu-xrdp-1:

Jul  9 11:53:24 Xu-xrdp-1 pulseaudio[1940]: 1 block_usec 30000
Jul  9 11:53:24 Xu-xrdp-1 pulseaudio[1940]: message repeated 2 times: [ 1 block_usec 30000]
Jul  9 11:53:24 Xu-xrdp-1 pulseaudio[1940]: sink_process_msg: running

Jul  9 11:53:47 Xu-xrdp-1 pulseaudio[1940]: sink_process_msg: not running
Jul  9 11:53:47 Xu-xrdp-1 pulseaudio[1940]: close_send:

Jul  9 11:53:50 Xu-xrdp-1 pulseaudio[1940]: 1 block_usec 30000
Jul  9 11:53:50 Xu-xrdp-1 pulseaudio[1940]: message repeated 3 times: [ 1 block_usec 30000]
Jul  9 11:53:51 Xu-xrdp-1 pulseaudio[1940]: sink_process_msg: running

Jul  9 11:54:36 Xu-xrdp-1 pulseaudio[1940]: message repeated 3 times: [ 1 block_usec 30000]
Jul  9 11:55:27 Xu-xrdp-1 pulseaudio[1940]: sink_process_msg: not running
Jul  9 11:55:27 Xu-xrdp-1 pulseaudio[1940]: close_send:
Jul  9 11:55:27 Xu-xrdp-1 pulseaudio[1940]: 1 block_usec 30000
Jul  9 11:55:28 Xu-xrdp-1 pulseaudio[1940]: message repeated 7 times: [ 1 block_usec 30000]
Jul  9 11:55:28 Xu-xrdp-1 pulseaudio[1940]: sink_process_msg: running
Jul  9 11:55:28 Xu-xrdp-1 pulseaudio[1940]: 1 block_usec 30000

Jul  9 11:58:43 Xu-xrdp-1 pulseaudio[1867]: 1 block_usec 30000
Jul  9 11:58:43 Xu-xrdp-1 pulseaudio[1867]: sink_process_msg: running
Jul  9 11:58:43 Xu-xrdp-1 pulseaudio[1867]: Connected ok fd 27
Any advice or tips?

Regards,
E
Reply | Threaded
Open this post in threaded view
|

Re: [Xrdp-devel] Latest 0.9.0 + devel build, anyone else having issues with pulse?

Kevin Cave
In reply to this post by camerajunkie
o-matic author here...

I've not yet tried the pulseaudio stuff yet (haven't had the need to), but I'm (very slowly) working towards a v3.11 release, and I may try the pulseaudio side of things for that. Sorry I can't be of any better help at the moment.

Regards

Kev.


On Tue, Jul 8, 2014 at 10:16 PM, camerajunkie <[hidden email]> wrote:
Trying to test some of the new compression settings, built xrdp 0.9.0 on
Xubuntu 14.04 recently,
it seems that the audio is not functioning.

Using X11RDP-O-Matic I used the following flags

--justdoit
--withjpeg
--withsound

Also I followed the instructions on the xrdp.org->documents to build Pulse
correctly for Pulse 4.0 x64, have tried removing my Pulse folder from
.config, and PulseAudio seems to start up fine, am I mission something?
Copied both

-module-xrdp-sink.so
-module-xrdp-source.so

to /usr/lib/pulse-4.0/modules, permissions are set to 777 for now on both
files
the ./configure process of pulseaudio 4.0 came back fine with no errors. Any
advice?

Regards,
E



--
View this message in context: http://xrdp-devel.766250.n3.nabble.com/Latest-0-9-0-devel-build-anyone-else-having-issues-with-pulse-tp4025621.html
Sent from the XRDP Devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
xrdp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/xrdp-devel


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
xrdp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/xrdp-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xrdp-devel] Latest 0.9.0 + devel build, anyone else having issues with pulse?

jsorg71
In reply to this post by camerajunkie
I use pulseaudio with xrdp and ubuntu 14.04, works well for me.

I did see on some, usually older pulseaudio installs, that the alsa to
pulseaudio link was not working.

I use
mplayer -ao alsa some_audio.mp3
and
mplayer -ao pulse some_audio.mp3
to test both.

If it's alsa that is not working, you can put asound.conf in /etc/
http://server1.xrdp.org/xrdp/release/v0.8/ubuntu14.04/pulse/x86/
Also, I can make prebuild pulseaudio x64 binaries, that I test, if you like.
It looks like I just have x86 out there now.

Jay


On Wed, Jul 9, 2014 at 10:15 AM, camerajunkie <[hidden email]> wrote:

> Hello All,
>
> Environment - Hyper-V 3 Generation 1 VM with Xubuntu 14.04 x64 and
> PulseAudio 4.0
> Build - XRDP 0.9.0 devel
> Build Creation - sudo ./X11RDP-O-Matic.sh --justdoit --branch devel
> --withjpeg
> Created PulseAudio Sink/Source through these instructions -
> http://www.xrdp.org/index.php?option=com_content&view=article&id=19:xrdp-pulse-sink&catid=2:documents&Itemid=7
>
> Did some tests in the morning to see what's going. It seems that the
> sink_process is sometimes running and it sometimes is not. In order to get
> it to run, I've had to disconnect/reconnect and reboot the Xubuntu 14.04 x64
> session a couple of times. About 100% of the time right now PulseAudio is
> not redirecting sound with Parole or VLC, but only with a Google Chrome
> Youtube session.
>
> Majority of the tests from 10:55am to 11:50am where disconnecting and
> reconnecting a session from MSTSC to XRDP.
>
> At approximately 11:52am and onwards, I was rebooting the machine everytime
> to get the results I have.
>
> Attached is a screencap of PulseAudio Manager. Everything seems to be setup
> correctly.
> Screenshot_-_07092014_-_010503_PM_PAMAN.png
> <http://xrdp-devel.766250.n3.nabble.com/file/n4025622/Screenshot_-_07092014_-_010503_PM_PAMAN.png>
>
> >From /var/log/syslog -
>
>
>> Jul  9 10:55:58 (none) pulseaudio[1475]: sink_process_msg: not running
>> Jul  9 10:55:58 (none) pulseaudio[1475]: close_send:
>>
>> Jul  9 10:56:28 (none) pulseaudio[1991]: sink_process_msg: not running
>> Jul  9 10:56:28 (none) pulseaudio[1991]: close_send:
>>
>> Jul  9 11:45:18 (none) pulseaudio[1503]: sink_process_msg: not running
>> Jul  9 11:45:18 (none) pulseaudio[1503]: close_send:
>>
>> Jul  9 11:46:55 (none) pulseaudio[1503]: sink_process_msg: not running
>> Jul  9 11:46:55 (none) pulseaudio[1503]: close_send:
>>
>> Jul  9 11:50:17 (none) pulseaudio[1362]: sink_process_msg: not running
>> Jul  9 11:50:17 (none) pulseaudio[1362]: close_send:
>>
>> Jul  9 11:52:38 Xu-xrdp-1 pulseaudio[1940]: [pulseaudio]
>> module-x11-xsmp.c: module-x11-xsmp may not be loaded twice.
>> Jul  9 11:52:38 Xu-xrdp-1 pulseaudio[1940]: [pulseaudio] module.c: Failed
>> to load module "module-x11-xsmp" (argument: "display=:10.0
>> session_manager=local/Xu-xrdp-1:@/tmp/.ICE-unix/2447,unix/Xu-xrdp-1:
>>
>> Jul  9 11:53:24 Xu-xrdp-1 pulseaudio[1940]: 1 block_usec 30000
>> Jul  9 11:53:24 Xu-xrdp-1 pulseaudio[1940]: message repeated 2 times: [ 1
>> block_usec 30000]
>> Jul  9 11:53:24 Xu-xrdp-1 pulseaudio[1940]: sink_process_msg: running
>>
>> Jul  9 11:53:47 Xu-xrdp-1 pulseaudio[1940]: sink_process_msg: not running
>> Jul  9 11:53:47 Xu-xrdp-1 pulseaudio[1940]: close_send:
>>
>> Jul  9 11:53:50 Xu-xrdp-1 pulseaudio[1940]: 1 block_usec 30000
>> Jul  9 11:53:50 Xu-xrdp-1 pulseaudio[1940]: message repeated 3 times: [ 1
>> block_usec 30000]
>> Jul  9 11:53:51 Xu-xrdp-1 pulseaudio[1940]: sink_process_msg: running
>>
>> Jul  9 11:54:36 Xu-xrdp-1 pulseaudio[1940]: message repeated 3 times: [ 1
>> block_usec 30000]
>> Jul  9 11:55:27 Xu-xrdp-1 pulseaudio[1940]: sink_process_msg: not running
>> Jul  9 11:55:27 Xu-xrdp-1 pulseaudio[1940]: close_send:
>> Jul  9 11:55:27 Xu-xrdp-1 pulseaudio[1940]: 1 block_usec 30000
>> Jul  9 11:55:28 Xu-xrdp-1 pulseaudio[1940]: message repeated 7 times: [ 1
>> block_usec 30000]
>> Jul  9 11:55:28 Xu-xrdp-1 pulseaudio[1940]: sink_process_msg: running
>> Jul  9 11:55:28 Xu-xrdp-1 pulseaudio[1940]: 1 block_usec 30000
>>
>> Jul  9 11:58:43 Xu-xrdp-1 pulseaudio[1867]: 1 block_usec 30000
>> Jul  9 11:58:43 Xu-xrdp-1 pulseaudio[1867]: sink_process_msg: running
>> Jul  9 11:58:43 Xu-xrdp-1 pulseaudio[1867]: Connected ok fd 27
>
> Any advice or tips?
>
>
>
> --
> View this message in context: http://xrdp-devel.766250.n3.nabble.com/Latest-0-9-0-devel-build-anyone-else-having-issues-with-pulse-tp4025621p4025622.html
> Sent from the XRDP Devel mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> xrdp-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/xrdp-devel

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
xrdp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/xrdp-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xrdp-devel] Latest 0.9.0 + devel build, anyone else having issues with pulse?

camerajunkie
I did see on some, usually older pulseaudio installs, that the alsa to
pulseaudio link was not working.
Jay, do you think cleaning out whatever PulseAudio package I've had for a month, downloading the possible latest, and doing the temporary manual build process again should clear things up? I'm using PulseAudio 4.0

On 0.8.0 sound has been pretty much working fine except with some other issues I've seen, but with 0.9.0 Devel it's been a bit more difficult to get it to play nice.

Regards,
E