Bug 104880

Summary: No sound via DP on R9 Fury (4.16 + drm-next-4.17-wip)
Product: DRI Reporter: Konstantin A. Lepikhov <lakostis>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: harry.wentland
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg
none
dmesg w/ drm debug and dc_log=1 none

Description Konstantin A. Lepikhov 2018-01-31 09:43:53 UTC
Created attachment 137079 [details]
dmesg

Greetings!

Trying to make DP sound work on my R9 Fury card.

The problem: no sound caps are detected for monitor via DP

Monitor ASUS PB278 supports DP sound playback (tested with nvidia card and older R9 2x card), but it's not detected during boot or plug/unplug operations

dmesg:
(did unplug and plugged again)
[  175.415648] [drm] Rx Caps: 
[  175.549293] [drm] SADs count is: -2, don't need to read it
[  175.554060] [drm] HBRx4 pass VS=0, PE=0
[  175.554363] [drm] ASUS PB278: [Block 0] 
[  175.554367] [drm] ASUS PB278: [Block 1] 
[  175.554373] [drm] dc_link_detect: manufacturer_id = 6904, product_id = 27A3, serial_number = 8C18, manufacture_week = 30, manufacture_year = 26, display_name = ASUS PB278, speaker_flag = 0, audio_mode_count = 0
[  175.554978] [drm] {2560x1440, 2720x1481@241500Khz}
[  175.577625] [drm] HBRx4 pass VS=0, PE=0
[  293.823823] [drm] Rx Caps: 
[  293.952473] [drm] SADs count is: -2, don't need to read it
[  293.957217] [drm] HBRx4 pass VS=0, PE=0
[  293.957516] [drm] ASUS PB278: [Block 0] 
[  293.957520] [drm] ASUS PB278: [Block 1] 
[  293.957526] [drm] dc_link_detect: manufacturer_id = 6904, product_id = 27A3, serial_number = 8C18, manufacture_week = 30, manufacture_year = 26, display_name = ASUS PB278, speaker_flag = 0, audio_mode_count = 0
[  293.958130] [drm] {2560x1440, 2720x1481@241500Khz}

As you see speaker_flag and audio_mode_count all zero and /proc/asound/<*>/eld* info all empty:

[lakostis@lks HDMI]$ fgrep -r monitor eld*
eld#0.0:monitor_present         0
eld#0.1:monitor_present         0
eld#0.2:monitor_present         0
eld#0.3:monitor_present         0
eld#0.4:monitor_present         0
eld#0.5:monitor_present         0

glxinfo:
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD Radeon (TM) R9 Fury Series (FIJI / DRM 3.23.0 / 4.14.0-lks-wks-alt10, LLVM 6.0.0) (0x7300)
    Version: 17.3.3
    Accelerated: yes
    Video memory: 4060MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 4059 MB, largest block: 4059 MB
    VBO free aux. memory - total: 4092 MB, largest block: 4092 MB
    Texture free memory - total: 4059 MB, largest block: 4059 MB
    Texture free aux. memory - total: 4092 MB, largest block: 4092 MB
    Renderbuffer free memory - total: 4059 MB, largest block: 4059 MB
    Renderbuffer free aux. memory - total: 4092 MB, largest block: 4092 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4060 MB
    Total available memory: 8153 MB
    Currently available dedicated video memory: 4059 MB
OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon (TM) R9 Fury Series (FIJI / DRM 3.23.0 / 4.14.0-lks-wks-alt10, LLVM 6.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.3.3 (git-80f5f27)
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 17.3.3 (git-80f5f27)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.3.3 (git-80f5f27)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

Mesalib - 17.3.3
Kernel - 4.14.15 + DC patches till end of Oct 2017.

Module params for amdgpu:
$ cat /etc/modprobe.d/amdgpu.conf
# enable DRM extra debugging messages
#options drm debug=0x1e

options amdgpu si_support=0 dc=1 audio=1
options radeon si_support=1
Comment 1 Konstantin A. Lepikhov 2018-01-31 09:51:05 UTC
Created attachment 137080 [details]
dmesg w/ drm debug and dc_log=1

Added dmesg with enabled debugging from drm and dc_log=1
Comment 2 Michel Dänzer 2018-01-31 15:39:30 UTC
(In reply to Konstantin A. Lepikhov from comment #0)
> Kernel - 4.14.15 + DC patches till end of Oct 2017.

That's pretty old, can you try 4.15 or newer?
Comment 3 Konstantin A. Lepikhov 2018-01-31 22:35:52 UTC
(In reply to Michel Dänzer from comment #2)
> (In reply to Konstantin A. Lepikhov from comment #0)
> > Kernel - 4.14.15 + DC patches till end of Oct 2017.
> 
> That's pretty old, can you try 4.15 or newer?

Just tried with vanilla 4.15, same result:

[   15.241434] [drm] amdgpu kernel modesetting enabled.
[   15.241484] checking generic (c0000000 300000) vs hw (c0000000 10000000)
[   15.241485] fb: switching to amdgpudrmfb from simple
[   15.241507] Console: switching to colour dummy device 80x25
[   15.241772] [drm] initializing kernel modesetting (FIJI 0x1002:0x7300 0x174B:0xE329 0xCB).
[   15.241784] [drm] register mmio base: 0xFEA00000
[   15.241785] [drm] register mmio size: 262144
[   15.241794] [drm] probing gen 2 caps for device 1002:5a16 = 33ed02/0
[   15.241796] [drm] probing mlw for device 1002:5a16 = 33ed02
[   15.241803] [drm] UVD is enabled in physical mode
[   15.241803] [drm] VCE enabled in physical mode
[   15.241979] amdgpu 0000:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
[   15.242014] ATOM BIOS: 113-1E3292U-O4C
[   15.242024] [drm] GPU post is not needed
[   15.242025] [drm] Changing default dispclk from 500Mhz to 600Mhz
[   15.242040] [drm] vm size is 64 GB, block size is 13-bit, fragment size is 9-bit
[   15.242046] amdgpu 0000:01:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
[   15.242047] amdgpu 0000:01:00.0: GTT: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[   15.242050] [drm] Detected VRAM RAM=4096M, BAR=256M
[   15.242051] [drm] RAM width 512bits HBM
[   15.242130] [TTM] Zone  kernel: Available graphics memory: 8195526 kiB
[   15.242130] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[   15.242131] [TTM] Initializing pool allocator
[   15.242134] [TTM] Initializing DMA pool allocator
[   15.242152] [drm] amdgpu: 4096M of VRAM memory ready
[   15.242153] [drm] amdgpu: 4096M of GTT memory ready.
[   15.242163] [drm] GART: num cpu pages 262144, num gpu pages 262144
[   15.242203] [drm] PCIE GART of 1024M enabled (table at 0x000000F400040000).
[   15.242268] amdgpu 0000:01:00.0: amdgpu: using MSI.
[   15.242284] [drm] amdgpu: irq initialized.
[   15.242304] amdgpu: [powerplay] amdgpu: powerplay sw initialized
[   15.361889] amdgpu 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000000400040, cpu addr 0x000000007e4c19db
[   15.361939] amdgpu 0000:01:00.0: fence driver on ring 1 use gpu addr 0x00000000004000c0, cpu addr 0x000000008a4be01f
[   15.362001] amdgpu 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000000400140, cpu addr 0x0000000018ec6626
[   15.362047] amdgpu 0000:01:00.0: fence driver on ring 3 use gpu addr 0x00000000004001c0, cpu addr 0x00000000945382a7
[   15.362103] amdgpu 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000000400240, cpu addr 0x000000008b099e8c
[   15.362150] amdgpu 0000:01:00.0: fence driver on ring 5 use gpu addr 0x00000000004002c0, cpu addr 0x00000000f42dadc6
[   15.362194] amdgpu 0000:01:00.0: fence driver on ring 6 use gpu addr 0x0000000000400340, cpu addr 0x000000007c07959c
[   15.362236] amdgpu 0000:01:00.0: fence driver on ring 7 use gpu addr 0x00000000004003c0, cpu addr 0x00000000f18bc123
[   15.362286] amdgpu 0000:01:00.0: fence driver on ring 8 use gpu addr 0x0000000000400440, cpu addr 0x0000000003a0eed8
[   15.362319] amdgpu 0000:01:00.0: fence driver on ring 9 use gpu addr 0x00000000004004e0, cpu addr 0x0000000080f2ce02
[   15.397232] amdgpu 0000:01:00.0: fence driver on ring 10 use gpu addr 0x0000000000400560, cpu addr 0x000000000c7aecf6
[   15.397325] amdgpu 0000:01:00.0: fence driver on ring 11 use gpu addr 0x00000000004005e0, cpu addr 0x0000000097fc9072
[   15.441871] [drm] Found UVD firmware Version: 1.87 Family ID: 12
[   15.442546] amdgpu 0000:01:00.0: fence driver on ring 12 use gpu addr 0x000000f40034be90, cpu addr 0x000000005e7a508b
[   15.492539] [drm] Found VCE firmware Version: 52.8 Binary ID: 3
[   15.492697] amdgpu 0000:01:00.0: fence driver on ring 13 use gpu addr 0x00000000004006e0, cpu addr 0x000000009a69d97a
[   15.492758] amdgpu 0000:01:00.0: fence driver on ring 14 use gpu addr 0x0000000000400760, cpu addr 0x00000000185122bc
[   15.492797] amdgpu 0000:01:00.0: fence driver on ring 15 use gpu addr 0x00000000004007e0, cpu addr 0x000000004146b89c
[   15.534645] kvm: Nested Virtualization enabled
[   15.534648] kvm: Nested Paging enabled
[   15.636027] [drm:amdgpu_dm_irq_init [amdgpu]] DM_IRQ
[   15.636356] [drm] DC: create_links: connectors_num: physical:4, virtual:0
[   15.636361] [drm] Connector[0] description:signal 32
[   15.636377] [drm] Connector[1] description:signal 32
[   15.636391] [drm] Connector[2] description:signal 32
[   15.636404] [drm] Connector[3] description:signal 4
..
[   15.652051] [drm] Display Core initialized
[   15.652054] [drm] Display Core initialized!
[   15.652205] [drm:dm_hw_init [amdgpu]] amdgpu: freesync_module init done 000000007f41446d.
[   15.652395] [drm:amdgpu_dm_initialize_drm_device [amdgpu]] amdgpu_dm_connector_init()
[   15.652640] asus_wmi: ASUS WMI generic driver loaded
[   15.652790] [drm] link=0, dc_sink_in=          (null) is now Disconnected
[   15.652912] [drm:amdgpu_dm_initialize_drm_device [amdgpu]] DCHPD: connector_id=0: dc_sink didn't change.
[   15.653034] [drm:amdgpu_dm_initialize_drm_device [amdgpu]] amdgpu_dm_connector_init()
[   15.653182] [drm] link=1, dc_sink_in=          (null) is now Disconnected
[   15.653301] [drm:amdgpu_dm_initialize_drm_device [amdgpu]] DCHPD: connector_id=1: dc_sink didn't change.
[   15.653421] [drm:amdgpu_dm_initialize_drm_device [amdgpu]] amdgpu_dm_connector_init()
[   15.668935] [drm] [Detect]   [DP][ConnIdx:2] Rx Caps: 11 0A 84 01 01 00 01 00 02 00 02 00 00 00 00 ^
[   15.676342] asus_wmi: Initialization: 0x0
[   15.676436] asus_wmi: BIOS WMI version: 0.9
[   15.676607] asus_wmi: SFUN value: 0x0
[   15.677845] input: Eee PC WMI hotkeys as /devices/platform/eeepc-wmi/input/input20
[   15.678071] asus_wmi: Number of fans: 1
[   15.735942] usb 1-2: new full-speed USB device number 5 using ohci-pci
[   15.817118] [drm:drm_edid_to_sad [drm]] SAD: no CEA Extension found
[   15.817130] [drm] SADs count is: -2, don't need to read it
[   15.821982] [drm] [LKTN]     [DP][ConnIdx:2] HBRx4 pass VS=0, PE=0^
[   15.822433] [drm] [Detect]   [DP][ConnIdx:2] ASUS PB278: [Block 0] 00 FF FF FF FF FF FF 00 04 69 A3 27 18 8C 00 00 1E 1A 01 04 A5 3C 22 78 3A A5 95 AA 54 4F A1 26 0A 50 54 B7 EF 00 D1 C0 B3 00 95 00 81 80 81 40 81 00 81 C0 71 4F 56 5E 00 A0 A0 A0 29 50 30 20 35 00 55 50 21 00 00 1A 00 00 00 FF 00 47 37 4C 4D 54 46 30 33 35 38 36 34 0A 00 00 00 FD 00 18 4C 18 63 1E 04 11 01 40 F8 38 F0 3C 00 00 00 FC 00 41 53 55 53 20 50 42 32 37 38 0A 20 20 01 92 ^
[   15.822494] [drm] [Detect]   [DP][ConnIdx:2] ASUS PB278: [Block 1] 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^
[   15.822504] [drm] dc_link_detect: manufacturer_id = 6904, product_id = 27A3, serial_number = 8C18, manufacture_week = 30, manufacture_year = 26, display_name = ASUS PB278, speaker_flag = 0, audio_mode_count = 0
[   15.822513] [drm] link=2, dc_sink_in=00000000e0de5e70 is now Connected
[   15.822653] [drm:amdgpu_dm_update_connector_after_detect [amdgpu]] DCHPD: connector_id=2: Old sink=          (null) New sink=00000000e0de5e70
[   15.822681] [drm:drm_add_display_info [drm]] non_desktop set to 0
[   15.823181] [drm:amdgpu_dm_initialize_drm_device [amdgpu]] amdgpu_dm_connector_init()
[   15.823315] [drm] link=3, dc_sink_in=          (null) is now Disconnected
[   15.823391] [drm:amdgpu_dm_initialize_drm_device [amdgpu]] DCHPD: connector_id=3: dc_sink didn't change.
[   15.823464] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 00000000727148b6 for: dal_src=78, irq context=1
[   15.823532] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 00000000e40e4e13 for: dal_src=79, irq context=1
[   15.823599] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 00000000016d9cea for: dal_src=80, irq context=1
[   15.823666] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 0000000003f73287 for: dal_src=81, irq context=1
[   15.823733] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 000000001a6ccfdf for: dal_src=82, irq context=1
[   15.823799] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 000000008b0501ce for: dal_src=83, irq context=1
[   15.823866] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 00000000ec95dd9a for: dal_src=26, irq context=1
[   15.823935] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 00000000a2f980f5 for: dal_src=27, irq context=1
[   15.824008] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 00000000a2242f37 for: dal_src=28, irq context=1
[   15.824075] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 0000000029cf35d6 for: dal_src=29, irq context=1
[   15.824142] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 00000000214ef105 for: dal_src=30, irq context=1
[   15.824208] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 0000000061b95952 for: dal_src=31, irq context=1
[   15.824275] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 00000000798451ca for: dal_src=5, irq context=0
[   15.824342] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 00000000f1886910 for: dal_src=11, irq context=0
[   15.824409] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 00000000839dd640 for: dal_src=4, irq context=0
[   15.824476] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 00000000e1f121d9 for: dal_src=10, irq context=0
[   15.824543] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 00000000a08975da for: dal_src=3, irq context=0
[   15.824609] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 00000000f6bbf796 for: dal_src=9, irq context=0
[   15.824676] [drm:amdgpu_dm_irq_register_interrupt [amdgpu]] DM_IRQ: added irq handler: 000000005cec00be for: dal_src=2, irq context=0
[   15.824678] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   15.824678] [drm] Driver supports precise vblank timestamp query.
[   15.824745] [drm:dm_hw_init [amdgpu]] KMS initialized.
[   15.826112] [drm] ring test on 0 succeeded in 15 usecs
Comment 4 Harry Wentland 2018-01-31 22:45:12 UTC
Does it help if you enable the following kernel configs?

CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_DSP_LOADER=y
CONFIG_SND_HDA_PREALLOC_SIZE=64
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_HDMI=y
CONFIG_SND_HDA_CODEC_CIRRUS=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CA0132=y
CONFIG_SND_HDA_CODEC_CA0132_DSP=y
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_DYNAMIC_MINORS=y
Comment 5 Konstantin A. Lepikhov 2018-02-01 00:00:11 UTC
(In reply to Harry Wentland from comment #4)
> Does it help if you enable the following kernel configs?
> 
> CONFIG_SND_HDA=y
> CONFIG_SND_HDA_INTEL=y
> CONFIG_SND_HDA_DSP_LOADER=y
> CONFIG_SND_HDA_PREALLOC_SIZE=64
> CONFIG_SND_HDA_HWDEP=y
> CONFIG_SND_HDA_CODEC_REALTEK=y
> CONFIG_SND_HDA_CODEC_ANALOG=y
> CONFIG_SND_HDA_CODEC_SIGMATEL=y
> CONFIG_SND_HDA_CODEC_VIA=y
> CONFIG_SND_HDA_CODEC_HDMI=y
> CONFIG_SND_HDA_CODEC_CIRRUS=y
> CONFIG_SND_HDA_CODEC_CONEXANT=y
> CONFIG_SND_HDA_CODEC_CA0110=y
> CONFIG_SND_HDA_CODEC_CA0132=y
> CONFIG_SND_HDA_CODEC_CA0132_DSP=y
> CONFIG_SND_HDA_CODEC_CMEDIA=y
> CONFIG_SND_HDA_CODEC_SI3054=y
> CONFIG_SND_HDA_GENERIC=y
> CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
> CONFIG_SND_DYNAMIC_MINORS=y

No really, I have almost the same:

CONFIG_SND_HDA=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
# CONFIG_SND_HDA_INPUT_BEEP is not set
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_ANALOG=m
CONFIG_SND_HDA_CODEC_SIGMATEL=m
CONFIG_SND_HDA_CODEC_VIA=m
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_HDA_CODEC_CIRRUS=m
CONFIG_SND_HDA_CODEC_CONEXANT=m
CONFIG_SND_HDA_CODEC_CA0110=m
CONFIG_SND_HDA_CODEC_CA0132=m
CONFIG_SND_HDA_CODEC_CA0132_DSP=y
CONFIG_SND_HDA_CODEC_CMEDIA=m
CONFIG_SND_HDA_CODEC_SI3054=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_PREALLOC_SIZE=1024

BTW just checked that card on Windows, everything working as expected, so it's a hardware issue.
Comment 6 Konstantin A. Lepikhov 2018-02-01 00:02:06 UTC
s/hardware issue/not a hardware issue/ )
Comment 7 Konstantin A. Lepikhov 2018-02-01 15:02:48 UTC
Tried with changes from amd-staging-4.15 up to v4.15-829-g8a2a2ac :


[lakostis@lks ~]$ fgrep -r monitor /proc/asound/HDMI/
...
/proc/asound/HDMI/eld#0.0:monitor_present               0
/proc/asound/HDMI/eld#0.1:monitor_present               0
/proc/asound/HDMI/eld#0.2:monitor_present               0
/proc/asound/HDMI/eld#0.3:monitor_present               0
/proc/asound/HDMI/eld#0.4:monitor_present               0
/proc/asound/HDMI/eld#0.5:monitor_present               0
[lakostis@lks ~]$ 

Still no sound or it's presence detected.
Comment 8 Konstantin A. Lepikhov 2018-02-04 22:20:52 UTC
Sound is back when I've switched monitor via HDMI:

$ cat /proc/asound/HDMI/eld#0.4 
monitor_present         1
eld_valid               1
monitor_name            ASUS PB278
connection_type         HDMI
eld_version             [0x2] CEA-861D or below
edid_version            [0x0] no CEA EDID Timing Extension block present
manufacture_id          0x6904
product_id              0x27a3
port_id                 0xd9894495558859e
support_hdcp            0
support_ai              0
audio_sync_delay        0
speakers                [0x1] FL/FR
sad_count               1
sad0_coding_type        [0x1] LPCM
sad0_channels           1
sad0_rates              [0x4e0] 32000 44100 48000 96000
sad0_bits               [0xe0000] 16 20 24
Comment 9 Konstantin A. Lepikhov 2018-03-21 22:29:40 UTC
Still no sound with recent v4.16-rc6 + amdgpu-dc/drm-next-4.17-wip up to v4.16-rc1-1338-g46b27ee

[lakostis@lks ~]$ cat /proc/asound/HDMI/eld#0.4
monitor_present         0
eld_valid               0
Comment 10 Martin Peres 2019-11-19 08:29:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/302.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.