[Bug 237340] Unable to make HDMI sound works with HD630

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 17 17:14:22 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237340

            Bug ID: 237340
           Summary: Unable to make HDMI sound works with HD630
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs at FreeBSD.org
          Reporter: kmachine at free.fr

I can't make the sound pass thru HDMI port. The involved hardware is:
motherboard Asus H170I-PRO with embedded sound card Realtek ALC887 + processor
i3 7100T (Kabylake). The graphic card used is the HD630 from the i3.

Two hdaa devices are detected (ALC887: hdaa0 and Intel Kabylake audio: hdaa1).
At the base, there isn't any listed HDMI device:

------------------
$ cat /dev/sndstat
Installed devices:
pcm0: <Realtek ALC887 (Rear Analog)> (play/rec) default
pcm1: <Realtek ALC887 (Front Analog)> (play/rec)
pcm2: <Realtek ALC887 (Internal Digital)> (play)
pcm3: <Realtek ALC887 (Rear Digital)> (play)
------------------

I tried to select each of the pcm devices (hw.snd.default_unit=...) but I got
no sound from HDMI.

It's possible to make an HDMI device appear by adding
hint.hdaa.1.nid3.config="conn=jack" (or "conn=Fixed") in /boot/device.hints:

------------------
$ cat /dev/sndstat
FreeBSD Audio Driver (64bit 2009061500/amd64)
Installed devices:
pcm0: <Realtek ALC887 (Rear Analog)> on hdaa0 (1p:1v/1r:1v)
pcm1: <Realtek ALC887 (Front Analog)> on hdaa0 (1p:1v/1r:1v)
pcm2: <Realtek ALC887 (Internal Digital)> on hdaa0 (1p:1v/0r:0v)
pcm3: <Realtek ALC887 (Rear Digital)> on hdaa0 (1p:1v/0r:0v)
pcm4: <Intel Kabylake (HDMI/DP 8ch)> on hdaa1 (1p:1v/0r:0v) default
------------------

But selecting this device does not bring sound to HDMI.

I ain't sure this is a bug but I don't see what I can do more to make it works.
I tried many things and now I wonder if it's not a driver bug.

In the BIOS setting, there is a "SDIF out type" parameter which can be set
either at "SPDIF" or "HDMI". In both cases, there is no change.

For information:

------------------
$ sysctl dev.hdaa.1
dev.hdaa.1.reconfig: 0
dev.hdaa.1.gpo_config: 
dev.hdaa.1.gpo_state: 
dev.hdaa.1.gpio_config: 
dev.hdaa.1.gpio_state: 
dev.hdaa.1.gpi_state: 
dev.hdaa.1.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
dev.hdaa.1.nid3_original: 0x58560010 as=1 seq=0 device=Digital-out conn=None
ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid3_config: 0x98560010 as=1 seq=0 device=Digital-out conn=Fixed
ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.1.nid3: pin: Digital-out (Fixed)
     Widget cap: 0x0040778d PWR DIGITAL UNSOL 8CH
    Association: 0 (0x0001)
        Pin cap: 0x09000094 PDC OUT HDMI DP HBR
     Pin config: 0x98560010 as=1 seq=0 device=Digital-out conn=Fixed
ctype=Digital loc=0x18 color=Unknown misc=0
    Pin control: 0x00000040 OUT
     Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
    Connections: 1
          + <- nid=2 [audio output]

dev.hdaa.1.nid2: audio output
     Widget cap: 0x00006611 PWR DIGITAL 8CH
    Association: 0 (0x0001)
            OSS: pcm (pcm)
     Stream cap: 0x00000005 AC3 PCM
        PCM cap: 0x001a07f0 16 24 32 bits, 32 44 48 88 96 176 192 KHz

dev.hdaa.1.%parent: hdacc1
dev.hdaa.1.%pnpinfo: type=0x01 subsystem=0x80860101
dev.hdaa.1.%location: nid=1
dev.hdaa.1.%driver: hdaa
dev.hdaa.1.%desc: Intel Kabylake Audio Function Group
------------------

Note: the conn of nid3 has been changed in device.hints. Normally, it's
conn=None.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list