expertenaustausch > linux.debian.user.german

Eduard Bloch (01.05.2020, 18:40)
Hallo,
* Dirk Paul Finkeldey [Fri, May 01 2020, 05:52:42PM]:

> Ist das auch so wenn du eine eigene configuration vorgibst ?


Sehr guter Punkt. Es scheint bei ALSA doch mehrere Senken zu geben,
obwohl pacmd nur eine für HDMI meldet.

Hat jemand eine Beispiel-Konfig, die mir alle oder bestimmte Ausgänge
auf separate Senken abbildet, statt der Auto-Wahl durch PA?

$ pacmd list-sinks
2 sink(s) available.
* index: 1
name: <alsa_output.pci-0000_09_00.3.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
state: IDLE
suspend cause: (none)
priority: 9039
volume: front-left: 44301 / 68% / -10,20 dB, front-right: 44301 / 68%/ -10,20 dB
balance 0,00
base volume: 65536 / 100% / 0,00 dB
volume steps: 65537
muted: no
current latency: 100,85 ms
max request: 17 KiB
max rewind: 17 KiB
monitor source: 1
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 1
fixed latency: 100,14 ms
card: 1 <alsa_card.pci-0000_09_00.3>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC1220 Analog"
alsa.id = "ALC1220 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 101"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:09:00.3"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1457"
device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
device.string = "front:1"
device.buffering.buffer_size = "17664"
device.buffering.fragment_size = "2944"
device.access_mode = "mmap"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
alsa.mixer_name = "Realtek ALC1220"
alsa.components = "HDA:10ec1220,1458a0c3,00100101"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-lineout: Line-Ausgang (priority 9000, latency offset 0 usec, available: yes)
properties:

analog-output-headphones: Kopfhörer (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-lineout>
index: 13
name: <alsa_output.pci-0000_07_00.1.hdmi-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: IDLE
suspend cause: (none)
priority: 9030
volume: front-left: 42057 / 64% / -11,56 dB, front-right: 42057 / 64%/ -11,56 dB
balance 0,00
base volume: 65536 / 100% / 0,00 dB
volume steps: 65537
muted: no
current latency: 34,02 ms
max request: 6 KiB
max rewind: 6 KiB
monitor source: 13
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 1
configured latency: 40,00 ms; range is 0,50 .. 1999,82 ms
card: 0 <alsa_card.pci-0000_07_00.1>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 0"
alsa.id = "HDMI 0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.card = "0"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 99"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:07:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "NVIDIA Corporation"
device.product.id = "10f1"
device.product.name = "GP106 High Definition Audio Controller"
device.string = "hdmi:0"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo"
device.profile.description = "Digital Stereo (HDMI)"
device.description = "GP106 High Definition Audio Controller Digital Stereo (HDMI)"
alsa.mixer_name = "Nvidia GPU 84 HDMI/DP"
alsa.components = "HDA:10de0084,10438641,00100100"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec,available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "DELL U3014
"
active port: <hdmi-output-0>

$ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 0/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 7: HDMI 1 [HDMI 1]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 8: HDMI 2 [HDMI 2]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 9: HDMI 3 [HDMI 3]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 10: HDMI 4 [HDMI 4]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 11: HDMI 5 [HDMI 5]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 12: HDMI 6 [HDMI 6]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: Generic [HD-Audio Generic], Gerät 0: ALC1220 Analog [ALC1220 Analog]
Sub-Geräte: 0/1
Sub-Gerät #0: subdevice #0
Karte 1: Generic [HD-Audio Generic], Gerät 1: ALC1220 Digital [ALC1220 Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0

$ pactl list sinks
Ziel #1
Status: IDLE
Name: alsa_output.pci-0000_09_00.3.analog-stereo
Beschreibung: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
Treiber: module-alsa-card.c
Abtastwert-Angabe: s16le 2ch 44100Hz
Kanalzuordnung: front-left,front-right
Besitzer-Modul: 7
Stumm: nein
Lautstärke: front-left: 44301 / 68% / -10,20 dB, front-right: 44301 / 68% / -10,20 dB
Verteilung 0,00
Basis-Lautstärke: 65536 / 100% / 0,00 dB
Quellen-Monitor: alsa_output.pci-0000_09_00.3.analog-stereo.monitor
Latenz: 100827 usec, eingestellt 100136 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Eigenschaften:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC1220 Analog"
alsa.id = "ALC1220 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 101"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:09:00.3"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1457"
device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
device.string = "front:1"
device.buffering.buffer_size = "17664"
device.buffering.fragment_size = "2944"
device.access_mode = "mmap"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
alsa.mixer_name = "Realtek ALC1220"
alsa.components = "HDA:10ec1220,1458a0c3,00100101"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
analog-output-lineout: Line-Ausgang (priority: 9000, available)
analog-output-headphones: Kopfhörer (priority: 9900, not available)
Aktiver Port: analog-output-lineout
Formate:
pcm

Ziel #13
Status: IDLE
Name: alsa_output.pci-0000_07_00.1.hdmi-stereo
Beschreibung: GP106 High Definition Audio Controller Digital Stereo (HDMI)
Treiber: module-alsa-card.c
Abtastwert-Angabe: s16le 2ch 44100Hz
Kanalzuordnung: front-left,front-right
Besitzer-Modul: 6
Stumm: nein
Lautstärke: front-left: 42057 / 64% / -11,56 dB, front-right: 42057 / 64% / -11,56 dB
Verteilung 0,00
Basis-Lautstärke: 65536 / 100% / 0,00 dB
Quellen-Monitor: alsa_output.pci-0000_07_00.1.hdmi-stereo.monitor
Latenz: 39985 usec, eingestellt 40000 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
Eigenschaften:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 0"
alsa.id = "HDMI 0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.card = "0"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 99"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:07:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "NVIDIA Corporation"
device.product.id = "10f1"
device.product.name = "GP106 High Definition Audio Controller"
device.string = "hdmi:0"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo"
device.profile.description = "Digital Stereo (HDMI)"
device.description = "GP106 High Definition Audio Controller Digital Stereo (HDMI)"
alsa.mixer_name = "Nvidia GPU 84 HDMI/DP"
alsa.components = "HDA:10de0084,10438641,00100100"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
hdmi-output-0: HDMI / DisplayPort (priority: 5900, available)
Aktiver Port: hdmi-output-0
Formate:
pcm

MfG,
Eduard.

Ähnliche Themen