You are not logged in.

#1 2021-11-30 05:58:53

LyCC
Member
Registered: 2012-09-05
Posts: 168

[Solved with the latest update] pipewire issues

Hi everyone,

I switched from pulseaudio to pipewire, since with pulseaudio for the last half a year I had the following bug: when pause a video, 20% of time when resuming playback the sound started screeching. The solution was
to open KDE audio panel and select the headphone output again (KDE audio panel also has a bug: the Headphone output and some other output are both selected all the time).

motherboard: gigabyte b450m ds3h, using the integrated sound card

I have the following issues:
(1) Headphone is never detected since the plug lacks the feature. When I first select the "Headphone (unplugged)" it works. Switching to line out to use the sound system works, but then the Headphone never again until restart. Switching from
"Pro audio" to "analog stereo output" displays the "Line out" but the headphone is working. Switching again, the "headphone" never works again.

(2) wine apps do not have sound at all, unless switch to "Pro audio" (and there is no (but this is always 5.1 sound output). The output stream doesn't even appear on KDE audio setting. Seems like the wine app doesn't create any output audio streams.

(3) "Pro audio" is the "headphone" output, but cannot get the back audio (line out) to output sound. Only two selections are
available: "Pro audio" and "Pro audio 1", none is the back panel output.

(4) mplayer, vlc, etc., video have no sound on the "analog stereo output" ("Headphone" or "Line out"). Also KDE's audio
setting does not offer the possibility to individually select output stream, except on "Pro audio".

(5) Bluetooth headphone does not appear as an input device (this is working with pulseaudio).

Can the output streams be configured to fix wine/mplayer issues, as I only have 5.1 output on these?

Thank you.

Last edited by LyCC (2021-12-05 20:56:58)

Offline

#2 2021-11-30 08:03:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,944

Re: [Solved with the latest update] pipewire issues

For 2) ensure lib32-libpulse and lib32-pipewire are installed, check winecfg to make sure wine is using the winepulse.drv for audio (should be the default normally). For everything else, trying to make sense of card behaviour via GUI abstractions if you have potentially lower level detection issues will drive you insane so post

aplay -lL
amixer -c0 #Replace 0 with correct audio index if it isn't 0 check previous command
pactl list cards
pactl list sinks
pactl list sink-inputs

during reproduction of these issues.

Offline

#3 2021-11-30 08:55:39

LyCC
Member
Registered: 2012-09-05
Posts: 168

Re: [Solved with the latest update] pipewire issues

Thank you,

lib32-libpulse and lib32-pipewire are installed.

The rest (with bluetooth headset connected):

$ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=4
    HDA NVidia, HDMI 4
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=5
    HDA NVidia, HDMI 5
    HDMI Audio Output
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
sysdefault:CARD=Generic
    HD-Audio Generic, ALC887-VD Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    Front output / input
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
    HD-Audio Generic, ALC887-VD Digital
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

index 0 seems to  be the digital output, 1 seems to  be the analog output

