You are not logged in.

#1 2023-02-22 19:12:50

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

[SOLVED]Audio output 2.1 but Plasma applet says 7.1

I have 2.1 speakers connected to the 3.5 mm jack output.

❯ 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
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
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA ATI HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA ATI HDMI, DELL S2721DS
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA ATI HDMI, HDMI 4
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
    HDA ATI HDMI, HDMI 5
    HDMI Audio Output
usbstream:CARD=HDMI
    HDA ATI HDMI
    USB Stream Output
default:CARD=ALC1220VBDT
    ALC1220-VB-DT, USB Audio
    Default Audio Device
sysdefault:CARD=ALC1220VBDT
    ALC1220-VB-DT, USB Audio
    Default Audio Device
front:CARD=ALC1220VBDT,DEV=0
    ALC1220-VB-DT, USB Audio
    Front output / input
surround21:CARD=ALC1220VBDT,DEV=0
    ALC1220-VB-DT, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround41:CARD=ALC1220VBDT,DEV=0
    ALC1220-VB-DT, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=ALC1220VBDT,DEV=0
    ALC1220-VB-DT, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround71:CARD=ALC1220VBDT,DEV=0
    ALC1220-VB-DT, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=ALC1220VBDT,DEV=0
    ALC1220-VB-DT, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
iec958:CARD=ALC1220VBDT,DEV=1
    ALC1220-VB-DT, USB Audio #1
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=ALC1220VBDT
    ALC1220-VB-DT
    USB Stream Output

The first thing that strikes me is that the audio jack output is identified as USB:
https://i.imgur.com/6YYqU5z.png

The second thing is that it maps it as 7.1 channels when it is really 2.1:
https://i.imgur.com/VTTjTn2.png

This causes that if an audio has more than 2 channels I do not hear them all.

Last edited by j1simon (2023-02-24 14:40:54)

Offline

#2 2023-02-22 20:22:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,420

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

Please don't embed huge images directly.  https://wiki.archlinux.org/title/Genera … s_and_code

Welcome to alsa-ucm-conf where every logical profile that exists that would set this up properly isn't valid anymore.

You need to either create a manual remap sink or tell pipewire/pulseaudio to not use ucm but traditional ALSA configs. See https://wiki.archlinux.org/title/PipeWi … y_PipeWire (i know this is talking about a microphone, for the logical principle of what we want to test this doesn't matter, set the ucm-profile to false and acp to true) for either wireplumber or pipewire-media-session or https://wiki.archlinux.org/title/PulseA … %22HiFi%22 if you are using pulse

If you want to opt for a remap sink instead you need to remap the 7.1 output to a 2.1, see https://wiki.archlinux.org/title/PulseA … to_5.1+2.0 for pointers, the relevant module exists for pipewire as well so the configuration on it's own will be identical.

Last edited by V1del (2023-02-22 20:27:43)

Online

#3 2023-02-23 08:42:10

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.13-xanmod1-1 (64-bit)
Graphics Platform: Wayland
Processors: 64 × AMD Ryzen Threadripper 3970X 32-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series
Manufacturer: ASUS

I was using Pulseaudio but have switched to Pipeware to try to correct this. I have installed "wireplumber", "pipewire-alsa" and "pipewire-pulse".
The link about Pipeware to try to correct this I think is not well written because it assumes that this file/folders exist and it is not my case.
I created it and it looks like this:

❯ cat /etc/wireplumber/main.lua.d/50-alsa-config.lua
alsa_monitor.rules = {
        apply_properties = {
            -- Use ALSA-Card-Profile devices. They use UCM or the profile
            -- configuration to configure the device and mixer settings.
            ["api.alsa.use-acp"] = true,
 
            -- Use UCM instead of profile when available. Can be
            -- disabled to skip trying to use the UCM profile.
            ["api.alsa.use-ucm"] = false
        }
}

After doing this, the problem becomes worse: https://i.imgur.com/wsmiGZ9.png

Both audio outputs (the graphic card HDMI output and the one integrated on the motherboard) are set as "non-active cards". And although I have switched the "USB Audio" output to "On", the USB playback devices it shows are all set to Off and it won't let me activate any of them.

I post the journal output because there are quite a few errors:

❯ journalctl -b --user --unit wireplumber
feb 23 09:17:47 juan-PC wireplumber[2715]: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
feb 23 09:17:47 juan-PC wireplumber[2715]: found session bus but no portal
feb 23 09:17:47 juan-PC wireplumber[2715]: Failed to set scheduler settings: Operación no permitida
feb 23 09:17:47 juan-PC wireplumber[2715]: [0:00:15.845276154] [2715]  INFO Camera camera_manager.cpp:299 libcamera v0.0.4
feb 23 09:17:47 juan-PC wireplumber[2715]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner

❯ journalctl -b --user --unit pipewire
feb 23 09:17:47 juan-PC pipewire[2714]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
feb 23 09:17:47 juan-PC pipewire[2714]: mod.rt: found session bus but no portal
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:17:47 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:17:49 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:17:49 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:17:49 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:17:49 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:17:49 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:17:49 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:17:49 juan-PC pipewire[2714]: spa.alsa: Broken configuration: no configurations available: Argumento inválido
feb 23 09:17:49 juan-PC pipewire[2714]: spa.alsa: Broken configuration: no configurations available: Argumento inválido
feb 23 09:17:49 juan-PC pipewire[2714]: spa.alsa: Broken configuration for playback: no configurations available: Argumento inválido
feb 23 09:17:49 juan-PC pipewire[2714]: pw.node: (alsa_output.usb-Generic_USB_Audio-00.playback.3.0-44) suspended -> error (Start error: Argumento inválido)
feb 23 09:18:03 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:03 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:03 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:03 juan-PC pipewire[2714]: spa.alsa: Broken configuration: no configurations available: Argumento inválido
feb 23 09:18:03 juan-PC pipewire[2714]: spa.alsa: Broken configuration: no configurations available: Argumento inválido
feb 23 09:18:03 juan-PC pipewire[2714]: spa.alsa: Broken configuration for playback: no configurations available: Argumento inválido
feb 23 09:18:03 juan-PC pipewire[2714]: pw.node: (alsa_output.usb-Generic_USB_Audio-00.playback.3.0-44) suspended -> error (Start error: Argumento inválido)
feb 23 09:18:03 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:03 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:03 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:12 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:18 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:28 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:32 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:36 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:46 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:18:50 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:19:00 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:28:36 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:28:36 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:28:36 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:28:36 juan-PC pipewire[2714]: spa.alsa: Broken configuration: no configurations available: Argumento inválido
feb 23 09:28:36 juan-PC pipewire[2714]: spa.alsa: Broken configuration: no configurations available: Argumento inválido
feb 23 09:28:36 juan-PC pipewire[2714]: spa.alsa: Broken configuration for playback: no configurations available: Argumento inválido
feb 23 09:28:36 juan-PC pipewire[2714]: pw.node: (alsa_output.usb-Generic_USB_Audio-00.playback.3.0-68) suspended -> error (Start error: Argumento inválido)
feb 23 09:28:36 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:28:36 juan-PC pipewire[2714]: spa.alsa: Broken configuration: no configurations available: Argumento inválido
feb 23 09:28:36 juan-PC pipewire[2714]: spa.alsa: Broken configuration: no configurations available: Argumento inválido
feb 23 09:28:36 juan-PC pipewire[2714]: spa.alsa: Broken configuration for playback: no configurations available: Argumento inválido
feb 23 09:28:37 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:28:37 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:28:37 juan-PC pipewire[2714]: spa.alsa: Broken configuration: no configurations available: Argumento inválido
feb 23 09:28:37 juan-PC pipewire[2714]: spa.alsa: Broken configuration: no configurations available: Argumento inválido
feb 23 09:28:37 juan-PC pipewire[2714]: spa.alsa: Broken configuration for playback: no configurations available: Argumento inválido
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:29:47 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 8)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,0: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,2: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:29:49 juan-PC pipewire[2714]: spa.alsa: hw:1,3: Channels doesn't match (requested 64, got 2)
feb 23 09:30:45 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)
feb 23 09:32:51 juan-PC pipewire[2714]: spa.alsa: hw:1,1: Channels doesn't match (requested 64, got 2)

