Kde plasma configuration no audio volume section

Hi! I have just change the audio system in my Manjaro Plasma OS.
I have followed the steps I found to replace PulseAudio with PipeWire.
I noticed the sound icon in the system tray disappeared.
I found a very easy solution installing plasma-pa.
This also solved the problem that there was no Sound section in the Plasma Configuration application.

Now the problem is that I don’t found the Audio section where there was many options. It had 3 tabs (Devices/Applications/Advanced).

I don’t have the problem some people talk about an audio empty section which the system populates selecting another and going back to it.

The exact option I’m looking for is Automatically switch all running streams when a new output becomes available … which I want to be disabled.

I guess I have to install some package but I don’t know which one.

Can anybody help?
(I’m sorry if my English is not good enough)
Thanks in advance!!

I hope this is useful …

pacman -Qs pulse

returns …

local/lib32-libcanberra 1:0.30+r2+gc0620e4-3
    A small and lightweight implementation of the XDG Sound Theme Specification (32-bit)
local/lib32-libpulse 17.0+r43+g3e2bb8a1e-1
    A featureful, general-purpose sound server (32-bit client libraries)
local/libcanberra 1:0.30+r2+gc0620e4-4
    A small and lightweight implementation of the XDG Sound Theme Specification
local/libpulse 17.0+r43+g3e2bb8a1e-1
    A featureful, general-purpose sound server (client library)
local/pipewire-pulse 1:1.2.7-1
    Low-latency audio/video router and processor - PulseAudio replacement
local/plasma-pa 6.2.4-1 (plasma)
    Plasma applet for audio volume management using PulseAudio
local/pulseaudio-qt 1.6.1-1
    Qt bindings for libpulse

Which steps? Please include those - was this from a standard installation? I remember installing with:

pacman -S manjaro-pipewire

some time ago.

I think plasma-pa should already be installed…

2 Likes

PulseAudio does not use module-switch-on-connect by default to automatically switch to new devices

PipeWire Wiki - Migrate PulseAudio - switch-on-connect

This module is only implemented for Pulseaudio compatibility, and is useful only when some applications try to manage the default sinks/sources themselves and interfere with PipeWire’s builtin default device switching.

PipeWire Wiki - Migrate PulseAudio - /etc/pulse/default.pa

Custom modules loaded in default.pa can be loaded in the context.exec section of pipewire-pulse.conf or an override in pipewire-pulse.d/. You can load module-switch-on-connect, for example like this:

context.exec = [
    { path = "pactl"  args = "load-module module-switch-on-connect" }
]

module-switch-on-connect is probably not loaded by default in PipeWire

To check loaded modules:

pactl list modules short

OP does not have manjaro-pipewire installed so plasma-pa was probably removed when OP installed PipeWire packages without using metapackage

2 Likes

First of all, thanks a lot for all your answers!

I have restored the system and started from scratch.

Steps …

sudo pacman -Rns manjaro-pulse
sudo pacman -Rns pulseaudio-bluetooth
sudo pacman -S manjaro-pipewire

I have answered “Y” to every question regarding conflicts and packages that needed to be removed.
I specifically removed pulseaudio-bluetooth because the installation of manjaro-pipewire returned “error” due to conflicts with this package.

You were right, plasma-pa is right there and I didn’t need to install it.

The command pactl list modules short doesn’t return the module witch-on-connect

With Dolphin I’ve gone to /usr/share/pipewire/
I have edited pipewire-pulse.conf
I have located the context.exec section
I have added the code to load-module … as you have said.

I have rebooted and checked …
Result:
With and without this line, the system ALWAYS automatically switch all running streams when a new output becomes available … and I don’t want that.

What can I do?
Thanks again for every answer.

1 Like

Can you set the default sink as you’d like?
pactl list sinks short
pactl get-default-sink
Set as required using
pactl set-default-sink NAME
Does that help with this situation?

2 Likes

Hi!
I’m afraid it didn’t help. Well, now I know how to select the default sink. Thanks :wink:

I’ll explain the exact problem …
My computer is connected to:

  1. TV
  2. Monitor with sound
  3. HiFi system through optical cable (S/PDIF IEC958)

The default sink is alsa_output.pci-0000_00_1f.3.iec958-stereo

Most of the time I’m listening to music on my HiFi system and the monitor is Off. Then, whenever I touch the mouse or the keyboard to do something else using the monitor, the audio stream automatically changes to the one in the Monitor and I have to select again the HiFi stream. This happens dozens of times per day. It is very annoying!

whenever I touch the mouse or the keyboard to do something else using the monitor, the audio stream automatically changes to the one in the Monitor

Please post more information about audio cards when audio is playing to Monitor speakers

pactl list cards

If set-default-sink is not working for this system, change the Profile for any unused card to Off so there is only one sink available for audio playback

1 Like