$ amixer -c1
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 62 [97%] [-2.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 252 [99%] [-0.60dB]
  Front Right: Playback 252 [99%] [-0.60dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [off]
  Front Right: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 0 [0%] [-64.00dB] [off]
  Front Right: Playback 0 [0%] [-64.00dB] [off]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 0 [0%] [-64.00dB] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 0 [0%] [-64.00dB] [off]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Line Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 41 [89%] [25.00dB] [on]
  Front Right: Capture 41 [89%] [25.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 0 [0%] [-16.00dB] [off]
  Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
$ pactl list cards
Card #38
        Name: alsa_card.pci-0000_07_00.1
        Driver: alsa
        Owner Module: n/a
        Properties:
                device.enum.api = "udev"
                device.api = "alsa"
                media.class = "Audio/Device"
                api.alsa.path = "hw:0"
                api.alsa.card = "0"
                api.alsa.card.name = "HDA NVidia"
                api.alsa.card.longname = "HDA NVidia at 0xf7080000 irq 79"
                device.plugged.usec = "5824541"
                device.bus_path = "pci-0000:07:00.1"
                device.sysfs.path = "/sys/devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0"
                device.bus = "pci"
                device.subsystem = "sound"
                device.vendor.id = "4318"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "4028"
                device.product.name = "GM107 High Definition Audio Controller [GeForce 940MX]"
                device.name = "alsa_card.pci-0000_07_00.1"
                device.description = "GM107 High Definition Audio Controller [GeForce 940MX]"
                device.nick = "HDA NVidia"
                device.icon_name = "audio-card-pci"
                api.alsa.use-acp = "true"
                api.acp.auto-profile = "false"
                api.acp.auto-port = "false"
                api.dbus.ReserveDevice1 = "Audio0"
                factory.id = "14"
                client.id = "30"
                object.id = "38"
                object.path = "alsa:pcm:0"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 79"
                alsa.driver_name = "snd_hda_intel"
                device.string = "0"
        Profiles:
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (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, not available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 4"
                                device.icon_name = "video-display"
                                card.profile.port = "3"
                        Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-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 #39
        Name: alsa_card.pci-0000_09_00.3
        Driver: alsa
        Owner Module: n/a
        Properties:
                device.enum.api = "udev"
                device.api = "alsa"
                media.class = "Audio/Device"
                api.alsa.path = "hw:1"
                api.alsa.card = "1"
                api.alsa.card.name = "HD-Audio Generic"
                api.alsa.card.longname = "HD-Audio Generic at 0xf7700000 irq 81"
                device.plugged.usec = "5935903"
                device.bus_path = "pci-0000:09:00.3"
                device.sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:09:00.3/sound/card1"
                device.bus = "pci"
                device.subsystem = "sound"
                device.vendor.id = "4130"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "5207"
                device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
                device.name = "alsa_card.pci-0000_09_00.3"
                device.description = "Family 17h (Models 00h-0fh) HD Audio Controller"
                device.nick = "HD-Audio Generic"
                device.icon_name = "audio-card-pci"
                api.alsa.use-acp = "true"
                api.acp.auto-profile = "false"
                api.acp.auto-port = "false"
                api.dbus.ReserveDevice1 = "Audio1"
                factory.id = "14"
                client.id = "30"
                object.id = "39"
                object.path = "alsa:pcm:1"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf7700000 irq 81"
                alsa.driver_name = "snd_hda_intel"
                device.string = "1"
        Profiles:
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
                output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
                output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: no)
                output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
                input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
                pro-audio: Pro Audio (sinks: 2, sources: 2, priority: 1, available: yes)
        Active Profile: output:analog-stereo
        Ports:
                analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, latency offset: 0 usec, availability group: Legacy 1, not available)
                        Properties:
                                port.type = "mic"
                                port.availability-group = "Legacy 1"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "0"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
                analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, latency offset: 0 usec, availability group: Legacy 2, not available)
                        Properties:
                                port.type = "mic"
                                port.availability-group = "Legacy 2"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "1"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
                analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 3, not available)
                        Properties:
                                port.type = "line"
                                port.availability-group = "Legacy 3"
                                card.profile.port = "2"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
                analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 4, available)
                        Properties:
                                port.type = "line"
                                port.availability-group = "Legacy 4"
                                card.profile.port = "3"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 5, not available)
                        Properties:
                                port.type = "headphones"
                                port.availability-group = "Legacy 5"
                                device.icon_name = "audio-headphones"
                                card.profile.port = "4"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "spdif"
                                card.profile.port = "5"
                        Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo

