Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broo.monitor doesn't get listed as an input device. Only "Broo" exists as an output. #15

Closed
s-liwka opened this issue Oct 1, 2023 · 11 comments
Labels
bug Something isn't working question Further information is requested stale This issue is stale with no follow-ups

Comments

@s-liwka
Copy link

s-liwka commented Oct 1, 2023

pactl list short sinks:

46	alsa_output.pci-0000_2a_00.1.hdmi-stereo.monitor	PipeWire	s32le 2ch 48000Hz	SUSPENDED
47	alsa_output.pci-0000_2a_00.6.analog-stereo.monitor	PipeWire	s32le 2ch 48000Hz	RUNNING
48	alsa_input.pci-0000_2a_00.6.analog-stereo	PipeWire	s32le 2ch 48000Hz	SUSPENDED
1422	Broo.monitor	PipeWire	float32le 2ch 48000Hz	RUNNING

pactl list short sinks

46	alsa_output.pci-0000_2a_00.1.hdmi-stereo	PipeWire	s32le 2ch 48000Hz	SUSPENDED
47	alsa_output.pci-0000_2a_00.6.analog-stereo	PipeWire	s32le 2ch 48000Hz	RUNNING
1422	Broo	PipeWire	float32le 2ch 48000Hz	RUNNING

In GNOME (Or any other app) i cannot see Broo being listed as an input device. The output device works as an input device, but i am unable to use it in most apps (eg Discord) since its not listed as input
image

@s-liwka
Copy link
Author

s-liwka commented Oct 1, 2023

pactl load-module module-remap-source master=Broo source_name=Phone_Mic source_properties=device.description=PhoneMic

Solution for anyone with the same problem

@siddhpant
Copy link
Owner

First, please mention your OS, Piepwire/PulseAudio version, etc.

In GNOME (Or any other app) i cannot see Broo being listed as an input device.

GNOME settings is not listing the Monitor input, as for some reason it does not list the Monitor inputs and only lists the explicit input nodes.

The output device works as an input device, but i am unable to use it in most apps (eg Discord) since its not listed as input

image

@siddhpant siddhpant added invalid This doesn't seem right and removed invalid This doesn't seem right labels Oct 2, 2023
@s-liwka
Copy link
Author

s-liwka commented Oct 6, 2023

OS: Arch Linux
Pipewire: Compiled with libpipewire 0.3.80 Linked with libpipewire 0.3.80

lmk if i need to provide more information

image

@siddhpant
Copy link
Owner

siddhpant commented Oct 6, 2023

Weird, I have the same Pipewire version on Debian Testing. There have been other Arch users too.

Can you check your packages? I have something like:

$ dpkg -l | grep pipewire | grep ii
ii  gstreamer1.0-pipewire:amd64             0.3.80-2                              amd64        GStreamer 1.0 plugin for the PipeWire multimedia server
ii  libpipewire-0.3-0:amd64                 0.3.80-2                              amd64        libraries for the PipeWire multimedia server
ii  libpipewire-0.3-common                  0.3.80-2                              all          libraries for the PipeWire multimedia server - common files
ii  libpipewire-0.3-modules:amd64           0.3.80-2                              amd64        libraries for the PipeWire multimedia server - modules
ii  pipewire:amd64                          0.3.80-2                              amd64        audio and video processing engine multimedia server
ii  pipewire-alsa:amd64                     0.3.80-2                              amd64        PipeWire ALSA plugin
ii  pipewire-audio                          0.3.80-2                              all          recommended set of PipeWire packages for a standard audio desktop use
ii  pipewire-bin                            0.3.80-2                              amd64        PipeWire multimedia server - programs
ii  pipewire-pulse                          0.3.80-2                              amd64        PipeWire PulseAudio daemon

@siddhpant siddhpant added the question Further information is requested label Oct 6, 2023
@s-liwka
Copy link
Author

s-liwka commented Oct 7, 2023

$ doas pacman -Q | grep pipewire
libpipewire 1:0.3.80-1
pipewire 1:0.3.80-1
pipewire-alsa 1:0.3.80-1
pipewire-audio 1:0.3.80-1
pipewire-jack 1:0.3.80-1
pipewire-pulse 1:0.3.80-1
qemu-audio-pipewire 8.1.1-2
$ doas pacman -Q | grep libpipewire
libpipewire 1:0.3.80-1

All my packages are up-to-date (atleast pacman claims so)

@siddhpant siddhpant added the bug Something isn't working label Oct 8, 2023
@siddhpant
Copy link
Owner

siddhpant commented Oct 20, 2023

Tbh this is sort of a known issue, but what you mentioned is weird/new, because Discord, Firefox, and most applications typically detects Monitor sources but for you it isn't. GNOME not showing it was expected (as I mentioned earlier)

I had tried using a duplex in pipewire, but reverted it due to unmuting problem (b2f25e0).

@AidanGCr
Copy link

AidanGCr commented Nov 22, 2023

Unfortunately facing the same issue in Fedora 39, in particular with Zoom. The noted command:

pactl load-module module-remap-source master=Broo source_name=Phone_Mic source_properties=device.description=PhoneMic

... did not work. I am however not having issues with other apps like Discord, Firefox, OBS, etc.

@siddhpant
Copy link
Owner

siddhpant commented Nov 23, 2023

@AidanGCr Yes, that's what I know and face as well. As mentioned earlier, Zoom et al probably don't recognize Monitor for some reason (bad programming with Linux as an afterthought).

You can use easyeffects for the time being if you don't want to bother with commands. Easyeffects creates a dedicated source and it works with Zoom. (Do see this comment in a pinned issue).

Actually using "duplex" with pipewire solves the issue with Zoom but it was unmuting automatically (see the linked commit). I think I should report to pipewire devs.

@siddhpant
Copy link
Owner

Hi, Pipewire has released v1, and after using duplex the sink is no longer automatically unmuting, so I reintroduced that commit. Using duplex makes a dedicated source which is visible to all applications like Zoom.

Please update and let me know.

@siddhpant
Copy link
Owner

siddhpant commented Dec 17, 2023

Though for some reason EasyEffects isn't working (as mentioned in the OG commit). If someone uses EasyEffects and knows its quirks, please let me know.

@siddhpant siddhpant added the stale This issue is stale with no follow-ups label Dec 24, 2023
@siddhpant
Copy link
Owner

Closing next week or later if no follow-ups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested stale This issue is stale with no follow-ups
Projects
None yet
Development

No branches or pull requests

3 participants