You are not logged in.

#1 2022-09-18 07:17:54

Agentotten
Member
From: Denmark
Registered: 2022-09-18
Posts: 7

Can't figure out how to enable 7.1 surround sound

Hi!
I need help with my headset, it's a Logitech G Pro X Headset. I've tried to enable surround sound in alsamixer, like unmute the LFE channel and surround channel, but that has gotten me nowhere.
I hope someone can help with this.

Offline

#2 2022-09-18 14:38:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 17,664

Re: Can't figure out how to enable 7.1 surround sound

Post

aplay -lL
amixer -c0 #or whatever the card index of the headset is
#if pulse/pipewire
pactl list cards
pactl list sinks 

In code tags

Note that many of these headsets do not actually have surround capable speakers but emulate it in software, but post these outputs so we can actually verify what's up

Offline

#3 2022-09-23 07:54:43

Agentotten
Member
From: Denmark
Registered: 2022-09-18
Posts: 7

Re: Can't figure out how to enable 7.1 surround sound

Sorry I was out traveling for a few days, that was not very convenient.

Sink #50
	State: SUSPENDED
	Name: alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra1
	Description: TU106 High Definition Audio Controller Digital Stereo (HDMI 2)
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 32598 /  50% / -18,20 dB,   front-right: 32598 /  50% / -18,20 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra1.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA NVidia"
		alsa.class = "generic"
		alsa.device = "7"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "HDMI 1"
		alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 96"
		alsa.name = "VG258"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA NVidia at 0xfc080000 irq 96"
		api.alsa.card.name = "HDA NVidia"
		api.alsa.path = "hdmi:0,1"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "10"
		device.api = "alsa"
		device.class = "sound"
		device.id = "41"
		device.profile.description = "Digital Stereo (HDMI 2)"
		device.profile.name = "hdmi-stereo-extra1"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "TU106 High Definition Audio Controller"
		node.name = "alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra1"
		node.nick = "VG258"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:hdmi:0,1:playback"
		priority.driver = "632"
		priority.session = "632"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "34"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "49"
		object.serial = "50"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		device.bus = "pci"
		device.bus_path = "pci-0000:0a:00.1"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_0a_00.1"
		device.nick = "HDA NVidia"
		device.plugged.usec = "4480437"
		device.product.id = "0x10f9"
		device.product.name = "TU106 High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/sys/devices/pci0000:00/0000:00:03.1/0000:0a:00.1/sound/card0"
		device.vendor.id = "0x10de"
		device.vendor.name = "NVIDIA Corporation"
		device.string = "0"
	Ports:
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, availability group: Legacy 2, available)
	Active Port: hdmi-output-1
	Formats:
		pcm

Sink #52
	State: SUSPENDED
	Name: alsa_output.usb-Logitech_PRO_X_000000000000-00.analog-stereo
	Description: Logitech G PRO X Gaming Headset Analog Stereo
	Driver: PipeWire
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 13107 /  20% / -41,94 dB,   front-right: 13107 /  20% / -41,94 dB
	        balance 0,00
	Base Volume: 54094 /  83% / -5,00 dB
	Monitor Source: alsa_output.usb-Logitech_PRO_X_000000000000-00.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "3"
		alsa.card_name = "PRO X"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "Logitech PRO X at usb-0000:0c:00.3-3, full speed"
		alsa.name = "USB Audio"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "Logitech PRO X at usb-0000:0c:00.3-3, full speed"
		api.alsa.card.name = "PRO X"
		api.alsa.path = "front:3"
		api.alsa.pcm.card = "3"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "3"
		device.api = "alsa"
		device.class = "sound"
		device.id = "43"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Logitech G PRO X Gaming Headset"
		node.name = "alsa_output.usb-Logitech_PRO_X_000000000000-00.analog-stereo"
		node.nick = "PRO X"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:3:front:3:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "34"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "31"
		object.serial = "52"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "3"
		api.alsa.use-acp = "true"
		device.bus = "usb"
		device.bus-id = "usb-Logitech_PRO_X_000000000000-00"
		device.bus_path = "pci-0000:0c:00.3-usb-0:3:1.0"
		device.enum.api = "udev"
		device.form_factor = "headset"
		device.icon_name = "audio-headset-analog-usb"
		device.name = "alsa_card.usb-Logitech_PRO_X_000000000000-00"
		device.nick = "PRO X"
		device.plugged.usec = "5794337"
		device.product.id = "0x0aaa"
		device.product.name = "Logitech G PRO X Gaming Headset"
		device.serial = "Logitech_PRO_X_000000000000"
		device.subsystem = "sound"
		sysfs.path = "/sys/devices/pci0000:00/0000:00:07.1/0000:0c:00.3/usb5/5-3/5-3:1.0/sound/card3"
		device.vendor.id = "0x046d"
		device.vendor.name = "Logitech, Inc."
		device.string = "3"
	Ports:
		analog-output: Analog Output (type: Analog, priority: 9900, availability unknown)
	Active Port: analog-output
	Formats:
		pcm