OK! I have selected HDMI/DisplayPort 2 (Monitor)
The result/answer to pactl list cards is …

Card #43
        Name: alsa_card.pci-0000_00_1f.3
        Driver: alsa
        Owner Module: n/a
        Properties:
                device.enum.api = "udev"
                device.api = "alsa"
                media.class = "Audio/Device"
                api.alsa.path = "hw:0"
                api.alsa.card = "0"
                api.alsa.card.name = "HDA Intel PCH"
                api.alsa.card.longname = "HDA Intel PCH at 0xa1230000 irq 154"
                device.plugged.usec = "5695379"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.subsystem = "sound"
                device.vendor.id = "0x8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "0xa348"
                device.product.name = "Cannon Lake PCH cAVS"
                device.form_factor = "internal"
                device.name = "alsa_card.pci-0000_00_1f.3"
                device.description = "Built-in Audio"
                device.nick = "HDA Intel PCH"
                device.icon_name = "audio-card-pci"
                api.alsa.use-acp = "true"
                api.acp.auto-profile = "false"
                api.acp.auto-port = "false"
                api.dbus.ReserveDevice1 = "Audio0"
                factory.id = "15"
                client.id = "32"
                object.id = "43"
                object.serial = "43"
                object.path = "alsa:acp:PCH"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xa1230000 irq 154"
                alsa.driver_name = "snd_hda_intel"
                alsa.mixer_name = "Realtek ALC1220"
                alsa.components = "HDA:10ec1168,10438723,00100101 HDA:8086280b,80860101,00100000"
                alsa.id = "PCH"
                device.string = "0"
        Profiles:
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
                output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: no)
                output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5965, available: yes)
                output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: yes)
                output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: yes)
                output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: yes)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: yes)
                output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
                output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
                output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
                output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
                output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
                output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
                output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
                output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
                output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
                output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
                output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
                output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: yes)
                output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: yes)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: yes)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: yes)
                output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
                output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
                output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: yes)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: yes)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 365, available: no)
                output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (sinks: 1, sources: 0, priority: 300, available: yes)
                input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
                pro-audio: Pro Audio (sinks: 5, sources: 2, priority: 1, available: yes)
        Active Profile: output:hdmi-surround-extra1
        Ports:
                analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, latency offset: 0 usec, availability group: Legacy 1, not available)
                        Properties:
                                port.type = "mic"
                                port.availability-group = "Legacy 1"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "0"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
                analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, latency offset: 0 usec, availability group: Legacy 2, not available)
                        Properties:
                                port.type = "mic"
                                port.availability-group = "Legacy 2"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "1"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
                analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 3, not available)
                        Properties:
                                port.type = "line"
                                port.availability-group = "Legacy 3"
                                card.profile.port = "2"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
                analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 4, not available)
                        Properties:
                                port.type = "line"
                                port.availability-group = "Legacy 4"
                                card.profile.port = "3"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 5, not available)
                        Properties:
                                port.type = "headphones"
                                port.availability-group = "Legacy 5"
                                device.icon_name = "audio-headphones"
                                card.profile.port = "4"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "spdif"
                                card.profile.port = "5"
                        Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo
                hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 6, available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 6"
                                device.icon_name = "video-display"
                                card.profile.port = "6"
                                device.product.name = "LG TV SSCR2"
                        Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo
                hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 7, available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 7"
                                device.icon_name = "video-display"
                                card.profile.port = "7"
                                device.product.name = "LG Ultra HD"
                        Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
                hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 8, not available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 8"
                                device.icon_name = "video-display"
                                card.profile.port = "8"
                        Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo

The active profile is reported as
Active Profile: output:hdmi-surround-extra1

Can you change it to the appropriate iec958 profile (for your optically-connected hi-fi system)?

1 Like

If the Active Profile is not following default-sink set by user it might be from a previous user setting or else wireplumber/pipewire is configured to change profile

I suggest change Active Profile to Off to clear any user settings to use HDMI output

pactl set-card-profile alsa_card.pci-0000_00_1f.3 off

and then change to correct profile for Digital Stereo (IEC958) Output

pactl set-card-profile alsa_card.pci-0000_00_1f.3 output:iec958-stereo
3 Likes

Thanks for your answer.
I can change it using a command and using the Sound icon in the System Tray.
All these commands respond as they should.
But I’m afraid these things don’t solve the problem.

SOLVED … but I’m afraid I don’t know exactly what was the solution because I have done a lot of things.
I have visited and read many, many pages talking about these kind of problems.

Maybe the solution was this …

sudo pacman -S wireplumber
systemctl --user --now enable wireplumber

I think this was the exact moment it was solved.

In any case I thank you all a lot.
I have learned a lot with all your answers.

Well done. I was surprised to read that wireplumber was not already installed and active on your machine.

1 Like

I’m afraid I’m still a Linux novice.
Learning every day as much as I can!
:slightly_smiling_face:

1 Like

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