Ich verstehe die Logik vermutlich nicht. aplay -L ergibt folgende Ausgabe:
null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
default
Default ALSA Output (currently PipeWire Media Server)
hw:CARD=PCH,DEV=0
HDA Intel PCH, ALC1220 Analog
Direct hardware device without any conversions
hw:CARD=PCH,DEV=1
HDA Intel PCH, ALC1220 Digital
Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
HDA Intel PCH, ALC1220 Analog
Hardware device with all software conversions
plughw:CARD=PCH,DEV=1
HDA Intel PCH, ALC1220 Digital
Hardware device with all software conversions
sysdefault:CARD=PCH
HDA Intel PCH, ALC1220 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC1220 Analog
Front output / input
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC1220 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC1220 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC1220 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC1220 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC1220 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC1220 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC1220 Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=PCH,DEV=0
HDA Intel PCH, ALC1220 Analog
Direct sample mixing device
dmix:CARD=PCH,DEV=1
HDA Intel PCH, ALC1220 Digital
Direct sample mixing device
hw:CARD=NVidia,DEV=3
HDA NVidia, LG TV
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
HDA NVidia, LG IPS FULLHD
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 3
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, LG TV
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
HDA NVidia, LG IPS FULLHD
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 3
Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
HDA NVidia, LG TV
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, LG IPS FULLHD
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
dmix:CARD=NVidia,DEV=3
HDA NVidia, LG TV
Direct sample mixing device
dmix:CARD=NVidia,DEV=7
HDA NVidia, LG IPS FULLHD
Direct sample mixing device
dmix:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Direct sample mixing device
dmix:CARD=NVidia,DEV=9
HDA NVidia, HDMI 3
Direct sample mixing device
Alles anzeigen
Nun will ich den Ton auf LG IPS FULLHD ausgeben. Also starte ich doch vdr (als root) mit
Daraufhin geht immer ein Fenster mit einem perfekten Bild auf, jedoch ohne Ton (hab's auch schon ohne Parameter -a und -p versucht). Mit einem speaker-test -c 2 -D hdmi:CARD=NVidia,DEV=1 höre ich den Ton am richtigen LG. Die einzigen Audio-relevanten Ausgaben im Log nach Start des vdr's sind:
2024-02-26T22:31:01.691953+01:00 dtl1 vdr: pesdemux: new codec 000000 -> 0x15002
2024-02-26T22:31:01.692016+01:00 dtl1 vdr: codec: using audio codec ID 0x15002 (aac)
2024-02-26T22:31:01.695125+01:00 dtl1 vdr: codec: audio 'AAC (Advanced Audio Coding)'
2024-02-26T22:31:01.695767+01:00 dtl1 vdr: codec/audio: Chanlayout 3 format change fltp 48000Hz *2 channels AC-3 pass-through
2024-02-26T22:31:01.696094+01:00 dtl1 vdr: codec/audio: audio setup error
Es kommt aber kein Ton - weder am einen LG noch am anderen LG. Das will mir vermutlich die letzte Zeile sagen. Im Plugin-Menü habe ich schon alle Varianten der Audio-Passthrough Einstellung durch. Starte ich z.B. VLC um meinen Stream abzuspielen, kommt der Ton problemlos und je nach Einstellung entweder am einen oder am anderen LG.
Ich nutze aktuellen vdr und softhdcuvid frisch aus dem git und den aktuellen nvidia-Treiber 525.147.05-4~deb12u1 ohne jegliche Patches. Gleiches Verhalten habe ich auch, wenn ich softhddevice nutze.
Kann mir hier jemand auf die Sprünge helfen?