Offline

#4 2022-09-23 08:29:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 17,664

Re: Can't figure out how to enable 7.1 surround sound

That's just the last output which is the least interesting for determining whether you have any actually exposed 7.1 capabilities. You should post all of them

Last edited by V1del (2022-09-23 08:29:47)

Offline

#5 2022-09-23 13:51:01

Agentotten
Member
From: Denmark
Registered: 2022-09-18
Posts: 7

Re: Can't figure out how to enable 7.1 surround sound

aplay -lL

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

amixer -c1

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [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 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 23 [74%] [0.00dB] [on]
  Front Right: Playback 23 [74%] [0.00dB] [on]
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 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 23 [74%] [0.00dB] [on]
  Front Right: Playback 23 [74%] [0.00dB] [on]
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 [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 39 [62%] [12.00dB] [on]
  Front Right: Capture 39 [62%] [12.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
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 23 [74%] [0.00dB] [on]
  Front Right: Playback 23 [74%] [0.00dB] [on]
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 #41
	Name: alsa_card.pci-0000_0a_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 NVidia at 0xfc080000 irq 96"
		api.alsa.card.name = "HDA NVidia"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:0a:00.1"
		device.description = "TU106 High Definition Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_0a_00.1"
		device.nick = "HDA NVidia"
		device.plugged.usec = "4447919"
		device.product.id = "0x10f9"
		device.product.name = "TU106 High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/sys/devices/pci0000:00/0000:00:03.1/0000:0a:00.1/sound/card0"
		device.vendor.id = "0x10de"
		device.vendor.name = "NVIDIA Corporation"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "40"
		object.serial = "41"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 96"
		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: yes)
		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-stereo-extra6: Digital Stereo (HDMI 7) 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-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)
		output:hdmi-surround-extra6: Digital Surround 5.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra6: Digital Surround 7.1 (HDMI 7) Output (sinks: 1, sources: 0, priority: 600, available: no)
		pro-audio: Pro Audio (sinks: 7, sources: 0, priority: 1, available: yes)
	Active Profile: output:hdmi-stereo-extra1
	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, available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 2"
				device.icon_name = "video-display"
				card.profile.port = "1"
				device.product.name = "VG258
       "
			Part of profile(s): output:hdmi-stereo-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
		hdmi-output-6: HDMI / DisplayPort 7 (type: HDMI, priority: 5300, latency offset: 0 usec, availability group: Legacy 7, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 7"
				device.icon_name = "video-display"
				card.profile.port = "6"
			Part of profile(s): output:hdmi-stereo-extra6, output:hdmi-surround-extra6, output:hdmi-surround71-extra6

Card #42
	Name: alsa_card.usb-Generic_Realtek_Audio_USB_201701110001-00
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "2"
		api.alsa.card.longname = "Generic Realtek Audio USB at usb-0000:0c:00.3-2, high speed"
		api.alsa.card.name = "Realtek Audio USB"
		api.alsa.path = "hw:2"
		api.alsa.use-acp = "true"
		device.api = "alsa"
		device.bus = "usb"
		device.bus-id = "usb-Generic_Realtek_Audio_USB_201701110001-00"
		device.bus_path = "pci-0000:0c:00.3-usb-0:2:1.0"
		device.description = "Realtek Audio USB"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Generic_Realtek_Audio_USB_201701110001-00"
		device.nick = "Realtek Audio USB"
		device.plugged.usec = "5813061"
		device.product.id = "0x4938"
		device.product.name = "Realtek Audio USB"
		device.serial = "Generic_Realtek_Audio_USB_201701110001"
		device.subsystem = "sound"
		sysfs.path = "/sys/devices/pci0000:00/0000:00:07.1/0000:0c:00.3/usb5/5-2/5-2:1.0/sound/card2"
		device.vendor.id = "0x0bda"
		device.vendor.name = "Realtek Semiconductor Corp."
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "41"
		object.serial = "42"
		object.path = "alsa:pcm:2"
		alsa.card = "2"
		alsa.card_name = "Realtek Audio USB"
		alsa.long_card_name = "Generic Realtek Audio USB at usb-0000:0c:00.3-2, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.string = "2"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
		input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 55, available: yes)
		pro-audio: Pro Audio (sinks: 0, sources: 1, priority: 1, available: yes)
	Active Profile: input:analog-stereo
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo
		iec958-stereo-input: Digital Input (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "spdif"
				card.profile.port = "1"
			Part of profile(s): input:iec958-stereo

Card #43
	Name: alsa_card.usb-Logitech_PRO_X_000000000000-00
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "3"
		api.alsa.card.longname = "Logitech PRO X at usb-0000:0c:00.3-3, full speed"
		api.alsa.card.name = "PRO X"
		api.alsa.path = "hw:3"
		api.alsa.use-acp = "true"
		device.api = "alsa"
		device.bus = "usb"
		device.bus-id = "usb-Logitech_PRO_X_000000000000-00"
		device.bus_path = "pci-0000:0c:00.3-usb-0:3:1.0"
		device.description = "Logitech G PRO X Gaming Headset"
		device.enum.api = "udev"
		device.form_factor = "headset"
		device.icon_name = "audio-headset-analog-usb"
		device.name = "alsa_card.usb-Logitech_PRO_X_000000000000-00"
		device.nick = "PRO X"
		device.plugged.usec = "5813448"
		device.product.id = "0x0aaa"
		device.product.name = "Logitech G PRO X Gaming Headset"
		device.serial = "Logitech_PRO_X_000000000000"
		device.subsystem = "sound"
		sysfs.path = "/sys/devices/pci0000:00/0000:00:07.1/0000:0c:00.3/usb5/5-3/5-3:1.0/sound/card3"
		device.vendor.id = "0x046d"
		device.vendor.name = "Logitech, Inc."
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "42"
		object.serial = "43"
		object.path = "alsa:pcm:3"
		alsa.card = "3"
		alsa.card_name = "PRO X"
		alsa.long_card_name = "Logitech PRO X at usb-0000:0c:00.3-3, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.string = "3"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:mono-fallback: Analog Stereo Output + Mono Input (sinks: 1, sources: 1, priority: 6501, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
		output:iec958-stereo+input:mono-fallback: Digital Stereo (IEC958) Output + Mono Input (sinks: 1, sources: 1, priority: 5501, available: yes)
		output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
		output:iec958-ac3-surround-51+input:mono-fallback: Digital Surround 5.1 (IEC958/AC3) Output + Mono Input (sinks: 1, sources: 1, priority: 301, available: yes)
		output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (sinks: 1, sources: 0, priority: 300, available: yes)
		pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
		input:mono-fallback: Mono Input (sinks: 0, sources: 1, priority: 1, available: yes)
	Active Profile: output:analog-stereo
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:mono-fallback, output:analog-stereo+input:mono-fallback, output:iec958-stereo+input:mono-fallback, output:iec958-ac3-surround-51+input:mono-fallback
		analog-output: Analog Output (type: Analog, priority: 9900, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "analog"
				card.profile.port = "1"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:mono-fallback
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "spdif"
				card.profile.port = "2"
			Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:mono-fallback

Card #44
	Name: alsa_card.pci-0000_0d_00.3
	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 = "HD-Audio Generic at 0xfc800000 irq 98"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:0d:00.3"
		device.description = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_0d_00.3"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "4533208"
		device.product.id = "0x1457"
		device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:0d:00.3/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "43"
		object.serial = "44"
		object.path = "alsa:pcm:1"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfc800000 irq 98"
		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: no)
		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)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 365, available: no)
		output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (sinks: 1, sources: 0, priority: 300, available: yes)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
		pro-audio: Pro Audio (sinks: 2, sources: 2, priority: 1, available: yes)
	Active Profile: off
	Ports:
		analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 1"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
		analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 2"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "1"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
		analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "line"
				port.availability-group = "Legacy 3"
				card.profile.port = "2"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
		analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 4, not available)
			Properties:
				port.type = "line"
				port.availability-group = "Legacy 4"
				card.profile.port = "3"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 5, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Legacy 5"
				device.icon_name = "audio-headphones"
				card.profile.port = "4"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "spdif"
				card.profile.port = "5"
			Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo

