[x86-64] HP Thin Client Audio Issue

  • Have installed LibreELEC-Generic.x86_64-12.0.1.img onto HP Thin Client 740

    It has 4x DisplayPorts, using a DP-1 with an DP to HDMI converter have hooked it up to my Samsung TV.

    Have managed to get decent resolution of 1920x1080 @ 60 but having throuble with the sound over the ALSA hdmi:Generic,DEV=1

    Managed to get it to work once by resetting the audio in Kodi back to defaults but then on next reboot it wasn't working again :(

    Here is the logs, hoping someone might be able to help.
    https://paste.libreelec.tv/endless-gopher.log

  • OK, so messing around plugging and unplugging the HDMI cable from the DisplayPort convertor and bang.

    It picks up the sound and can see SAMSUNG for HDMI 0

    LibreELEC:~ # aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [SAMSUNG]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: Generic_1 [HD-Audio Generic], device 0: ALC256 Analog [ALC256 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    But after a reboot back to no Sound :(
    LibreELEC:~ # aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: Generic_1 [HD-Audio Generic], device 0: ALC256 Analog [ALC256 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

  • Could be an initialization problem with the HDMI adapter, or with the HP Thin Client firmware:

    Code

    Code
    Nov 20 20:29:45.546214 LibreELEC kernel: amdgpu 0000:03:00.0: Direct firmware load for edid/edid.bin failed with error -2
    Nov 20 20:29:45.546721 LibreELEC kernel: amdgpu 0000:03:00.0: [drm] *ERROR* [CONNECTOR:87:DP-1] Requesting EDID firmware "edid/edid.bin" failed (err=-2)
    Nov 20 20:29:59.653931 LibreELEC iwd[531]: event: roam-scan,
    Nov 20 20:31:27.519509 LibreELEC kernel: [drm:emulated_link_detect] *ERROR* Failed to read EDID
    Nov 20 20:31:27.519612 LibreELEC kernel: amdgpu 0000:03:00.0: Direct firmware load for edid/edid.bin failed with error -2
    Nov 20 20:31:27.520005 LibreELEC kernel: amdgpu 0000:03:00.0: [drm] *ERROR* [CONNECTOR:87:DP-1] Requesting EDID firmware "edid/edid.bin" failed (err=-2)
    Nov 20 20:31:27.520322 LibreELEC kernel: [drm:detect_link_and_local_sink] *ERROR* No EDID read.
    • make sure your HP Thin Client firmware is up-to-date (especially the graphics driver, this might require Windows)
    • after your current workaround (post #2), run getedid create on SSH, and reboot