Hi, I'm hoping someone can help with this issue. Maybe one of you can point me in the right direction.
I am having an issue with pipewire immediately putting my mixer into a suspended state; see below:
Audio/Sync
Audio/Source
I know Alsa is good as I can play and record utilizing aplay.
The sound from this command comes out fine on the monitor speakers straight through the mixer.
Here is my
Problem: I cannot set the mixer as output or input in gnome. When pipewire identifies the nodes it immediately moves them to a suspended state:
I do have some pipewire configuration here it is:
Wireplumber does not seem to be the issue yet but here is some of the configuration just in case:
Operating System Info Below:
Starting with the OS information:
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
I am out of ideas on how to proceed; I hope someone here has experienced something similar and can point me in the right direction.
Best,
Alex
I am having an issue with pipewire immediately putting my mixer into a suspended state; see below:
Audio/Sync
Code:
pw-cli info 32
id: 32
permissions: rwxm-
type: PipeWire:Interface:Node/3
* input ports: 1/1
* output ports: 0/0
* state: "suspended"
* properties:
* factory.name = "api.alsa.pcm.sink"
* node.name = "soundcraft-sink"
* node.description = "Soundcraft Signature 12 MTK"
* device = "hw:4"
* node.autoconnect = "true"
* audio.channels = "12"
* audio.rate = "48000"
* audio.format = "S16LE"
* node.latency = "512/48000"
* factory.id = "10"
* clock.quantum-limit = "8192"
* device.api = "alsa"
* media.class = "Audio/Sink"
* node.driver = "true"
* object.id = "32"
* object.serial = "32"
* params: (4)
* 1 (Spa:Enum:ParamId:PropInfo) r-
* 2 (Spa:Enum:ParamId:Props) rw
* 7 (Spa:Enum:ParamId:IO) r-
* 16 (Spa:Enum:ParamId:ProcessLatency) rw
Code:
id: 34
permissions: rwxm-
type: PipeWire:Interface:Node/3
* input ports: 0/0
* output ports: 1/1
* state: "suspended"
* properties:
* factory.name = "api.alsa.pcm.source"
* node.name = "soundcraft-source"
* node.description = "Soundcraft Signature 12 MTK"
* device = "hw:4"
* node.autoconnect = "true"
* audio.channels = "14"
* audio.rate = "48000"
* audio.format = "S16LE"
* node.latency = "512/48000"
* factory.id = "10"
* clock.quantum-limit = "8192"
* device.api = "alsa"
* media.class = "Audio/Source"
* node.driver = "true"
* object.id = "34"
* object.serial = "34"
* params: (4)
* 1 (Spa:Enum:ParamId:PropInfo) r-
* 2 (Spa:Enum:ParamId:Props) rw
* 7 (Spa:Enum:ParamId:IO) r-
* 16 (Spa:Enum:ParamId:ProcessLatency) rw
I know Alsa is good as I can play and record utilizing aplay.
Code:
aplay -D plughw:4,0 ~/Downloads/test.wav
Here is my
[I]/etc/asound.conf
[/I] file if anyone is interested.
Code:
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "hw:4,0"
}
capture.pcm {
type plug
slave.pcm "hw:4,0"
}
}
ctl.!default {
type hw
card 4
}
pcm.dmixed {
type asym
playback.pcm {
type plug
slave.pcm "hw:4,0"
}
capture.pcm {
type plug
slave.pcm "hw:4,0"
}
}
pcm.dsnooped {
type dsnoop
ipc_key 312939
slave {
pcm "hw:4,0"
channels 14
period_time 0
period_size 1024
buffer_size 8192
rate 48000
}
bindings {
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
13 13
}
}
Problem: I cannot set the mixer as output or input in gnome. When pipewire identifies the nodes it immediately moves them to a suspended state:
Code:
[D][07157.778700] pw.global | [ global.c: 90 pw_global_new()] 0x5f4338663940: new PipeWire:Interface:Node 32
[D][07157.778712] pw.node | [ impl-node.c: 823 pw_impl_node_initialized()] 0x5f43386620d0 initialized
[D][07157.778716] pw.node | [ impl-node.c: 402 node_update_state()] 0x5f43386620d0: (soundcraft-sink) creating -> suspended ((null))
[I][07157.778719] pw.node | [ impl-node.c: 412 node_update_state()] (soundcraft-sink-32) creating -> suspended
[D][07157.778722] pw.global | [ global.c: 166 pw_global_register()] 0x5f4338663940: registered 32
[D][07157.778807] pw.context | [ context.c: 1425 pw_context_recalc_graph()] 0x5f43385d5110: keep rate:1/48000 restore:0 lock:0 resume:0 running:0 force:0 state:suspended
[D][07157.778812] pw.context | [ context.c: 1491 pw_context_recalc_graph()] 0x5f43385d5110: keep quantum:1024 restore:0 lock:0 resume:0 running:0 force:0 state:suspended
[D][07157.778815] pw.context | [ context.c: 1550 pw_context_recalc_graph()] 0x5f43385d5110: driver 0x5f433863d180 running:0 runnable:0 quantum:1024 rate:48000 (1024/48000)'Dummy-Driver'
[D][07157.778818] pw.node | [ impl-node.c: 2390 pw_impl_node_set_state()] 0x5f433863d180: set state (suspended) suspended -> suspended, active 1 pause_on_idle:1
[D][07157.778822] pw.node | [ impl-node.c: 437 suspend_node()] 0x5f433863d180: suspend node state:suspended
[D][07157.778807] pw.context | [ context.c: 1425 pw_context_recalc_graph()] 0x5f43385d5110: keep rate:1/48000 restore:0 lock:0 resume:0 running:0 force:0 state:suspended
[D][07157.778812] pw.context | [ context.c: 1491 pw_context_recalc_graph()] 0x5f43385d5110: keep quantum:1024 restore:0 lock:0 resume:0 running:0 force:0 state:suspended
[D][07157.778815] pw.context | [ context.c: 1550 pw_context_recalc_graph()] 0x5f43385d5110: driver 0x5f433863d180 running:0 runnable:0 quantum:1024 rate:48000 (1024/48000)'Dummy-Driver'
[D][07157.778818] pw.node | [ impl-node.c: 2390 pw_impl_node_set_state()] 0x5f433863d180: set state (suspended) suspended -> suspended, active 1 pause_on_idle:1
[D][07157.778822] pw.node | [ impl-node.c: 437 suspend_node()] 0x5f433863d180: suspend node state:suspended
[D][07157.779404] pw.context | [ context.c: 1425 pw_context_recalc_graph()] 0x5f43385d5110: keep rate:1/48000 restore:0 lock:0 resume:0 running:0 force:0 state:suspended
[D][07157.779408] pw.context | [ context.c: 1491 pw_context_recalc_graph()] 0x5f43385d5110: keep quantum:1024 restore:0 lock:0 resume:0 running:0 force:0 state:suspended
[D][07157.779411] pw.context | [ context.c: 1550 pw_context_recalc_graph()] 0x5f43385d5110: driver 0x5f433863d180 running:0 runnable:0 quantum:1024 rate:48000 (1024/48000)'Dummy-Driver'
[D][07157.779415] pw.node | [ impl-node.c: 2390 pw_impl_node_set_state()] 0x5f433863d180: set state (suspended) suspended -> suspended, active 1 pause_on_idle:1
[D][07157.779418] pw.node | [ impl-node.c: 437 suspend_node()] 0x5f433863d180: suspend node state:suspended
I do have some pipewire configuration here it is:
Code:
~/.config/pipewire$ tree
.
└── pipewire.conf.d
└── 90-soundcraft.conf
~/.config/pipewire$ cat pipewire.conf.d/90-soundcraft.conf
# ~/.config/pipewire/pipewire.conf.d/90-soundcraft.conf
context.objects = [
{ factory = spa-node-factory
args = {
factory.name = "api.alsa.pcm.sink"
node.name = "soundcraft-sink"
node.description = "Soundcraft Signature 12 MTK"
device = "hw:4"
node.autoconnect = true
audio.channels = 12
audio.rate = 48000
audio.format = "S16LE"
node.latency = 512/48000
}
},
{ factory = spa-node-factory
args = {
factory.name = "api.alsa.pcm.source"
node.name = "soundcraft-source"
node.description = "Soundcraft Signature 12 MTK"
device = "hw:4"
node.autoconnect = true
audio.channels = 14
audio.rate = 48000
audio.format = "S16LE"
node.latency = 512/48000
}
}
]
Wireplumber does not seem to be the issue yet but here is some of the configuration just in case:
Code:
~/.config/wireplumber$ tree
.
├── main.lua.d
├── scripts
└── wireplumber.conf.d
├── 51-disable-unwanted-nodes.conf
└── 51-enable-soundcraft.conf
3 directories, 3 files
~/.config/wireplumber$ cat main.lua.d/51-enable-soundcraft.lua
-- main.lua.d/51-enable-soundcraft.lua
rule = {
matches = {
{
{ "device.name", "matches", "alsa_card.usb-Soundcraft_Soundcraft_Signature_12_MTK-.*" },
},
},
apply_properties = {
["device.disabled"] = false,
},
}
table.insert(alsa_monitor.rules, rule)
~/.config/wireplumber$ cat wireplumber.conf.d/51-disable-unwanted-nodes.conf
monitor.rules = [
{
matches = [
{
{ "node.name", "equals", "Dummy-Driver" },
},
{
{ "node.name", "equals", "Freewheel-Driver" },
},
{
{ "node.description", "equals", "TU102 High Definition Audio Controller Digital Stereo (HDMI)" },
},
{
{ "node.description", "matches", ".*HDMI.*" },
},
{
{ "node.name", "equals", "Midi-Bridge" },
}
],
actions = {
{ "node.disabled", true },
},
}
]
Starting with the OS information:
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
I am out of ideas on how to proceed; I hope someone here has experienced something similar and can point me in the right direction.
Best,
Alex