Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Audio through both HDMI outputs?
Date: Sat, 01 May 2021 13:36:52
Message-Id: CAK2H+eexb6XjR98eMpsGPLadLNO8TUw2R30u3FghPf+q5ZbQCw@mail.gmail.com
In Reply to: [gentoo-user] Audio through both HDMI outputs? by Arve Barsnes
1 On Sat, May 1, 2021 at 5:03 AM Arve Barsnes <arve.barsnes@×××××.com> wrote:
2 >
3 > Hello,
4 >
5 > Does anyone know anything about how to check audio through Nvidia HDMI
6 outputs?
7 >
8 > My regular audio is through the motherboard output, and I also have a
9 > USB soundcard that I regularly use without trouble, but my HDMI is a
10 > different matter.
11 >
12 > I have a GTX 1080 card with two HDMI outputs, the first connected to
13 > my main monitor, and the second connected to a TV. I've managed to
14 > play sound through my monitor with aplay, but no luck with the TV.
15 >
16 > aplay reports:
17 > $ aplay -l
18 > card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
19 > Subdevices: 1/1
20 > Subdevice #0: subdevice #0
21 > card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
22 > Subdevices: 1/1
23 > Subdevice #0: subdevice #0
24 > card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
25 > Subdevices: 1/1
26 > Subdevice #0: subdevice #0
27 > card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
28 > Subdevices: 1/1
29 > Subdevice #0: subdevice #0
30 > card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
31 > Subdevices: 1/1
32 > Subdevice #0: subdevice #0
33 > card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
34 > Subdevices: 1/1
35 > Subdevice #0: subdevice #0
36 > card 1: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
37 > Subdevices: 1/1
38 > Subdevice #0: subdevice #0
39 >
40 > To get sound through the monitor:
41 > aplay -D plughw:1,7 sample.wav
42 >
43 > No luck on any of the other 6 devices reported. I suspect there might
44 > be a setting somewhere on the Nvidia side that limits sound output to
45 > one of these, and if that is so, I'd rather have the TV able to get
46 > sound, as my computer have separate speakers and no need for the HDMI
47 > sound output.
48 >
49 > Any ideas for troubleshooting this welcome.
50 >
51 > Regards,
52 > Arve
53
54 As posed I don't know that the question is answerable. You don't state
55 what desktop environment you are using. If it happens to be KDE
56 then you will likely need to dig into pulseaudio through the System
57 Settings GUI which could be the controlling feature in that
58 environment.
59
60 Any other desktop environment I have no experience these days.
61
62 Good luck,
63 Mark

Replies

Subject Author
Re: [gentoo-user] Audio through both HDMI outputs? Arve Barsnes <arve.barsnes@×××××.com>