Card #46
        Name: bluez_card.95_00_16_32_F2_A0
        Driver: module-bluez5-device.c
        Owner Module: n/a
        Properties:
                device.api = "bluez5"
                device.bus = "bluetooth"
                media.class = "Audio/Device"
                device.name = "bluez_card.95_00_16_32_F2_A0"
                device.description = "FG-07S"
                device.alias = "FG-07S"
                device.vendor.id = "bluetooth:05d6"
                device.product.id = "0x000a"
                device.form_factor = "headset"
                device.string = "95:00:16:32:F2:A0"
                api.bluez5.icon = "audio-headset"
                api.bluez5.path = "/org/bluez/hci0/dev_95_00_16_32_F2_A0"
                api.bluez5.address = "95:00:16:32:F2:A0"
                api.bluez5.device = ""
                api.bluez5.class = "0x240404"
                api.bluez5.connection = "connected"
                device.icon_name = "audio-headset-bluetooth"
                bluez5.auto-connect = "[ hfp_hf hsp_hs a2dp_sink ]"
                factory.id = "14"
                client.id = "30"
                object.id = "46"
        Profiles:
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                a2dp-sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 0, available: yes)
                headset-head-unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 0, available: yes)
                a2dp-sink-sbc: High Fidelity Playback (A2DP Sink, codec SBC) (sinks: 1, sources: 0, priority: 0, available: yes)
                a2dp-sink-sbc_xq: High Fidelity Playback (A2DP Sink, codec SBC-XQ) (sinks: 1, sources: 0, priority: 0, available: yes)
                headset-head-unit-cvsd: Headset Head Unit (HSP/HFP, codec CVSD) (sinks: 1, sources: 1, priority: 0, available: yes)
                headset-head-unit-msbc: Headset Head Unit (HSP/HFP, codec mSBC) (sinks: 1, sources: 1, priority: 0, available: yes)
        Active Profile: a2dp-sink-sbc
        Ports:
                headset-input: Headset (type: Headset, priority: 0, latency offset: 0 usec, available)
                        Properties:
                                port.type = "headset"
                        Part of profile(s): headset-head-unit, headset-head-unit-cvsd, headset-head-unit-msbc
                headset-output: Headset (type: Headset, priority: 0, latency offset: 0 usec, available)
                        Properties:
                                port.type = "headset"
                        Part of profile(s): a2dp-sink, headset-head-unit, a2dp-sink-sbc, a2dp-sink-sbc_xq, headset-head-unit-cvsd, headset-head-unit-msbc
$ pactl list sinks
Sink #50
        State: SUSPENDED
        Name: alsa_output.pci-0000_09_00.3.analog-stereo
        Description: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
        Driver: PipeWire
        Sample Specification: s32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 59199 /  90% / -2.65 dB,   front-right: 59199 /  90% / -2.65 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_09_00.3.analog-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                object.path = "alsa:pcm:1:front:1:playback"
                api.alsa.path = "front:1"
                api.alsa.pcm.card = "1"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                device.routes = "2"
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC887-VD Analog"
                alsa.id = "ALC887-VD Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf7700000 irq 81"
                alsa.driver_name = "snd_hda_intel"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                card.profile.device = "5"
                device.id = "39"
                factory.name = "api.alsa.pcm.sink"
                priority.driver = "945"
                priority.session = "945"
                media.class = "Audio/Sink"
                node.nick = "HD-Audio Generic"
                node.name = "alsa_output.pci-0000_09_00.3.analog-stereo"
                device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
                device.icon_name = "audio-card-analog"
                device.bus = "pci"
                device.bus_path = "pci-0000:09:00.3"
                node.pause-on-idle = "false"
                factory.id = "18"
                client.id = "31"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "50"
        Ports:
                analog-output-lineout: Line Out (type: Line, priority: 9000, availability group: Legacy 4, available)
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 5, not available)
        Active Port: analog-output-headphones
        Formats:
                pcm

Sink #43
        State: SUSPENDED
        Name: bluez_output.95_00_16_32_F2_A0.a2dp-sink
        Description: FG-07S
        Driver: PipeWire
        Sample Specification: s16le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 33026 /  50% / -17.86 dB,   front-right: 33026 /  50% / -17.86 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: bluez_output.95_00_16_32_F2_A0.a2dp-sink.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                api.bluez5.transport = ""
                api.bluez5.profile = "a2dp-sink"
                api.bluez5.codec = "sbc"
                api.bluez5.address = "95:00:16:32:F2:A0"
                device.routes = "1"
                card.profile.device = "1"
                device.form_factor = "headset"
                device.bus = "bluetooth"
                device.id = "46"
                device.description = "FG-07S"
                node.name = "bluez_output.95_00_16_32_F2_A0.a2dp-sink"
                factory.name = "api.bluez5.a2dp.sink"
                priority.driver = "1010"
                priority.session = "1010"
                device.icon_name = "audio-headset-bluetooth"
                node.pause-on-idle = "false"
                factory.id = "8"
                device.api = "bluez5"
                media.class = "Audio/Sink"
                node.driver = "true"
                node.latency = "512/48000"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "43"
                client.id = "30"
        Ports:
                headset-output: Headset (type: Headset, priority: 0, available)
        Active Port: headset-output
        Formats:
                pcm

sink-inputs is empty.

sink and sink-inputs with wine running:


