On 8/13/23 22:25, Masaru Nomiya wrote:
JS> https://github.com/matt335672/pipewire-module-xrdp
JS> Can we get this new module included in TW ?
MN> The WM Enlightenment has been also developed with the assumption that MN> it would use the pulseaudio sound server, but I get sound with pipewire MN> without problems. MN> This is thanks to the pipewire-pulseaudio module, xrdp should be able MN> to do the same.
MN> Please have a look;
Hi Masaru, Thanks, I have seen that Ubuntu link before but those instructions are for disabling PipeWire and re-installing and enabling PulseAudio. The new module that I wrote about is a new module which modifies xrdp so that it can work with pipewire. Although, the pipewire-pulseaudio module is "supposed" to allow apps written for pulseaudio to work with pipewire, that does not seem to work for xrdp. However, I carefully went through your module list to make sure that I had everything which you mentioned.
I don't know about Ubuntu, but the method described here is too complicated, but in openSUSE, it is much simpler.
All you need is these files;
1. pipewire files
pipewire-module-x11-0_3-0.3.77-1.2.x86_64 gstreamer-plugin-pipewire-0.3.77-1.2.x86_64 pipewire-lang-0.3.77-1.2.noarch pipewire-devel-0.3.77-1.2.x86_64 pipewire-media-session-lang-0.4.1+git.f71506321.20220128-2.31.noarch pipewire-alsa-0.3.77-1.2.x86_64 pipewire-spa-plugins-0_2-0.3.77-1.2.x86_64 pipewire-spa-tools-0.3.77-1.2.x86_64 pipewire-alsa-32bit-0.3.77-1.2.x86_64 libpipewire-0_3-0-32bit-0.3.77-1.2.x86_64 pipewire-doc-0.3.77-1.2.x86_64 pipewire-pulseaudio-0.3.77-1.2.x86_64 pipewire-spa-plugins-0_2-32bit-0.3.77-1.2.x86_64 pipewire-0.3.77-1.2.x86_64 pipewire-media-session-0.4.1+git.f71506321.20220128-2.31.x86_64 pipewire-modules-0_3-0.3.77-1.2.x86_64 pipewire-tools-0.3.77-1.2.x86_64 pipewire-modules-0_3-32bit-0.3.77-1.2.x86_64 libpipewire-0_3-0-0.3.77-1.2.x86_64 pipecontrol-0.2.10-4.12.x86_64
2. pulseaudo files
apulse-0.1.13-37.58.x86_64 pulseaudio-utils-16.1-4.2.x86_64 system-user-pulse-16.1-4.2.noarch pulseaudio-utils-32bit-16.1-4.2.x86_64 pulseaudio-zsh-completion-16.1-4.2.x86_64 libpulse-devel-16.1-4.2.x86_64 libpulse0-16.1-4.2.x86_64 pulseaudio-setup-16.1-4.2.x86_64 pulseaudio-bash-completion-16.1-4.2.x86_64 alsa-plugins-pulse-1.2.7.1-173.0.x86_64 libpulse-mainloop-glib0-16.1-4.2.x86_64 libpulse0-32bit-16.1-4.2.x86_64
With these files, just do this;
$ systemctl --user daemon-reload $ systemctl --user start pipewire pipewire-pulse pipewire-media
In the above, pipewire-media module can be replaced with wireplumber module.
The following summarizes the status of the packages you specified on my system I = Installed package because it was NOT installed NF = Package NOT found Y = Package was already installed SK = Package skipped ( I don't use zsh ) NI = Package NOT installed because it conflicts 1. pipewire files I pipewire-module-x11-0_3-0.3.77-1.2.x86_64 I gstreamer-plugin-pipewire-0.3.77-1.2.x86_64 I pipewire-lang-0.3.77-1.2.noarch I pipewire-devel-0.3.77-1.2.x86_64 NF pipewire-media-session-lang-0.4.1+git.f71506321.20220128-2.31.noarch Y pipewire-alsa-0.3.77-1.2.x86_64 Y pipewire-spa-plugins-0_2-0.3.77-1.2.x86_64 Y pipewire-spa-tools-0.3.77-1.2.x86_64 Y pipewire-alsa-32bit-0.3.77-1.2.x86_64 Y libpipewire-0_3-0-32bit-0.3.77-1.2.x86_64 I pipewire-doc-0.3.77-1.2.x86_64 Y pipewire-pulseaudio-0.3.77-1.2.x86_64 Y pipewire-spa-plugins-0_2-32bit-0.3.77-1.2.x86_64 Y pipewire-0.3.77-1.2.x86_64 NF pipewire-media-session-0.4.1+git.f71506321.20220128-2.31.x86_64 Y pipewire-modules-0_3-0.3.77-1.2.x86_64 Y pipewire-tools-0.3.77-1.2.x86_64 Y pipewire-modules-0_3-32bit-0.3.77-1.2.x86_64 Y libpipewire-0_3-0-0.3.77-1.2.x86_64 NF pipecontrol-0.2.10-4.12.x86_64 2. pulseaudo files I apulse-0.1.13-37.58.x86_64 Y pulseaudio-utils-16.1-4.2.x86_64 I system-user-pulse-16.1-4.2.noarch Y pulseaudio-utils-32bit-16.1-4.2.x86_64 SK pulseaudio-zsh-completion-16.1-4.2.x86_64 I libpulse-devel-16.1-4.2.x86_64 Y libpulse0-16.1-4.2.x86_64 * NOTE: It installed 11 other pkgs too Y pulseaudio-setup-16.1-4.2.x86_64 I pulseaudio-bash-completion-16.1-4.2.x86_64 NI alsa-plugins-pulse-1.2.7.1-173.0.x86_64 * NOTE: Cannot be installed because it conflicts with pipewire-alsa which is already installed Y libpulse-mainloop-glib0-16.1-4.2.x86_64 Y libpulse0-32bit-16.1-4.2.x86_64 With these files, just do this; $ systemctl --user daemon-reload $ systemctl --user start pipewire pipewire-pulse pipewire-media MN: In the above, pipewire-media module can be replaced with wireplumber module. JS: The libwireplumber-0_4-0, wireplumber, and wireplumber-audio packages are ALREADY installed After logging into the user via RDP I verified that the 3 services are started systemctl --user status pipewire pipewire-pulse wireplumber ALL 3 services are running Checking the Audio Volume reports "No output or input devices found" for the xrdp session. If that user logs in locally then sound works fine so the issue is just with pipewire and sound redirection for xrdp. Here is the discussion that I have been following about pipewire and xrdp from the upstream website for xrdp https://github.com/neutrinolabs/xrdp/discussions/2023 Both Matt and Hiero32 seem to be key people with regard to xrdp and getting it to work with pipewire. This link talks about early testing for pipewire sound redirection for xrdp http://c-nergy.be/blog/?p=18772 This link talks about the new pipewire-module-xrdp which was created to allow xrdp to generate sound on a pipewire based system and the one I was asking to be added to Tumbleweed. https://github.com/neutrinolabs/pipewire-module-xrdp Maybe you could join that discussion to explain what you sent to me ? Thanks, Joe