Offline

#4 2023-02-23 08:55:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,420

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

The warnings on their own should be harmless. What do you get from

amixer -c0
pactl list cards
pactl list sinks

now? It's possible that there aren't any valid ACP profiles for the chipset which would mandate to either write one or stick to UCM and do a remap sink instead.

Last edited by V1del (2023-02-23 08:56:28)

Online

#5 2023-02-23 09:53:22

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

❯ amixer -c0
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',4
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',5
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
❯ pactl list cards
Card #36
	Name: alsa_card.pci-0000_01_00.1
	Driver: alsa:pcm
	Owner Module: n/a
	Properties:
		api.alsa.card = "0"
		api.alsa.card.longname = "HDA ATI HDMI at 0xe6160000 irq 274"
		api.alsa.card.name = "HDA ATI HDMI"
		api.alsa.path = "hw:0"
		device.api = "alsa:pcm"
		device.bus = "pci"
		device.bus_path = "pci-0000:01:00.1"
		device.description = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_01_00.1"
		device.nick = "HDA ATI HDMI"
		device.plugged.usec = "5544785"
		device.product.id = "0xaaf0"
		device.product.name = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "33"
		object.id = "36"
		object.serial = "36"
		object.path = "alsa:pcm:HDMI"
		api.alsa.card.id = "HDMI"
		api.alsa.card.components = "HDA:1002aa01,00aa0100,00100700"
		api.alsa.card.driver = "HDA-Intel"
		api.alsa.card.mixername = "ATI R6xx HDMI"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		on: On (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: off

Card #37
	Name: alsa_card.usb-Generic_USB_Audio-00
	Driver: alsa:pcm
	Owner Module: n/a
	Properties:
		api.alsa.card = "1"
		api.alsa.card.longname = "Realtek-ALC1220-VB-Desktop"
		api.alsa.card.name = "ALC1220-VB-DT"
		api.alsa.path = "hw:1"
		device.api = "alsa:pcm"
		device.bus = "usb"
		device.bus-id = "usb-Generic_USB_Audio-00"
		device.bus_path = "pci-0000:45:00.1-usb-0:6:1.0"
		device.description = "USB Audio"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_USB_Audio-00"
		device.nick = "ALC1220-VB-DT"
		device.plugged.usec = "9969780"
		device.product.id = "0x1918"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:45:00.1/usb7/7-6/7-6:1.0/sound/card1"
		device.vendor.id = "0x0b05"
		device.vendor.name = "ASUSTek Computer, Inc."
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "33"
		object.id = "37"
		object.serial = "37"
		object.path = "alsa:pcm:ALC1220VBDT"
		api.alsa.card.id = "ALC1220VBDT"
		api.alsa.card.components = "USB0b05:1918"
		api.alsa.card.driver = "USB-Audio"
		api.alsa.card.mixername = "USB Mixer"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		on: On (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: off
❯ pactl list sinks
Sink #704
	State: SUSPENDED
	Name: alsa_output.usb-Generic_USB_Audio-00.playback.0.0
	Description: USB Audio
	Driver: PipeWire
	Sample Specification: s32le 8ch 48000Hz
	Channel Map: aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7
	Owner Module: 4294967295
	Mute: no
	Volume: aux0: 65536 / 100% / 0,00 dB,   aux1: 65536 / 100% / 0,00 dB,   aux2: 65536 / 100% / 0,00 dB,   aux3: 65536 / 100% / 0,00 dB,   aux4: 65536 / 100% / 0,00 dB,   aux5: 65536 / 100% / 0,00 dB,   aux6: 65536 / 100% / 0,00 dB,   aux7: 65536 / 100% / 0,00 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.playback.0.0.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		api.alsa.card.components = "USB0b05:1918"
		api.alsa.card.driver = "USB-Audio"
		api.alsa.card.id = "ALC1220VBDT"
		api.alsa.card.longname = "Realtek-ALC1220-VB-Desktop"
		api.alsa.card.mixername = "USB Mixer"
		api.alsa.card.name = "ALC1220-VB-DT"
		api.alsa.path = "hw:1,0"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.class = "generic"
		api.alsa.pcm.device = "0"
		api.alsa.pcm.id = "USB Audio"
		api.alsa.pcm.name = "USB Audio"
		api.alsa.pcm.stream = "playback"
		api.alsa.pcm.subclass = "generic-mix"
		api.alsa.pcm.subdevice = "0"
		api.alsa.pcm.subname = "subdevice #0"
		api.alsa.pcm.sync-id = "00000000:00000000:00000000:00000000"
		audio.channels = "64"
		device.id = "37"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "USB Audio"
		node.name = "alsa_output.usb-Generic_USB_Audio-00.playback.0.0"
		node.nick = "ALC1220-VB-DT"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:ALC1220VBDT:0:playback"
		priority.driver = "1000"
		priority.session = "1000"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		device.api = "alsa"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "73"
		object.serial = "704"
		api.alsa.card = "1"
		device.bus = "usb"
		device.bus-id = "usb-Generic_USB_Audio-00"
		device.bus_path = "pci-0000:45:00.1-usb-0:6:1.0"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_USB_Audio-00"
		device.nick = "ALC1220-VB-DT"
		device.plugged.usec = "9969780"
		device.product.id = "0x1918"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:45:00.1/usb7/7-6/7-6:1.0/sound/card1"
		device.vendor.id = "0x0b05"
		device.vendor.name = "ASUSTek Computer, Inc."
	Formats:
		pcm

Sink #706
	State: SUSPENDED
	Name: alsa_output.usb-Generic_USB_Audio-00.playback.1.0
	Description: USB Audio (USB Audio #1)
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: aux0,aux1
	Owner Module: 4294967295
	Mute: no
	Volume: aux0: 62259 /  95% / -1,34 dB,   aux1: 62259 /  95% / -1,34 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.playback.1.0.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		api.alsa.card.components = "USB0b05:1918"
		api.alsa.card.driver = "USB-Audio"
		api.alsa.card.id = "ALC1220VBDT"
		api.alsa.card.longname = "Realtek-ALC1220-VB-Desktop"
		api.alsa.card.mixername = "USB Mixer"
		api.alsa.card.name = "ALC1220-VB-DT"
		api.alsa.path = "hw:1,1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.class = "generic"
		api.alsa.pcm.device = "1"
		api.alsa.pcm.id = "USB Audio"
		api.alsa.pcm.name = "USB Audio #1"
		api.alsa.pcm.stream = "playback"
		api.alsa.pcm.subclass = "generic-mix"
		api.alsa.pcm.subdevice = "0"
		api.alsa.pcm.subname = "subdevice #0"
		api.alsa.pcm.sync-id = "00000000:00000000:00000000:00000000"
		audio.channels = "64"
		device.id = "37"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "USB Audio"
		node.name = "alsa_output.usb-Generic_USB_Audio-00.playback.1.0"
		node.nick = "USB Audio #1"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:ALC1220VBDT:1:playback"
		priority.driver = "728"
		priority.session = "728"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		device.api = "alsa"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "45"
		object.serial = "706"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "512"
		api.alsa.period-num = "64"
		api.alsa.headroom = "512"
		api.alsa.card = "1"
		device.bus = "usb"
		device.bus-id = "usb-Generic_USB_Audio-00"
		device.bus_path = "pci-0000:45:00.1-usb-0:6:1.0"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_USB_Audio-00"
		device.nick = "ALC1220-VB-DT"
		device.plugged.usec = "9969780"
		device.product.id = "0x1918"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:45:00.1/usb7/7-6/7-6:1.0/sound/card1"
		device.vendor.id = "0x0b05"
		device.vendor.name = "ASUSTek Computer, Inc."
	Formats:
		pcm

Sink #708
	State: SUSPENDED
	Name: alsa_output.usb-Generic_USB_Audio-00.playback.2.0
	Description: USB Audio (USB Audio #2)
	Driver: PipeWire
	Sample Specification: s24le 2ch 48000Hz
	Channel Map: aux0,aux1
	Owner Module: 4294967295
	Mute: no
	Volume: aux0: 65536 / 100% / 0,00 dB,   aux1: 65536 / 100% / 0,00 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.playback.2.0.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		api.alsa.card.components = "USB0b05:1918"
		api.alsa.card.driver = "USB-Audio"
		api.alsa.card.id = "ALC1220VBDT"
		api.alsa.card.longname = "Realtek-ALC1220-VB-Desktop"
		api.alsa.card.mixername = "USB Mixer"
		api.alsa.card.name = "ALC1220-VB-DT"
		api.alsa.path = "hw:1,2"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.class = "generic"
		api.alsa.pcm.device = "2"
		api.alsa.pcm.id = "USB Audio"
		api.alsa.pcm.name = "USB Audio #2"
		api.alsa.pcm.stream = "playback"
		api.alsa.pcm.subclass = "generic-mix"
		api.alsa.pcm.subdevice = "0"
		api.alsa.pcm.subname = "subdevice #0"
		api.alsa.pcm.sync-id = "00000000:00000000:00000000:00000000"
		audio.channels = "64"
		device.id = "37"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "USB Audio"
		node.name = "alsa_output.usb-Generic_USB_Audio-00.playback.2.0"
		node.nick = "USB Audio #2"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:ALC1220VBDT:2:playback"
		priority.driver = "712"
		priority.session = "712"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		device.api = "alsa"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "57"
		object.serial = "708"
		api.alsa.card = "1"
		device.bus = "usb"
		device.bus-id = "usb-Generic_USB_Audio-00"
		device.bus_path = "pci-0000:45:00.1-usb-0:6:1.0"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_USB_Audio-00"
		device.nick = "ALC1220-VB-DT"
		device.plugged.usec = "9969780"
		device.product.id = "0x1918"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:45:00.1/usb7/7-6/7-6:1.0/sound/card1"
		device.vendor.id = "0x0b05"
		device.vendor.name = "ASUSTek Computer, Inc."
	Formats:
		pcm

Sink #710
	State: SUSPENDED
	Name: alsa_output.usb-Generic_USB_Audio-00.playback.3.0
	Description: USB Audio (USB Audio #3)
	Driver: PipeWire
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: aux0,aux1
	Owner Module: 4294967295
	Mute: no
	Volume: aux0: 0 /   0% / -inf dB,   aux1: 0 /   0% / -inf dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.playback.3.0.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		api.alsa.card.components = "USB0b05:1918"
		api.alsa.card.driver = "USB-Audio"
		api.alsa.card.id = "ALC1220VBDT"
		api.alsa.card.longname = "Realtek-ALC1220-VB-Desktop"
		api.alsa.card.mixername = "USB Mixer"
		api.alsa.card.name = "ALC1220-VB-DT"
		api.alsa.path = "hw:1,3"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.class = "generic"
		api.alsa.pcm.device = "3"
		api.alsa.pcm.id = "USB Audio"
		api.alsa.pcm.name = "USB Audio #3"
		api.alsa.pcm.stream = "playback"
		api.alsa.pcm.subclass = "generic-mix"
		api.alsa.pcm.subdevice = "0"
		api.alsa.pcm.subname = "subdevice #0"
		api.alsa.pcm.sync-id = "00000000:00000000:00000000:00000000"
		audio.channels = "64"
		device.id = "37"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "USB Audio"
		node.name = "alsa_output.usb-Generic_USB_Audio-00.playback.3.0"
		node.nick = "USB Audio #3"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:ALC1220VBDT:3:playback"
		priority.driver = "696"
		priority.session = "696"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		device.api = "alsa"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "69"
		object.serial = "710"
		api.alsa.card = "1"
		device.bus = "usb"
		device.bus-id = "usb-Generic_USB_Audio-00"
		device.bus_path = "pci-0000:45:00.1-usb-0:6:1.0"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_USB_Audio-00"
		device.nick = "ALC1220-VB-DT"
		device.plugged.usec = "9969780"
		device.product.id = "0x1918"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:45:00.1/usb7/7-6/7-6:1.0/sound/card1"
		device.vendor.id = "0x0b05"
		device.vendor.name = "ASUSTek Computer, Inc."
	Formats:
		pcm

Offline

#6 2023-02-23 11:08:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,420

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

On the off chance this sheds more light, proper amixer command in this case would be

amixer -c1

However that's looks quite broken indeed. In that case I suggest you remove the file/revert to UCM again and go with a remap sink that enforces 2.1, should be something like

pactl load-module module-remap-sink sink_name=Stereo sink_properties="device.description='Stereo'" remix=yes master=alsa_output.usb-Generic_USB_Audio-00.playback.0.0 channels=3 master_channel_map=front-left,front-right,lfe channel_map=front-left,front-right,lfe

note that the name of the master channel will likely change should you revert to UCM config and you need to use the updated name. That will give you a sink that enforces 2.1. If you do not hear anything with that, chances are actually the side or rear channels are actually attached to your card, in which case you need to change the master_channel_map to side-left,side-right,lfe or rear-left,rear-right,lfe respectively

Online

#7 2023-02-23 12:41:48

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

I have reverted the "wireplumber fix" and this is the output now:

❯ pactl list cards
Card #43
	Name: alsa_card.pci-0000_01_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HDA ATI HDMI at 0xe6160000 irq 274"
		api.alsa.card.name = "HDA ATI HDMI"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:01:00.1"
		device.description = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_01_00.1"
		device.nick = "HDA ATI HDMI"
		device.plugged.usec = "5517456"
		device.product.id = "0xaaf0"
		device.product.name = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "33"
		object.id = "43"
		object.serial = "43"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xe6160000 irq 274"
		alsa.driver_name = "snd_hda_intel"
		device.string = "0"
	Profiles:
		off: Apagado (sinks: 0, sources: 0, priority: 0, available: yes)
		output:hdmi-stereo: Salida Estéreo digital (HDMI) (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-stereo-extra1: Salida Digital Stereo (HDMI 2) (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2: Salida Digital Stereo (HDMI 3) (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra3: Salida Digital Stereo (HDMI 4) (sinks: 1, sources: 0, priority: 5700, available: yes)
		output:hdmi-stereo-extra4: Salida Digital Stereo (HDMI 5) (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra5: Salida Digital Stereo (HDMI 6) (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround: Salida Envolvente digital 5.1 (HDMI) (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71: Salida Digital Surround 7.1 (HDMI) (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround-extra1: Salida Digital Surround 5.1 (HDMI 2) (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra1: Salida Digital Surround 7.1 (HDMI 2) (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra2: Salida Digital Surround 5.1 (HDMI 3) (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2: Salida Digital Surround 7.1 (HDMI 3) (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra4: Salida Digital Surround 5.1 (HDMI 5) (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4: Salida Digital Surround 7.1 (HDMI 5) (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra5: Salida Digital Surround 5.1 (HDMI 6) (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra5: Salida Digital Surround 7.1 (HDMI 6) (sinks: 1, sources: 0, priority: 600, available: no)
		pro-audio: Pro Audio (sinks: 6, sources: 0, priority: 1, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 1"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 2"
				device.icon_name = "video-display"
				card.profile.port = "1"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 4, available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 4"
				device.icon_name = "video-display"
				card.profile.port = "3"
				device.product.name = "DELL S2721DS"
			Part of profile(s): output:hdmi-stereo-extra3
		hdmi-output-4: HDMI / DisplayPort 5 (type: HDMI, priority: 5500, latency offset: 0 usec, availability group: Legacy 5, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 5"
				device.icon_name = "video-display"
				card.profile.port = "4"
			Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-surround-extra4, output:hdmi-surround71-extra4
		hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, latency offset: 0 usec, availability group: Legacy 6, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 6"
				device.icon_name = "video-display"
				card.profile.port = "5"
			Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5

Card #44
	Name: alsa_card.usb-Generic_USB_Audio-00
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "Realtek-ALC1220-VB-Desktop"
		api.alsa.card.name = "ALC1220-VB-DT"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.api = "alsa"
		device.bus = "usb"
		device.bus-id = "usb-Generic_USB_Audio-00"
		device.bus_path = "pci-0000:45:00.1-usb-0:6:1.0"
		device.description = "USB Audio"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_USB_Audio-00"
		device.nick = "ALC1220-VB-DT"
		device.plugged.usec = "9967255"
		device.product.id = "0x1918"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:45:00.1/usb7/7-6/7-6:1.0/sound/card1"
		device.vendor.id = "0x0b05"
		device.vendor.name = "ASUSTek Computer, Inc."
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "33"
		object.id = "44"
		object.serial = "44"
		object.path = "alsa:pcm:1"
		alsa.card = "1"
		alsa.card_name = "ALC1220-VB-DT"
		alsa.long_card_name = "Realtek-ALC1220-VB-Desktop"
		alsa.driver_name = "snd_usb_audio"
		device.string = "1"
	Profiles:
		off: Apagado (sinks: 0, sources: 0, priority: 0, available: yes)
		HiFi: Default Alsa Profile (sinks: 3, sources: 3, priority: 8000, available: yes)
		pro-audio: Pro Audio (sinks: 4, sources: 3, priority: 1, available: yes)
	Active Profile: HiFi
	Ports:
		[Out] SPDIF: S/PDIF Out (type: SPDIF, priority: 100, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "spdif"
				card.profile.port = "0"
			Part of profile(s): HiFi
		[Out] Headphones: Front Headphones (type: Headphones, priority: 300, latency offset: 0 usec, availability group: Front Headphone, availability unknown)
			Properties:
				port.type = "headphones"
				port.availability-group = "Front Headphone"
				card.profile.port = "1"
			Part of profile(s): HiFi
		[Out] Speaker: Speakers (type: Speaker, priority: 200, latency offset: 0 usec, availability group: Speaker, availability unknown)
			Properties:
				port.type = "speaker"
				port.availability-group = "Speaker"
				card.profile.port = "2"
			Part of profile(s): HiFi
		[In] Mic2: Front Microphone (type: Mic, priority: 300, latency offset: 0 usec, availability group: Front Mic, availability unknown)
			Properties:
				port.type = "mic"
				port.availability-group = "Front Mic"
				card.profile.port = "3"
			Part of profile(s): HiFi
		[In] Mic1: Microphone (type: Mic, priority: 200, latency offset: 0 usec, availability group: Mic, availability unknown)
			Properties:
				port.type = "mic"
				port.availability-group = "Mic"
				card.profile.port = "4"
			Part of profile(s): HiFi
		[In] Line: Line In (type: Line, priority: 100, latency offset: 0 usec, availability group: Line, availability unknown)
			Properties:
				port.type = "line"
				port.availability-group = "Line"
				card.profile.port = "5"
			Part of profile(s): HiFi
❯ pactl list sinks
Sink #45
	State: SUSPENDED
	Name: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT_2__sink
	Description: USB Audio S/PDIF Out
	Driver: PipeWire
	Sample Specification: s24le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 26214 /  40% / -23,88 dB,   front-right: 26214 /  40% / -23,88 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT_2__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "ALC1220-VB-DT"
		alsa.class = "generic"
		alsa.device = "2"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "Realtek-ALC1220-VB-Desktop"
		alsa.mixer_device = "_ucm0003.hw:ALC1220VBDT"
		alsa.name = "USB Audio #2"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "Realtek-ALC1220-VB-Desktop"
		api.alsa.card.name = "ALC1220-VB-DT"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:ALC1220VBDT,2"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "0"
		device.api = "alsa"
		device.class = "sound"
		device.id = "44"
		device.profile.description = "S/PDIF Out"
		device.profile.name = "HiFi: hw:ALC1220VBDT,2: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "USB Audio"
		node.name = "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT_2__sink"
		node.nick = "USB Audio #2"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:hw:ALC1220VBDT,2:playback"
		priority.driver = "712"
		priority.session = "712"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "45"
		object.serial = "45"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "512"
		api.alsa.period-num = "64"
		api.alsa.headroom = "512"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.bus = "usb"
		device.bus-id = "usb-Generic_USB_Audio-00"
		device.bus_path = "pci-0000:45:00.1-usb-0:6:1.0"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_USB_Audio-00"
		device.nick = "ALC1220-VB-DT"
		device.plugged.usec = "9967255"
		device.product.id = "0x1918"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:45:00.1/usb7/7-6/7-6:1.0/sound/card1"
		device.vendor.id = "0x0b05"
		device.vendor.name = "ASUSTek Computer, Inc."
		device.string = "1"
	Ports:
		[Out] SPDIF: S/PDIF Out (type: SPDIF, priority: 100, availability unknown)
	Active Port: [Out] SPDIF
	Formats:
		pcm

Sink #46
	State: SUSPENDED
	Name: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT_1__sink
	Description: USB Audio Front Headphones
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 26214 /  40% / -23,88 dB,   front-right: 26214 /  40% / -23,88 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT_1__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "ALC1220-VB-DT"
		alsa.class = "generic"
		alsa.device = "1"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "Realtek-ALC1220-VB-Desktop"
		alsa.mixer_device = "_ucm0003.hw:ALC1220VBDT"
		alsa.name = "USB Audio #1"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "Realtek-ALC1220-VB-Desktop"
		api.alsa.card.name = "ALC1220-VB-DT"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:ALC1220VBDT,1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "1"
		device.api = "alsa"
		device.class = "sound"
		device.id = "44"
		device.profile.description = "Front Headphones"
		device.profile.name = "HiFi: hw:ALC1220VBDT,1: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "USB Audio"
		node.name = "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT_1__sink"
		node.nick = "USB Audio #1"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:hw:ALC1220VBDT,1:playback"
		priority.driver = "728"
		priority.session = "728"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "46"
		object.serial = "46"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "512"
		api.alsa.period-num = "64"
		api.alsa.headroom = "512"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.bus = "usb"
		device.bus-id = "usb-Generic_USB_Audio-00"
		device.bus_path = "pci-0000:45:00.1-usb-0:6:1.0"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_USB_Audio-00"
		device.nick = "ALC1220-VB-DT"
		device.plugged.usec = "9967255"
		device.product.id = "0x1918"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:45:00.1/usb7/7-6/7-6:1.0/sound/card1"
		device.vendor.id = "0x0b05"
		device.vendor.name = "ASUSTek Computer, Inc."
		device.string = "1"
	Ports:
		[Out] Headphones: Front Headphones (type: Headphones, priority: 300, availability group: Front Headphone, availability unknown)
	Active Port: [Out] Headphones
	Formats:
		pcm

Sink #47
	State: SUSPENDED
	Name: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink
	Description: USB Audio Speakers
	Driver: PipeWire
	Sample Specification: s32le 8ch 48000Hz
	Channel Map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 29491 /  45% / -20,81 dB,   front-right: 29491 /  45% / -20,81 dB,   rear-left: 29491 /  45% / -20,81 dB,   rear-right: 29491 /  45% / -20,81 dB,   front-center: 29491 /  45% / -20,81 dB,   lfe: 29491 /  45% / -20,81 dB,   side-left: 29491 /  45% / -20,81 dB,   side-right: 29491 /  45% / -20,81 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "ALC1220-VB-DT"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "Realtek-ALC1220-VB-Desktop"
		alsa.mixer_device = "_ucm0003.hw:ALC1220VBDT"
		alsa.name = "USB Audio"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "Realtek-ALC1220-VB-Desktop"
		api.alsa.card.name = "ALC1220-VB-DT"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:ALC1220VBDT"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "8"
		audio.position = "FL,FR,RL,RR,FC,LFE,SL,SR"
		card.profile.device = "2"
		device.api = "alsa"
		device.class = "sound"
		device.id = "44"
		device.profile.description = "Speakers"
		device.profile.name = "HiFi: hw:ALC1220VBDT: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "USB Audio"
		node.name = "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
		node.nick = "ALC1220-VB-DT"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:hw:ALC1220VBDT:playback"
		priority.driver = "1000"
		priority.session = "1000"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "47"
		object.serial = "47"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "512"
		api.alsa.period-num = "64"
		api.alsa.headroom = "512"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.bus = "usb"
		device.bus-id = "usb-Generic_USB_Audio-00"
		device.bus_path = "pci-0000:45:00.1-usb-0:6:1.0"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_USB_Audio-00"
		device.nick = "ALC1220-VB-DT"
		device.plugged.usec = "9967255"
		device.product.id = "0x1918"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:45:00.1/usb7/7-6/7-6:1.0/sound/card1"
		device.vendor.id = "0x0b05"
		device.vendor.name = "ASUSTek Computer, Inc."
		device.string = "1"
	Ports:
		[Out] Speaker: Speakers (type: Speaker, priority: 200, availability group: Speaker, availability unknown)
	Active Port: [Out] Speaker
	Formats:
		pcm

I've executed:

❯ pactl load-module module-remap-sink sink_name=Stereo sink_properties="device.description='Stereo'" remix=yes master=alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink channels=3 master_channel_map=front-left,front-right,lfe channel_map=front-left,front-right,lfe
536870913

And the output now is this:

❯ pactl list sinks
Sink #45
	State: SUSPENDED
	Name: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT_2__sink
	Description: USB Audio S/PDIF Out
	Driver: PipeWire
	Sample Specification: s24le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 26214 /  40% / -23,88 dB,   front-right: 26214 /  40% / -23,88 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT_2__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "ALC1220-VB-DT"
		alsa.class = "generic"
		alsa.device = "2"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "Realtek-ALC1220-VB-Desktop"
		alsa.mixer_device = "_ucm0003.hw:ALC1220VBDT"
		alsa.name = "USB Audio #2"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "Realtek-ALC1220-VB-Desktop"
		api.alsa.card.name = "ALC1220-VB-DT"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:ALC1220VBDT,2"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "0"
		device.api = "alsa"
		device.class = "sound"
		device.id = "44"
		device.profile.description = "S/PDIF Out"
		device.profile.name = "HiFi: hw:ALC1220VBDT,2: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "USB Audio"
		node.name = "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT_2__sink"
		node.nick = "USB Audio #2"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:hw:ALC1220VBDT,2:playback"
		priority.driver = "712"
		priority.session = "712"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "45"
		object.serial = "45"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "512"
		api.alsa.period-num = "64"
		api.alsa.headroom = "512"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.bus = "usb"
		device.bus-id = "usb-Generic_USB_Audio-00"
		device.bus_path = "pci-0000:45:00.1-usb-0:6:1.0"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_USB_Audio-00"
		device.nick = "ALC1220-VB-DT"
		device.plugged.usec = "9967255"
		device.product.id = "0x1918"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:45:00.1/usb7/7-6/7-6:1.0/sound/card1"
		device.vendor.id = "0x0b05"
		device.vendor.name = "ASUSTek Computer, Inc."
		device.string = "1"
	Ports:
		[Out] SPDIF: S/PDIF Out (type: SPDIF, priority: 100, availability unknown)
	Active Port: [Out] SPDIF
	Formats:
		pcm

Sink #46
	State: SUSPENDED
	Name: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT_1__sink
	Description: USB Audio Front Headphones
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 26214 /  40% / -23,88 dB,   front-right: 26214 /  40% / -23,88 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT_1__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "ALC1220-VB-DT"
		alsa.class = "generic"
		alsa.device = "1"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "Realtek-ALC1220-VB-Desktop"
		alsa.mixer_device = "_ucm0003.hw:ALC1220VBDT"
		alsa.name = "USB Audio #1"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "Realtek-ALC1220-VB-Desktop"
		api.alsa.card.name = "ALC1220-VB-DT"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:ALC1220VBDT,1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "1"
		device.api = "alsa"
		device.class = "sound"
		device.id = "44"
		device.profile.description = "Front Headphones"
		device.profile.name = "HiFi: hw:ALC1220VBDT,1: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "USB Audio"
		node.name = "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT_1__sink"
		node.nick = "USB Audio #1"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:hw:ALC1220VBDT,1:playback"
		priority.driver = "728"
		priority.session = "728"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "46"
		object.serial = "46"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "512"
		api.alsa.period-num = "64"
		api.alsa.headroom = "512"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.bus = "usb"
		device.bus-id = "usb-Generic_USB_Audio-00"
		device.bus_path = "pci-0000:45:00.1-usb-0:6:1.0"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_USB_Audio-00"
		device.nick = "ALC1220-VB-DT"
		device.plugged.usec = "9967255"
		device.product.id = "0x1918"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:45:00.1/usb7/7-6/7-6:1.0/sound/card1"
		device.vendor.id = "0x0b05"
		device.vendor.name = "ASUSTek Computer, Inc."
		device.string = "1"
	Ports:
		[Out] Headphones: Front Headphones (type: Headphones, priority: 300, availability group: Front Headphone, availability unknown)
	Active Port: [Out] Headphones
	Formats:
		pcm

Sink #47
	State: SUSPENDED
	Name: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink
	Description: USB Audio Speakers
	Driver: PipeWire
	Sample Specification: s32le 8ch 48000Hz
	Channel Map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 29491 /  45% / -20,81 dB,   front-right: 29491 /  45% / -20,81 dB,   rear-left: 29491 /  45% / -20,81 dB,   rear-right: 29491 /  45% / -20,81 dB,   front-center: 29491 /  45% / -20,81 dB,   lfe: 29491 /  45% / -20,81 dB,   side-left: 29491 /  45% / -20,81 dB,   side-right: 29491 /  45% / -20,81 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "ALC1220-VB-DT"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "Realtek-ALC1220-VB-Desktop"
		alsa.mixer_device = "_ucm0003.hw:ALC1220VBDT"
		alsa.name = "USB Audio"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "Realtek-ALC1220-VB-Desktop"
		api.alsa.card.name = "ALC1220-VB-DT"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:ALC1220VBDT"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "8"
		audio.position = "FL,FR,RL,RR,FC,LFE,SL,SR"
		card.profile.device = "2"
		device.api = "alsa"
		device.class = "sound"
		device.id = "44"
		device.profile.description = "Speakers"
		device.profile.name = "HiFi: hw:ALC1220VBDT: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "USB Audio"
		node.name = "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
		node.nick = "ALC1220-VB-DT"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:hw:ALC1220VBDT:playback"
		priority.driver = "1000"
		priority.session = "1000"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "33"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "47"
		object.serial = "47"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "512"
		api.alsa.period-num = "64"
		api.alsa.headroom = "512"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.bus = "usb"
		device.bus-id = "usb-Generic_USB_Audio-00"
		device.bus_path = "pci-0000:45:00.1-usb-0:6:1.0"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_USB_Audio-00"
		device.nick = "ALC1220-VB-DT"
		device.plugged.usec = "9967255"
		device.product.id = "0x1918"
		device.product.name = "USB Audio"
		device.serial = "Generic_USB_Audio"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:45:00.1/usb7/7-6/7-6:1.0/sound/card1"
		device.vendor.id = "0x0b05"
		device.vendor.name = "ASUSTek Computer, Inc."
		device.string = "1"
	Ports:
		[Out] Speaker: Speakers (type: Speaker, priority: 200, availability group: Speaker, availability unknown)
	Active Port: [Out] Speaker
	Formats:
		pcm

Sink #188
	State: SUSPENDED
	Name: Stereo
	Description: Stereo
	Driver: PipeWire
	Sample Specification: float32le 3ch 48000Hz
	Channel Map: front-left,front-right,lfe
	Owner Module: 536870913
	Mute: no
	Volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB,   lfe: 65536 / 100% / 0,00 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: Stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		node.name = "Stereo"
		device.description = "Stereo"
		media.class = "Audio/Sink"
		device.class = "filter"
		audio.channels = "3"
		audio.position = "FL,FR,LFE"
		node.group = "remap-sink-536870913"
		pulse.module.id = "536870913"
		node.link-group = "loopback-2987-12"
		node.virtual = "true"
		resample.prefill = "true"
		media.name = "Stereo input"
		stream.is-live = "true"
		node.autoconnect = "true"
		node.want-driver = "true"
		adapt.follower.spa-node = ""
		object.register = "false"
		factory.id = "6"
		clock.quantum-limit = "8192"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		client.id = "117"
		object.id = "116"
		object.serial = "188"
	Formats:
		pcm

I have restarted the pipewire and pipewire-pulse service but it does not show that additional stereo "output" in the Plasma audio widget. 

When I restart the computer that sink disappears.

Last edited by j1simon (2023-02-23 12:44:50)

Offline

#8 2023-02-23 12:45:54

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

By the way the output of this command gives error:

❯ amixer -c1
amixer: Mixer sysdefault:1 load error: Broken pipe

Offline

#9 2023-02-23 14:20:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,420

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

Yes the sink disappears if you restart pipewire/pulse or restart your system. You do not need to restart any of those, run the command and check directly after. You might need to tick a box so it shows virtual sinks, but in doubt you can do

pactl move-sink-input $sink-input-index$ Stereo

where $sink-input-index$ is the stream you want to move as given by pactl list sink-inputs during active playback. You can make it persistent by configuring the module load in your/a pipewire-pulse.conf but I suggest you only do that after you've found a working config.

e.g.
/etc/pipewire/pipewire-pulse.conf.d/50-create-stereo-sink.conf

context.exec = [
    { path = "pactl" args = "load-module module-remap-sink sink_name=Stereo sink_properties=\"device.description='Stereo'\" remix=yes master=alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink channels=3 master_channel_map=front-left,front-right,lfe channel_map=front-left,front-right,lfe" }
]

Last edited by V1del (2023-02-23 15:10:19)

Online

#10 2023-02-23 15:02:18

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

ok, the command: "pactl load-module module-remap-sink sink_name=Stereo sink_properties="device.description='Stereo'"..." works.

I've created the file "/etc/pipewire/pipewire-pulse.conf.d/50-create-stereo-sink.conf" but when I restart, it doesn't create the sink. The output of journalctl:

❯ journalctl -b --user | grep pulse
feb 23 15:58:52 juan-PC pipewire-pulse[2971]: No valid command specified.
feb 23 15:58:54 juan-PC plasmashell[2385]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SINK@"
feb 23 15:58:54 juan-PC plasmashell[2385]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SOURCE@"
feb 23 15:58:54 juan-PC plasmashell[2385]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SINK@"
feb 23 15:58:54 juan-PC plasmashell[2385]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SOURCE@"
feb 23 15:58:54 juan-PC plasmashell[2385]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SINK@"
feb 23 15:58:54 juan-PC plasmashell[2385]: org.kde.plasma.pulseaudio: No object for name "@DEFAULT_SOURCE@"
feb 23 15:58:54 juan-PC plasmashell[2385]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:58:54 juan-PC plasmashell[2385]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__source"
feb 23 15:58:54 juan-PC plasmashell[2385]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:58:54 juan-PC plasmashell[2385]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__source"
feb 23 15:58:54 juan-PC plasmashell[2385]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__source"
feb 23 15:58:54 juan-PC plasmashell[2385]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__source"
feb 23 15:58:54 juan-PC plasmashell[2385]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__source"
feb 23 15:59:06 juan-PC systemsettings[3350]: org.kde.plasma.pulseaudio: Settings schema org.freedesktop.pulseaudio.module-group is not installed
feb 23 15:59:06 juan-PC systemsettings[3350]: org.kde.plasma.pulseaudio: Settings schema org.freedesktop.pulseaudio.module-group is not installed
feb 23 15:59:06 juan-PC systemsettings[3350]: org.kde.plasma.pulseaudio: Settings schema org.freedesktop.pulseaudio.module-group is not installed
feb 23 15:59:06 juan-PC systemsettings[3350]: file:///usr/share/kpackage/kcms/kcm_pulseaudio/contents/ui/main.qml:303:17: QML MenuItem: Binding loop detected for property "implicitWidth"
feb 23 15:59:06 juan-PC systemsettings[3350]: file:///usr/share/kpackage/kcms/kcm_pulseaudio/contents/ui/main.qml:309:17: QML MenuItem: Binding loop detected for property "implicitWidth"
feb 23 15:59:09 juan-PC systemsettings[3350]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:59:09 juan-PC systemsettings[3350]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:59:09 juan-PC systemsettings[3350]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:59:09 juan-PC systemsettings[3350]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:59:09 juan-PC systemsettings[3350]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__source"
feb 23 15:59:09 juan-PC systemsettings[3350]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:59:09 juan-PC systemsettings[3350]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__source"
feb 23 15:59:09 juan-PC systemsettings[3350]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:59:09 juan-PC systemsettings[3350]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__source"
feb 23 15:59:19 juan-PC systemsettings[4073]: org.kde.plasma.pulseaudio: Settings schema org.freedesktop.pulseaudio.module-group is not installed
feb 23 15:59:19 juan-PC systemsettings[4073]: org.kde.plasma.pulseaudio: Settings schema org.freedesktop.pulseaudio.module-group is not installed
feb 23 15:59:19 juan-PC systemsettings[4073]: org.kde.plasma.pulseaudio: Settings schema org.freedesktop.pulseaudio.module-group is not installed
feb 23 15:59:20 juan-PC systemsettings[4073]: file:///usr/share/kpackage/kcms/kcm_pulseaudio/contents/ui/main.qml:303:17: QML MenuItem: Binding loop detected for property "implicitWidth"
feb 23 15:59:20 juan-PC systemsettings[4073]: file:///usr/share/kpackage/kcms/kcm_pulseaudio/contents/ui/main.qml:309:17: QML MenuItem: Binding loop detected for property "implicitWidth"
feb 23 15:59:31 juan-PC systemsettings[4073]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:59:31 juan-PC systemsettings[4073]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:59:31 juan-PC systemsettings[4073]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:59:31 juan-PC systemsettings[4073]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:59:31 juan-PC systemsettings[4073]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__source"
feb 23 15:59:31 juan-PC systemsettings[4073]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:59:31 juan-PC systemsettings[4073]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__source"
feb 23 15:59:31 juan-PC systemsettings[4073]: org.kde.plasma.pulseaudio: No object for name "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
feb 23 15:59:31 juan-PC systemsettings[4073]: org.kde.plasma.pulseaudio: No object for name "alsa_input.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__source"

Last edited by j1simon (2023-02-23 15:02:33)

Offline

#11 2023-02-23 15:11:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,420

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

Whoops missed a \" escape, can you check again?

Online

#12 2023-02-23 18:48:55

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

Thanks @V1del, this solves the problem but I wonder if there is not a better way to indicate to Alsa directly that the "USB Audio Speakers" device is Stereo.

On the other hand, the Plasma system tray icon does not show the Stereo sink: https://i.imgur.com/BHwG0Tv.png

Offline

#13 2023-02-23 19:19:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,420

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

right click the icon and tick the "show virtual devices" box.

There should be a better way to indicate multiple distinct profiles indeed. Afaik this would if anything be a bug report against alsa-ucm-conf/an attempt at configuring it to properly split into the relevant profiles again. I incidentally have a similar in fact the same device, might do some testing here over the weekend.

Online

#14 2023-02-23 19:22:00

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

V1del wrote:

right click the icon and tick the "show virtual devices" box.

Yes, I already tried this but the applet still does not display it. If I open the application window it does show it.

Offline

#15 2023-02-24 14:40:39

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

I marked this as solved but if you (or someone else) find another better solution, I would be grateful if you could tell us about it here.

Offline

#16 2023-03-06 12:30:08

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

This workaround has a problem, it depends on the volume of the original "Speakers (USB Audio Speakers)" output. How can I make sure that the "Speakers" volume is always at 100%?

Offline

#17 2023-05-03 16:00:27

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

I have reinstalled Linux in my PC. When I run that script it creates the sink but only with the left channel:

$ pactl list sinks
Sink #48
State: SUSPENDED
Name: Stereo
Description: Stereo
Driver: PipeWire
Sample Specification: float32le 1ch 48000Hz
Channel Map: front-left
Owner Module: 536870913
Mute: no
Volume: front-left: 65536 / 100% / 0,00 dB
balance 0,00
Base Volume: 65536 / 100% / 0,00 dB
Monitor Source: Stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
node.name = "Stereo"
device.description = "Stereo"
media.class = "Audio/Sink"
device.class = "filter"
audio.channels = "3"
audio.position = "FL"
node.group = "remap-sink-536870913"
pulse.module.id = "536870913"
node.link-group = "loopback-5270-12"
node.virtual = "true"
resample.prefill = "true"
media.name = "Stereo input"
stream.is-live = "true"
node.autoconnect = "true"
node.want-driver = "true"
adapt.follower.spa-node = ""
object.register = "false"
factory.id = "6"
clock.quantum-limit = "8192"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
client.id = "46"
object.id = "48"
object.serial = "48"
Formats:
pcm
....

Sink #51
State: SUSPENDED
Name: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink
Description: USB Audio Speakers
Driver: PipeWire
Sample Specification: s32le 8ch 48000Hz
Channel Map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 29491 /  45% / -20,81 dB,   front-right: 29491 /  45% / -20,81 dB,   rear-left: 29491 /  45% / -20,81 dB,   rear-right: 29491 /  45% / -20,81 dB,   front-center: 29491 /  45% / -20,81 dB,lfe: 29491 /  45% / -20,81 dB,   side-left: 29491 /  45% / -20,81 dB,   side-right: 29491 /  45% / -20,81 dB
balance 0,00
Base Volume: 65536 / 100% / 0,00 dB
Monitor Source: alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "1"
alsa.card_name = "ALC1220-VB-DT"
alsa.class = "generic"
alsa.device = "0"
alsa.driver_name = "snd_usb_audio"
alsa.id = "USB Audio"
alsa.long_card_name = "Realtek-ALC1220-VB-Desktop"
alsa.mixer_device = "_ucm0003.hw:ALC1220VBDT"
alsa.name = "USB Audio"
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "Realtek-ALC1220-VB-Desktop"
api.alsa.card.name = "ALC1220-VB-DT"
api.alsa.open.ucm = "true"
api.alsa.path = "hw:ALC1220VBDT"
api.alsa.pcm.card = "1"
api.alsa.pcm.stream = "playback"
audio.channels = "8"
audio.position = "FL,FR,RL,RR,FC,LFE,SL,SR"
card.profile.device = "2"
device.api = "alsa"
device.class = "sound"
device.id = "45"
device.profile.description = "Speakers"
device.profile.name = "HiFi: hw:ALC1220VBDT: sink"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "USB Audio"
node.name = "alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink"
node.nick = "ALC1220-VB-DT"
node.pause-on-idle = "false"
object.path = "alsa:pcm:1:hw:ALC1220VBDT:playback"
priority.driver = "1000"
priority.session = "1000"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "33"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "49"
object.serial = "51"
node.max-latency = "16384/48000"
api.alsa.period-size = "512"
api.alsa.period-num = "64"
api.alsa.headroom = "512"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "1"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio1"
device.bus = "usb"
device.bus-id = "usb-Generic_USB_Audio-00"
device.bus_path = "pci-0000:45:00.1-usb-0:6:1.0"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-usb"
device.name = "alsa_card.usb-Generic_USB_Audio-00"
device.nick = "ALC1220-VB-DT"
device.plugged.usec = "10037011"
device.product.id = "0x1918"
device.product.name = "USB Audio"
device.serial = "Generic_USB_Audio"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:45:00.1/usb7/7-6/7-6:1.0/sound/card1"
device.vendor.id = "0x0b05"
device.vendor.name = "ASUSTek Computer, Inc."
device.string = "1"
Ports:
[Out] Speaker: Speakers (type: Speaker, priority: 200, availability group: Speaker, availability unknown)
Active Port: [Out] Speaker
Formats:
pcm

The script is exactly the same:

$ cat /etc/pipewire/pipewire-pulse.conf.d/50-create-stereo-sink.conf
context.exec = [
    { path = "pactl" args = "load-module module-remap-sink sink_name=Stereo sink_properties=\"device.description='Stereo'\" remix=yes master=alsa_output.usb-Generic_USB_Audio-00.HiFi__hw_ALC1220VBDT__sink channels=3 master_channel_map=front-left,front-right,lfe channel_map=front-left,front-right,lfe" }
]

On the other hand, I finally managed to stop wireplumber from using alsa ucm. I was missing a comma at the end:

$ cat /etc/wireplumber/main.lua.d/50-alsa-config.lua
alsa_monitor.rules = {
    apply_properties = {
        -- Use ALSA-Card-Profile devices. They use UCM or the profile
        -- configuration to configure the device and mixer settings.
        ["api.alsa.use-acp"] = true,
 
        -- Use UCM instead of profile when available. Can be
        -- disabled to skip trying to use the UCM profile.
        ["api.alsa.use-ucm"] = false,
    }
}

But the problem persists, map all outputs in the same way (with the same channels) but rename them all to USB Audio, USB Audio #1, .....

How can I determine the source of the problem: Alsa, Wireplumber or Pipewire? To report the error.

Offline

#18 2023-05-04 07:32:06

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

I finally succeeded.
I did a search for my sound card in ALSA's ucm profiles and modified mine directly:

$ ag ALC1220 /usr/share/alsa/
/usr/share/alsa/ucm2/USB-Audio/Realtek/ALC1220-VB-Desktop.conf
1:Comment "USB-audio on Realtek ALC1220-VB desktop"
3:      File "/USB-Audio/Realtek/ALC1220-VB-Desktop-HiFi.conf"

/usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf
31:     True.Define.ProfileName "Realtek/ALC1220-VB-Desktop"

$ cat /usr/share/alsa/ucm2/USB-Audio/Realtek/ALC1220-VB-Desktop.conf
Comment "USB-audio on Realtek ALC1220-VB desktop"
SectionUseCase."HiFi" {
File "/USB-Audio/Realtek/ALC1220-VB-Desktop-HiFi.conf"
Comment "Default Alsa Profile"
}

$ cat /usr/share/alsa/ucm2/USB-Audio/Realtek/ALC1220-VB-Desktop-HiFi.conf
....
SectionDevice."Speaker" {
        Comment "Speakers"
        Value {
                PlaybackChannels 8
                PlaybackPriority 200
                PlaybackPCM "hw:${CardId}"
                JackControl "Speaker Jack"
                PlaybackMixerElem "Speaker"
        }
}
.....

I have changed "PlaybackChannels 8" to "PlaybackChannels 2" and it works now.

Offline

#19 2023-05-04 08:32:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,420

Re: [SOLVED]Audio output 2.1 but Plasma applet says 7.1

Yeah sorry that one fell off a bit I did find that one as well but I'd rather have different profiles to be selected on demand again, than hardcode the channel count, haven't quite found a working config for that. Do note that this will likely get overriden on alsa-ucm-conf updates and you might want to add that file to a NoUpgrade directive in your pacman.conf

Online

Board footer

Powered by FluxBB