pactl list sinks

Sink #49
	State: SUSPENDED
	Name: alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra1
	Description: TU106 High Definition Audio Controller Digital Stereo (HDMI 2)
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra1.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA NVidia"
		alsa.class = "generic"
		alsa.device = "7"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "HDMI 1"
		alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 96"
		alsa.name = "VG258"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA NVidia at 0xfc080000 irq 96"
		api.alsa.card.name = "HDA NVidia"
		api.alsa.path = "hdmi:0,1"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "10"
		device.api = "alsa"
		device.class = "sound"
		device.id = "40"
		device.profile.description = "Digital Stereo (HDMI 2)"
		device.profile.name = "hdmi-stereo-extra1"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "TU106 High Definition Audio Controller"
		node.name = "alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra1"
		node.nick = "VG258"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:hdmi:0,1:playback"
		priority.driver = "632"
		priority.session = "632"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "34"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "48"
		object.serial = "49"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		device.bus = "pci"
		device.bus_path = "pci-0000:0a:00.1"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_0a_00.1"
		device.nick = "HDA NVidia"
		device.plugged.usec = "4447919"
		device.product.id = "0x10f9"
		device.product.name = "TU106 High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/sys/devices/pci0000:00/0000:00:03.1/0000:0a:00.1/sound/card0"
		device.vendor.id = "0x10de"
		device.vendor.name = "NVIDIA Corporation"
		device.string = "0"
	Ports:
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, availability group: Legacy 2, available)
	Active Port: hdmi-output-1
	Formats:
		pcm