pactl list sinks
Sink #79
        State: RUNNING
        Name: alsa_output.pci-0000_09_00.3.analog-stereo
        Description: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
        Driver: PipeWire
        Sample Specification: s32le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 62963 /  96% / -1.04 dB,   front-right: 62963 /  96% / -1.04 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_09_00.3.analog-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                object.path = "alsa:pcm:1:front:1:playback"
                api.alsa.path = "front:1"
                api.alsa.pcm.card = "1"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                device.routes = "2"
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC887-VD Analog"
                alsa.id = "ALC887-VD Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf7700000 irq 81"
                alsa.driver_name = "snd_hda_intel"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                card.profile.device = "5"
                device.id = "39"
                factory.name = "api.alsa.pcm.sink"
                priority.driver = "945"
                priority.session = "945"
                media.class = "Audio/Sink"
                node.nick = "HD-Audio Generic"
                node.name = "alsa_output.pci-0000_09_00.3.analog-stereo"
                device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
                device.icon_name = "audio-card-analog"
                device.bus = "pci"
                device.bus_path = "pci-0000:09:00.3"
                node.pause-on-idle = "false"
                factory.id = "18"
                client.id = "31"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "79"
                node.max-latency = "8192/44100"
        Ports:
                analog-output-lineout: Line Out (type: Line, priority: 9000, availability group: Legacy 4, available)
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 5, not available)
        Active Port: analog-output-lineout
        Formats:
                pcm
$ pactl list sink-inputs
Sink Input #134
        Driver: PipeWire
        Owner Module: n/a
        Client: 46
        Sink: 79
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
        Corked: no
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Buffer Latency: 0 usec
        Sink Latency: 0 usec
        Resample method: PipeWire
        Properties:
                client.api = "pipewire-pulse"
                pulse.server.type = "unix"
                application.name = "SC2_x64.exe"
                application.process.id = "83612"
                application.process.user = "user"
                application.process.host = "ArchPC"
                application.process.binary = "wine64-preloader"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "4c1208b33e994449b4ea85889273ecd4"
                application.process.session_id = "2"
                media.name = "audio stream #3"
                node.rate = "1/44100"
                stream.is-live = "true"
                node.name = "SC2_x64.exe"
                node.autoconnect = "true"
                media.class = "Stream/Output/Audio"
                adapt.follower.node = ""
                object.register = "false"
                factory.id = "6"
                audio.adapt.follower = ""
                factory.mode = "split"
                library.name = "audioconvert/libspa-audioconvert"
                client.id = "46"
                object.id = "134"
                node.latency = "236/44100"
                pulse.attr.maxlength = "7056"
                pulse.attr.tlength = "4412"
                pulse.attr.prebuf = "4"
                pulse.attr.minreq = "1764"
                module-stream-restore.id = "sink-input-by-application-name:SC2_x64.exe"

Sink Input #144
        Driver: PipeWire
        Owner Module: n/a
        Client: 46
        Sink: 79
        Sample Specification: float32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Format: pcm, format.sample_format = "\"float32le\""  format.rate = "48000"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
        Corked: no
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Buffer Latency: 0 usec
        Sink Latency: 0 usec
        Resample method: PipeWire
        Properties:
                client.api = "pipewire-pulse"
                pulse.server.type = "unix"
                application.name = "SC2_x64.exe"
                application.process.id = "83612"
                application.process.user = "user"
                application.process.host = "ArchPC"
                application.process.binary = "wine64-preloader"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "4c1208b33e994449b4ea85889273ecd4"
                application.process.session_id = "2"
                media.name = "audio stream #4"
                node.rate = "1/48000"
                stream.is-live = "true"
                node.name = "SC2_x64.exe"
                node.autoconnect = "true"
                media.class = "Stream/Output/Audio"
                adapt.follower.node = ""
                object.register = "false"
                factory.id = "6"
                audio.adapt.follower = ""
                factory.mode = "split"
                library.name = "audioconvert/libspa-audioconvert"
                client.id = "46"
                object.id = "144"
                node.latency = "256/48000"
                pulse.attr.maxlength = "30720"
                pulse.attr.tlength = "9600"
                pulse.attr.prebuf = "8"
                pulse.attr.minreq = "3840"
                module-stream-restore.id = "sink-input-by-application-name:SC2_x64.exe"

Edit: just figured out bluetooth mic, If i select "Headset Head Unit (HSP/HFP, codec mSBC)" from the KDE audio setting, then I get the microphone input and it works.

Last edited by LyCC (2021-11-30 09:29:16)

Offline

Board footer

Powered by FluxBB