No upmix 5.1 pipewire after config [solved]

Hi,
fresh install plasma desktop. After installation and configuration change (client, client-rc and pipewire-pulse) no upmix to 5.1. Several versions previously worked without a problem. I tried changing the configuration in both .config and /usr/share/pipewire (no configs in /etc/pipewire) - no effect.
configs:

stream.properties = {
#node.latency = 1024/48000
#node.autoconnect = true
#resample.quality = 4
#channelmix.normalize = false
channelmix.mix-lfe = true
channelmix.upmix = true
#channelmix.upmix-method = psd # none, simple
channelmix.lfe-cutoff = 140
#channelmix.fc-cutoff = 12000
#channelmix.rear-delay = 12.0
#channelmix.stereo-widen = 0.0
#channelmix.hilbert-taps = 0
#dither.noise = 0
}

aplay -L:

null
Discard all samples (playback) or generate zero samples (capture)
lavrate
Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
jack
JACK Audio Connection Kit
oss
Open Sound System
pipewire
PipeWire Sound Server
pulse
PulseAudio Sound Server
speex
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
default
Default ALSA Output (currently PipeWire Media Server)
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
hdmi:CARD=Generic,DEV=1
HD-Audio Generic, LG HDR 4K
HDMI Audio Output
hdmi:CARD=Generic,DEV=2
HD-Audio Generic, HDMI 2
HDMI Audio Output
usbstream:CARD=Generic
HD-Audio Generic
USB Stream Output
sysdefault:CARD=Generic_1
HD-Audio Generic, ALC1220 Analog
Default Audio Device
front:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC1220 Analog
Front output / input
surround21:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC1220 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC1220 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC1220 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC1220 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC1220 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC1220 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC1220 Digital
IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Generic_1
HD-Audio Generic
USB Stream Output

inxi -AxZ

Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
v: kernel bus-ID: 0a:00.1
Device-2: AMD Family 17h/19h HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel bus-ID: 0a:00.6
API: ALSA v: k6.2.10-arch1-1 status: kernel-api
Server-1: PipeWire v: 0.3.68 status: active

Speakertest -c 5.1 works fine. In plasma desktop set to 5.1 and in the test all speakers work.

In the 0.3.68 release note :::
Upmixing was disabled again by default. We now ship config files that
distros can install to enable upmixing again. (#3081)

There is a file ‘20-upmix.conf’ in the four directories with content like the following:
/usr/share/client.conf.avail/
/usr/share/client-rt.conf.avail/
/usr/share/pipewire.conf.avail/
/usr/share/pipewire-pulse.conf.avail/

Enables upmixing

stream.properties = {
channelmix.upmix = true
channelmix.upmix-method = psd # none, simple
channelmix.lfe-cutoff = 150
channelmix.fc-cutoff = 12000
channelmix.rear-delay = 12.0
}

I guess you can just insert to pipewire-pulse.conf.
You can also copy to ~/.config/pipewire/pipewire.conf.avail/20-upmix.conf and see if it is loaded automatically.

2 Likes

Thx! I overlooked those “avail” folders. After the indicated modifications, it started.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.