pipewire does not create nodes from pipewire.conf
- PipeWire version (
pipewire --version
): 0.3.40 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Fedora 35 - Desktop Environment: Gnome
- Kernel version (
uname -r
): 5.15.12-200.fc35.x86_64
Description of Problem:
I'm trying to create a single-node virtual device as described in https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Virtual-Devices
I can easy do it with pw-cli
pw-cli create-node adapter '{ factory.name=support.null-audio-sink node.name="virtual-mic" node.description="Virtual Microphone" media.class=Audio/Source/Virtual object.linger=true audio.position=[FL FR] }'
pw-cli ls Node returns:
...
id 64, type PipeWire:Interface:Node/3
factory.id = "18"
node.description = "Virtual Microphone"
node.name = "virtual-mic"
media.class = "Audio/Source/Virtual"
...
But I cann't force pipewire to create this device automatically upon restart. I have the entry in my ~/.config/pipewire/pipewire.conf
{ factory = adapter
args = {
factory.name = support.null-audio-sink
node.name = "virtual-mic"
node.description = "Virtual Microphone"
media.class = "Audio/Source/Virtual"
object.linger = true
audio.position = "FL,FR"
}
}
but it does'n work: after restarting pipewire there is no such node in pw-cli ls Node
output
How Reproducible:
Always
Steps to Reproduce:
- Copy /usr/share/pipewire/pipewire.conf to ~/.config/pipewire/pipewire.conf
- Add the folowing node in the
context.objects = [
:{ factory = adapter args = { factory.name = support.null-audio-sink node.name = "virtual-mic" node.description = "Virtual Microphone" media.class = "Audio/Source/Virtual" object.linger = true audio.position = "FL,FR" } }
- restart pipewire with
systemctl --user restart pipewire.socket
- Check the node existance with
pw-cli ls Node
Actual Results:
There is no node with the name "virtual-mic"
Expected Results:
a node with node.name = "virtual-mic"
Additional Info (as attachments):
[pw-dump.log](/uploads/4fd174adacdb252c9200185e34e09825/pw-dump.log)