Sink #51
	State: SUSPENDED
	Name: alsa_output.usb-Logitech_PRO_X_000000000000-00.analog-stereo
	Description: Logitech G PRO X Gaming Headset Analog Stereo
	Driver: PipeWire
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 19661 /  30% / -31,37 dB,   front-right: 19661 /  30% / -31,37 dB
	        balance 0,00
	Base Volume: 54094 /  83% / -5,00 dB
	Monitor Source: alsa_output.usb-Logitech_PRO_X_000000000000-00.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "3"
		alsa.card_name = "PRO X"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "Logitech PRO X at usb-0000:0c:00.3-3, full speed"
		alsa.name = "USB Audio"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "Logitech PRO X at usb-0000:0c:00.3-3, full speed"
		api.alsa.card.name = "PRO X"
		api.alsa.path = "front:3"
		api.alsa.pcm.card = "3"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "3"
		device.api = "alsa"
		device.class = "sound"
		device.id = "42"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Logitech G PRO X Gaming Headset"
		node.name = "alsa_output.usb-Logitech_PRO_X_000000000000-00.analog-stereo"
		node.nick = "PRO X"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:3:front:3:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "34"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "31"
		object.serial = "51"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "3"
		api.alsa.use-acp = "true"
		device.bus = "usb"
		device.bus-id = "usb-Logitech_PRO_X_000000000000-00"
		device.bus_path = "pci-0000:0c:00.3-usb-0:3:1.0"
		device.enum.api = "udev"
		device.form_factor = "headset"
		device.icon_name = "audio-headset-analog-usb"
		device.name = "alsa_card.usb-Logitech_PRO_X_000000000000-00"
		device.nick = "PRO X"
		device.plugged.usec = "5813448"
		device.product.id = "0x0aaa"
		device.product.name = "Logitech G PRO X Gaming Headset"
		device.serial = "Logitech_PRO_X_000000000000"
		device.subsystem = "sound"
		sysfs.path = "/sys/devices/pci0000:00/0000:00:07.1/0000:0c:00.3/usb5/5-3/5-3:1.0/sound/card3"
		device.vendor.id = "0x046d"
		device.vendor.name = "Logitech, Inc."
		device.string = "3"
	Ports:
		analog-output: Analog Output (type: Analog, priority: 9900, availability unknown)
	Active Port: analog-output
	Formats:
		pcm

I think the card index is 1, thats where i found the LFE and Surround channels. Although there is a sound card named "Pro X", but it only has the PCM channel.

Offline

#6 2022-09-23 14:04:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 17,664

Re: Can't figure out how to enable 7.1 surround sound

