Gentoo Archives: gentoo-user

From: Arve Barsnes <arve.barsnes@×××××.com>
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Audio through second HDMI output on GPU?
Date: Thu, 20 May 2021 09:35:06
Message-Id: CAJjrzcWVAqJqoxCG2HOxxYedi4YymrqucZPc2CUBsgfjU=Vrfg@mail.gmail.com
1 Hello,
2
3 Resending this message, as the last time it was derailed by a question
4 about DE and pulseaudio, neither of which are relevant to this
5 low-level problem (and also not installed anyway, as I run a simple
6 openbox WM with alsa only).
7
8 Does anyone know anything about how to check audio through Nvidia HDMI outputs?
9
10 My regular audio is through the motherboard output, and I also have a
11 USB soundcard that I regularly use without trouble, but my HDMI is a
12 different matter.
13
14 I have a GTX 1080 card with two HDMI outputs, the first connected to
15 my main monitor, and the second connected to a TV. I've managed to
16 play sound through my monitor with aplay, but no luck with the TV.
17
18 aplay reports:
19 $ aplay -l
20 card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
21 Subdevices: 1/1
22 Subdevice #0: subdevice #0
23 card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
24 Subdevices: 1/1
25 Subdevice #0: subdevice #0
26 card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
27 Subdevices: 1/1
28 Subdevice #0: subdevice #0
29 card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
30 Subdevices: 1/1
31 Subdevice #0: subdevice #0
32 card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
33 Subdevices: 1/1
34 Subdevice #0: subdevice #0
35 card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
36 Subdevices: 1/1
37 Subdevice #0: subdevice #0
38 card 1: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
39 Subdevices: 1/1
40 Subdevice #0: subdevice #0
41
42 To get sound through the monitor:
43 aplay -D plughw:1,7 sample.wav
44
45 No luck on any of the other 6 devices reported. I suspect there might
46 be a setting somewhere on the Nvidia side that limits sound output to
47 one of these, and if that is so, I'd rather have the TV able to get
48 sound, as my computer have separate speakers and no need for the HDMI
49 sound output.
50
51 Any ideas for troubleshooting this welcome.
52
53 Regards,
54 Arve

Replies

Subject Author
Re: [gentoo-user] Audio through second HDMI output on GPU? Mark Knecht <markknecht@×××××.com>