On Fri, 10 Sep 2021 11:45:10 -0700
Jack Craig <jack.craig.aptos(a)gmail.com> wrote:
i see ...
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
samplerate
Rate Converter Plugin Using Samplerate Library
pipewire
PipeWire Sound Server
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, 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
usbstream:CARD=NVidia
HDA NVidia
USB Stream Output
[jackc@ws ~ $ aplay -lv
**** 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
snd 110592 10
snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
snd_hda_codec 172032 2 snd_hda_codec_hdmi,snd_hda_intel
snd_hda_codec_hdmi 73728 1
snd_hda_core 110592 3
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_hda_intel 57344 1
snd_hrtimer 16384 0
snd_hwdep 16384 1 snd_hda_codec
snd_intel_dspcfg 28672 1 snd_hda_intel
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_pcm 135168 4
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_seq 90112 1 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
snd_seq_dummy 16384 0
snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm
soundcore 16384 1 snd
The proper audio codecs are all loaded.
03:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce
GT 730] (rev a1)
03:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio
Controller (rev a1)
The proper video controller is loaded
cat /proc/asound/devices
1: : sequencer
2: [ 0- 3]: digital audio playback
3: [ 0- 7]: digital audio playback
4: [ 0- 8]: digital audio playback
5: [ 0- 9]: digital audio playback
6: [ 0-10]: digital audio playback
7: [ 0- 0]: hardware dependent
8: [ 0] : control
33: : timer
The aplay -lv and this agree, that your sound devices are
hdmi:0,[3,7,8,9,10]
I'm not sure why the aplay -L isn't showing the same thing.
The alternative method should have found one of these as the correct
output in order to give you sound. You then would have to somehow tell
pipewire to use that device.
Online, I see that people are using pavucontrol with pipewire
successfully. If you can do that, it should be easy to fix this.
Just go into pavucontrol and, while music is playing (even if there is
no sound), set the default device to the each of the hdmi outputs in
turn,
hdmi:0,3 hdmi:0,7 etc.
When one of them outputs sound, leave it as the default. You then
don't have to worry about translating the alsa form into the pipewire
form; pavucontrol will have done it for you.