The card index is 3 (the last card in the aplay output) simply going by PCMs it does expose 7.1. Without anything else playing, do you get all speakers from

speaker-test -Dsurround71:CARD=X,DEV=0 -c 8

(you should hear white noise on all channels)

What does indeed not happen is that pulse/pipewire exposes all of them but this just reads like an ACP bug with the gaming headset preset, and should be relevantly fixable. I'm not at home right now but you could technically configure that in /usr/share/alsa-card-profile I'm assuming it uses one of the gaming profiles and these don't have relevant mappings for the surround support yet. You can look around there and check whether you grok the config format to expose these properly, otherwise I'll be on my PC later this evening and might be able to help writing a proper definition.

Offline

#7 2022-09-23 14:16:51

Agentotten
Member
From: Denmark
Registered: 2022-09-18
Posts: 7

Re: Can't figure out how to enable 7.1 surround sound

When running the speaker-test command, I get an error.

speaker-test 1.2.7

Playback device is surround71:CARD=X,DEV=0
Stream parameters are 48000Hz, S16_LE, 8 channels
Using 16 octaves of pink noise
Broken configuration for playback: no configurations available: Invalid argument
Setting of hwparams failed: Invalid argument

I appreciate the help with writing the definition, I'm not very good at configuring sound.

Offline

#8 2022-09-23 14:24:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 17,664

Re: Can't figure out how to enable 7.1 surround sound

A so this is actually bugged anyway... does surround51 instead of surround71 work correctly? so

speaker-test -Dsurround51:CARD=X,DEV=0 -c 6

? Output of

lsusb -vd 046d:0aaa

?

Last edited by V1del (2022-09-23 14:25:48)

Offline

#9 2022-09-23 14:26:01

Agentotten
Member
From: Denmark
Registered: 2022-09-18
Posts: 7

Re: Can't figure out how to enable 7.1 surround sound

Bus 005 Device 004: ID 046d:0aaa Logitech, Inc. Logitech G PRO X Gaming Headset
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x046d Logitech, Inc.
  idProduct          0x0aaa Logitech G PRO X Gaming Headset
  bcdDevice            0.31
  iManufacturer           1 Logitech
  iProduct                2 PRO X
  iSerial                 3 000000000000
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x00f1
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x0046
        bInCollection           2
        baInterfaceNr(0)        1
        baInterfaceNr(1)        2
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0000
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 8
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            1
        bmaControls(0)       0x43
          Mute Control
          Volume Control
          Automatic Gain Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             4
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 5
        bSourceID               4
        bControlSize            1
        bmaControls(0)       0x03
          Mute Control
          Volume Control
        bmaControls(1)       0x00
        bmaControls(2)       0x00
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             6
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               5
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           3
        bDelay                  1 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                23
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            5 Discrete
        tSamFreq[ 0]        16000
        tSamFreq[ 1]        24000
        tSamFreq[ 2]        32000
        tSamFreq[ 3]        44100
        tSamFreq[ 4]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0060  1x 96 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           4
        bDelay                  3 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                23
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            5 Discrete
        tSamFreq[ 0]        16000
        tSamFreq[ 1]        24000
        tSamFreq[ 2]        32000
        tSamFreq[ 3]        44100
        tSamFreq[ 4]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x00c0  1x 192 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         1 Milliseconds
          wLockDelay         0x0004
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     538
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0025  1x 37 bytes
        bInterval               1

Offline

#10 2022-09-23 14:27:30

Agentotten
Member
From: Denmark
Registered: 2022-09-18
Posts: 7

Re: Can't figure out how to enable 7.1 surround sound

Surround 5.1 doesn't work either.

Offline

#11 2022-09-23 14:41:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 17,664

Re: Can't figure out how to enable 7.1 surround sound

Mhmmhm... Then this might indeed be broken, does the digital profile work

pactl set-card-profile alsa_card.usb-Logitech_PRO_X_000000000000-00 output:iec958-ac3-surround-51+input:mono-fallback

though if I'm interpreting that lsusb correctly then the "surrround channels" aren't actually exposed at all.

Offline

#12 2022-09-23 14:50:32

Agentotten
Member
From: Denmark
Registered: 2022-09-18
Posts: 7

Re: Can't figure out how to enable 7.1 surround sound

It does do something, it produces a very loud sutter sound, and that's just it.
But I can see the 5.1 channels in the System Settings in the Audio page.

Offline

Board footer

Powered by FluxBB