[Intel-gfx] i915, HDMI/DP audio with multiple monitors
Alex Deucher
alexdeucher at gmail.com
Wed Sep 12 20:02:03 UTC 2018
On Wed, Sep 12, 2018 at 3:05 AM Bruno Prémont <bonbons at sysophe.eu> wrote:
>
> Hi,
>
> I have a system with multiple monitors and would like to send
> notification sounds to the monitor on which corresponding
> window is visible.
>
> For a workstation and a tiny computer things look different:
> - workstation (Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz):
> 00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
> 00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
> 00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
>
> Here alsa show me two cards:
> - HDA Intel PCH (Realtek ALC671)
> - HDA Intel HDMI (Intel Generic)
>
> **** List of PLAYBACK Hardware Devices ****
> card 0: HDMI [HDA Intel HDMI], device 3: Generic Digital [Generic Digital]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 1: PCH [HDA Intel PCH], device 0: ALC671 Analog [ALC671 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
>
> - tiny computer (Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz):
> 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:1912] (rev 06)
> 00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)
>
> Here alsa shows a single card:
> - HDA Intel PCH (Realtek ALC671)
>
> **** List of PLAYBACK Hardware Devices ****
> card 0: PCH [HDA Intel PCH], device 0: ALC671 Analog [ALC671 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 3: Generic Digital [Generic Digital]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
>
> How can I determine/set to which monitor the sound should go, and preferably send
> different sounds to both monitors at same time?
On AMD systems, there are vendor verbs to do the channel mappings for
various configs.
http://developer.amd.com/wordpress/media/2013/10/AMD_HDA_verbs_v2.pdf
Intel may have something similar.
Alex
>
>
> Cheers,
> Bruno
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
More information about the Intel-gfx
mailing list